cluster

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 cluster API

func (*Client) ConnectCluster

func (a *Client) ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error)

ConnectCluster connect cluster API

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)

DeleteCluster delete cluster API

func (*Client) GetClusters

func (a *Client) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)

GetClusters get clusters API

func (*Client) GetClustersConnection

func (a *Client) GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error)

GetClustersConnection get clusters connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCluster

func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)

UpdateCluster update cluster API

func (*Client) UpdateClusterLicense

func (a *Client) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)

UpdateClusterLicense update cluster license API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error)

	DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)

	GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)

	GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error)

	UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)

	UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, 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 cluster API client.

type ConnectClusterBadRequest

type ConnectClusterBadRequest struct {
	Payload string
}
ConnectClusterBadRequest describes a response with status code 400, with default header values.

ConnectClusterBadRequest connect cluster bad request

func NewConnectClusterBadRequest

func NewConnectClusterBadRequest() *ConnectClusterBadRequest

NewConnectClusterBadRequest creates a ConnectClusterBadRequest with default headers values

func (*ConnectClusterBadRequest) Error

func (o *ConnectClusterBadRequest) Error() string

func (*ConnectClusterBadRequest) GetPayload

func (o *ConnectClusterBadRequest) GetPayload() string

type ConnectClusterOK

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

Ok

func NewConnectClusterOK

func NewConnectClusterOK() *ConnectClusterOK

NewConnectClusterOK creates a ConnectClusterOK with default headers values

func (*ConnectClusterOK) Error

func (o *ConnectClusterOK) Error() string

func (*ConnectClusterOK) GetPayload

func (o *ConnectClusterOK) GetPayload() []*models.WithTaskCluster

type ConnectClusterParams

type ConnectClusterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.ClusterCreationParams

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

ConnectClusterParams contains all the parameters to send to the API endpoint

for the connect cluster operation.

Typically these are written to a http.Request.

func NewConnectClusterParams

func NewConnectClusterParams() *ConnectClusterParams

NewConnectClusterParams creates a new ConnectClusterParams 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 NewConnectClusterParamsWithContext

func NewConnectClusterParamsWithContext(ctx context.Context) *ConnectClusterParams

NewConnectClusterParamsWithContext creates a new ConnectClusterParams object with the ability to set a context for a request.

func NewConnectClusterParamsWithHTTPClient

func NewConnectClusterParamsWithHTTPClient(client *http.Client) *ConnectClusterParams

NewConnectClusterParamsWithHTTPClient creates a new ConnectClusterParams object with the ability to set a custom HTTPClient for a request.

func NewConnectClusterParamsWithTimeout

func NewConnectClusterParamsWithTimeout(timeout time.Duration) *ConnectClusterParams

NewConnectClusterParamsWithTimeout creates a new ConnectClusterParams object with the ability to set a timeout on a request.

func (*ConnectClusterParams) SetContentLanguage

func (o *ConnectClusterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the connect cluster params

func (*ConnectClusterParams) SetContext

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

SetContext adds the context to the connect cluster params

func (*ConnectClusterParams) SetDefaults

func (o *ConnectClusterParams) SetDefaults()

SetDefaults hydrates default values in the connect cluster params (not the query body).

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

func (*ConnectClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the connect cluster params

func (*ConnectClusterParams) SetRequestBody

func (o *ConnectClusterParams) SetRequestBody(requestBody []*models.ClusterCreationParams)

SetRequestBody adds the requestBody to the connect cluster params

func (*ConnectClusterParams) SetTimeout

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

SetTimeout adds the timeout to the connect cluster params

func (*ConnectClusterParams) WithContentLanguage

func (o *ConnectClusterParams) WithContentLanguage(contentLanguage *string) *ConnectClusterParams

WithContentLanguage adds the contentLanguage to the connect cluster params

func (*ConnectClusterParams) WithContext

WithContext adds the context to the connect cluster params

func (*ConnectClusterParams) WithDefaults

func (o *ConnectClusterParams) WithDefaults() *ConnectClusterParams

WithDefaults hydrates default values in the connect cluster params (not the query body).

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

func (*ConnectClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the connect cluster params

func (*ConnectClusterParams) WithRequestBody

func (o *ConnectClusterParams) WithRequestBody(requestBody []*models.ClusterCreationParams) *ConnectClusterParams

WithRequestBody adds the requestBody to the connect cluster params

func (*ConnectClusterParams) WithTimeout

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

WithTimeout adds the timeout to the connect cluster params

func (*ConnectClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConnectClusterReader

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

ConnectClusterReader is a Reader for the ConnectCluster structure.

func (*ConnectClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClusterBadRequest

type DeleteClusterBadRequest struct {
	Payload string
}
DeleteClusterBadRequest describes a response with status code 400, with default header values.

DeleteClusterBadRequest delete cluster bad request

func NewDeleteClusterBadRequest

func NewDeleteClusterBadRequest() *DeleteClusterBadRequest

NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values

func (*DeleteClusterBadRequest) Error

func (o *DeleteClusterBadRequest) Error() string

func (*DeleteClusterBadRequest) GetPayload

func (o *DeleteClusterBadRequest) GetPayload() string

type DeleteClusterOK

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

Ok

func NewDeleteClusterOK

func NewDeleteClusterOK() *DeleteClusterOK

NewDeleteClusterOK creates a DeleteClusterOK with default headers values

func (*DeleteClusterOK) Error

func (o *DeleteClusterOK) Error() string

func (*DeleteClusterOK) GetPayload

func (o *DeleteClusterOK) GetPayload() []*models.WithTaskDeleteCluster

type DeleteClusterParams

type DeleteClusterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterDeletionParams

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

DeleteClusterParams contains all the parameters to send to the API endpoint

for the delete cluster operation.

Typically these are written to a http.Request.

func NewDeleteClusterParams

func NewDeleteClusterParams() *DeleteClusterParams

NewDeleteClusterParams creates a new DeleteClusterParams 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 NewDeleteClusterParamsWithContext

func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams

NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.

func NewDeleteClusterParamsWithHTTPClient

func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams

NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterParamsWithTimeout

func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams

NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.

func (*DeleteClusterParams) SetContentLanguage

func (o *DeleteClusterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete cluster params

func (*DeleteClusterParams) SetContext

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

SetContext adds the context to the delete cluster params

func (*DeleteClusterParams) SetDefaults

func (o *DeleteClusterParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster params (not the query body).

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

func (*DeleteClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) SetRequestBody

func (o *DeleteClusterParams) SetRequestBody(requestBody *models.ClusterDeletionParams)

SetRequestBody adds the requestBody to the delete cluster params

func (*DeleteClusterParams) SetTimeout

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

SetTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WithContentLanguage

func (o *DeleteClusterParams) WithContentLanguage(contentLanguage *string) *DeleteClusterParams

WithContentLanguage adds the contentLanguage to the delete cluster params

func (*DeleteClusterParams) WithContext

WithContext adds the context to the delete cluster params

func (*DeleteClusterParams) WithDefaults

func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams

WithDefaults hydrates default values in the delete cluster params (not the query body).

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

func (*DeleteClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) WithRequestBody

func (o *DeleteClusterParams) WithRequestBody(requestBody *models.ClusterDeletionParams) *DeleteClusterParams

WithRequestBody adds the requestBody to the delete cluster params

func (*DeleteClusterParams) WithTimeout

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

WithTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteClusterReader

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

DeleteClusterReader is a Reader for the DeleteCluster structure.

func (*DeleteClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClustersBadRequest

type GetClustersBadRequest struct {
	Payload string
}
GetClustersBadRequest describes a response with status code 400, with default header values.

GetClustersBadRequest get clusters bad request

func NewGetClustersBadRequest

func NewGetClustersBadRequest() *GetClustersBadRequest

NewGetClustersBadRequest creates a GetClustersBadRequest with default headers values

func (*GetClustersBadRequest) Error

func (o *GetClustersBadRequest) Error() string

func (*GetClustersBadRequest) GetPayload

func (o *GetClustersBadRequest) GetPayload() string

type GetClustersConnectionBadRequest

type GetClustersConnectionBadRequest struct {
	Payload string
}
GetClustersConnectionBadRequest describes a response with status code 400, with default header values.

GetClustersConnectionBadRequest get clusters connection bad request

func NewGetClustersConnectionBadRequest

func NewGetClustersConnectionBadRequest() *GetClustersConnectionBadRequest

NewGetClustersConnectionBadRequest creates a GetClustersConnectionBadRequest with default headers values

func (*GetClustersConnectionBadRequest) Error

func (*GetClustersConnectionBadRequest) GetPayload

func (o *GetClustersConnectionBadRequest) GetPayload() string

type GetClustersConnectionOK

type GetClustersConnectionOK struct {
	Payload *models.ClusterConnection
}
GetClustersConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetClustersConnectionOK

func NewGetClustersConnectionOK() *GetClustersConnectionOK

NewGetClustersConnectionOK creates a GetClustersConnectionOK with default headers values

func (*GetClustersConnectionOK) Error

func (o *GetClustersConnectionOK) Error() string

func (*GetClustersConnectionOK) GetPayload

type GetClustersConnectionParams

type GetClustersConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClustersConnectionRequestBody

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

GetClustersConnectionParams contains all the parameters to send to the API endpoint

for the get clusters connection operation.

Typically these are written to a http.Request.

func NewGetClustersConnectionParams

func NewGetClustersConnectionParams() *GetClustersConnectionParams

NewGetClustersConnectionParams creates a new GetClustersConnectionParams 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 NewGetClustersConnectionParamsWithContext

func NewGetClustersConnectionParamsWithContext(ctx context.Context) *GetClustersConnectionParams

NewGetClustersConnectionParamsWithContext creates a new GetClustersConnectionParams object with the ability to set a context for a request.

func NewGetClustersConnectionParamsWithHTTPClient

func NewGetClustersConnectionParamsWithHTTPClient(client *http.Client) *GetClustersConnectionParams

NewGetClustersConnectionParamsWithHTTPClient creates a new GetClustersConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetClustersConnectionParamsWithTimeout

func NewGetClustersConnectionParamsWithTimeout(timeout time.Duration) *GetClustersConnectionParams

NewGetClustersConnectionParamsWithTimeout creates a new GetClustersConnectionParams object with the ability to set a timeout on a request.

func (*GetClustersConnectionParams) SetContentLanguage

func (o *GetClustersConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get clusters connection params

func (*GetClustersConnectionParams) SetContext

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

SetContext adds the context to the get clusters connection params

func (*GetClustersConnectionParams) SetDefaults

func (o *GetClustersConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get clusters connection params (not the query body).

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

func (*GetClustersConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clusters connection params

func (*GetClustersConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get clusters connection params

func (*GetClustersConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get clusters connection params

func (*GetClustersConnectionParams) WithContentLanguage

func (o *GetClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetClustersConnectionParams

WithContentLanguage adds the contentLanguage to the get clusters connection params

func (*GetClustersConnectionParams) WithContext

WithContext adds the context to the get clusters connection params

func (*GetClustersConnectionParams) WithDefaults

WithDefaults hydrates default values in the get clusters connection params (not the query body).

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

func (*GetClustersConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get clusters connection params

func (*GetClustersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get clusters connection params

func (*GetClustersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get clusters connection params

func (*GetClustersConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClustersConnectionReader

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

GetClustersConnectionReader is a Reader for the GetClustersConnection structure.

func (*GetClustersConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClustersOK

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

Ok

func NewGetClustersOK

func NewGetClustersOK() *GetClustersOK

NewGetClustersOK creates a GetClustersOK with default headers values

func (*GetClustersOK) Error

func (o *GetClustersOK) Error() string

func (*GetClustersOK) GetPayload

func (o *GetClustersOK) GetPayload() []*models.Cluster

type GetClustersParams

type GetClustersParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClustersRequestBody

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

GetClustersParams contains all the parameters to send to the API endpoint

for the get clusters operation.

Typically these are written to a http.Request.

func NewGetClustersParams

func NewGetClustersParams() *GetClustersParams

NewGetClustersParams creates a new GetClustersParams 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 NewGetClustersParamsWithContext

func NewGetClustersParamsWithContext(ctx context.Context) *GetClustersParams

NewGetClustersParamsWithContext creates a new GetClustersParams object with the ability to set a context for a request.

func NewGetClustersParamsWithHTTPClient

func NewGetClustersParamsWithHTTPClient(client *http.Client) *GetClustersParams

NewGetClustersParamsWithHTTPClient creates a new GetClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetClustersParamsWithTimeout

func NewGetClustersParamsWithTimeout(timeout time.Duration) *GetClustersParams

NewGetClustersParamsWithTimeout creates a new GetClustersParams object with the ability to set a timeout on a request.

func (*GetClustersParams) SetContentLanguage

func (o *GetClustersParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get clusters params

func (*GetClustersParams) SetContext

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

SetContext adds the context to the get clusters params

func (*GetClustersParams) SetDefaults

func (o *GetClustersParams) SetDefaults()

SetDefaults hydrates default values in the get clusters params (not the query body).

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

func (*GetClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) SetRequestBody

func (o *GetClustersParams) SetRequestBody(requestBody *models.GetClustersRequestBody)

SetRequestBody adds the requestBody to the get clusters params

func (*GetClustersParams) SetTimeout

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

SetTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WithContentLanguage

func (o *GetClustersParams) WithContentLanguage(contentLanguage *string) *GetClustersParams

WithContentLanguage adds the contentLanguage to the get clusters params

func (*GetClustersParams) WithContext

func (o *GetClustersParams) WithContext(ctx context.Context) *GetClustersParams

WithContext adds the context to the get clusters params

func (*GetClustersParams) WithDefaults

func (o *GetClustersParams) WithDefaults() *GetClustersParams

WithDefaults hydrates default values in the get clusters params (not the query body).

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

func (*GetClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) WithRequestBody

func (o *GetClustersParams) WithRequestBody(requestBody *models.GetClustersRequestBody) *GetClustersParams

WithRequestBody adds the requestBody to the get clusters params

func (*GetClustersParams) WithTimeout

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

WithTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClustersReader

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

GetClustersReader is a Reader for the GetClusters structure.

func (*GetClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateClusterBadRequest

type UpdateClusterBadRequest struct {
	Payload string
}
UpdateClusterBadRequest describes a response with status code 400, with default header values.

UpdateClusterBadRequest update cluster bad request

func NewUpdateClusterBadRequest

func NewUpdateClusterBadRequest() *UpdateClusterBadRequest

NewUpdateClusterBadRequest creates a UpdateClusterBadRequest with default headers values

func (*UpdateClusterBadRequest) Error

func (o *UpdateClusterBadRequest) Error() string

func (*UpdateClusterBadRequest) GetPayload

func (o *UpdateClusterBadRequest) GetPayload() string

type UpdateClusterLicenseBadRequest

type UpdateClusterLicenseBadRequest struct {
	Payload string
}
UpdateClusterLicenseBadRequest describes a response with status code 400, with default header values.

UpdateClusterLicenseBadRequest update cluster license bad request

func NewUpdateClusterLicenseBadRequest

func NewUpdateClusterLicenseBadRequest() *UpdateClusterLicenseBadRequest

NewUpdateClusterLicenseBadRequest creates a UpdateClusterLicenseBadRequest with default headers values

func (*UpdateClusterLicenseBadRequest) Error

func (*UpdateClusterLicenseBadRequest) GetPayload

func (o *UpdateClusterLicenseBadRequest) GetPayload() string

type UpdateClusterLicenseOK

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

Ok

func NewUpdateClusterLicenseOK

func NewUpdateClusterLicenseOK() *UpdateClusterLicenseOK

NewUpdateClusterLicenseOK creates a UpdateClusterLicenseOK with default headers values

func (*UpdateClusterLicenseOK) Error

func (o *UpdateClusterLicenseOK) Error() string

func (*UpdateClusterLicenseOK) GetPayload

func (o *UpdateClusterLicenseOK) GetPayload() []*models.WithTaskCluster

type UpdateClusterLicenseParams

type UpdateClusterLicenseParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterLicenseUpdationParams

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

UpdateClusterLicenseParams contains all the parameters to send to the API endpoint

for the update cluster license operation.

Typically these are written to a http.Request.

func NewUpdateClusterLicenseParams

func NewUpdateClusterLicenseParams() *UpdateClusterLicenseParams

NewUpdateClusterLicenseParams creates a new UpdateClusterLicenseParams 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 NewUpdateClusterLicenseParamsWithContext

func NewUpdateClusterLicenseParamsWithContext(ctx context.Context) *UpdateClusterLicenseParams

NewUpdateClusterLicenseParamsWithContext creates a new UpdateClusterLicenseParams object with the ability to set a context for a request.

func NewUpdateClusterLicenseParamsWithHTTPClient

func NewUpdateClusterLicenseParamsWithHTTPClient(client *http.Client) *UpdateClusterLicenseParams

NewUpdateClusterLicenseParamsWithHTTPClient creates a new UpdateClusterLicenseParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterLicenseParamsWithTimeout

func NewUpdateClusterLicenseParamsWithTimeout(timeout time.Duration) *UpdateClusterLicenseParams

NewUpdateClusterLicenseParamsWithTimeout creates a new UpdateClusterLicenseParams object with the ability to set a timeout on a request.

func (*UpdateClusterLicenseParams) SetContentLanguage

func (o *UpdateClusterLicenseParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster license params

func (*UpdateClusterLicenseParams) SetContext

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

SetContext adds the context to the update cluster license params

func (*UpdateClusterLicenseParams) SetDefaults

func (o *UpdateClusterLicenseParams) SetDefaults()

SetDefaults hydrates default values in the update cluster license params (not the query body).

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

func (*UpdateClusterLicenseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cluster license params

func (*UpdateClusterLicenseParams) SetRequestBody

func (o *UpdateClusterLicenseParams) SetRequestBody(requestBody *models.ClusterLicenseUpdationParams)

SetRequestBody adds the requestBody to the update cluster license params

func (*UpdateClusterLicenseParams) SetTimeout

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

SetTimeout adds the timeout to the update cluster license params

func (*UpdateClusterLicenseParams) WithContentLanguage

func (o *UpdateClusterLicenseParams) WithContentLanguage(contentLanguage *string) *UpdateClusterLicenseParams

WithContentLanguage adds the contentLanguage to the update cluster license params

func (*UpdateClusterLicenseParams) WithContext

WithContext adds the context to the update cluster license params

func (*UpdateClusterLicenseParams) WithDefaults

WithDefaults hydrates default values in the update cluster license params (not the query body).

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

func (*UpdateClusterLicenseParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update cluster license params

func (*UpdateClusterLicenseParams) WithRequestBody

WithRequestBody adds the requestBody to the update cluster license params

func (*UpdateClusterLicenseParams) WithTimeout

WithTimeout adds the timeout to the update cluster license params

func (*UpdateClusterLicenseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateClusterLicenseReader

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

UpdateClusterLicenseReader is a Reader for the UpdateClusterLicense structure.

func (*UpdateClusterLicenseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateClusterOK

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

Ok

func NewUpdateClusterOK

func NewUpdateClusterOK() *UpdateClusterOK

NewUpdateClusterOK creates a UpdateClusterOK with default headers values

func (*UpdateClusterOK) Error

func (o *UpdateClusterOK) Error() string

func (*UpdateClusterOK) GetPayload

func (o *UpdateClusterOK) GetPayload() []*models.WithTaskCluster

type UpdateClusterParams

type UpdateClusterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterUpdationParams

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

UpdateClusterParams contains all the parameters to send to the API endpoint

for the update cluster operation.

Typically these are written to a http.Request.

func NewUpdateClusterParams

func NewUpdateClusterParams() *UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams 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 NewUpdateClusterParamsWithContext

func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams

NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.

func NewUpdateClusterParamsWithHTTPClient

func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams

NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterParamsWithTimeout

func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams

NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.

func (*UpdateClusterParams) SetContentLanguage

func (o *UpdateClusterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster params

func (*UpdateClusterParams) SetContext

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

SetContext adds the context to the update cluster params

func (*UpdateClusterParams) SetDefaults

func (o *UpdateClusterParams) SetDefaults()

SetDefaults hydrates default values in the update cluster params (not the query body).

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

func (*UpdateClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) SetRequestBody

func (o *UpdateClusterParams) SetRequestBody(requestBody *models.ClusterUpdationParams)

SetRequestBody adds the requestBody to the update cluster params

func (*UpdateClusterParams) SetTimeout

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

SetTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WithContentLanguage

func (o *UpdateClusterParams) WithContentLanguage(contentLanguage *string) *UpdateClusterParams

WithContentLanguage adds the contentLanguage to the update cluster params

func (*UpdateClusterParams) WithContext

WithContext adds the context to the update cluster params

func (*UpdateClusterParams) WithDefaults

func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams

WithDefaults hydrates default values in the update cluster params (not the query body).

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

func (*UpdateClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) WithRequestBody

func (o *UpdateClusterParams) WithRequestBody(requestBody *models.ClusterUpdationParams) *UpdateClusterParams

WithRequestBody adds the requestBody to the update cluster params

func (*UpdateClusterParams) WithTimeout

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

WithTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateClusterReader

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

UpdateClusterReader is a Reader for the UpdateCluster structure.

func (*UpdateClusterReader) ReadResponse

func (o *UpdateClusterReader) 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