Documentation ¶
Index ¶
- type Client
- func (a *Client) ListGKEClusterDiskTypes(params *ListGKEClusterDiskTypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGKEClusterDiskTypesOK, error)
- func (a *Client) ListGKEClusterImages(params *ListGKEClusterImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGKEClusterImagesOK, error)
- func (a *Client) ListGKEClusterSizes(params *ListGKEClusterSizesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGKEClusterSizesOK, error)
- func (a *Client) ListGKEClusterZones(params *ListGKEClusterZonesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGKEClusterZonesOK, error)
- func (a *Client) ListGKEImages(params *ListGKEImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGKEImagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ValidateGKECredentials(params *ValidateGKECredentialsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ValidateGKECredentialsOK, error)
- type ClientOption
- type ClientService
- type ListGKEClusterDiskTypesDefault
- type ListGKEClusterDiskTypesForbidden
- type ListGKEClusterDiskTypesOK
- type ListGKEClusterDiskTypesParams
- func NewListGKEClusterDiskTypesParams() *ListGKEClusterDiskTypesParams
- func NewListGKEClusterDiskTypesParamsWithContext(ctx context.Context) *ListGKEClusterDiskTypesParams
- func NewListGKEClusterDiskTypesParamsWithHTTPClient(client *http.Client) *ListGKEClusterDiskTypesParams
- func NewListGKEClusterDiskTypesParamsWithTimeout(timeout time.Duration) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) SetClusterID(clusterID string)
- func (o *ListGKEClusterDiskTypesParams) SetContext(ctx context.Context)
- func (o *ListGKEClusterDiskTypesParams) SetDefaults()
- func (o *ListGKEClusterDiskTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListGKEClusterDiskTypesParams) SetProjectID(projectID string)
- func (o *ListGKEClusterDiskTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListGKEClusterDiskTypesParams) WithClusterID(clusterID string) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WithContext(ctx context.Context) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WithDefaults() *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WithHTTPClient(client *http.Client) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WithProjectID(projectID string) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WithTimeout(timeout time.Duration) *ListGKEClusterDiskTypesParams
- func (o *ListGKEClusterDiskTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGKEClusterDiskTypesReader
- type ListGKEClusterDiskTypesUnauthorized
- type ListGKEClusterImagesDefault
- type ListGKEClusterImagesForbidden
- type ListGKEClusterImagesOK
- type ListGKEClusterImagesParams
- func NewListGKEClusterImagesParams() *ListGKEClusterImagesParams
- func NewListGKEClusterImagesParamsWithContext(ctx context.Context) *ListGKEClusterImagesParams
- func NewListGKEClusterImagesParamsWithHTTPClient(client *http.Client) *ListGKEClusterImagesParams
- func NewListGKEClusterImagesParamsWithTimeout(timeout time.Duration) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) SetClusterID(clusterID string)
- func (o *ListGKEClusterImagesParams) SetContext(ctx context.Context)
- func (o *ListGKEClusterImagesParams) SetDefaults()
- func (o *ListGKEClusterImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListGKEClusterImagesParams) SetProjectID(projectID string)
- func (o *ListGKEClusterImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListGKEClusterImagesParams) WithClusterID(clusterID string) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WithContext(ctx context.Context) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WithDefaults() *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WithHTTPClient(client *http.Client) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WithProjectID(projectID string) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WithTimeout(timeout time.Duration) *ListGKEClusterImagesParams
- func (o *ListGKEClusterImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGKEClusterImagesReader
- type ListGKEClusterImagesUnauthorized
- type ListGKEClusterSizesDefault
- type ListGKEClusterSizesForbidden
- type ListGKEClusterSizesOK
- type ListGKEClusterSizesParams
- func NewListGKEClusterSizesParams() *ListGKEClusterSizesParams
- func NewListGKEClusterSizesParamsWithContext(ctx context.Context) *ListGKEClusterSizesParams
- func NewListGKEClusterSizesParamsWithHTTPClient(client *http.Client) *ListGKEClusterSizesParams
- func NewListGKEClusterSizesParamsWithTimeout(timeout time.Duration) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) SetClusterID(clusterID string)
- func (o *ListGKEClusterSizesParams) SetContext(ctx context.Context)
- func (o *ListGKEClusterSizesParams) SetDefaults()
- func (o *ListGKEClusterSizesParams) SetHTTPClient(client *http.Client)
- func (o *ListGKEClusterSizesParams) SetProjectID(projectID string)
- func (o *ListGKEClusterSizesParams) SetTimeout(timeout time.Duration)
- func (o *ListGKEClusterSizesParams) WithClusterID(clusterID string) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WithContext(ctx context.Context) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WithDefaults() *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WithHTTPClient(client *http.Client) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WithProjectID(projectID string) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WithTimeout(timeout time.Duration) *ListGKEClusterSizesParams
- func (o *ListGKEClusterSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGKEClusterSizesReader
- type ListGKEClusterSizesUnauthorized
- type ListGKEClusterZonesDefault
- type ListGKEClusterZonesForbidden
- type ListGKEClusterZonesOK
- type ListGKEClusterZonesParams
- func NewListGKEClusterZonesParams() *ListGKEClusterZonesParams
- func NewListGKEClusterZonesParamsWithContext(ctx context.Context) *ListGKEClusterZonesParams
- func NewListGKEClusterZonesParamsWithHTTPClient(client *http.Client) *ListGKEClusterZonesParams
- func NewListGKEClusterZonesParamsWithTimeout(timeout time.Duration) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) SetClusterID(clusterID string)
- func (o *ListGKEClusterZonesParams) SetContext(ctx context.Context)
- func (o *ListGKEClusterZonesParams) SetDefaults()
- func (o *ListGKEClusterZonesParams) SetHTTPClient(client *http.Client)
- func (o *ListGKEClusterZonesParams) SetProjectID(projectID string)
- func (o *ListGKEClusterZonesParams) SetTimeout(timeout time.Duration)
- func (o *ListGKEClusterZonesParams) WithClusterID(clusterID string) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WithContext(ctx context.Context) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WithDefaults() *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WithHTTPClient(client *http.Client) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WithProjectID(projectID string) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WithTimeout(timeout time.Duration) *ListGKEClusterZonesParams
- func (o *ListGKEClusterZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGKEClusterZonesReader
- type ListGKEClusterZonesUnauthorized
- type ListGKEImagesDefault
- type ListGKEImagesOK
- type ListGKEImagesParams
- func (o *ListGKEImagesParams) SetContext(ctx context.Context)
- func (o *ListGKEImagesParams) SetCredential(credential *string)
- func (o *ListGKEImagesParams) SetDefaults()
- func (o *ListGKEImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListGKEImagesParams) SetServiceAccount(serviceAccount *string)
- func (o *ListGKEImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListGKEImagesParams) SetZone(zone *string)
- func (o *ListGKEImagesParams) WithContext(ctx context.Context) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithCredential(credential *string) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithDefaults() *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithHTTPClient(client *http.Client) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithServiceAccount(serviceAccount *string) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithTimeout(timeout time.Duration) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WithZone(zone *string) *ListGKEImagesParams
- func (o *ListGKEImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGKEImagesReader
- type ValidateGKECredentialsDefault
- type ValidateGKECredentialsOK
- type ValidateGKECredentialsParams
- func NewValidateGKECredentialsParams() *ValidateGKECredentialsParams
- func NewValidateGKECredentialsParamsWithContext(ctx context.Context) *ValidateGKECredentialsParams
- func NewValidateGKECredentialsParamsWithHTTPClient(client *http.Client) *ValidateGKECredentialsParams
- func NewValidateGKECredentialsParamsWithTimeout(timeout time.Duration) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) SetContext(ctx context.Context)
- func (o *ValidateGKECredentialsParams) SetCredential(credential *string)
- func (o *ValidateGKECredentialsParams) SetDefaults()
- func (o *ValidateGKECredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ValidateGKECredentialsParams) SetServiceAccount(serviceAccount *string)
- func (o *ValidateGKECredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ValidateGKECredentialsParams) WithContext(ctx context.Context) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WithCredential(credential *string) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WithDefaults() *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WithHTTPClient(client *http.Client) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WithServiceAccount(serviceAccount *string) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WithTimeout(timeout time.Duration) *ValidateGKECredentialsParams
- func (o *ValidateGKECredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateGKECredentialsReader
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 ¶
func (o *ListGKEClusterDiskTypesDefault) Code() int
Code gets the status code for the list g k e cluster disk types default response
func (*ListGKEClusterDiskTypesDefault) Error ¶
func (o *ListGKEClusterDiskTypesDefault) Error() string
func (*ListGKEClusterDiskTypesDefault) GetPayload ¶
func (o *ListGKEClusterDiskTypesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListGKEClusterDiskTypesForbidden) Error() string
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 ¶
func (o *ListGKEClusterDiskTypesOK) GetPayload() models.GCPDiskTypeList
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 ¶
func (o *ListGKEClusterDiskTypesParams) WithClusterID(clusterID string) *ListGKEClusterDiskTypesParams
WithClusterID adds the clusterID to the list g k e cluster disk types params
func (*ListGKEClusterDiskTypesParams) WithContext ¶
func (o *ListGKEClusterDiskTypesParams) WithContext(ctx context.Context) *ListGKEClusterDiskTypesParams
WithContext adds the context to the list g k e cluster disk types params
func (*ListGKEClusterDiskTypesParams) WithDefaults ¶
func (o *ListGKEClusterDiskTypesParams) WithDefaults() *ListGKEClusterDiskTypesParams
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 ¶
func (o *ListGKEClusterDiskTypesParams) WithHTTPClient(client *http.Client) *ListGKEClusterDiskTypesParams
WithHTTPClient adds the HTTPClient to the list g k e cluster disk types params
func (*ListGKEClusterDiskTypesParams) WithProjectID ¶
func (o *ListGKEClusterDiskTypesParams) WithProjectID(projectID string) *ListGKEClusterDiskTypesParams
WithProjectID adds the projectID to the list g k e cluster disk types params
func (*ListGKEClusterDiskTypesParams) WithTimeout ¶
func (o *ListGKEClusterDiskTypesParams) WithTimeout(timeout time.Duration) *ListGKEClusterDiskTypesParams
WithTimeout adds the timeout to the list g k e cluster disk types params
func (*ListGKEClusterDiskTypesParams) WriteToRequest ¶
func (o *ListGKEClusterDiskTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGKEClusterDiskTypesUnauthorized) Error() string
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 (o *ListGKEClusterImagesDefault) Error() string
func (*ListGKEClusterImagesDefault) GetPayload ¶
func (o *ListGKEClusterImagesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListGKEClusterImagesForbidden) Error() string
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 ¶
func (o *ListGKEClusterImagesParams) WithContext(ctx context.Context) *ListGKEClusterImagesParams
WithContext adds the context to the list g k e cluster images params
func (*ListGKEClusterImagesParams) WithDefaults ¶
func (o *ListGKEClusterImagesParams) WithDefaults() *ListGKEClusterImagesParams
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 ¶
func (o *ListGKEClusterImagesParams) WithHTTPClient(client *http.Client) *ListGKEClusterImagesParams
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 ¶
func (o *ListGKEClusterImagesParams) WithTimeout(timeout time.Duration) *ListGKEClusterImagesParams
WithTimeout adds the timeout to the list g k e cluster images params
func (*ListGKEClusterImagesParams) WriteToRequest ¶
func (o *ListGKEClusterImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGKEClusterImagesUnauthorized) Error() string
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 (o *ListGKEClusterSizesDefault) Error() string
func (*ListGKEClusterSizesDefault) GetPayload ¶
func (o *ListGKEClusterSizesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListGKEClusterSizesForbidden) Error() string
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 ¶
func (o *ListGKEClusterSizesOK) GetPayload() models.GCPMachineSizeList
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 ¶
func (o *ListGKEClusterSizesParams) WithContext(ctx context.Context) *ListGKEClusterSizesParams
WithContext adds the context to the list g k e cluster sizes params
func (*ListGKEClusterSizesParams) WithDefaults ¶
func (o *ListGKEClusterSizesParams) WithDefaults() *ListGKEClusterSizesParams
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 ¶
func (o *ListGKEClusterSizesParams) WithTimeout(timeout time.Duration) *ListGKEClusterSizesParams
WithTimeout adds the timeout to the list g k e cluster sizes params
func (*ListGKEClusterSizesParams) WriteToRequest ¶
func (o *ListGKEClusterSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGKEClusterSizesUnauthorized) Error() string
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 (o *ListGKEClusterZonesDefault) Error() string
func (*ListGKEClusterZonesDefault) GetPayload ¶
func (o *ListGKEClusterZonesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListGKEClusterZonesForbidden) Error() string
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 ¶
func (o *ListGKEClusterZonesParams) WithContext(ctx context.Context) *ListGKEClusterZonesParams
WithContext adds the context to the list g k e cluster zones params
func (*ListGKEClusterZonesParams) WithDefaults ¶
func (o *ListGKEClusterZonesParams) WithDefaults() *ListGKEClusterZonesParams
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 ¶
func (o *ListGKEClusterZonesParams) WithTimeout(timeout time.Duration) *ListGKEClusterZonesParams
WithTimeout adds the timeout to the list g k e cluster zones params
func (*ListGKEClusterZonesParams) WriteToRequest ¶
func (o *ListGKEClusterZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGKEClusterZonesUnauthorized) Error() string
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 ¶
func (o *ListGKEImagesParams) WithContext(ctx context.Context) *ListGKEImagesParams
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 ¶
func (o *ValidateGKECredentialsDefault) Code() int
Code gets the status code for the validate g k e credentials default response
func (*ValidateGKECredentialsDefault) Error ¶
func (o *ValidateGKECredentialsDefault) Error() string
func (*ValidateGKECredentialsDefault) GetPayload ¶
func (o *ValidateGKECredentialsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ValidateGKECredentialsParams) WithContext(ctx context.Context) *ValidateGKECredentialsParams
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 ¶
func (o *ValidateGKECredentialsParams) WithDefaults() *ValidateGKECredentialsParams
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 ¶
func (o *ValidateGKECredentialsParams) WithHTTPClient(client *http.Client) *ValidateGKECredentialsParams
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 ¶
func (o *ValidateGKECredentialsParams) WithTimeout(timeout time.Duration) *ValidateGKECredentialsParams
WithTimeout adds the timeout to the validate g k e credentials params
func (*ValidateGKECredentialsParams) WriteToRequest ¶
func (o *ValidateGKECredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- gke_client.go
- list_g_k_e_cluster_disk_types_parameters.go
- list_g_k_e_cluster_disk_types_responses.go
- list_g_k_e_cluster_images_parameters.go
- list_g_k_e_cluster_images_responses.go
- list_g_k_e_cluster_sizes_parameters.go
- list_g_k_e_cluster_sizes_responses.go
- list_g_k_e_cluster_zones_parameters.go
- list_g_k_e_cluster_zones_responses.go
- list_g_k_e_images_parameters.go
- list_g_k_e_images_responses.go
- validate_g_k_e_credentials_parameters.go
- validate_g_k_e_credentials_responses.go