vks

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2025 License: MPL-2.0 Imports: 21 Imported by: 0

README

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0-SNAPSHOT
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to /

Class Method HTTP request Description
V1ClusterControllerApi V1ClustersClusterIdDelete Delete /v1/clusters/{clusterId}
V1ClusterControllerApi V1ClustersClusterIdGet Get /v1/clusters/{clusterId}
V1ClusterControllerApi V1ClustersClusterIdKubeconfigGet Get /v1/clusters/{clusterId}/kubeconfig
V1ClusterControllerApi V1ClustersClusterIdPut Put /v1/clusters/{clusterId}
V1ClusterControllerApi V1ClustersGet Get /v1/clusters
V1ClusterControllerApi V1ClustersPost Post /v1/clusters
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsGet Get /v1/clusters/{clusterId}/node-groups
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsNodeGroupIdDelete Delete /v1/clusters/{clusterId}/node-groups/{nodeGroupId}
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsNodeGroupIdGet Get /v1/clusters/{clusterId}/node-groups/{nodeGroupId}
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsNodeGroupIdNodesGet Get /v1/clusters/{clusterId}/node-groups/{nodeGroupId}/nodes
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsNodeGroupIdPut Put /v1/clusters/{clusterId}/node-groups/{nodeGroupId}
V1NodeGroupControllerApi V1ClustersClusterIdNodeGroupsPost Post /v1/clusters/{clusterId}/node-groups
V1NodeGroupImageControllerApi V1NodeGroupImagesGet Get /v1/node-group-images
V1WorkspaceControllerApi V1WorkspaceGet Get /v1/workspace
V1WorkspaceControllerApi V1WorkspacePost Post /v1/workspace
V1WorkspaceControllerApi V1WorkspaceResetServiceAccountPost Post /v1/workspace/reset-service-account

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Documentation

Overview

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* vks-api API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0-SNAPSHOT * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	V1ClusterControllerApi *V1ClusterControllerApiService

	V1NodeGroupControllerApi *V1NodeGroupControllerApiService

	V1NodeGroupImageControllerApi *V1NodeGroupImageControllerApiService

	V1WorkspaceControllerApi *V1WorkspaceControllerApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the vks-api API API v1.0-SNAPSHOT In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AutoUpgradeConfigDto added in v1.3.3

type AutoUpgradeConfigDto struct {
	Weekdays string `json:"weekdays"`
	Time     string `json:"time"`
}

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type ClusterDetailDto

type ClusterDetailDto struct {
	Id                         string                `json:"id,omitempty"`
	Name                       string                `json:"name,omitempty"`
	Description                string                `json:"description,omitempty"`
	Status                     string                `json:"status,omitempty"`
	Version                    string                `json:"version,omitempty"`
	NumNodes                   int64                 `json:"numNodes,omitempty"`
	CreatedAt                  string                `json:"createdAt,omitempty"`
	UpdatedAt                  string                `json:"updatedAt,omitempty"`
	EnablePrivateCluster       bool                  `json:"enablePrivateCluster,omitempty"`
	EnableServiceEndpoint      bool                  `json:"enabledServiceEndpoint"`
	NetworkType                string                `json:"networkType,omitempty"`
	VpcId                      string                `json:"vpcId,omitempty"`
	SubnetId                   string                `json:"subnetId,omitempty"`
	Cidr                       string                `json:"cidr,omitempty"`
	EnabledLoadBalancerPlugin  bool                  `json:"enabledLoadBalancerPlugin,omitempty"`
	EnabledBlockStoreCsiPlugin bool                  `json:"enabledBlockStoreCsiPlugin,omitempty"`
	WhitelistNodeCIDRs         []string              `json:"whitelistNodeCIDRs,omitempty"`
	SecondarySubnets           []string              `json:"secondarySubnets,omitempty"`
	NodeNetmaskSize            int32                 `json:"nodeNetmaskSize"`
	AutoUpgradeConfig          *AutoUpgradeConfigDto `json:"autoUpgradeConfig"`
}

type ClusterDto

type ClusterDto struct {
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Status      string `json:"status,omitempty"`
	Version     string `json:"version,omitempty"`
	NumNodes    int64  `json:"numNodes,omitempty"`
	CreatedAt   string `json:"createdAt,omitempty"`
	UpdatedAt   string `json:"updatedAt,omitempty"`
}

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration(BasePath string, HTTPClient *http.Client) *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type CreateClusterComboDto

type CreateClusterComboDto struct {
	Name                       string                `json:"name"`
	Description                string                `json:"description,omitempty"`
	Version                    string                `json:"version"`
	EnablePrivateCluster       bool                  `json:"enablePrivateCluster"`
	EnabledServiceEndpoint     bool                  `json:"enabledServiceEndpoint"`
	NetworkType                string                `json:"networkType"`
	VpcId                      string                `json:"vpcId"`
	SubnetId                   string                `json:"subnetId"`
	Cidr                       string                `json:"cidr"`
	EnabledLoadBalancerPlugin  bool                  `json:"enabledLoadBalancerPlugin"`
	EnabledBlockStoreCsiPlugin bool                  `json:"enabledBlockStoreCsiPlugin"`
	NodeGroups                 []CreateNodeGroupDto  `json:"nodeGroups"`
	SecondarySubnets           []string              `json:"secondarySubnets"`
	NodeNetmaskSize            int32                 `json:"nodeNetmaskSize"`
	AutoUpgradeConfig          *AutoUpgradeConfigDto `json:"autoUpgradeConfig"`
}

type CreateNodeGroupDto

type CreateNodeGroupDto struct {
	Name                    string                       `json:"name"`
	NumNodes                int32                        `json:"numNodes"`
	AutoScaleConfig         *NodeGroupAutoScaleConfigDto `json:"autoScaleConfig,omitempty"`
	UpgradeConfig           NodeGroupUpgradeConfigDto    `json:"upgradeConfig,omitempty"`
	ImageId                 string                       `json:"imageId"`
	FlavorId                string                       `json:"flavorId"`
	DiskSize                int32                        `json:"diskSize"`
	DiskType                string                       `json:"diskType"`
	EnablePrivateNodes      bool                         `json:"enablePrivateNodes"`
	SecurityGroups          []string                     `json:"securityGroups"`
	SshKeyId                string                       `json:"sshKeyId"`
	Labels                  map[string]string            `json:"labels,omitempty"`
	Taints                  []NodeGroupTaintDto          `json:"taints,omitempty"`
	SecondarySubnets        []string                     `json:"secondarySubnets"`
	SubnetId                string                       `json:"subnetId,omitempty"`
	EnabledEncryptionVolume bool                         `json:"enabledEncryptionVolume"`
}

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type NetworkType

type NetworkType string
const (
	CALICO_NetworkType                NetworkType = "CALICO"
	CILIUM_NetworkType                NetworkType = "CILIUM"
	CILIUM_NATIVE_ROUTING_NetworkType NetworkType = "CILIUM_NATIVE_ROUTING"
	CILIUM_OVERLAY_NetworkType        NetworkType = "CILIUM_OVERLAY"
)

List of NetworkType

type NodeDto

type NodeDto struct {
	Id         string `json:"id,omitempty"`
	Name       string `json:"name,omitempty"`
	Status     string `json:"status,omitempty"`
	FloatingIp string `json:"floatingIp,omitempty"`
	FixedIp    string `json:"fixedIp,omitempty"`
	Ready      bool   `json:"ready,omitempty"`
}

type NodeGroupAutoScaleConfigDto

type NodeGroupAutoScaleConfigDto struct {
	MinSize int32 `json:"minSize"`
	MaxSize int32 `json:"maxSize"`
}

type NodeGroupDetailDto

type NodeGroupDetailDto struct {
	Id                      string                       `json:"id,omitempty"`
	ClusterId               string                       `json:"clusterId,omitempty"`
	Name                    string                       `json:"name,omitempty"`
	Status                  string                       `json:"status,omitempty"`
	NumNodes                int64                        `json:"numNodes,omitempty"`
	ImageId                 string                       `json:"imageId,omitempty"`
	CreatedAt               string                       `json:"createdAt,omitempty"`
	UpdatedAt               string                       `json:"updatedAt,omitempty"`
	FlavorId                string                       `json:"flavorId,omitempty"`
	DiskSize                int32                        `json:"diskSize,omitempty"`
	DiskType                string                       `json:"diskType,omitempty"`
	EnablePrivateNodes      bool                         `json:"enablePrivateNodes,omitempty"`
	SshKeyId                string                       `json:"sshKeyId,omitempty"`
	SecurityGroups          []string                     `json:"securityGroups,omitempty"`
	AutoScaleConfig         *NodeGroupAutoScaleConfigDto `json:"autoScaleConfig,omitempty"`
	UpgradeConfig           *NodeGroupUpgradeConfigDto   `json:"upgradeConfig,omitempty"`
	Labels                  map[string]string            `json:"labels,omitempty"`
	Taints                  []NodeGroupTaintDto          `json:"taints,omitempty"`
	SecondarySubnets        []string                     `json:"secondarySubnets,omitempty"`
	EnabledEncryptionVolume bool                         `json:"enabledEncryptionVolume,omitempty"`
	SubnetId                string                       `json:"subnetId,omitempty"`
}

type NodeGroupDto

type NodeGroupDto struct {
	Id        string `json:"id,omitempty"`
	ClusterId string `json:"clusterId,omitempty"`
	Name      string `json:"name,omitempty"`
	Status    string `json:"status,omitempty"`
	NumNodes  int64  `json:"numNodes,omitempty"`
	ImageId   string `json:"imageId,omitempty"`
	CreatedAt string `json:"createdAt,omitempty"`
	UpdatedAt string `json:"updatedAt,omitempty"`
}

type NodeGroupImageDto

type NodeGroupImageDto struct {
	Id                string `json:"id,omitempty"`
	Os                string `json:"os,omitempty"`
	KubernetesVersion string `json:"kubernetesVersion,omitempty"`
	Enable            bool   `json:"enable,omitempty"`
}

type NodeGroupTaintDto

type NodeGroupTaintDto struct {
	Key    string `json:"key"`
	Value  string `json:"value"`
	Effect string `json:"effect"`
}

type NodeGroupUpgradeConfigDto

type NodeGroupUpgradeConfigDto struct {
	Strategy       string `json:"strategy"`
	MaxSurge       int32  `json:"maxSurge"`
	MaxUnavailable int32  `json:"maxUnavailable"`
}

type PagingResultDtoClusterDto

type PagingResultDtoClusterDto struct {
	Items    []ClusterDto `json:"items,omitempty"`
	Total    int64        `json:"total,omitempty"`
	Page     int32        `json:"page,omitempty"`
	PageSize int32        `json:"pageSize,omitempty"`
}

type PagingResultDtoNodeDto

type PagingResultDtoNodeDto struct {
	Items    []NodeDto `json:"items,omitempty"`
	Total    int64     `json:"total,omitempty"`
	Page     int32     `json:"page,omitempty"`
	PageSize int32     `json:"pageSize,omitempty"`
}

type PagingResultDtoNodeGroupDto

type PagingResultDtoNodeGroupDto struct {
	Items    []NodeGroupDto `json:"items,omitempty"`
	Total    int64          `json:"total,omitempty"`
	Page     int32          `json:"page,omitempty"`
	PageSize int32          `json:"pageSize,omitempty"`
}

type UpdateClusterDto

type UpdateClusterDto struct {
	Version                    string   `json:"version"`
	WhitelistNodeCIDRs         []string `json:"whitelistNodeCIDRs"`
	EnabledLoadBalancerPlugin  bool     `json:"enabledLoadBalancerPlugin"`
	EnabledBlockStoreCsiPlugin bool     `json:"enabledBlockStoreCsiPlugin"`
}

type UpdateNodeGroupDto

type UpdateNodeGroupDto struct {
	AutoScaleConfig *NodeGroupAutoScaleConfigDto `json:"autoScaleConfig,omitempty"`
	NumNodes        *int32                       `json:"numNodes,omitempty"`
	UpgradeConfig   *NodeGroupUpgradeConfigDto   `json:"upgradeConfig"`
	SecurityGroups  []string                     `json:"securityGroups"`
	ImageId         string                       `json:"imageId"`
	Labels          map[string]string            `json:"labels,omitempty"`
	Taints          []NodeGroupTaintDto          `json:"taints,omitempty"`
}

type V1ClusterControllerApiService

type V1ClusterControllerApiService service

func (*V1ClusterControllerApiService) V1ClustersClusterIdDelete

func (a *V1ClusterControllerApiService) V1ClustersClusterIdDelete(ctx context.Context, clusterId string, localVarOptionals *V1ClusterControllerApiV1ClustersClusterIdDeleteOpts) (ClusterDto, *http.Response, error)

func (*V1ClusterControllerApiService) V1ClustersClusterIdDeleteAutoUpgradeConfig added in v1.3.3

func (a *V1ClusterControllerApiService) V1ClustersClusterIdDeleteAutoUpgradeConfig(ctx context.Context, clusterId string, localVarOptionals *V1ClusterControllerApiV1ClustersClusterIdDeleteAutoUpgradeConfigOpts) (ClusterDto, *http.Response, error)

func (*V1ClusterControllerApiService) V1ClustersClusterIdGet

func (*V1ClusterControllerApiService) V1ClustersClusterIdKubeconfigGet

func (a *V1ClusterControllerApiService) V1ClustersClusterIdKubeconfigGet(ctx context.Context, clusterId string, localVarOptionals *V1ClusterControllerApiV1ClustersClusterIdKubeconfigGetOpts) (string, *http.Response, error)

func (*V1ClusterControllerApiService) V1ClustersClusterIdPut

func (a *V1ClusterControllerApiService) V1ClustersClusterIdPut(ctx context.Context, clusterId string, localVarOptionals *V1ClusterControllerApiV1ClustersClusterIdPutOpts) (ClusterDto, *http.Response, error)

func (*V1ClusterControllerApiService) V1ClustersClusterIdPutAutoUpgradeConfig added in v1.3.3

func (a *V1ClusterControllerApiService) V1ClustersClusterIdPutAutoUpgradeConfig(ctx context.Context, clusterId string, localVarOptionals *V1ClusterControllerApiV1ClustersClusterIdPutAutoUpgradeConfigOpts) (ClusterDto, *http.Response, error)

func (*V1ClusterControllerApiService) V1ClustersGet

func (*V1ClusterControllerApiService) V1ClustersPost

type V1ClusterControllerApiV1ClustersClusterIdDeleteAutoUpgradeConfigOpts added in v1.3.3

type V1ClusterControllerApiV1ClustersClusterIdDeleteAutoUpgradeConfigOpts struct {
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersClusterIdDeleteOpts

type V1ClusterControllerApiV1ClustersClusterIdDeleteOpts struct {
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersClusterIdGetOpts

type V1ClusterControllerApiV1ClustersClusterIdGetOpts struct {
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersClusterIdKubeconfigGetOpts

type V1ClusterControllerApiV1ClustersClusterIdKubeconfigGetOpts struct {
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersClusterIdPutAutoUpgradeConfigOpts added in v1.3.3

type V1ClusterControllerApiV1ClustersClusterIdPutAutoUpgradeConfigOpts struct {
	Body         optional.Interface
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersClusterIdPutOpts

type V1ClusterControllerApiV1ClustersClusterIdPutOpts struct {
	Body         optional.Interface
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersGetOpts

type V1ClusterControllerApiV1ClustersGetOpts struct {
	Filter       optional.String
	Page         optional.Int32
	PageSize     optional.Int32
	PortalUserId optional.Int64
}

type V1ClusterControllerApiV1ClustersPostOpts

type V1ClusterControllerApiV1ClustersPostOpts struct {
	Body         optional.Interface
	PortalUserId optional.Int64
	Poc          optional.Bool
}

type V1NodeGroupControllerApiService

type V1NodeGroupControllerApiService service

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsGet

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdDelete

func (a *V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdDelete(ctx context.Context, clusterId string, nodeGroupId string, localVarOptionals *V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdDeleteOpts) (NodeGroupDto, *http.Response, error)

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdGet

func (a *V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdGet(ctx context.Context, clusterId string, nodeGroupId string, localVarOptionals *V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdGetOpts) (NodeGroupDetailDto, *http.Response, error)

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdNodesGet

func (a *V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdNodesGet(ctx context.Context, clusterId string, nodeGroupId string, localVarOptionals *V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdNodesGetOpts) (PagingResultDtoNodeDto, *http.Response, error)

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdPut

func (a *V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsNodeGroupIdPut(ctx context.Context, clusterId string, nodeGroupId string, localVarOptionals *V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdPutOpts) (NodeGroupDto, *http.Response, error)

func (*V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsPost

func (a *V1NodeGroupControllerApiService) V1ClustersClusterIdNodeGroupsPost(ctx context.Context, clusterId string, localVarOptionals *V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsPostOpts) (NodeGroupDto, *http.Response, error)

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsGetOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsGetOpts struct {
	Page         optional.Int32
	PageSize     optional.Int32
	PortalUserId optional.Int64
}

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdDeleteOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdDeleteOpts struct {
	PortalUserId optional.Int64
}

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdGetOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdGetOpts struct {
	PortalUserId optional.Int64
}

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdNodesGetOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdNodesGetOpts struct {
	Page         optional.Int32
	PageSize     optional.Int32
	PortalUserId optional.Int64
}

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdPutOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsNodeGroupIdPutOpts struct {
	Body         optional.Interface
	PortalUserId optional.Int64
}

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsPostOpts

type V1NodeGroupControllerApiV1ClustersClusterIdNodeGroupsPostOpts struct {
	Body         optional.Interface
	PortalUserId optional.Int64
}

type V1NodeGroupImageControllerApiService

type V1NodeGroupImageControllerApiService service

func (*V1NodeGroupImageControllerApiService) V1NodeGroupImagesGet

V1NodeGroupImageControllerApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []NodeGroupImageDto

type V1WorkspaceControllerApiService

type V1WorkspaceControllerApiService service

func (*V1WorkspaceControllerApiService) V1WorkspaceGet

func (*V1WorkspaceControllerApiService) V1WorkspacePost

func (*V1WorkspaceControllerApiService) V1WorkspaceResetServiceAccountPost

type V1WorkspaceControllerApiV1WorkspaceGetOpts

type V1WorkspaceControllerApiV1WorkspaceGetOpts struct {
	PortalUserId optional.Int64
}

type V1WorkspaceControllerApiV1WorkspacePostOpts

type V1WorkspaceControllerApiV1WorkspacePostOpts struct {
	PortalUserId optional.Int64
}

type V1WorkspaceControllerApiV1WorkspaceResetServiceAccountPostOpts

type V1WorkspaceControllerApiV1WorkspaceResetServiceAccountPostOpts struct {
	PortalUserId optional.Int64
}

type WorkspaceDto

type WorkspaceDto struct {
	ProjectId        string `json:"projectId,omitempty"`
	ServiceAccountId string `json:"serviceAccountId,omitempty"`
	Status           string `json:"status,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL