feat: mostly terraform shenanigans, but TF can now create ssh keys and servers

This commit is contained in:
allanice001
2025-11-02 17:18:28 +00:00
parent 0d10d42442
commit 43f8549320
59 changed files with 6353 additions and 28 deletions

View File

@@ -0,0 +1,80 @@
/* tslint:disable */
/* eslint-disable */
/**
* AutoGlue API
* API for managing K3s clusters across cloud providers
*
* The version of the OpenAPI document: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from "../runtime";
/**
*
* @export
* @interface DtoUpdateLabelRequest
*/
export interface DtoUpdateLabelRequest {
/**
*
* @type {string}
* @memberof DtoUpdateLabelRequest
*/
key?: string;
/**
*
* @type {string}
* @memberof DtoUpdateLabelRequest
*/
value?: string;
}
/**
* Check if a given object implements the DtoUpdateLabelRequest interface.
*/
export function instanceOfDtoUpdateLabelRequest(
value: object,
): value is DtoUpdateLabelRequest {
return true;
}
export function DtoUpdateLabelRequestFromJSON(
json: any,
): DtoUpdateLabelRequest {
return DtoUpdateLabelRequestFromJSONTyped(json, false);
}
export function DtoUpdateLabelRequestFromJSONTyped(
json: any,
ignoreDiscriminator: boolean,
): DtoUpdateLabelRequest {
if (json == null) {
return json;
}
return {
key: json["key"] == null ? undefined : json["key"],
value: json["value"] == null ? undefined : json["value"],
};
}
export function DtoUpdateLabelRequestToJSON(json: any): DtoUpdateLabelRequest {
return DtoUpdateLabelRequestToJSONTyped(json, false);
}
export function DtoUpdateLabelRequestToJSONTyped(
value?: DtoUpdateLabelRequest | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}
return {
key: value["key"],
value: value["value"],
};
}