gke

package
v2.19.9 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) ListGKEImages

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

ListGKEImages Lists GKE image types

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)

	ListGKEImages(params *ListGKEImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGKEImagesOK, 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 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 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