-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
396 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/** | ||
* 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 { ManagementV1MaintenanceWindow } from '../models/managementV1MaintenanceWindow'; | ||
|
||
|
||
export class ManagementV1Cloud { | ||
'maintenanceWindow'?: ManagementV1MaintenanceWindow; | ||
/** | ||
* ReleaseChannel specifies the release channel for the cloud configuration. This can be used to determine which updates or versions are applied. | ||
*/ | ||
'releaseChannel'?: string; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "maintenanceWindow", | ||
"baseName": "maintenanceWindow", | ||
"type": "ManagementV1MaintenanceWindow", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "releaseChannel", | ||
"baseName": "releaseChannel", | ||
"type": "string", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1Cloud.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** | ||
* 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. | ||
*/ | ||
|
||
|
||
|
||
export class ManagementV1MaintenanceWindow { | ||
/** | ||
* DayOfWeek specifies the day of the week for the maintenance window. It should be a string representing the day, e.g., \"Monday\", \"Tuesday\", etc. | ||
*/ | ||
'dayOfWeek'?: string; | ||
/** | ||
* TimeWindow specifies the time window for the maintenance. It should be a string representing the time range in 24-hour format, e.g., \"02:00-03:00\". | ||
*/ | ||
'timeWindow'?: string; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "dayOfWeek", | ||
"baseName": "dayOfWeek", | ||
"type": "string", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "timeWindow", | ||
"baseName": "timeWindow", | ||
"type": "string", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1MaintenanceWindow.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
/** | ||
* 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 { ManagementV1VirtualClusterExternalDatabaseSpec } from '../models/managementV1VirtualClusterExternalDatabaseSpec'; | ||
import { ManagementV1VirtualClusterExternalDatabaseStatus } from '../models/managementV1VirtualClusterExternalDatabaseStatus'; | ||
import { V1ObjectMeta } from '../models/V1ObjectMeta'; | ||
|
||
|
||
/** | ||
* VirtualClusterExternalDatabase holds kube config request and response data for virtual clusters | ||
*/ | ||
export class ManagementV1VirtualClusterExternalDatabase { | ||
/** | ||
* 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'?: ManagementV1VirtualClusterExternalDatabaseSpec; | ||
'status'?: ManagementV1VirtualClusterExternalDatabaseStatus; | ||
|
||
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": "ManagementV1VirtualClusterExternalDatabaseSpec", | ||
"format": "" | ||
}, | ||
{ | ||
"name": "status", | ||
"baseName": "status", | ||
"type": "ManagementV1VirtualClusterExternalDatabaseStatus", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1VirtualClusterExternalDatabase.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
gen/models/managementV1VirtualClusterExternalDatabaseSpec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* 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. | ||
*/ | ||
|
||
|
||
|
||
export class ManagementV1VirtualClusterExternalDatabaseSpec { | ||
/** | ||
* Connector specifies the secret that should be used to connect to an external database server. The connection is used to manage a user and database for the vCluster. A data source endpoint constructed from the created user and database is returned on status. The secret specified by connector should contain the following fields: endpoint - the endpoint where the database server can be accessed user - the database username password - the password for the database username port - the port to be used in conjunction with the endpoint to connect to the databse server. This is commonly 3306 | ||
*/ | ||
'connector'?: string; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "connector", | ||
"baseName": "connector", | ||
"type": "string", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1VirtualClusterExternalDatabaseSpec.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
gen/models/managementV1VirtualClusterExternalDatabaseStatus.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* 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. | ||
*/ | ||
|
||
|
||
|
||
export class ManagementV1VirtualClusterExternalDatabaseStatus { | ||
/** | ||
* DataSource holds a datasource endpoint constructed from the vCluster\'s designated user and database. The user and database are created from the given connector. | ||
*/ | ||
'dataSource'?: string; | ||
|
||
static readonly discriminator: string | undefined = undefined; | ||
|
||
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ | ||
{ | ||
"name": "dataSource", | ||
"baseName": "dataSource", | ||
"type": "string", | ||
"format": "" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return ManagementV1VirtualClusterExternalDatabaseStatus.attributeTypeMap; | ||
} | ||
|
||
public constructor() { | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.