node_instances

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for node instances API

func (*Client) CreateNodeInstance

func (a *Client) CreateNodeInstance(params *CreateNodeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNodeInstanceOK, error)

CreateNodeInstance creates a node instance

func (*Client) DeleteInstance

func (a *Client) DeleteInstance(params *DeleteInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInstanceOK, error)

DeleteInstance deletes a node instance

func (*Client) DetachedNodeAction

func (a *Client) DetachedNodeAction(params *DetachedNodeActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetachedNodeActionOK, error)

DetachedNodeAction detacheds node action

func (*Client) GetNodeInstance

func (a *Client) GetNodeInstance(params *GetNodeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeInstanceOK, error)

GetNodeInstance gets a node instance

func (*Client) ListByProvider

func (a *Client) ListByProvider(params *ListByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListByProviderOK, error)

ListByProvider lists all of a provider s node instances

func (*Client) ListByZone

func (a *Client) ListByZone(params *ListByZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListByZoneOK, error)

ListByZone lists all of a zone s node instances

func (*Client) NodeAction

func (a *Client) NodeAction(params *NodeActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodeActionOK, error)

NodeAction updates a node

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNodeInstance(params *CreateNodeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNodeInstanceOK, error)

	DeleteInstance(params *DeleteInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInstanceOK, error)

	DetachedNodeAction(params *DetachedNodeActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetachedNodeActionOK, error)

	GetNodeInstance(params *GetNodeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeInstanceOK, error)

	ListByProvider(params *ListByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListByProviderOK, error)

	ListByZone(params *ListByZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListByZoneOK, error)

	NodeAction(params *NodeActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NodeActionOK, 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 node instances API client.

type CreateNodeInstanceOK

type CreateNodeInstanceOK struct {
	Payload map[string]models.NodeInstance
}
CreateNodeInstanceOK describes a response with status code 200, with default header values.

successful operation

func NewCreateNodeInstanceOK

func NewCreateNodeInstanceOK() *CreateNodeInstanceOK

NewCreateNodeInstanceOK creates a CreateNodeInstanceOK with default headers values

func (*CreateNodeInstanceOK) Error

func (o *CreateNodeInstanceOK) Error() string

func (*CreateNodeInstanceOK) GetPayload

func (o *CreateNodeInstanceOK) GetPayload() map[string]models.NodeInstance

type CreateNodeInstanceParams

type CreateNodeInstanceParams struct {

	/* NodeInstance.

	   Node instance data to be created
	*/
	NodeInstance *models.NodeInstanceFormData

	// AzUUID.
	//
	// Format: uuid
	AzUUID strfmt.UUID

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

CreateNodeInstanceParams contains all the parameters to send to the API endpoint

for the create node instance operation.

Typically these are written to a http.Request.

func NewCreateNodeInstanceParams

func NewCreateNodeInstanceParams() *CreateNodeInstanceParams

NewCreateNodeInstanceParams creates a new CreateNodeInstanceParams 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 NewCreateNodeInstanceParamsWithContext

func NewCreateNodeInstanceParamsWithContext(ctx context.Context) *CreateNodeInstanceParams

NewCreateNodeInstanceParamsWithContext creates a new CreateNodeInstanceParams object with the ability to set a context for a request.

func NewCreateNodeInstanceParamsWithHTTPClient

func NewCreateNodeInstanceParamsWithHTTPClient(client *http.Client) *CreateNodeInstanceParams

NewCreateNodeInstanceParamsWithHTTPClient creates a new CreateNodeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNodeInstanceParamsWithTimeout

func NewCreateNodeInstanceParamsWithTimeout(timeout time.Duration) *CreateNodeInstanceParams

NewCreateNodeInstanceParamsWithTimeout creates a new CreateNodeInstanceParams object with the ability to set a timeout on a request.

func (*CreateNodeInstanceParams) SetAzUUID

func (o *CreateNodeInstanceParams) SetAzUUID(azUUID strfmt.UUID)

SetAzUUID adds the azUuid to the create node instance params

func (*CreateNodeInstanceParams) SetCUUID

func (o *CreateNodeInstanceParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the create node instance params

func (*CreateNodeInstanceParams) SetContext

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

SetContext adds the context to the create node instance params

func (*CreateNodeInstanceParams) SetDefaults

func (o *CreateNodeInstanceParams) SetDefaults()

SetDefaults hydrates default values in the create node instance params (not the query body).

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

func (*CreateNodeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create node instance params

func (*CreateNodeInstanceParams) SetNodeInstance

func (o *CreateNodeInstanceParams) SetNodeInstance(nodeInstance *models.NodeInstanceFormData)

SetNodeInstance adds the nodeInstance to the create node instance params

func (*CreateNodeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the create node instance params

func (*CreateNodeInstanceParams) WithAzUUID

WithAzUUID adds the azUUID to the create node instance params

func (*CreateNodeInstanceParams) WithCUUID

WithCUUID adds the cUUID to the create node instance params

func (*CreateNodeInstanceParams) WithContext

WithContext adds the context to the create node instance params

func (*CreateNodeInstanceParams) WithDefaults

WithDefaults hydrates default values in the create node instance params (not the query body).

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

func (*CreateNodeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create node instance params

func (*CreateNodeInstanceParams) WithNodeInstance

WithNodeInstance adds the nodeInstance to the create node instance params

func (*CreateNodeInstanceParams) WithTimeout

WithTimeout adds the timeout to the create node instance params

func (*CreateNodeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNodeInstanceReader

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

CreateNodeInstanceReader is a Reader for the CreateNodeInstance structure.

func (*CreateNodeInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInstanceOK

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

successful operation

func NewDeleteInstanceOK

func NewDeleteInstanceOK() *DeleteInstanceOK

NewDeleteInstanceOK creates a DeleteInstanceOK with default headers values

func (*DeleteInstanceOK) Error

func (o *DeleteInstanceOK) Error() string

func (*DeleteInstanceOK) GetPayload

func (o *DeleteInstanceOK) GetPayload() *models.YBPSuccess

type DeleteInstanceParams

type DeleteInstanceParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// InstanceIP.
	InstanceIP string

	// PUUID.
	//
	// Format: uuid
	PUUID strfmt.UUID

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

DeleteInstanceParams contains all the parameters to send to the API endpoint

for the delete instance operation.

Typically these are written to a http.Request.

func NewDeleteInstanceParams

func NewDeleteInstanceParams() *DeleteInstanceParams

NewDeleteInstanceParams creates a new DeleteInstanceParams 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 NewDeleteInstanceParamsWithContext

func NewDeleteInstanceParamsWithContext(ctx context.Context) *DeleteInstanceParams

NewDeleteInstanceParamsWithContext creates a new DeleteInstanceParams object with the ability to set a context for a request.

func NewDeleteInstanceParamsWithHTTPClient

func NewDeleteInstanceParamsWithHTTPClient(client *http.Client) *DeleteInstanceParams

NewDeleteInstanceParamsWithHTTPClient creates a new DeleteInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInstanceParamsWithTimeout

func NewDeleteInstanceParamsWithTimeout(timeout time.Duration) *DeleteInstanceParams

NewDeleteInstanceParamsWithTimeout creates a new DeleteInstanceParams object with the ability to set a timeout on a request.

func (*DeleteInstanceParams) SetCUUID

func (o *DeleteInstanceParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete instance params

func (*DeleteInstanceParams) SetContext

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

SetContext adds the context to the delete instance params

func (*DeleteInstanceParams) SetDefaults

func (o *DeleteInstanceParams) SetDefaults()

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

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

func (*DeleteInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete instance params

func (*DeleteInstanceParams) SetInstanceIP

func (o *DeleteInstanceParams) SetInstanceIP(instanceIP string)

SetInstanceIP adds the instanceIp to the delete instance params

func (*DeleteInstanceParams) SetPUUID

func (o *DeleteInstanceParams) SetPUUID(pUUID strfmt.UUID)

SetPUUID adds the pUuid to the delete instance params

func (*DeleteInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the delete instance params

func (*DeleteInstanceParams) WithCUUID

WithCUUID adds the cUUID to the delete instance params

func (*DeleteInstanceParams) WithContext

WithContext adds the context to the delete instance params

func (*DeleteInstanceParams) WithDefaults

func (o *DeleteInstanceParams) WithDefaults() *DeleteInstanceParams

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

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

func (*DeleteInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete instance params

func (*DeleteInstanceParams) WithInstanceIP

func (o *DeleteInstanceParams) WithInstanceIP(instanceIP string) *DeleteInstanceParams

WithInstanceIP adds the instanceIP to the delete instance params

func (*DeleteInstanceParams) WithPUUID

WithPUUID adds the pUUID to the delete instance params

func (*DeleteInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the delete instance params

func (*DeleteInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteInstanceReader

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

DeleteInstanceReader is a Reader for the DeleteInstance structure.

func (*DeleteInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetachedNodeActionOK

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

successful operation

func NewDetachedNodeActionOK

func NewDetachedNodeActionOK() *DetachedNodeActionOK

NewDetachedNodeActionOK creates a DetachedNodeActionOK with default headers values

func (*DetachedNodeActionOK) Error

func (o *DetachedNodeActionOK) Error() string

func (*DetachedNodeActionOK) GetPayload

func (o *DetachedNodeActionOK) GetPayload() *models.YBPTask

type DetachedNodeActionParams

type DetachedNodeActionParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// InstanceIP.
	InstanceIP string

	// PUUID.
	//
	// Format: uuid
	PUUID strfmt.UUID

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

DetachedNodeActionParams contains all the parameters to send to the API endpoint

for the detached node action operation.

Typically these are written to a http.Request.

func NewDetachedNodeActionParams

func NewDetachedNodeActionParams() *DetachedNodeActionParams

NewDetachedNodeActionParams creates a new DetachedNodeActionParams 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 NewDetachedNodeActionParamsWithContext

func NewDetachedNodeActionParamsWithContext(ctx context.Context) *DetachedNodeActionParams

NewDetachedNodeActionParamsWithContext creates a new DetachedNodeActionParams object with the ability to set a context for a request.

func NewDetachedNodeActionParamsWithHTTPClient

func NewDetachedNodeActionParamsWithHTTPClient(client *http.Client) *DetachedNodeActionParams

NewDetachedNodeActionParamsWithHTTPClient creates a new DetachedNodeActionParams object with the ability to set a custom HTTPClient for a request.

func NewDetachedNodeActionParamsWithTimeout

func NewDetachedNodeActionParamsWithTimeout(timeout time.Duration) *DetachedNodeActionParams

NewDetachedNodeActionParamsWithTimeout creates a new DetachedNodeActionParams object with the ability to set a timeout on a request.

func (*DetachedNodeActionParams) SetCUUID

func (o *DetachedNodeActionParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the detached node action params

func (*DetachedNodeActionParams) SetContext

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

SetContext adds the context to the detached node action params

func (*DetachedNodeActionParams) SetDefaults

func (o *DetachedNodeActionParams) SetDefaults()

SetDefaults hydrates default values in the detached node action params (not the query body).

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

func (*DetachedNodeActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detached node action params

func (*DetachedNodeActionParams) SetInstanceIP

func (o *DetachedNodeActionParams) SetInstanceIP(instanceIP string)

SetInstanceIP adds the instanceIp to the detached node action params

func (*DetachedNodeActionParams) SetPUUID

func (o *DetachedNodeActionParams) SetPUUID(pUUID strfmt.UUID)

SetPUUID adds the pUuid to the detached node action params

func (*DetachedNodeActionParams) SetTimeout

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

SetTimeout adds the timeout to the detached node action params

func (*DetachedNodeActionParams) WithCUUID

WithCUUID adds the cUUID to the detached node action params

func (*DetachedNodeActionParams) WithContext

WithContext adds the context to the detached node action params

func (*DetachedNodeActionParams) WithDefaults

WithDefaults hydrates default values in the detached node action params (not the query body).

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

func (*DetachedNodeActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detached node action params

func (*DetachedNodeActionParams) WithInstanceIP

func (o *DetachedNodeActionParams) WithInstanceIP(instanceIP string) *DetachedNodeActionParams

WithInstanceIP adds the instanceIP to the detached node action params

func (*DetachedNodeActionParams) WithPUUID

WithPUUID adds the pUUID to the detached node action params

func (*DetachedNodeActionParams) WithTimeout

WithTimeout adds the timeout to the detached node action params

func (*DetachedNodeActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetachedNodeActionReader

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

DetachedNodeActionReader is a Reader for the DetachedNodeAction structure.

func (*DetachedNodeActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNodeInstanceOK

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

successful operation

func NewGetNodeInstanceOK

func NewGetNodeInstanceOK() *GetNodeInstanceOK

NewGetNodeInstanceOK creates a GetNodeInstanceOK with default headers values

func (*GetNodeInstanceOK) Error

func (o *GetNodeInstanceOK) Error() string

func (*GetNodeInstanceOK) GetPayload

func (o *GetNodeInstanceOK) GetPayload() *models.NodeInstance

type GetNodeInstanceParams

type GetNodeInstanceParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// NodeUUID.
	//
	// Format: uuid
	NodeUUID strfmt.UUID

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

GetNodeInstanceParams contains all the parameters to send to the API endpoint

for the get node instance operation.

Typically these are written to a http.Request.

func NewGetNodeInstanceParams

func NewGetNodeInstanceParams() *GetNodeInstanceParams

NewGetNodeInstanceParams creates a new GetNodeInstanceParams 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 NewGetNodeInstanceParamsWithContext

func NewGetNodeInstanceParamsWithContext(ctx context.Context) *GetNodeInstanceParams

NewGetNodeInstanceParamsWithContext creates a new GetNodeInstanceParams object with the ability to set a context for a request.

func NewGetNodeInstanceParamsWithHTTPClient

func NewGetNodeInstanceParamsWithHTTPClient(client *http.Client) *GetNodeInstanceParams

NewGetNodeInstanceParamsWithHTTPClient creates a new GetNodeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewGetNodeInstanceParamsWithTimeout

func NewGetNodeInstanceParamsWithTimeout(timeout time.Duration) *GetNodeInstanceParams

NewGetNodeInstanceParamsWithTimeout creates a new GetNodeInstanceParams object with the ability to set a timeout on a request.

func (*GetNodeInstanceParams) SetCUUID

func (o *GetNodeInstanceParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get node instance params

func (*GetNodeInstanceParams) SetContext

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

SetContext adds the context to the get node instance params

func (*GetNodeInstanceParams) SetDefaults

func (o *GetNodeInstanceParams) SetDefaults()

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

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

func (*GetNodeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get node instance params

func (*GetNodeInstanceParams) SetNodeUUID

func (o *GetNodeInstanceParams) SetNodeUUID(nodeUUID strfmt.UUID)

SetNodeUUID adds the nodeUuid to the get node instance params

func (*GetNodeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the get node instance params

func (*GetNodeInstanceParams) WithCUUID

WithCUUID adds the cUUID to the get node instance params

func (*GetNodeInstanceParams) WithContext

WithContext adds the context to the get node instance params

func (*GetNodeInstanceParams) WithDefaults

func (o *GetNodeInstanceParams) WithDefaults() *GetNodeInstanceParams

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

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

func (*GetNodeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get node instance params

func (*GetNodeInstanceParams) WithNodeUUID

func (o *GetNodeInstanceParams) WithNodeUUID(nodeUUID strfmt.UUID) *GetNodeInstanceParams

WithNodeUUID adds the nodeUUID to the get node instance params

func (*GetNodeInstanceParams) WithTimeout

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

WithTimeout adds the timeout to the get node instance params

func (*GetNodeInstanceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNodeInstanceReader

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

GetNodeInstanceReader is a Reader for the GetNodeInstance structure.

func (*GetNodeInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListByProviderOK

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

successful operation

func NewListByProviderOK

func NewListByProviderOK() *ListByProviderOK

NewListByProviderOK creates a ListByProviderOK with default headers values

func (*ListByProviderOK) Error

func (o *ListByProviderOK) Error() string

func (*ListByProviderOK) GetPayload

func (o *ListByProviderOK) GetPayload() []*models.NodeInstance

type ListByProviderParams

type ListByProviderParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// PUUID.
	//
	// Format: uuid
	PUUID strfmt.UUID

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

ListByProviderParams contains all the parameters to send to the API endpoint

for the list by provider operation.

Typically these are written to a http.Request.

func NewListByProviderParams

func NewListByProviderParams() *ListByProviderParams

NewListByProviderParams creates a new ListByProviderParams 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 NewListByProviderParamsWithContext

func NewListByProviderParamsWithContext(ctx context.Context) *ListByProviderParams

NewListByProviderParamsWithContext creates a new ListByProviderParams object with the ability to set a context for a request.

func NewListByProviderParamsWithHTTPClient

func NewListByProviderParamsWithHTTPClient(client *http.Client) *ListByProviderParams

NewListByProviderParamsWithHTTPClient creates a new ListByProviderParams object with the ability to set a custom HTTPClient for a request.

func NewListByProviderParamsWithTimeout

func NewListByProviderParamsWithTimeout(timeout time.Duration) *ListByProviderParams

NewListByProviderParamsWithTimeout creates a new ListByProviderParams object with the ability to set a timeout on a request.

func (*ListByProviderParams) SetCUUID

func (o *ListByProviderParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the list by provider params

func (*ListByProviderParams) SetContext

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

SetContext adds the context to the list by provider params

func (*ListByProviderParams) SetDefaults

func (o *ListByProviderParams) SetDefaults()

SetDefaults hydrates default values in the list by provider params (not the query body).

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

func (*ListByProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list by provider params

func (*ListByProviderParams) SetPUUID

func (o *ListByProviderParams) SetPUUID(pUUID strfmt.UUID)

SetPUUID adds the pUuid to the list by provider params

func (*ListByProviderParams) SetTimeout

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

SetTimeout adds the timeout to the list by provider params

func (*ListByProviderParams) WithCUUID

WithCUUID adds the cUUID to the list by provider params

func (*ListByProviderParams) WithContext

WithContext adds the context to the list by provider params

func (*ListByProviderParams) WithDefaults

func (o *ListByProviderParams) WithDefaults() *ListByProviderParams

WithDefaults hydrates default values in the list by provider params (not the query body).

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

func (*ListByProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list by provider params

func (*ListByProviderParams) WithPUUID

WithPUUID adds the pUUID to the list by provider params

func (*ListByProviderParams) WithTimeout

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

WithTimeout adds the timeout to the list by provider params

func (*ListByProviderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListByProviderReader

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

ListByProviderReader is a Reader for the ListByProvider structure.

func (*ListByProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListByZoneOK

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

successful operation

func NewListByZoneOK

func NewListByZoneOK() *ListByZoneOK

NewListByZoneOK creates a ListByZoneOK with default headers values

func (*ListByZoneOK) Error

func (o *ListByZoneOK) Error() string

func (*ListByZoneOK) GetPayload

func (o *ListByZoneOK) GetPayload() []*models.NodeInstance

type ListByZoneParams

type ListByZoneParams struct {

	// AzUUID.
	//
	// Format: uuid
	AzUUID strfmt.UUID

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

ListByZoneParams contains all the parameters to send to the API endpoint

for the list by zone operation.

Typically these are written to a http.Request.

func NewListByZoneParams

func NewListByZoneParams() *ListByZoneParams

NewListByZoneParams creates a new ListByZoneParams 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 NewListByZoneParamsWithContext

func NewListByZoneParamsWithContext(ctx context.Context) *ListByZoneParams

NewListByZoneParamsWithContext creates a new ListByZoneParams object with the ability to set a context for a request.

func NewListByZoneParamsWithHTTPClient

func NewListByZoneParamsWithHTTPClient(client *http.Client) *ListByZoneParams

NewListByZoneParamsWithHTTPClient creates a new ListByZoneParams object with the ability to set a custom HTTPClient for a request.

func NewListByZoneParamsWithTimeout

func NewListByZoneParamsWithTimeout(timeout time.Duration) *ListByZoneParams

NewListByZoneParamsWithTimeout creates a new ListByZoneParams object with the ability to set a timeout on a request.

func (*ListByZoneParams) SetAzUUID

func (o *ListByZoneParams) SetAzUUID(azUUID strfmt.UUID)

SetAzUUID adds the azUuid to the list by zone params

func (*ListByZoneParams) SetCUUID

func (o *ListByZoneParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the list by zone params

func (*ListByZoneParams) SetContext

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

SetContext adds the context to the list by zone params

func (*ListByZoneParams) SetDefaults

func (o *ListByZoneParams) SetDefaults()

SetDefaults hydrates default values in the list by zone params (not the query body).

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

func (*ListByZoneParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list by zone params

func (*ListByZoneParams) SetTimeout

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

SetTimeout adds the timeout to the list by zone params

func (*ListByZoneParams) WithAzUUID

func (o *ListByZoneParams) WithAzUUID(azUUID strfmt.UUID) *ListByZoneParams

WithAzUUID adds the azUUID to the list by zone params

func (*ListByZoneParams) WithCUUID

func (o *ListByZoneParams) WithCUUID(cUUID strfmt.UUID) *ListByZoneParams

WithCUUID adds the cUUID to the list by zone params

func (*ListByZoneParams) WithContext

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

WithContext adds the context to the list by zone params

func (*ListByZoneParams) WithDefaults

func (o *ListByZoneParams) WithDefaults() *ListByZoneParams

WithDefaults hydrates default values in the list by zone params (not the query body).

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

func (*ListByZoneParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list by zone params

func (*ListByZoneParams) WithTimeout

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

WithTimeout adds the timeout to the list by zone params

func (*ListByZoneParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListByZoneReader

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

ListByZoneReader is a Reader for the ListByZone structure.

func (*ListByZoneReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NodeActionOK

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

successful operation

func NewNodeActionOK

func NewNodeActionOK() *NodeActionOK

NewNodeActionOK creates a NodeActionOK with default headers values

func (*NodeActionOK) Error

func (o *NodeActionOK) Error() string

func (*NodeActionOK) GetPayload

func (o *NodeActionOK) GetPayload() *models.YBPTask

type NodeActionParams

type NodeActionParams struct {

	/* NodeAction.

	   Node action data to be updated
	*/
	NodeAction *models.NodeActionFormData

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// NodeName.
	NodeName string

	// UniverseUUID.
	//
	// Format: uuid
	UniverseUUID strfmt.UUID

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

NodeActionParams contains all the parameters to send to the API endpoint

for the node action operation.

Typically these are written to a http.Request.

func NewNodeActionParams

func NewNodeActionParams() *NodeActionParams

NewNodeActionParams creates a new NodeActionParams 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 NewNodeActionParamsWithContext

func NewNodeActionParamsWithContext(ctx context.Context) *NodeActionParams

NewNodeActionParamsWithContext creates a new NodeActionParams object with the ability to set a context for a request.

func NewNodeActionParamsWithHTTPClient

func NewNodeActionParamsWithHTTPClient(client *http.Client) *NodeActionParams

NewNodeActionParamsWithHTTPClient creates a new NodeActionParams object with the ability to set a custom HTTPClient for a request.

func NewNodeActionParamsWithTimeout

func NewNodeActionParamsWithTimeout(timeout time.Duration) *NodeActionParams

NewNodeActionParamsWithTimeout creates a new NodeActionParams object with the ability to set a timeout on a request.

func (*NodeActionParams) SetCUUID

func (o *NodeActionParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the node action params

func (*NodeActionParams) SetContext

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

SetContext adds the context to the node action params

func (*NodeActionParams) SetDefaults

func (o *NodeActionParams) SetDefaults()

SetDefaults hydrates default values in the node action params (not the query body).

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

func (*NodeActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the node action params

func (*NodeActionParams) SetNodeAction

func (o *NodeActionParams) SetNodeAction(nodeAction *models.NodeActionFormData)

SetNodeAction adds the nodeAction to the node action params

func (*NodeActionParams) SetNodeName

func (o *NodeActionParams) SetNodeName(nodeName string)

SetNodeName adds the nodeName to the node action params

func (*NodeActionParams) SetTimeout

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

SetTimeout adds the timeout to the node action params

func (*NodeActionParams) SetUniverseUUID

func (o *NodeActionParams) SetUniverseUUID(universeUUID strfmt.UUID)

SetUniverseUUID adds the universeUuid to the node action params

func (*NodeActionParams) WithCUUID

func (o *NodeActionParams) WithCUUID(cUUID strfmt.UUID) *NodeActionParams

WithCUUID adds the cUUID to the node action params

func (*NodeActionParams) WithContext

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

WithContext adds the context to the node action params

func (*NodeActionParams) WithDefaults

func (o *NodeActionParams) WithDefaults() *NodeActionParams

WithDefaults hydrates default values in the node action params (not the query body).

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

func (*NodeActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the node action params

func (*NodeActionParams) WithNodeAction

func (o *NodeActionParams) WithNodeAction(nodeAction *models.NodeActionFormData) *NodeActionParams

WithNodeAction adds the nodeAction to the node action params

func (*NodeActionParams) WithNodeName

func (o *NodeActionParams) WithNodeName(nodeName string) *NodeActionParams

WithNodeName adds the nodeName to the node action params

func (*NodeActionParams) WithTimeout

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

WithTimeout adds the timeout to the node action params

func (*NodeActionParams) WithUniverseUUID

func (o *NodeActionParams) WithUniverseUUID(universeUUID strfmt.UUID) *NodeActionParams

WithUniverseUUID adds the universeUUID to the node action params

func (*NodeActionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type NodeActionReader

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

NodeActionReader is a Reader for the NodeAction structure.

func (*NodeActionReader) ReadResponse

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