gke

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for gke API

func (*Client) ListGKEClusterDiskTypes

func (a *Client) ListGKEClusterDiskTypes(params *ListGKEClusterDiskTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterDiskTypesOK, error)

ListGKEClusterDiskTypes gets g k e cluster machine disk types

func (*Client) ListGKEClusterImages

func (a *Client) ListGKEClusterImages(params *ListGKEClusterImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterImagesOK, error)

ListGKEClusterImages gets g k e cluster images

func (*Client) ListGKEClusterSizes

func (a *Client) ListGKEClusterSizes(params *ListGKEClusterSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterSizesOK, error)

ListGKEClusterSizes gets g k e cluster machine sizes

func (*Client) ListGKEClusterZones

func (a *Client) ListGKEClusterZones(params *ListGKEClusterZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterZonesOK, error)

ListGKEClusterZones gets g k e cluster zones

func (*Client) ListGKEDiskTypes added in v2.21.0

func (a *Client) ListGKEDiskTypes(params *ListGKEDiskTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEDiskTypesOK, error)

ListGKEDiskTypes gets g k e machine disk types

func (*Client) ListGKEImages

func (a *Client) ListGKEImages(params *ListGKEImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEImagesOK, error)

ListGKEImages Lists GKE image types

func (*Client) ListGKEVMSizes added in v2.21.0

func (a *Client) ListGKEVMSizes(params *ListGKEVMSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEVMSizesOK, error)

ListGKEVMSizes Lists GKE vmsizes

func (*Client) ListGKEVersions added in v2.21.0

func (a *Client) ListGKEVersions(params *ListGKEVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEVersionsOK, error)

ListGKEVersions Lists GKE versions

func (*Client) ListGKEZones added in v2.21.0

func (a *Client) ListGKEZones(params *ListGKEZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEZonesOK, error)

ListGKEZones Lists GKE zones

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ValidateGKECredentials

func (a *Client) ValidateGKECredentials(params *ValidateGKECredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateGKECredentialsOK, error)

ValidateGKECredentials Validates GKE credentials

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListGKEClusterDiskTypes(params *ListGKEClusterDiskTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterDiskTypesOK, error)

	ListGKEClusterImages(params *ListGKEClusterImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterImagesOK, error)

	ListGKEClusterSizes(params *ListGKEClusterSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterSizesOK, error)

	ListGKEClusterZones(params *ListGKEClusterZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEClusterZonesOK, error)

	ListGKEDiskTypes(params *ListGKEDiskTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEDiskTypesOK, error)

	ListGKEImages(params *ListGKEImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEImagesOK, error)

	ListGKEVMSizes(params *ListGKEVMSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEVMSizesOK, error)

	ListGKEVersions(params *ListGKEVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEVersionsOK, error)

	ListGKEZones(params *ListGKEZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEZonesOK, error)

	ValidateGKECredentials(params *ValidateGKECredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateGKECredentialsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new gke API client.

type ListGKEClusterDiskTypesDefault

type ListGKEClusterDiskTypesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEClusterDiskTypesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEClusterDiskTypesDefault

func NewListGKEClusterDiskTypesDefault(code int) *ListGKEClusterDiskTypesDefault

NewListGKEClusterDiskTypesDefault creates a ListGKEClusterDiskTypesDefault with default headers values

func (*ListGKEClusterDiskTypesDefault) Code

Code gets the status code for the list g k e cluster disk types default response

func (*ListGKEClusterDiskTypesDefault) Error

func (*ListGKEClusterDiskTypesDefault) GetPayload

type ListGKEClusterDiskTypesForbidden

type ListGKEClusterDiskTypesForbidden struct {
}
ListGKEClusterDiskTypesForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterDiskTypesForbidden

func NewListGKEClusterDiskTypesForbidden() *ListGKEClusterDiskTypesForbidden

NewListGKEClusterDiskTypesForbidden creates a ListGKEClusterDiskTypesForbidden with default headers values

func (*ListGKEClusterDiskTypesForbidden) Error

type ListGKEClusterDiskTypesOK

type ListGKEClusterDiskTypesOK struct {
	Payload models.GCPDiskTypeList
}
ListGKEClusterDiskTypesOK describes a response with status code 200, with default header values.

GCPDiskTypeList

func NewListGKEClusterDiskTypesOK

func NewListGKEClusterDiskTypesOK() *ListGKEClusterDiskTypesOK

NewListGKEClusterDiskTypesOK creates a ListGKEClusterDiskTypesOK with default headers values

func (*ListGKEClusterDiskTypesOK) Error

func (o *ListGKEClusterDiskTypesOK) Error() string

func (*ListGKEClusterDiskTypesOK) GetPayload

type ListGKEClusterDiskTypesParams

type ListGKEClusterDiskTypesParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEClusterDiskTypesParams contains all the parameters to send to the API endpoint

for the list g k e cluster disk types operation.

Typically these are written to a http.Request.

func NewListGKEClusterDiskTypesParams

func NewListGKEClusterDiskTypesParams() *ListGKEClusterDiskTypesParams

NewListGKEClusterDiskTypesParams creates a new ListGKEClusterDiskTypesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEClusterDiskTypesParamsWithContext

func NewListGKEClusterDiskTypesParamsWithContext(ctx context.Context) *ListGKEClusterDiskTypesParams

NewListGKEClusterDiskTypesParamsWithContext creates a new ListGKEClusterDiskTypesParams object with the ability to set a context for a request.

func NewListGKEClusterDiskTypesParamsWithHTTPClient

func NewListGKEClusterDiskTypesParamsWithHTTPClient(client *http.Client) *ListGKEClusterDiskTypesParams

NewListGKEClusterDiskTypesParamsWithHTTPClient creates a new ListGKEClusterDiskTypesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEClusterDiskTypesParamsWithTimeout

func NewListGKEClusterDiskTypesParamsWithTimeout(timeout time.Duration) *ListGKEClusterDiskTypesParams

NewListGKEClusterDiskTypesParamsWithTimeout creates a new ListGKEClusterDiskTypesParams object with the ability to set a timeout on a request.

func (*ListGKEClusterDiskTypesParams) SetClusterID

func (o *ListGKEClusterDiskTypesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) SetContext

func (o *ListGKEClusterDiskTypesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) SetDefaults

func (o *ListGKEClusterDiskTypesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e cluster disk types params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterDiskTypesParams) SetHTTPClient

func (o *ListGKEClusterDiskTypesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) SetProjectID

func (o *ListGKEClusterDiskTypesParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) SetTimeout

func (o *ListGKEClusterDiskTypesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WithClusterID

WithClusterID adds the clusterID to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WithContext

WithContext adds the context to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WithDefaults

WithDefaults hydrates default values in the list g k e cluster disk types params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterDiskTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WithProjectID

WithProjectID adds the projectID to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WithTimeout

WithTimeout adds the timeout to the list g k e cluster disk types params

func (*ListGKEClusterDiskTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGKEClusterDiskTypesReader

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

ListGKEClusterDiskTypesReader is a Reader for the ListGKEClusterDiskTypes structure.

func (*ListGKEClusterDiskTypesReader) ReadResponse

func (o *ListGKEClusterDiskTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEClusterDiskTypesUnauthorized

type ListGKEClusterDiskTypesUnauthorized struct {
}
ListGKEClusterDiskTypesUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterDiskTypesUnauthorized

func NewListGKEClusterDiskTypesUnauthorized() *ListGKEClusterDiskTypesUnauthorized

NewListGKEClusterDiskTypesUnauthorized creates a ListGKEClusterDiskTypesUnauthorized with default headers values

func (*ListGKEClusterDiskTypesUnauthorized) Error

type ListGKEClusterImagesDefault

type ListGKEClusterImagesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEClusterImagesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEClusterImagesDefault

func NewListGKEClusterImagesDefault(code int) *ListGKEClusterImagesDefault

NewListGKEClusterImagesDefault creates a ListGKEClusterImagesDefault with default headers values

func (*ListGKEClusterImagesDefault) Code

func (o *ListGKEClusterImagesDefault) Code() int

Code gets the status code for the list g k e cluster images default response

func (*ListGKEClusterImagesDefault) Error

func (*ListGKEClusterImagesDefault) GetPayload

type ListGKEClusterImagesForbidden

type ListGKEClusterImagesForbidden struct {
}
ListGKEClusterImagesForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterImagesForbidden

func NewListGKEClusterImagesForbidden() *ListGKEClusterImagesForbidden

NewListGKEClusterImagesForbidden creates a ListGKEClusterImagesForbidden with default headers values

func (*ListGKEClusterImagesForbidden) Error

type ListGKEClusterImagesOK

type ListGKEClusterImagesOK struct {
	Payload models.GKEImageList
}
ListGKEClusterImagesOK describes a response with status code 200, with default header values.

GKEImageList

func NewListGKEClusterImagesOK

func NewListGKEClusterImagesOK() *ListGKEClusterImagesOK

NewListGKEClusterImagesOK creates a ListGKEClusterImagesOK with default headers values

func (*ListGKEClusterImagesOK) Error

func (o *ListGKEClusterImagesOK) Error() string

func (*ListGKEClusterImagesOK) GetPayload

func (o *ListGKEClusterImagesOK) GetPayload() models.GKEImageList

type ListGKEClusterImagesParams

type ListGKEClusterImagesParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEClusterImagesParams contains all the parameters to send to the API endpoint

for the list g k e cluster images operation.

Typically these are written to a http.Request.

func NewListGKEClusterImagesParams

func NewListGKEClusterImagesParams() *ListGKEClusterImagesParams

NewListGKEClusterImagesParams creates a new ListGKEClusterImagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEClusterImagesParamsWithContext

func NewListGKEClusterImagesParamsWithContext(ctx context.Context) *ListGKEClusterImagesParams

NewListGKEClusterImagesParamsWithContext creates a new ListGKEClusterImagesParams object with the ability to set a context for a request.

func NewListGKEClusterImagesParamsWithHTTPClient

func NewListGKEClusterImagesParamsWithHTTPClient(client *http.Client) *ListGKEClusterImagesParams

NewListGKEClusterImagesParamsWithHTTPClient creates a new ListGKEClusterImagesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEClusterImagesParamsWithTimeout

func NewListGKEClusterImagesParamsWithTimeout(timeout time.Duration) *ListGKEClusterImagesParams

NewListGKEClusterImagesParamsWithTimeout creates a new ListGKEClusterImagesParams object with the ability to set a timeout on a request.

func (*ListGKEClusterImagesParams) SetClusterID

func (o *ListGKEClusterImagesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list g k e cluster images params

func (*ListGKEClusterImagesParams) SetContext

func (o *ListGKEClusterImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e cluster images params

func (*ListGKEClusterImagesParams) SetDefaults

func (o *ListGKEClusterImagesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e cluster images params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterImagesParams) SetHTTPClient

func (o *ListGKEClusterImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e cluster images params

func (*ListGKEClusterImagesParams) SetProjectID

func (o *ListGKEClusterImagesParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list g k e cluster images params

func (*ListGKEClusterImagesParams) SetTimeout

func (o *ListGKEClusterImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WithClusterID

func (o *ListGKEClusterImagesParams) WithClusterID(clusterID string) *ListGKEClusterImagesParams

WithClusterID adds the clusterID to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WithContext

WithContext adds the context to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WithDefaults

WithDefaults hydrates default values in the list g k e cluster images params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterImagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WithProjectID

func (o *ListGKEClusterImagesParams) WithProjectID(projectID string) *ListGKEClusterImagesParams

WithProjectID adds the projectID to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WithTimeout

WithTimeout adds the timeout to the list g k e cluster images params

func (*ListGKEClusterImagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGKEClusterImagesReader

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

ListGKEClusterImagesReader is a Reader for the ListGKEClusterImages structure.

func (*ListGKEClusterImagesReader) ReadResponse

func (o *ListGKEClusterImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEClusterImagesUnauthorized

type ListGKEClusterImagesUnauthorized struct {
}
ListGKEClusterImagesUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterImagesUnauthorized

func NewListGKEClusterImagesUnauthorized() *ListGKEClusterImagesUnauthorized

NewListGKEClusterImagesUnauthorized creates a ListGKEClusterImagesUnauthorized with default headers values

func (*ListGKEClusterImagesUnauthorized) Error

type ListGKEClusterSizesDefault

type ListGKEClusterSizesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEClusterSizesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEClusterSizesDefault

func NewListGKEClusterSizesDefault(code int) *ListGKEClusterSizesDefault

NewListGKEClusterSizesDefault creates a ListGKEClusterSizesDefault with default headers values

func (*ListGKEClusterSizesDefault) Code

func (o *ListGKEClusterSizesDefault) Code() int

Code gets the status code for the list g k e cluster sizes default response

func (*ListGKEClusterSizesDefault) Error

func (*ListGKEClusterSizesDefault) GetPayload

type ListGKEClusterSizesForbidden

type ListGKEClusterSizesForbidden struct {
}
ListGKEClusterSizesForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterSizesForbidden

func NewListGKEClusterSizesForbidden() *ListGKEClusterSizesForbidden

NewListGKEClusterSizesForbidden creates a ListGKEClusterSizesForbidden with default headers values

func (*ListGKEClusterSizesForbidden) Error

type ListGKEClusterSizesOK

type ListGKEClusterSizesOK struct {
	Payload models.GCPMachineSizeList
}
ListGKEClusterSizesOK describes a response with status code 200, with default header values.

GCPMachineSizeList

func NewListGKEClusterSizesOK

func NewListGKEClusterSizesOK() *ListGKEClusterSizesOK

NewListGKEClusterSizesOK creates a ListGKEClusterSizesOK with default headers values

func (*ListGKEClusterSizesOK) Error

func (o *ListGKEClusterSizesOK) Error() string

func (*ListGKEClusterSizesOK) GetPayload

type ListGKEClusterSizesParams

type ListGKEClusterSizesParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEClusterSizesParams contains all the parameters to send to the API endpoint

for the list g k e cluster sizes operation.

Typically these are written to a http.Request.

func NewListGKEClusterSizesParams

func NewListGKEClusterSizesParams() *ListGKEClusterSizesParams

NewListGKEClusterSizesParams creates a new ListGKEClusterSizesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEClusterSizesParamsWithContext

func NewListGKEClusterSizesParamsWithContext(ctx context.Context) *ListGKEClusterSizesParams

NewListGKEClusterSizesParamsWithContext creates a new ListGKEClusterSizesParams object with the ability to set a context for a request.

func NewListGKEClusterSizesParamsWithHTTPClient

func NewListGKEClusterSizesParamsWithHTTPClient(client *http.Client) *ListGKEClusterSizesParams

NewListGKEClusterSizesParamsWithHTTPClient creates a new ListGKEClusterSizesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEClusterSizesParamsWithTimeout

func NewListGKEClusterSizesParamsWithTimeout(timeout time.Duration) *ListGKEClusterSizesParams

NewListGKEClusterSizesParamsWithTimeout creates a new ListGKEClusterSizesParams object with the ability to set a timeout on a request.

func (*ListGKEClusterSizesParams) SetClusterID

func (o *ListGKEClusterSizesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) SetContext

func (o *ListGKEClusterSizesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) SetDefaults

func (o *ListGKEClusterSizesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e cluster sizes params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterSizesParams) SetHTTPClient

func (o *ListGKEClusterSizesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) SetProjectID

func (o *ListGKEClusterSizesParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) SetTimeout

func (o *ListGKEClusterSizesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WithClusterID

func (o *ListGKEClusterSizesParams) WithClusterID(clusterID string) *ListGKEClusterSizesParams

WithClusterID adds the clusterID to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WithContext

WithContext adds the context to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WithDefaults

WithDefaults hydrates default values in the list g k e cluster sizes params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterSizesParams) WithHTTPClient

func (o *ListGKEClusterSizesParams) WithHTTPClient(client *http.Client) *ListGKEClusterSizesParams

WithHTTPClient adds the HTTPClient to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WithProjectID

func (o *ListGKEClusterSizesParams) WithProjectID(projectID string) *ListGKEClusterSizesParams

WithProjectID adds the projectID to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WithTimeout

WithTimeout adds the timeout to the list g k e cluster sizes params

func (*ListGKEClusterSizesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGKEClusterSizesReader

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

ListGKEClusterSizesReader is a Reader for the ListGKEClusterSizes structure.

func (*ListGKEClusterSizesReader) ReadResponse

func (o *ListGKEClusterSizesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEClusterSizesUnauthorized

type ListGKEClusterSizesUnauthorized struct {
}
ListGKEClusterSizesUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterSizesUnauthorized

func NewListGKEClusterSizesUnauthorized() *ListGKEClusterSizesUnauthorized

NewListGKEClusterSizesUnauthorized creates a ListGKEClusterSizesUnauthorized with default headers values

func (*ListGKEClusterSizesUnauthorized) Error

type ListGKEClusterZonesDefault

type ListGKEClusterZonesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEClusterZonesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEClusterZonesDefault

func NewListGKEClusterZonesDefault(code int) *ListGKEClusterZonesDefault

NewListGKEClusterZonesDefault creates a ListGKEClusterZonesDefault with default headers values

func (*ListGKEClusterZonesDefault) Code

func (o *ListGKEClusterZonesDefault) Code() int

Code gets the status code for the list g k e cluster zones default response

func (*ListGKEClusterZonesDefault) Error

func (*ListGKEClusterZonesDefault) GetPayload

type ListGKEClusterZonesForbidden

type ListGKEClusterZonesForbidden struct {
}
ListGKEClusterZonesForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterZonesForbidden

func NewListGKEClusterZonesForbidden() *ListGKEClusterZonesForbidden

NewListGKEClusterZonesForbidden creates a ListGKEClusterZonesForbidden with default headers values

func (*ListGKEClusterZonesForbidden) Error

type ListGKEClusterZonesOK

type ListGKEClusterZonesOK struct {
	Payload models.GKEZoneList
}
ListGKEClusterZonesOK describes a response with status code 200, with default header values.

GKEZoneList

func NewListGKEClusterZonesOK

func NewListGKEClusterZonesOK() *ListGKEClusterZonesOK

NewListGKEClusterZonesOK creates a ListGKEClusterZonesOK with default headers values

func (*ListGKEClusterZonesOK) Error

func (o *ListGKEClusterZonesOK) Error() string

func (*ListGKEClusterZonesOK) GetPayload

func (o *ListGKEClusterZonesOK) GetPayload() models.GKEZoneList

type ListGKEClusterZonesParams

type ListGKEClusterZonesParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEClusterZonesParams contains all the parameters to send to the API endpoint

for the list g k e cluster zones operation.

Typically these are written to a http.Request.

func NewListGKEClusterZonesParams

func NewListGKEClusterZonesParams() *ListGKEClusterZonesParams

NewListGKEClusterZonesParams creates a new ListGKEClusterZonesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEClusterZonesParamsWithContext

func NewListGKEClusterZonesParamsWithContext(ctx context.Context) *ListGKEClusterZonesParams

NewListGKEClusterZonesParamsWithContext creates a new ListGKEClusterZonesParams object with the ability to set a context for a request.

func NewListGKEClusterZonesParamsWithHTTPClient

func NewListGKEClusterZonesParamsWithHTTPClient(client *http.Client) *ListGKEClusterZonesParams

NewListGKEClusterZonesParamsWithHTTPClient creates a new ListGKEClusterZonesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEClusterZonesParamsWithTimeout

func NewListGKEClusterZonesParamsWithTimeout(timeout time.Duration) *ListGKEClusterZonesParams

NewListGKEClusterZonesParamsWithTimeout creates a new ListGKEClusterZonesParams object with the ability to set a timeout on a request.

func (*ListGKEClusterZonesParams) SetClusterID

func (o *ListGKEClusterZonesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) SetContext

func (o *ListGKEClusterZonesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) SetDefaults

func (o *ListGKEClusterZonesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e cluster zones params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterZonesParams) SetHTTPClient

func (o *ListGKEClusterZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) SetProjectID

func (o *ListGKEClusterZonesParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) SetTimeout

func (o *ListGKEClusterZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WithClusterID

func (o *ListGKEClusterZonesParams) WithClusterID(clusterID string) *ListGKEClusterZonesParams

WithClusterID adds the clusterID to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WithContext

WithContext adds the context to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WithDefaults

WithDefaults hydrates default values in the list g k e cluster zones params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEClusterZonesParams) WithHTTPClient

func (o *ListGKEClusterZonesParams) WithHTTPClient(client *http.Client) *ListGKEClusterZonesParams

WithHTTPClient adds the HTTPClient to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WithProjectID

func (o *ListGKEClusterZonesParams) WithProjectID(projectID string) *ListGKEClusterZonesParams

WithProjectID adds the projectID to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WithTimeout

WithTimeout adds the timeout to the list g k e cluster zones params

func (*ListGKEClusterZonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGKEClusterZonesReader

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

ListGKEClusterZonesReader is a Reader for the ListGKEClusterZones structure.

func (*ListGKEClusterZonesReader) ReadResponse

func (o *ListGKEClusterZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEClusterZonesUnauthorized

type ListGKEClusterZonesUnauthorized struct {
}
ListGKEClusterZonesUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListGKEClusterZonesUnauthorized

func NewListGKEClusterZonesUnauthorized() *ListGKEClusterZonesUnauthorized

NewListGKEClusterZonesUnauthorized creates a ListGKEClusterZonesUnauthorized with default headers values

func (*ListGKEClusterZonesUnauthorized) Error

type ListGKEDiskTypesDefault added in v2.21.0

type ListGKEDiskTypesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEDiskTypesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEDiskTypesDefault added in v2.21.0

func NewListGKEDiskTypesDefault(code int) *ListGKEDiskTypesDefault

NewListGKEDiskTypesDefault creates a ListGKEDiskTypesDefault with default headers values

func (*ListGKEDiskTypesDefault) Code added in v2.21.0

func (o *ListGKEDiskTypesDefault) Code() int

Code gets the status code for the list g k e disk types default response

func (*ListGKEDiskTypesDefault) Error added in v2.21.0

func (o *ListGKEDiskTypesDefault) Error() string

func (*ListGKEDiskTypesDefault) GetPayload added in v2.21.0

func (o *ListGKEDiskTypesDefault) GetPayload() *models.ErrorResponse

type ListGKEDiskTypesOK added in v2.21.0

type ListGKEDiskTypesOK struct {
	Payload models.GKEDiskTypeList
}
ListGKEDiskTypesOK describes a response with status code 200, with default header values.

GKEDiskTypeList

func NewListGKEDiskTypesOK added in v2.21.0

func NewListGKEDiskTypesOK() *ListGKEDiskTypesOK

NewListGKEDiskTypesOK creates a ListGKEDiskTypesOK with default headers values

func (*ListGKEDiskTypesOK) Error added in v2.21.0

func (o *ListGKEDiskTypesOK) Error() string

func (*ListGKEDiskTypesOK) GetPayload added in v2.21.0

func (o *ListGKEDiskTypesOK) GetPayload() models.GKEDiskTypeList

type ListGKEDiskTypesParams added in v2.21.0

type ListGKEDiskTypesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEDiskTypesParams contains all the parameters to send to the API endpoint

for the list g k e disk types operation.

Typically these are written to a http.Request.

func NewListGKEDiskTypesParams added in v2.21.0

func NewListGKEDiskTypesParams() *ListGKEDiskTypesParams

NewListGKEDiskTypesParams creates a new ListGKEDiskTypesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEDiskTypesParamsWithContext added in v2.21.0

func NewListGKEDiskTypesParamsWithContext(ctx context.Context) *ListGKEDiskTypesParams

NewListGKEDiskTypesParamsWithContext creates a new ListGKEDiskTypesParams object with the ability to set a context for a request.

func NewListGKEDiskTypesParamsWithHTTPClient added in v2.21.0

func NewListGKEDiskTypesParamsWithHTTPClient(client *http.Client) *ListGKEDiskTypesParams

NewListGKEDiskTypesParamsWithHTTPClient creates a new ListGKEDiskTypesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEDiskTypesParamsWithTimeout added in v2.21.0

func NewListGKEDiskTypesParamsWithTimeout(timeout time.Duration) *ListGKEDiskTypesParams

NewListGKEDiskTypesParamsWithTimeout creates a new ListGKEDiskTypesParams object with the ability to set a timeout on a request.

func (*ListGKEDiskTypesParams) SetContext added in v2.21.0

func (o *ListGKEDiskTypesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e disk types params

func (*ListGKEDiskTypesParams) SetDefaults added in v2.21.0

func (o *ListGKEDiskTypesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e disk types params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEDiskTypesParams) SetHTTPClient added in v2.21.0

func (o *ListGKEDiskTypesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e disk types params

func (*ListGKEDiskTypesParams) SetTimeout added in v2.21.0

func (o *ListGKEDiskTypesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e disk types params

func (*ListGKEDiskTypesParams) WithContext added in v2.21.0

WithContext adds the context to the list g k e disk types params

func (*ListGKEDiskTypesParams) WithDefaults added in v2.21.0

WithDefaults hydrates default values in the list g k e disk types params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEDiskTypesParams) WithHTTPClient added in v2.21.0

func (o *ListGKEDiskTypesParams) WithHTTPClient(client *http.Client) *ListGKEDiskTypesParams

WithHTTPClient adds the HTTPClient to the list g k e disk types params

func (*ListGKEDiskTypesParams) WithTimeout added in v2.21.0

WithTimeout adds the timeout to the list g k e disk types params

func (*ListGKEDiskTypesParams) WriteToRequest added in v2.21.0

WriteToRequest writes these params to a swagger request

type ListGKEDiskTypesReader added in v2.21.0

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

ListGKEDiskTypesReader is a Reader for the ListGKEDiskTypes structure.

func (*ListGKEDiskTypesReader) ReadResponse added in v2.21.0

func (o *ListGKEDiskTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEImagesDefault

type ListGKEImagesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEImagesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEImagesDefault

func NewListGKEImagesDefault(code int) *ListGKEImagesDefault

NewListGKEImagesDefault creates a ListGKEImagesDefault with default headers values

func (*ListGKEImagesDefault) Code

func (o *ListGKEImagesDefault) Code() int

Code gets the status code for the list g k e images default response

func (*ListGKEImagesDefault) Error

func (o *ListGKEImagesDefault) Error() string

func (*ListGKEImagesDefault) GetPayload

func (o *ListGKEImagesDefault) GetPayload() *models.ErrorResponse

type ListGKEImagesOK

type ListGKEImagesOK struct {
	Payload models.GKEImageList
}
ListGKEImagesOK describes a response with status code 200, with default header values.

GKEImageList

func NewListGKEImagesOK

func NewListGKEImagesOK() *ListGKEImagesOK

NewListGKEImagesOK creates a ListGKEImagesOK with default headers values

func (*ListGKEImagesOK) Error

func (o *ListGKEImagesOK) Error() string

func (*ListGKEImagesOK) GetPayload

func (o *ListGKEImagesOK) GetPayload() models.GKEImageList

type ListGKEImagesParams

type ListGKEImagesParams struct {

	/* Credential.

	   The credential name used in the preset for the GCP provider
	*/
	Credential *string

	/* ServiceAccount.

	   The plain GCP service account
	*/
	ServiceAccount *string

	/* Zone.

	   The zone name
	*/
	Zone *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEImagesParams contains all the parameters to send to the API endpoint

for the list g k e images operation.

Typically these are written to a http.Request.

func NewListGKEImagesParams

func NewListGKEImagesParams() *ListGKEImagesParams

NewListGKEImagesParams creates a new ListGKEImagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEImagesParamsWithContext

func NewListGKEImagesParamsWithContext(ctx context.Context) *ListGKEImagesParams

NewListGKEImagesParamsWithContext creates a new ListGKEImagesParams object with the ability to set a context for a request.

func NewListGKEImagesParamsWithHTTPClient

func NewListGKEImagesParamsWithHTTPClient(client *http.Client) *ListGKEImagesParams

NewListGKEImagesParamsWithHTTPClient creates a new ListGKEImagesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEImagesParamsWithTimeout

func NewListGKEImagesParamsWithTimeout(timeout time.Duration) *ListGKEImagesParams

NewListGKEImagesParamsWithTimeout creates a new ListGKEImagesParams object with the ability to set a timeout on a request.

func (*ListGKEImagesParams) SetContext

func (o *ListGKEImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e images params

func (*ListGKEImagesParams) SetCredential

func (o *ListGKEImagesParams) SetCredential(credential *string)

SetCredential adds the credential to the list g k e images params

func (*ListGKEImagesParams) SetDefaults

func (o *ListGKEImagesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e images params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEImagesParams) SetHTTPClient

func (o *ListGKEImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e images params

func (*ListGKEImagesParams) SetServiceAccount

func (o *ListGKEImagesParams) SetServiceAccount(serviceAccount *string)

SetServiceAccount adds the serviceAccount to the list g k e images params

func (*ListGKEImagesParams) SetTimeout

func (o *ListGKEImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e images params

func (*ListGKEImagesParams) SetZone

func (o *ListGKEImagesParams) SetZone(zone *string)

SetZone adds the zone to the list g k e images params

func (*ListGKEImagesParams) WithContext

WithContext adds the context to the list g k e images params

func (*ListGKEImagesParams) WithCredential

func (o *ListGKEImagesParams) WithCredential(credential *string) *ListGKEImagesParams

WithCredential adds the credential to the list g k e images params

func (*ListGKEImagesParams) WithDefaults

func (o *ListGKEImagesParams) WithDefaults() *ListGKEImagesParams

WithDefaults hydrates default values in the list g k e images params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEImagesParams) WithHTTPClient

func (o *ListGKEImagesParams) WithHTTPClient(client *http.Client) *ListGKEImagesParams

WithHTTPClient adds the HTTPClient to the list g k e images params

func (*ListGKEImagesParams) WithServiceAccount

func (o *ListGKEImagesParams) WithServiceAccount(serviceAccount *string) *ListGKEImagesParams

WithServiceAccount adds the serviceAccount to the list g k e images params

func (*ListGKEImagesParams) WithTimeout

func (o *ListGKEImagesParams) WithTimeout(timeout time.Duration) *ListGKEImagesParams

WithTimeout adds the timeout to the list g k e images params

func (*ListGKEImagesParams) WithZone

func (o *ListGKEImagesParams) WithZone(zone *string) *ListGKEImagesParams

WithZone adds the zone to the list g k e images params

func (*ListGKEImagesParams) WriteToRequest

func (o *ListGKEImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListGKEImagesReader

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

ListGKEImagesReader is a Reader for the ListGKEImages structure.

func (*ListGKEImagesReader) ReadResponse

func (o *ListGKEImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEVMSizesDefault added in v2.21.0

type ListGKEVMSizesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEVMSizesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEVMSizesDefault added in v2.21.0

func NewListGKEVMSizesDefault(code int) *ListGKEVMSizesDefault

NewListGKEVMSizesDefault creates a ListGKEVMSizesDefault with default headers values

func (*ListGKEVMSizesDefault) Code added in v2.21.0

func (o *ListGKEVMSizesDefault) Code() int

Code gets the status code for the list g k e VM sizes default response

func (*ListGKEVMSizesDefault) Error added in v2.21.0

func (o *ListGKEVMSizesDefault) Error() string

func (*ListGKEVMSizesDefault) GetPayload added in v2.21.0

func (o *ListGKEVMSizesDefault) GetPayload() *models.ErrorResponse

type ListGKEVMSizesOK added in v2.21.0

type ListGKEVMSizesOK struct {
	Payload models.GCPMachineSizeList
}
ListGKEVMSizesOK describes a response with status code 200, with default header values.

GCPMachineSizeList

func NewListGKEVMSizesOK added in v2.21.0

func NewListGKEVMSizesOK() *ListGKEVMSizesOK

NewListGKEVMSizesOK creates a ListGKEVMSizesOK with default headers values

func (*ListGKEVMSizesOK) Error added in v2.21.0

func (o *ListGKEVMSizesOK) Error() string

func (*ListGKEVMSizesOK) GetPayload added in v2.21.0

func (o *ListGKEVMSizesOK) GetPayload() models.GCPMachineSizeList

type ListGKEVMSizesParams added in v2.21.0

type ListGKEVMSizesParams struct {

	/* Credential.

	   The credential name used in the preset for the GCP provider
	*/
	Credential *string

	/* ServiceAccount.

	   The plain GCP service account
	*/
	ServiceAccount *string

	/* Zone.

	   The zone name
	*/
	Zone *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEVMSizesParams contains all the parameters to send to the API endpoint

for the list g k e VM sizes operation.

Typically these are written to a http.Request.

func NewListGKEVMSizesParams added in v2.21.0

func NewListGKEVMSizesParams() *ListGKEVMSizesParams

NewListGKEVMSizesParams creates a new ListGKEVMSizesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEVMSizesParamsWithContext added in v2.21.0

func NewListGKEVMSizesParamsWithContext(ctx context.Context) *ListGKEVMSizesParams

NewListGKEVMSizesParamsWithContext creates a new ListGKEVMSizesParams object with the ability to set a context for a request.

func NewListGKEVMSizesParamsWithHTTPClient added in v2.21.0

func NewListGKEVMSizesParamsWithHTTPClient(client *http.Client) *ListGKEVMSizesParams

NewListGKEVMSizesParamsWithHTTPClient creates a new ListGKEVMSizesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEVMSizesParamsWithTimeout added in v2.21.0

func NewListGKEVMSizesParamsWithTimeout(timeout time.Duration) *ListGKEVMSizesParams

NewListGKEVMSizesParamsWithTimeout creates a new ListGKEVMSizesParams object with the ability to set a timeout on a request.

func (*ListGKEVMSizesParams) SetContext added in v2.21.0

func (o *ListGKEVMSizesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e VM sizes params

func (*ListGKEVMSizesParams) SetCredential added in v2.21.0

func (o *ListGKEVMSizesParams) SetCredential(credential *string)

SetCredential adds the credential to the list g k e VM sizes params

func (*ListGKEVMSizesParams) SetDefaults added in v2.21.0

func (o *ListGKEVMSizesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e VM sizes params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEVMSizesParams) SetHTTPClient added in v2.21.0

func (o *ListGKEVMSizesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e VM sizes params

func (*ListGKEVMSizesParams) SetServiceAccount added in v2.21.0

func (o *ListGKEVMSizesParams) SetServiceAccount(serviceAccount *string)

SetServiceAccount adds the serviceAccount to the list g k e VM sizes params

func (*ListGKEVMSizesParams) SetTimeout added in v2.21.0

func (o *ListGKEVMSizesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e VM sizes params

func (*ListGKEVMSizesParams) SetZone added in v2.21.0

func (o *ListGKEVMSizesParams) SetZone(zone *string)

SetZone adds the zone to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithContext added in v2.21.0

WithContext adds the context to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithCredential added in v2.21.0

func (o *ListGKEVMSizesParams) WithCredential(credential *string) *ListGKEVMSizesParams

WithCredential adds the credential to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithDefaults added in v2.21.0

func (o *ListGKEVMSizesParams) WithDefaults() *ListGKEVMSizesParams

WithDefaults hydrates default values in the list g k e VM sizes params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEVMSizesParams) WithHTTPClient added in v2.21.0

func (o *ListGKEVMSizesParams) WithHTTPClient(client *http.Client) *ListGKEVMSizesParams

WithHTTPClient adds the HTTPClient to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithServiceAccount added in v2.21.0

func (o *ListGKEVMSizesParams) WithServiceAccount(serviceAccount *string) *ListGKEVMSizesParams

WithServiceAccount adds the serviceAccount to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithTimeout added in v2.21.0

func (o *ListGKEVMSizesParams) WithTimeout(timeout time.Duration) *ListGKEVMSizesParams

WithTimeout adds the timeout to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WithZone added in v2.21.0

func (o *ListGKEVMSizesParams) WithZone(zone *string) *ListGKEVMSizesParams

WithZone adds the zone to the list g k e VM sizes params

func (*ListGKEVMSizesParams) WriteToRequest added in v2.21.0

func (o *ListGKEVMSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListGKEVMSizesReader added in v2.21.0

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

ListGKEVMSizesReader is a Reader for the ListGKEVMSizes structure.

func (*ListGKEVMSizesReader) ReadResponse added in v2.21.0

func (o *ListGKEVMSizesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEVersionsDefault added in v2.21.0

type ListGKEVersionsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEVersionsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEVersionsDefault added in v2.21.0

func NewListGKEVersionsDefault(code int) *ListGKEVersionsDefault

NewListGKEVersionsDefault creates a ListGKEVersionsDefault with default headers values

func (*ListGKEVersionsDefault) Code added in v2.21.0

func (o *ListGKEVersionsDefault) Code() int

Code gets the status code for the list g k e versions default response

func (*ListGKEVersionsDefault) Error added in v2.21.0

func (o *ListGKEVersionsDefault) Error() string

func (*ListGKEVersionsDefault) GetPayload added in v2.21.0

func (o *ListGKEVersionsDefault) GetPayload() *models.ErrorResponse

type ListGKEVersionsOK added in v2.21.0

type ListGKEVersionsOK struct {
	Payload []*models.MasterVersion
}
ListGKEVersionsOK describes a response with status code 200, with default header values.

MasterVersion

func NewListGKEVersionsOK added in v2.21.0

func NewListGKEVersionsOK() *ListGKEVersionsOK

NewListGKEVersionsOK creates a ListGKEVersionsOK with default headers values

func (*ListGKEVersionsOK) Error added in v2.21.0

func (o *ListGKEVersionsOK) Error() string

func (*ListGKEVersionsOK) GetPayload added in v2.21.0

func (o *ListGKEVersionsOK) GetPayload() []*models.MasterVersion

type ListGKEVersionsParams added in v2.21.0

type ListGKEVersionsParams struct {

	/* Credential.

	   The credential name used in the preset for the GCP provider
	*/
	Credential *string

	/* Mode.

	     The Mode is how you want GKE Control plane version to be managed.
	Manual: Manually manage the version upgrades.
	Auto: automatically manage the cluster's control plane version.
	*/
	Mode *string

	/* ReleaseChannel.

	   The ReleaseChannel
	*/
	ReleaseChannel *string

	/* ServiceAccount.

	   The plain GCP service account
	*/
	ServiceAccount *string

	/* Zone.

	   The zone name
	*/
	Zone *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEVersionsParams contains all the parameters to send to the API endpoint

for the list g k e versions operation.

Typically these are written to a http.Request.

func NewListGKEVersionsParams added in v2.21.0

func NewListGKEVersionsParams() *ListGKEVersionsParams

NewListGKEVersionsParams creates a new ListGKEVersionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEVersionsParamsWithContext added in v2.21.0

func NewListGKEVersionsParamsWithContext(ctx context.Context) *ListGKEVersionsParams

NewListGKEVersionsParamsWithContext creates a new ListGKEVersionsParams object with the ability to set a context for a request.

func NewListGKEVersionsParamsWithHTTPClient added in v2.21.0

func NewListGKEVersionsParamsWithHTTPClient(client *http.Client) *ListGKEVersionsParams

NewListGKEVersionsParamsWithHTTPClient creates a new ListGKEVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEVersionsParamsWithTimeout added in v2.21.0

func NewListGKEVersionsParamsWithTimeout(timeout time.Duration) *ListGKEVersionsParams

NewListGKEVersionsParamsWithTimeout creates a new ListGKEVersionsParams object with the ability to set a timeout on a request.

func (*ListGKEVersionsParams) SetContext added in v2.21.0

func (o *ListGKEVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e versions params

func (*ListGKEVersionsParams) SetCredential added in v2.21.0

func (o *ListGKEVersionsParams) SetCredential(credential *string)

SetCredential adds the credential to the list g k e versions params

func (*ListGKEVersionsParams) SetDefaults added in v2.21.0

func (o *ListGKEVersionsParams) SetDefaults()

SetDefaults hydrates default values in the list g k e versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEVersionsParams) SetHTTPClient added in v2.21.0

func (o *ListGKEVersionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e versions params

func (*ListGKEVersionsParams) SetMode added in v2.21.0

func (o *ListGKEVersionsParams) SetMode(mode *string)

SetMode adds the mode to the list g k e versions params

func (*ListGKEVersionsParams) SetReleaseChannel added in v2.21.0

func (o *ListGKEVersionsParams) SetReleaseChannel(releaseChannel *string)

SetReleaseChannel adds the releaseChannel to the list g k e versions params

func (*ListGKEVersionsParams) SetServiceAccount added in v2.21.0

func (o *ListGKEVersionsParams) SetServiceAccount(serviceAccount *string)

SetServiceAccount adds the serviceAccount to the list g k e versions params

func (*ListGKEVersionsParams) SetTimeout added in v2.21.0

func (o *ListGKEVersionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e versions params

func (*ListGKEVersionsParams) SetZone added in v2.21.0

func (o *ListGKEVersionsParams) SetZone(zone *string)

SetZone adds the zone to the list g k e versions params

func (*ListGKEVersionsParams) WithContext added in v2.21.0

WithContext adds the context to the list g k e versions params

func (*ListGKEVersionsParams) WithCredential added in v2.21.0

func (o *ListGKEVersionsParams) WithCredential(credential *string) *ListGKEVersionsParams

WithCredential adds the credential to the list g k e versions params

func (*ListGKEVersionsParams) WithDefaults added in v2.21.0

func (o *ListGKEVersionsParams) WithDefaults() *ListGKEVersionsParams

WithDefaults hydrates default values in the list g k e versions params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEVersionsParams) WithHTTPClient added in v2.21.0

func (o *ListGKEVersionsParams) WithHTTPClient(client *http.Client) *ListGKEVersionsParams

WithHTTPClient adds the HTTPClient to the list g k e versions params

func (*ListGKEVersionsParams) WithMode added in v2.21.0

WithMode adds the mode to the list g k e versions params

func (*ListGKEVersionsParams) WithReleaseChannel added in v2.21.0

func (o *ListGKEVersionsParams) WithReleaseChannel(releaseChannel *string) *ListGKEVersionsParams

WithReleaseChannel adds the releaseChannel to the list g k e versions params

func (*ListGKEVersionsParams) WithServiceAccount added in v2.21.0

func (o *ListGKEVersionsParams) WithServiceAccount(serviceAccount *string) *ListGKEVersionsParams

WithServiceAccount adds the serviceAccount to the list g k e versions params

func (*ListGKEVersionsParams) WithTimeout added in v2.21.0

func (o *ListGKEVersionsParams) WithTimeout(timeout time.Duration) *ListGKEVersionsParams

WithTimeout adds the timeout to the list g k e versions params

func (*ListGKEVersionsParams) WithZone added in v2.21.0

WithZone adds the zone to the list g k e versions params

func (*ListGKEVersionsParams) WriteToRequest added in v2.21.0

func (o *ListGKEVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListGKEVersionsReader added in v2.21.0

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

ListGKEVersionsReader is a Reader for the ListGKEVersions structure.

func (*ListGKEVersionsReader) ReadResponse added in v2.21.0

func (o *ListGKEVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGKEZonesDefault added in v2.21.0

type ListGKEZonesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListGKEZonesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListGKEZonesDefault added in v2.21.0

func NewListGKEZonesDefault(code int) *ListGKEZonesDefault

NewListGKEZonesDefault creates a ListGKEZonesDefault with default headers values

func (*ListGKEZonesDefault) Code added in v2.21.0

func (o *ListGKEZonesDefault) Code() int

Code gets the status code for the list g k e zones default response

func (*ListGKEZonesDefault) Error added in v2.21.0

func (o *ListGKEZonesDefault) Error() string

func (*ListGKEZonesDefault) GetPayload added in v2.21.0

func (o *ListGKEZonesDefault) GetPayload() *models.ErrorResponse

type ListGKEZonesOK added in v2.21.0

type ListGKEZonesOK struct {
	Payload models.GKEZoneList
}
ListGKEZonesOK describes a response with status code 200, with default header values.

GKEZoneList

func NewListGKEZonesOK added in v2.21.0

func NewListGKEZonesOK() *ListGKEZonesOK

NewListGKEZonesOK creates a ListGKEZonesOK with default headers values

func (*ListGKEZonesOK) Error added in v2.21.0

func (o *ListGKEZonesOK) Error() string

func (*ListGKEZonesOK) GetPayload added in v2.21.0

func (o *ListGKEZonesOK) GetPayload() models.GKEZoneList

type ListGKEZonesParams added in v2.21.0

type ListGKEZonesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGKEZonesParams contains all the parameters to send to the API endpoint

for the list g k e zones operation.

Typically these are written to a http.Request.

func NewListGKEZonesParams added in v2.21.0

func NewListGKEZonesParams() *ListGKEZonesParams

NewListGKEZonesParams creates a new ListGKEZonesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGKEZonesParamsWithContext added in v2.21.0

func NewListGKEZonesParamsWithContext(ctx context.Context) *ListGKEZonesParams

NewListGKEZonesParamsWithContext creates a new ListGKEZonesParams object with the ability to set a context for a request.

func NewListGKEZonesParamsWithHTTPClient added in v2.21.0

func NewListGKEZonesParamsWithHTTPClient(client *http.Client) *ListGKEZonesParams

NewListGKEZonesParamsWithHTTPClient creates a new ListGKEZonesParams object with the ability to set a custom HTTPClient for a request.

func NewListGKEZonesParamsWithTimeout added in v2.21.0

func NewListGKEZonesParamsWithTimeout(timeout time.Duration) *ListGKEZonesParams

NewListGKEZonesParamsWithTimeout creates a new ListGKEZonesParams object with the ability to set a timeout on a request.

func (*ListGKEZonesParams) SetContext added in v2.21.0

func (o *ListGKEZonesParams) SetContext(ctx context.Context)

SetContext adds the context to the list g k e zones params

func (*ListGKEZonesParams) SetDefaults added in v2.21.0

func (o *ListGKEZonesParams) SetDefaults()

SetDefaults hydrates default values in the list g k e zones params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEZonesParams) SetHTTPClient added in v2.21.0

func (o *ListGKEZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list g k e zones params

func (*ListGKEZonesParams) SetTimeout added in v2.21.0

func (o *ListGKEZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list g k e zones params

func (*ListGKEZonesParams) WithContext added in v2.21.0

WithContext adds the context to the list g k e zones params

func (*ListGKEZonesParams) WithDefaults added in v2.21.0

func (o *ListGKEZonesParams) WithDefaults() *ListGKEZonesParams

WithDefaults hydrates default values in the list g k e zones params (not the query body).

All values with no default are reset to their zero value.

func (*ListGKEZonesParams) WithHTTPClient added in v2.21.0

func (o *ListGKEZonesParams) WithHTTPClient(client *http.Client) *ListGKEZonesParams

WithHTTPClient adds the HTTPClient to the list g k e zones params

func (*ListGKEZonesParams) WithTimeout added in v2.21.0

func (o *ListGKEZonesParams) WithTimeout(timeout time.Duration) *ListGKEZonesParams

WithTimeout adds the timeout to the list g k e zones params

func (*ListGKEZonesParams) WriteToRequest added in v2.21.0

func (o *ListGKEZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListGKEZonesReader added in v2.21.0

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

ListGKEZonesReader is a Reader for the ListGKEZones structure.

func (*ListGKEZonesReader) ReadResponse added in v2.21.0

func (o *ListGKEZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateGKECredentialsDefault

type ValidateGKECredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ValidateGKECredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewValidateGKECredentialsDefault

func NewValidateGKECredentialsDefault(code int) *ValidateGKECredentialsDefault

NewValidateGKECredentialsDefault creates a ValidateGKECredentialsDefault with default headers values

func (*ValidateGKECredentialsDefault) Code

Code gets the status code for the validate g k e credentials default response

func (*ValidateGKECredentialsDefault) Error

func (*ValidateGKECredentialsDefault) GetPayload

type ValidateGKECredentialsOK

type ValidateGKECredentialsOK struct {
}
ValidateGKECredentialsOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewValidateGKECredentialsOK

func NewValidateGKECredentialsOK() *ValidateGKECredentialsOK

NewValidateGKECredentialsOK creates a ValidateGKECredentialsOK with default headers values

func (*ValidateGKECredentialsOK) Error

func (o *ValidateGKECredentialsOK) Error() string

type ValidateGKECredentialsParams

type ValidateGKECredentialsParams struct {

	/* Credential.

	   The credential name used in the preset for the GCP provider
	*/
	Credential *string

	/* ServiceAccount.

	   The plain GCP service account
	*/
	ServiceAccount *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateGKECredentialsParams contains all the parameters to send to the API endpoint

for the validate g k e credentials operation.

Typically these are written to a http.Request.

func NewValidateGKECredentialsParams

func NewValidateGKECredentialsParams() *ValidateGKECredentialsParams

NewValidateGKECredentialsParams creates a new ValidateGKECredentialsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewValidateGKECredentialsParamsWithContext

func NewValidateGKECredentialsParamsWithContext(ctx context.Context) *ValidateGKECredentialsParams

NewValidateGKECredentialsParamsWithContext creates a new ValidateGKECredentialsParams object with the ability to set a context for a request.

func NewValidateGKECredentialsParamsWithHTTPClient

func NewValidateGKECredentialsParamsWithHTTPClient(client *http.Client) *ValidateGKECredentialsParams

NewValidateGKECredentialsParamsWithHTTPClient creates a new ValidateGKECredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewValidateGKECredentialsParamsWithTimeout

func NewValidateGKECredentialsParamsWithTimeout(timeout time.Duration) *ValidateGKECredentialsParams

NewValidateGKECredentialsParamsWithTimeout creates a new ValidateGKECredentialsParams object with the ability to set a timeout on a request.

func (*ValidateGKECredentialsParams) SetContext

func (o *ValidateGKECredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the validate g k e credentials params

func (*ValidateGKECredentialsParams) SetCredential

func (o *ValidateGKECredentialsParams) SetCredential(credential *string)

SetCredential adds the credential to the validate g k e credentials params

func (*ValidateGKECredentialsParams) SetDefaults

func (o *ValidateGKECredentialsParams) SetDefaults()

SetDefaults hydrates default values in the validate g k e credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateGKECredentialsParams) SetHTTPClient

func (o *ValidateGKECredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate g k e credentials params

func (*ValidateGKECredentialsParams) SetServiceAccount

func (o *ValidateGKECredentialsParams) SetServiceAccount(serviceAccount *string)

SetServiceAccount adds the serviceAccount to the validate g k e credentials params

func (*ValidateGKECredentialsParams) SetTimeout

func (o *ValidateGKECredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WithContext

WithContext adds the context to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WithCredential

func (o *ValidateGKECredentialsParams) WithCredential(credential *string) *ValidateGKECredentialsParams

WithCredential adds the credential to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WithDefaults

WithDefaults hydrates default values in the validate g k e credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateGKECredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WithServiceAccount

func (o *ValidateGKECredentialsParams) WithServiceAccount(serviceAccount *string) *ValidateGKECredentialsParams

WithServiceAccount adds the serviceAccount to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WithTimeout

WithTimeout adds the timeout to the validate g k e credentials params

func (*ValidateGKECredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateGKECredentialsReader

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

ValidateGKECredentialsReader is a Reader for the ValidateGKECredentials structure.

func (*ValidateGKECredentialsReader) ReadResponse

func (o *ValidateGKECredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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