Skip to content

Commit

Permalink
[skip ci] repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
loft-bot committed Sep 11, 2024
1 parent 9cdfcfb commit 3d7d925
Show file tree
Hide file tree
Showing 8 changed files with 367 additions and 2 deletions.
77 changes: 77 additions & 0 deletions gen/models/managementV1DevPodEnvironmentTemplate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/**
* Api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: master
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { ManagementV1DevPodEnvironmentTemplateSpec } from '../models/managementV1DevPodEnvironmentTemplateSpec';
import { V1ObjectMeta } from '../models/V1ObjectMeta';


/**
* DevPodEnvironmentTemplate holds the DevPodEnvironmentTemplate information
*/
export class ManagementV1DevPodEnvironmentTemplate {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
'apiVersion'?: string;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
'kind'?: string;
'metadata'?: V1ObjectMeta;
'spec'?: ManagementV1DevPodEnvironmentTemplateSpec;
/**
* DevPodEnvironmentTemplateStatus holds the status
*/
'status'?: any;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string",
"format": ""
},
{
"name": "kind",
"baseName": "kind",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ObjectMeta",
"format": ""
},
{
"name": "spec",
"baseName": "spec",
"type": "ManagementV1DevPodEnvironmentTemplateSpec",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "any",
"format": ""
} ];

static getAttributeTypeMap() {
return ManagementV1DevPodEnvironmentTemplate.attributeTypeMap;
}

public constructor() {
}
}

64 changes: 64 additions & 0 deletions gen/models/managementV1DevPodEnvironmentTemplateList.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* Api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: master
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { ManagementV1DevPodEnvironmentTemplate } from '../models/managementV1DevPodEnvironmentTemplate';
import { V1ListMeta } from '../models/V1ListMeta';


export class ManagementV1DevPodEnvironmentTemplateList {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
'apiVersion'?: string;
'items': Array<ManagementV1DevPodEnvironmentTemplate>;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
'kind'?: string;
'metadata'?: V1ListMeta;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string",
"format": ""
},
{
"name": "items",
"baseName": "items",
"type": "Array<ManagementV1DevPodEnvironmentTemplate>",
"format": ""
},
{
"name": "kind",
"baseName": "kind",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ListMeta",
"format": ""
} ];

static getAttributeTypeMap() {
return ManagementV1DevPodEnvironmentTemplateList.attributeTypeMap;
}

public constructor() {
}
}

68 changes: 68 additions & 0 deletions gen/models/managementV1DevPodEnvironmentTemplateSpec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/**
* Api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: master
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { StorageV1Access } from '../models/storageV1Access';
import { StorageV1GitEnvironmentTemplate } from '../models/storageV1GitEnvironmentTemplate';
import { StorageV1UserOrTeam } from '../models/storageV1UserOrTeam';


/**
* DevPodEnvironmentTemplateSpec holds the specification
*/
export class ManagementV1DevPodEnvironmentTemplateSpec {
/**
* Access to the DevPod machine instance object itself
*/
'access'?: Array<StorageV1Access>;
/**
* DisplayName is the name that should be displayed in the UI
*/
'displayName'?: string;
'git'?: StorageV1GitEnvironmentTemplate;
'owner'?: StorageV1UserOrTeam;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "access",
"baseName": "access",
"type": "Array<StorageV1Access>",
"format": ""
},
{
"name": "displayName",
"baseName": "displayName",
"type": "string",
"format": ""
},
{
"name": "git",
"baseName": "git",
"type": "StorageV1GitEnvironmentTemplate",
"format": ""
},
{
"name": "owner",
"baseName": "owner",
"type": "StorageV1UserOrTeam",
"format": ""
} ];

static getAttributeTypeMap() {
return ManagementV1DevPodEnvironmentTemplateSpec.attributeTypeMap;
}

public constructor() {
}
}

61 changes: 61 additions & 0 deletions gen/models/storageV1GitEnvironmentTemplate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/**
* Api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: master
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* GitEnvironmentTemplate stores configuration of Git environment template source
*/
export class StorageV1GitEnvironmentTemplate {
/**
* Repository stores repository URL for Git environment spec source
*/
'repository': string;
/**
* Revision stores revision to checkout in repository
*/
'revision'?: string;
/**
* SubPath stores subpath within Repositor where environment spec is
*/
'subpath'?: string;

static readonly discriminator: string | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "repository",
"baseName": "repository",
"type": "string",
"format": ""
},
{
"name": "revision",
"baseName": "revision",
"type": "string",
"format": ""
},
{
"name": "subpath",
"baseName": "subpath",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
return StorageV1GitEnvironmentTemplate.attributeTypeMap;
}

public constructor() {
}
}

10 changes: 10 additions & 0 deletions gen/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {ManagementV1ClusterVirtualClusterDefaults} from "./models/managementV1Cl
import {ManagementV1Cluster} from "./models/managementV1Cluster"
import {ManagementV1Config} from "./models/managementV1Config"
import {ManagementV1ConvertVirtualClusterConfig} from "./models/managementV1ConvertVirtualClusterConfig"
import {ManagementV1DevPodEnvironmentTemplate} from "./models/managementV1DevPodEnvironmentTemplate"
import {ManagementV1DevPodWorkspaceInstanceState} from "./models/managementV1DevPodWorkspaceInstanceState"
import {ManagementV1DevPodWorkspaceInstance} from "./models/managementV1DevPodWorkspaceInstance"
import {ManagementV1DevPodWorkspaceTemplate} from "./models/managementV1DevPodWorkspaceTemplate"
Expand Down Expand Up @@ -93,6 +94,7 @@ export type TGenResources = {
ManagementV1ClusterVirtualClusterDefaults: GroupVersionResource<ManagementV1ClusterVirtualClusterDefaults>
ManagementV1Config: GroupVersionResource<ManagementV1Config>
ManagementV1ConvertVirtualClusterConfig: GroupVersionResource<ManagementV1ConvertVirtualClusterConfig>
ManagementV1DevPodEnvironmentTemplate: GroupVersionResource<ManagementV1DevPodEnvironmentTemplate>
ManagementV1DevPodWorkspaceInstance: GroupVersionResource<ManagementV1DevPodWorkspaceInstance>
ManagementV1DevPodWorkspaceInstanceState: GroupVersionResource<ManagementV1DevPodWorkspaceInstanceState>
ManagementV1DevPodWorkspaceTemplate: GroupVersionResource<ManagementV1DevPodWorkspaceTemplate>
Expand Down Expand Up @@ -301,6 +303,14 @@ export const GenResources: TGenResources = {
namespaced: false,
kind: "ConvertVirtualClusterConfig",
},
ManagementV1DevPodEnvironmentTemplate: {
group: "management.loft.sh",
version: "v1",
resource: "devpodenvironmenttemplate",
subResource: "",
namespaced: false,
kind: "DevPodEnvironmentTemplate",
},
ManagementV1DevPodWorkspaceInstance: {
group: "management.loft.sh",
version: "v1",
Expand Down
Loading

0 comments on commit 3d7d925

Please sign in to comment.