nsxt_edge_clusters

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause 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 nsx t edge clusters API

func (*Client) CreateEdge

func (a *Client) CreateEdge(params *CreateEdgeParams, opts ...ClientOption) (*CreateEdgeOK, *CreateEdgeAccepted, error)

CreateEdge creates an edge cluster

func (*Client) GetEdgeCluster added in v0.1.1

func (a *Client) GetEdgeCluster(params *GetEdgeClusterParams, opts ...ClientOption) (*GetEdgeClusterOK, error)

GetEdgeCluster gets an edge cluster

func (*Client) GetEdgeClusters added in v0.1.1

func (a *Client) GetEdgeClusters(params *GetEdgeClustersParams, opts ...ClientOption) (*GetEdgeClustersOK, error)

GetEdgeClusters gets the edge clusters

func (*Client) GetValidationForCreateEdgeCluster added in v0.1.1

func (a *Client) GetValidationForCreateEdgeCluster(params *GetValidationForCreateEdgeClusterParams, opts ...ClientOption) (*GetValidationForCreateEdgeClusterOK, error)

GetValidationForCreateEdgeCluster gets the edge cluster spec validation

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateEdgeCluster

UpdateEdgeCluster expands or shrink an n s x t edge cluster

func (*Client) ValidateEdgeClusterSpec

ValidateEdgeClusterSpec validates an edge cluster spec

func (*Client) ValidateEdgeClusterUpdateSpec

ValidateEdgeClusterUpdateSpec validates an n s x t edge cluster update spec

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateEdge(params *CreateEdgeParams, opts ...ClientOption) (*CreateEdgeOK, *CreateEdgeAccepted, error)

	GetEdgeCluster(params *GetEdgeClusterParams, opts ...ClientOption) (*GetEdgeClusterOK, error)

	GetEdgeClusters(params *GetEdgeClustersParams, opts ...ClientOption) (*GetEdgeClustersOK, error)

	GetValidationForCreateEdgeCluster(params *GetValidationForCreateEdgeClusterParams, opts ...ClientOption) (*GetValidationForCreateEdgeClusterOK, error)

	UpdateEdgeCluster(params *UpdateEdgeClusterParams, opts ...ClientOption) (*UpdateEdgeClusterOK, *UpdateEdgeClusterAccepted, error)

	ValidateEdgeClusterSpec(params *ValidateEdgeClusterSpecParams, opts ...ClientOption) (*ValidateEdgeClusterSpecOK, *ValidateEdgeClusterSpecAccepted, error)

	ValidateEdgeClusterUpdateSpec(params *ValidateEdgeClusterUpdateSpecParams, opts ...ClientOption) (*ValidateEdgeClusterUpdateSpecOK, *ValidateEdgeClusterUpdateSpecAccepted, 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 nsx t edge clusters API client.

type CreateEdgeAccepted

type CreateEdgeAccepted struct {
	Payload *models.Task
}

CreateEdgeAccepted describes a response with status code 202, with default header values.

Accepted

func NewCreateEdgeAccepted

func NewCreateEdgeAccepted() *CreateEdgeAccepted

NewCreateEdgeAccepted creates a CreateEdgeAccepted with default headers values

func (*CreateEdgeAccepted) Error

func (o *CreateEdgeAccepted) Error() string

func (*CreateEdgeAccepted) GetPayload

func (o *CreateEdgeAccepted) GetPayload() *models.Task

func (*CreateEdgeAccepted) IsClientError

func (o *CreateEdgeAccepted) IsClientError() bool

IsClientError returns true when this create edge accepted response has a 4xx status code

func (*CreateEdgeAccepted) IsCode

func (o *CreateEdgeAccepted) IsCode(code int) bool

IsCode returns true when this create edge accepted response a status code equal to that given

func (*CreateEdgeAccepted) IsRedirect

func (o *CreateEdgeAccepted) IsRedirect() bool

IsRedirect returns true when this create edge accepted response has a 3xx status code

func (*CreateEdgeAccepted) IsServerError

func (o *CreateEdgeAccepted) IsServerError() bool

IsServerError returns true when this create edge accepted response has a 5xx status code

func (*CreateEdgeAccepted) IsSuccess

func (o *CreateEdgeAccepted) IsSuccess() bool

IsSuccess returns true when this create edge accepted response has a 2xx status code

func (*CreateEdgeAccepted) String

func (o *CreateEdgeAccepted) String() string

type CreateEdgeBadRequest

type CreateEdgeBadRequest struct {
	Payload *models.Error
}

CreateEdgeBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateEdgeBadRequest

func NewCreateEdgeBadRequest() *CreateEdgeBadRequest

NewCreateEdgeBadRequest creates a CreateEdgeBadRequest with default headers values

func (*CreateEdgeBadRequest) Error

func (o *CreateEdgeBadRequest) Error() string

func (*CreateEdgeBadRequest) GetPayload

func (o *CreateEdgeBadRequest) GetPayload() *models.Error

func (*CreateEdgeBadRequest) IsClientError

func (o *CreateEdgeBadRequest) IsClientError() bool

IsClientError returns true when this create edge bad request response has a 4xx status code

func (*CreateEdgeBadRequest) IsCode

func (o *CreateEdgeBadRequest) IsCode(code int) bool

IsCode returns true when this create edge bad request response a status code equal to that given

func (*CreateEdgeBadRequest) IsRedirect

func (o *CreateEdgeBadRequest) IsRedirect() bool

IsRedirect returns true when this create edge bad request response has a 3xx status code

func (*CreateEdgeBadRequest) IsServerError

func (o *CreateEdgeBadRequest) IsServerError() bool

IsServerError returns true when this create edge bad request response has a 5xx status code

func (*CreateEdgeBadRequest) IsSuccess

func (o *CreateEdgeBadRequest) IsSuccess() bool

IsSuccess returns true when this create edge bad request response has a 2xx status code

func (*CreateEdgeBadRequest) String

func (o *CreateEdgeBadRequest) String() string

type CreateEdgeInternalServerError

type CreateEdgeInternalServerError struct {
	Payload *models.Error
}

CreateEdgeInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewCreateEdgeInternalServerError

func NewCreateEdgeInternalServerError() *CreateEdgeInternalServerError

NewCreateEdgeInternalServerError creates a CreateEdgeInternalServerError with default headers values

func (*CreateEdgeInternalServerError) Error

func (*CreateEdgeInternalServerError) GetPayload

func (o *CreateEdgeInternalServerError) GetPayload() *models.Error

func (*CreateEdgeInternalServerError) IsClientError

func (o *CreateEdgeInternalServerError) IsClientError() bool

IsClientError returns true when this create edge internal server error response has a 4xx status code

func (*CreateEdgeInternalServerError) IsCode

func (o *CreateEdgeInternalServerError) IsCode(code int) bool

IsCode returns true when this create edge internal server error response a status code equal to that given

func (*CreateEdgeInternalServerError) IsRedirect

func (o *CreateEdgeInternalServerError) IsRedirect() bool

IsRedirect returns true when this create edge internal server error response has a 3xx status code

func (*CreateEdgeInternalServerError) IsServerError

func (o *CreateEdgeInternalServerError) IsServerError() bool

IsServerError returns true when this create edge internal server error response has a 5xx status code

func (*CreateEdgeInternalServerError) IsSuccess

func (o *CreateEdgeInternalServerError) IsSuccess() bool

IsSuccess returns true when this create edge internal server error response has a 2xx status code

func (*CreateEdgeInternalServerError) String

type CreateEdgeOK

type CreateEdgeOK struct {
	Payload *models.Task
}

CreateEdgeOK describes a response with status code 200, with default header values.

OK

func NewCreateEdgeOK

func NewCreateEdgeOK() *CreateEdgeOK

NewCreateEdgeOK creates a CreateEdgeOK with default headers values

func (*CreateEdgeOK) Error

func (o *CreateEdgeOK) Error() string

func (*CreateEdgeOK) GetPayload

func (o *CreateEdgeOK) GetPayload() *models.Task

func (*CreateEdgeOK) IsClientError

func (o *CreateEdgeOK) IsClientError() bool

IsClientError returns true when this create edge o k response has a 4xx status code

func (*CreateEdgeOK) IsCode

func (o *CreateEdgeOK) IsCode(code int) bool

IsCode returns true when this create edge o k response a status code equal to that given

func (*CreateEdgeOK) IsRedirect

func (o *CreateEdgeOK) IsRedirect() bool

IsRedirect returns true when this create edge o k response has a 3xx status code

func (*CreateEdgeOK) IsServerError

func (o *CreateEdgeOK) IsServerError() bool

IsServerError returns true when this create edge o k response has a 5xx status code

func (*CreateEdgeOK) IsSuccess

func (o *CreateEdgeOK) IsSuccess() bool

IsSuccess returns true when this create edge o k response has a 2xx status code

func (*CreateEdgeOK) String

func (o *CreateEdgeOK) String() string

type CreateEdgeParams

type CreateEdgeParams struct {

	/* EdgeCreationSpec.

	   NSX-T Edge cluster creation data
	*/
	EdgeCreationSpec *models.EdgeClusterCreationSpec

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

CreateEdgeParams contains all the parameters to send to the API endpoint

for the create edge operation.

Typically these are written to a http.Request.

func NewCreateEdgeParams

func NewCreateEdgeParams() *CreateEdgeParams

NewCreateEdgeParams creates a new CreateEdgeParams 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 NewCreateEdgeParamsWithContext

func NewCreateEdgeParamsWithContext(ctx context.Context) *CreateEdgeParams

NewCreateEdgeParamsWithContext creates a new CreateEdgeParams object with the ability to set a context for a request.

func NewCreateEdgeParamsWithHTTPClient

func NewCreateEdgeParamsWithHTTPClient(client *http.Client) *CreateEdgeParams

NewCreateEdgeParamsWithHTTPClient creates a new CreateEdgeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEdgeParamsWithTimeout

func NewCreateEdgeParamsWithTimeout(timeout time.Duration) *CreateEdgeParams

NewCreateEdgeParamsWithTimeout creates a new CreateEdgeParams object with the ability to set a timeout on a request.

func (*CreateEdgeParams) SetContext

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

SetContext adds the context to the create edge params

func (*CreateEdgeParams) SetDefaults

func (o *CreateEdgeParams) SetDefaults()

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

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

func (*CreateEdgeParams) SetEdgeCreationSpec

func (o *CreateEdgeParams) SetEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec)

SetEdgeCreationSpec adds the edgeCreationSpec to the create edge params

func (*CreateEdgeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create edge params

func (*CreateEdgeParams) SetTimeout

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

SetTimeout adds the timeout to the create edge params

func (*CreateEdgeParams) WithContext

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

WithContext adds the context to the create edge params

func (*CreateEdgeParams) WithDefaults

func (o *CreateEdgeParams) WithDefaults() *CreateEdgeParams

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

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

func (*CreateEdgeParams) WithEdgeCreationSpec

func (o *CreateEdgeParams) WithEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec) *CreateEdgeParams

WithEdgeCreationSpec adds the edgeCreationSpec to the create edge params

func (*CreateEdgeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create edge params

func (*CreateEdgeParams) WithTimeout

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

WithTimeout adds the timeout to the create edge params

func (*CreateEdgeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateEdgeReader

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

CreateEdgeReader is a Reader for the CreateEdge structure.

func (*CreateEdgeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEdgeClusterInternalServerError added in v0.1.1

type GetEdgeClusterInternalServerError struct {
	Payload *models.Error
}

GetEdgeClusterInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewGetEdgeClusterInternalServerError added in v0.1.1

func NewGetEdgeClusterInternalServerError() *GetEdgeClusterInternalServerError

NewGetEdgeClusterInternalServerError creates a GetEdgeClusterInternalServerError with default headers values

func (*GetEdgeClusterInternalServerError) Error added in v0.1.1

func (*GetEdgeClusterInternalServerError) GetPayload added in v0.1.1

func (*GetEdgeClusterInternalServerError) IsClientError added in v0.1.1

func (o *GetEdgeClusterInternalServerError) IsClientError() bool

IsClientError returns true when this get edge cluster internal server error response has a 4xx status code

func (*GetEdgeClusterInternalServerError) IsCode added in v0.1.1

func (o *GetEdgeClusterInternalServerError) IsCode(code int) bool

IsCode returns true when this get edge cluster internal server error response a status code equal to that given

func (*GetEdgeClusterInternalServerError) IsRedirect added in v0.1.1

func (o *GetEdgeClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this get edge cluster internal server error response has a 3xx status code

func (*GetEdgeClusterInternalServerError) IsServerError added in v0.1.1

func (o *GetEdgeClusterInternalServerError) IsServerError() bool

IsServerError returns true when this get edge cluster internal server error response has a 5xx status code

func (*GetEdgeClusterInternalServerError) IsSuccess added in v0.1.1

func (o *GetEdgeClusterInternalServerError) IsSuccess() bool

IsSuccess returns true when this get edge cluster internal server error response has a 2xx status code

func (*GetEdgeClusterInternalServerError) String added in v0.1.1

type GetEdgeClusterNotFound added in v0.1.1

type GetEdgeClusterNotFound struct {
	Payload *models.Error
}

GetEdgeClusterNotFound describes a response with status code 404, with default header values.

Edge Cluster not found

func NewGetEdgeClusterNotFound added in v0.1.1

func NewGetEdgeClusterNotFound() *GetEdgeClusterNotFound

NewGetEdgeClusterNotFound creates a GetEdgeClusterNotFound with default headers values

func (*GetEdgeClusterNotFound) Error added in v0.1.1

func (o *GetEdgeClusterNotFound) Error() string

func (*GetEdgeClusterNotFound) GetPayload added in v0.1.1

func (o *GetEdgeClusterNotFound) GetPayload() *models.Error

func (*GetEdgeClusterNotFound) IsClientError added in v0.1.1

func (o *GetEdgeClusterNotFound) IsClientError() bool

IsClientError returns true when this get edge cluster not found response has a 4xx status code

func (*GetEdgeClusterNotFound) IsCode added in v0.1.1

func (o *GetEdgeClusterNotFound) IsCode(code int) bool

IsCode returns true when this get edge cluster not found response a status code equal to that given

func (*GetEdgeClusterNotFound) IsRedirect added in v0.1.1

func (o *GetEdgeClusterNotFound) IsRedirect() bool

IsRedirect returns true when this get edge cluster not found response has a 3xx status code

func (*GetEdgeClusterNotFound) IsServerError added in v0.1.1

func (o *GetEdgeClusterNotFound) IsServerError() bool

IsServerError returns true when this get edge cluster not found response has a 5xx status code

func (*GetEdgeClusterNotFound) IsSuccess added in v0.1.1

func (o *GetEdgeClusterNotFound) IsSuccess() bool

IsSuccess returns true when this get edge cluster not found response has a 2xx status code

func (*GetEdgeClusterNotFound) String added in v0.1.1

func (o *GetEdgeClusterNotFound) String() string

type GetEdgeClusterOK added in v0.1.1

type GetEdgeClusterOK struct {
	Payload *models.EdgeCluster
}

GetEdgeClusterOK describes a response with status code 200, with default header values.

Ok

func NewGetEdgeClusterOK added in v0.1.1

func NewGetEdgeClusterOK() *GetEdgeClusterOK

NewGetEdgeClusterOK creates a GetEdgeClusterOK with default headers values

func (*GetEdgeClusterOK) Error added in v0.1.1

func (o *GetEdgeClusterOK) Error() string

func (*GetEdgeClusterOK) GetPayload added in v0.1.1

func (o *GetEdgeClusterOK) GetPayload() *models.EdgeCluster

func (*GetEdgeClusterOK) IsClientError added in v0.1.1

func (o *GetEdgeClusterOK) IsClientError() bool

IsClientError returns true when this get edge cluster o k response has a 4xx status code

func (*GetEdgeClusterOK) IsCode added in v0.1.1

func (o *GetEdgeClusterOK) IsCode(code int) bool

IsCode returns true when this get edge cluster o k response a status code equal to that given

func (*GetEdgeClusterOK) IsRedirect added in v0.1.1

func (o *GetEdgeClusterOK) IsRedirect() bool

IsRedirect returns true when this get edge cluster o k response has a 3xx status code

func (*GetEdgeClusterOK) IsServerError added in v0.1.1

func (o *GetEdgeClusterOK) IsServerError() bool

IsServerError returns true when this get edge cluster o k response has a 5xx status code

func (*GetEdgeClusterOK) IsSuccess added in v0.1.1

func (o *GetEdgeClusterOK) IsSuccess() bool

IsSuccess returns true when this get edge cluster o k response has a 2xx status code

func (*GetEdgeClusterOK) String added in v0.1.1

func (o *GetEdgeClusterOK) String() string

type GetEdgeClusterParams added in v0.1.1

type GetEdgeClusterParams struct {

	/* ID.

	   Edge Cluster ID
	*/
	ID string

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

GetEdgeClusterParams contains all the parameters to send to the API endpoint

for the get edge cluster operation.

Typically these are written to a http.Request.

func NewGetEdgeClusterParams added in v0.1.1

func NewGetEdgeClusterParams() *GetEdgeClusterParams

NewGetEdgeClusterParams creates a new GetEdgeClusterParams 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 NewGetEdgeClusterParamsWithContext added in v0.1.1

func NewGetEdgeClusterParamsWithContext(ctx context.Context) *GetEdgeClusterParams

NewGetEdgeClusterParamsWithContext creates a new GetEdgeClusterParams object with the ability to set a context for a request.

func NewGetEdgeClusterParamsWithHTTPClient added in v0.1.1

func NewGetEdgeClusterParamsWithHTTPClient(client *http.Client) *GetEdgeClusterParams

NewGetEdgeClusterParamsWithHTTPClient creates a new GetEdgeClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetEdgeClusterParamsWithTimeout added in v0.1.1

func NewGetEdgeClusterParamsWithTimeout(timeout time.Duration) *GetEdgeClusterParams

NewGetEdgeClusterParamsWithTimeout creates a new GetEdgeClusterParams object with the ability to set a timeout on a request.

func (*GetEdgeClusterParams) SetContext added in v0.1.1

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

SetContext adds the context to the get edge cluster params

func (*GetEdgeClusterParams) SetDefaults added in v0.1.1

func (o *GetEdgeClusterParams) SetDefaults()

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

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

func (*GetEdgeClusterParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get edge cluster params

func (*GetEdgeClusterParams) SetID added in v0.1.1

func (o *GetEdgeClusterParams) SetID(id string)

SetID adds the id to the get edge cluster params

func (*GetEdgeClusterParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get edge cluster params

func (*GetEdgeClusterParams) WithContext added in v0.1.1

WithContext adds the context to the get edge cluster params

func (*GetEdgeClusterParams) WithDefaults added in v0.1.1

func (o *GetEdgeClusterParams) WithDefaults() *GetEdgeClusterParams

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

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

func (*GetEdgeClusterParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get edge cluster params

func (*GetEdgeClusterParams) WithID added in v0.1.1

WithID adds the id to the get edge cluster params

func (*GetEdgeClusterParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get edge cluster params

func (*GetEdgeClusterParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetEdgeClusterReader added in v0.1.1

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

GetEdgeClusterReader is a Reader for the GetEdgeCluster structure.

func (*GetEdgeClusterReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetEdgeClustersBadRequest added in v0.1.1

type GetEdgeClustersBadRequest struct {
	Payload *models.Error
}

GetEdgeClustersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetEdgeClustersBadRequest added in v0.1.1

func NewGetEdgeClustersBadRequest() *GetEdgeClustersBadRequest

NewGetEdgeClustersBadRequest creates a GetEdgeClustersBadRequest with default headers values

func (*GetEdgeClustersBadRequest) Error added in v0.1.1

func (o *GetEdgeClustersBadRequest) Error() string

func (*GetEdgeClustersBadRequest) GetPayload added in v0.1.1

func (o *GetEdgeClustersBadRequest) GetPayload() *models.Error

func (*GetEdgeClustersBadRequest) IsClientError added in v0.1.1

func (o *GetEdgeClustersBadRequest) IsClientError() bool

IsClientError returns true when this get edge clusters bad request response has a 4xx status code

func (*GetEdgeClustersBadRequest) IsCode added in v0.1.1

func (o *GetEdgeClustersBadRequest) IsCode(code int) bool

IsCode returns true when this get edge clusters bad request response a status code equal to that given

func (*GetEdgeClustersBadRequest) IsRedirect added in v0.1.1

func (o *GetEdgeClustersBadRequest) IsRedirect() bool

IsRedirect returns true when this get edge clusters bad request response has a 3xx status code

func (*GetEdgeClustersBadRequest) IsServerError added in v0.1.1

func (o *GetEdgeClustersBadRequest) IsServerError() bool

IsServerError returns true when this get edge clusters bad request response has a 5xx status code

func (*GetEdgeClustersBadRequest) IsSuccess added in v0.1.1

func (o *GetEdgeClustersBadRequest) IsSuccess() bool

IsSuccess returns true when this get edge clusters bad request response has a 2xx status code

func (*GetEdgeClustersBadRequest) String added in v0.1.1

func (o *GetEdgeClustersBadRequest) String() string

type GetEdgeClustersInternalServerError added in v0.1.1

type GetEdgeClustersInternalServerError struct {
	Payload *models.Error
}

GetEdgeClustersInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewGetEdgeClustersInternalServerError added in v0.1.1

func NewGetEdgeClustersInternalServerError() *GetEdgeClustersInternalServerError

NewGetEdgeClustersInternalServerError creates a GetEdgeClustersInternalServerError with default headers values

func (*GetEdgeClustersInternalServerError) Error added in v0.1.1

func (*GetEdgeClustersInternalServerError) GetPayload added in v0.1.1

func (*GetEdgeClustersInternalServerError) IsClientError added in v0.1.1

func (o *GetEdgeClustersInternalServerError) IsClientError() bool

IsClientError returns true when this get edge clusters internal server error response has a 4xx status code

func (*GetEdgeClustersInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get edge clusters internal server error response a status code equal to that given

func (*GetEdgeClustersInternalServerError) IsRedirect added in v0.1.1

func (o *GetEdgeClustersInternalServerError) IsRedirect() bool

IsRedirect returns true when this get edge clusters internal server error response has a 3xx status code

func (*GetEdgeClustersInternalServerError) IsServerError added in v0.1.1

func (o *GetEdgeClustersInternalServerError) IsServerError() bool

IsServerError returns true when this get edge clusters internal server error response has a 5xx status code

func (*GetEdgeClustersInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get edge clusters internal server error response has a 2xx status code

func (*GetEdgeClustersInternalServerError) String added in v0.1.1

type GetEdgeClustersOK added in v0.1.1

type GetEdgeClustersOK struct {
	Payload *models.PageOfEdgeCluster
}

GetEdgeClustersOK describes a response with status code 200, with default header values.

Ok

func NewGetEdgeClustersOK added in v0.1.1

func NewGetEdgeClustersOK() *GetEdgeClustersOK

NewGetEdgeClustersOK creates a GetEdgeClustersOK with default headers values

func (*GetEdgeClustersOK) Error added in v0.1.1

func (o *GetEdgeClustersOK) Error() string

func (*GetEdgeClustersOK) GetPayload added in v0.1.1

func (o *GetEdgeClustersOK) GetPayload() *models.PageOfEdgeCluster

func (*GetEdgeClustersOK) IsClientError added in v0.1.1

func (o *GetEdgeClustersOK) IsClientError() bool

IsClientError returns true when this get edge clusters o k response has a 4xx status code

func (*GetEdgeClustersOK) IsCode added in v0.1.1

func (o *GetEdgeClustersOK) IsCode(code int) bool

IsCode returns true when this get edge clusters o k response a status code equal to that given

func (*GetEdgeClustersOK) IsRedirect added in v0.1.1

func (o *GetEdgeClustersOK) IsRedirect() bool

IsRedirect returns true when this get edge clusters o k response has a 3xx status code

func (*GetEdgeClustersOK) IsServerError added in v0.1.1

func (o *GetEdgeClustersOK) IsServerError() bool

IsServerError returns true when this get edge clusters o k response has a 5xx status code

func (*GetEdgeClustersOK) IsSuccess added in v0.1.1

func (o *GetEdgeClustersOK) IsSuccess() bool

IsSuccess returns true when this get edge clusters o k response has a 2xx status code

func (*GetEdgeClustersOK) String added in v0.1.1

func (o *GetEdgeClustersOK) String() string

type GetEdgeClustersParams added in v0.1.1

type GetEdgeClustersParams struct {

	/* ClusterID.

	   Pass an optional vSphere Cluster ID to fetch edge clusters associated with the vSphere Cluster
	*/
	ClusterID *string

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

GetEdgeClustersParams contains all the parameters to send to the API endpoint

for the get edge clusters operation.

Typically these are written to a http.Request.

func NewGetEdgeClustersParams added in v0.1.1

func NewGetEdgeClustersParams() *GetEdgeClustersParams

NewGetEdgeClustersParams creates a new GetEdgeClustersParams 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 NewGetEdgeClustersParamsWithContext added in v0.1.1

func NewGetEdgeClustersParamsWithContext(ctx context.Context) *GetEdgeClustersParams

NewGetEdgeClustersParamsWithContext creates a new GetEdgeClustersParams object with the ability to set a context for a request.

func NewGetEdgeClustersParamsWithHTTPClient added in v0.1.1

func NewGetEdgeClustersParamsWithHTTPClient(client *http.Client) *GetEdgeClustersParams

NewGetEdgeClustersParamsWithHTTPClient creates a new GetEdgeClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetEdgeClustersParamsWithTimeout added in v0.1.1

func NewGetEdgeClustersParamsWithTimeout(timeout time.Duration) *GetEdgeClustersParams

NewGetEdgeClustersParamsWithTimeout creates a new GetEdgeClustersParams object with the ability to set a timeout on a request.

func (*GetEdgeClustersParams) SetClusterID added in v0.1.1

func (o *GetEdgeClustersParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the get edge clusters params

func (*GetEdgeClustersParams) SetContext added in v0.1.1

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

SetContext adds the context to the get edge clusters params

func (*GetEdgeClustersParams) SetDefaults added in v0.1.1

func (o *GetEdgeClustersParams) SetDefaults()

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

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

func (*GetEdgeClustersParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get edge clusters params

func (*GetEdgeClustersParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get edge clusters params

func (*GetEdgeClustersParams) WithClusterID added in v0.1.1

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

WithClusterID adds the clusterID to the get edge clusters params

func (*GetEdgeClustersParams) WithContext added in v0.1.1

WithContext adds the context to the get edge clusters params

func (*GetEdgeClustersParams) WithDefaults added in v0.1.1

func (o *GetEdgeClustersParams) WithDefaults() *GetEdgeClustersParams

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

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

func (*GetEdgeClustersParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get edge clusters params

func (*GetEdgeClustersParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get edge clusters params

func (*GetEdgeClustersParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetEdgeClustersReader added in v0.1.1

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

GetEdgeClustersReader is a Reader for the GetEdgeClusters structure.

func (*GetEdgeClustersReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetValidationForCreateEdgeClusterBadRequest added in v0.1.1

type GetValidationForCreateEdgeClusterBadRequest struct {
	Payload *models.Error
}

GetValidationForCreateEdgeClusterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetValidationForCreateEdgeClusterBadRequest added in v0.1.1

func NewGetValidationForCreateEdgeClusterBadRequest() *GetValidationForCreateEdgeClusterBadRequest

NewGetValidationForCreateEdgeClusterBadRequest creates a GetValidationForCreateEdgeClusterBadRequest with default headers values

func (*GetValidationForCreateEdgeClusterBadRequest) Error added in v0.1.1

func (*GetValidationForCreateEdgeClusterBadRequest) GetPayload added in v0.1.1

func (*GetValidationForCreateEdgeClusterBadRequest) IsClientError added in v0.1.1

IsClientError returns true when this get validation for create edge cluster bad request response has a 4xx status code

func (*GetValidationForCreateEdgeClusterBadRequest) IsCode added in v0.1.1

IsCode returns true when this get validation for create edge cluster bad request response a status code equal to that given

func (*GetValidationForCreateEdgeClusterBadRequest) IsRedirect added in v0.1.1

IsRedirect returns true when this get validation for create edge cluster bad request response has a 3xx status code

func (*GetValidationForCreateEdgeClusterBadRequest) IsServerError added in v0.1.1

IsServerError returns true when this get validation for create edge cluster bad request response has a 5xx status code

func (*GetValidationForCreateEdgeClusterBadRequest) IsSuccess added in v0.1.1

IsSuccess returns true when this get validation for create edge cluster bad request response has a 2xx status code

func (*GetValidationForCreateEdgeClusterBadRequest) String added in v0.1.1

type GetValidationForCreateEdgeClusterInternalServerError added in v0.1.1

type GetValidationForCreateEdgeClusterInternalServerError struct {
}

GetValidationForCreateEdgeClusterInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetValidationForCreateEdgeClusterInternalServerError added in v0.1.1

func NewGetValidationForCreateEdgeClusterInternalServerError() *GetValidationForCreateEdgeClusterInternalServerError

NewGetValidationForCreateEdgeClusterInternalServerError creates a GetValidationForCreateEdgeClusterInternalServerError with default headers values

func (*GetValidationForCreateEdgeClusterInternalServerError) Error added in v0.1.1

func (*GetValidationForCreateEdgeClusterInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get validation for create edge cluster internal server error response has a 4xx status code

func (*GetValidationForCreateEdgeClusterInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get validation for create edge cluster internal server error response a status code equal to that given

func (*GetValidationForCreateEdgeClusterInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get validation for create edge cluster internal server error response has a 3xx status code

func (*GetValidationForCreateEdgeClusterInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get validation for create edge cluster internal server error response has a 5xx status code

func (*GetValidationForCreateEdgeClusterInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get validation for create edge cluster internal server error response has a 2xx status code

func (*GetValidationForCreateEdgeClusterInternalServerError) String added in v0.1.1

type GetValidationForCreateEdgeClusterOK added in v0.1.1

type GetValidationForCreateEdgeClusterOK struct {
	Payload *models.Validation
}

GetValidationForCreateEdgeClusterOK describes a response with status code 200, with default header values.

OK

func NewGetValidationForCreateEdgeClusterOK added in v0.1.1

func NewGetValidationForCreateEdgeClusterOK() *GetValidationForCreateEdgeClusterOK

NewGetValidationForCreateEdgeClusterOK creates a GetValidationForCreateEdgeClusterOK with default headers values

func (*GetValidationForCreateEdgeClusterOK) Error added in v0.1.1

func (*GetValidationForCreateEdgeClusterOK) GetPayload added in v0.1.1

func (*GetValidationForCreateEdgeClusterOK) IsClientError added in v0.1.1

func (o *GetValidationForCreateEdgeClusterOK) IsClientError() bool

IsClientError returns true when this get validation for create edge cluster o k response has a 4xx status code

func (*GetValidationForCreateEdgeClusterOK) IsCode added in v0.1.1

IsCode returns true when this get validation for create edge cluster o k response a status code equal to that given

func (*GetValidationForCreateEdgeClusterOK) IsRedirect added in v0.1.1

func (o *GetValidationForCreateEdgeClusterOK) IsRedirect() bool

IsRedirect returns true when this get validation for create edge cluster o k response has a 3xx status code

func (*GetValidationForCreateEdgeClusterOK) IsServerError added in v0.1.1

func (o *GetValidationForCreateEdgeClusterOK) IsServerError() bool

IsServerError returns true when this get validation for create edge cluster o k response has a 5xx status code

func (*GetValidationForCreateEdgeClusterOK) IsSuccess added in v0.1.1

IsSuccess returns true when this get validation for create edge cluster o k response has a 2xx status code

func (*GetValidationForCreateEdgeClusterOK) String added in v0.1.1

type GetValidationForCreateEdgeClusterParams added in v0.1.1

type GetValidationForCreateEdgeClusterParams struct {

	/* ID.

	   The validation ID
	*/
	ID string

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

GetValidationForCreateEdgeClusterParams contains all the parameters to send to the API endpoint

for the get validation for create edge cluster operation.

Typically these are written to a http.Request.

func NewGetValidationForCreateEdgeClusterParams added in v0.1.1

func NewGetValidationForCreateEdgeClusterParams() *GetValidationForCreateEdgeClusterParams

NewGetValidationForCreateEdgeClusterParams creates a new GetValidationForCreateEdgeClusterParams 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 NewGetValidationForCreateEdgeClusterParamsWithContext added in v0.1.1

func NewGetValidationForCreateEdgeClusterParamsWithContext(ctx context.Context) *GetValidationForCreateEdgeClusterParams

NewGetValidationForCreateEdgeClusterParamsWithContext creates a new GetValidationForCreateEdgeClusterParams object with the ability to set a context for a request.

func NewGetValidationForCreateEdgeClusterParamsWithHTTPClient added in v0.1.1

func NewGetValidationForCreateEdgeClusterParamsWithHTTPClient(client *http.Client) *GetValidationForCreateEdgeClusterParams

NewGetValidationForCreateEdgeClusterParamsWithHTTPClient creates a new GetValidationForCreateEdgeClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetValidationForCreateEdgeClusterParamsWithTimeout added in v0.1.1

func NewGetValidationForCreateEdgeClusterParamsWithTimeout(timeout time.Duration) *GetValidationForCreateEdgeClusterParams

NewGetValidationForCreateEdgeClusterParamsWithTimeout creates a new GetValidationForCreateEdgeClusterParams object with the ability to set a timeout on a request.

func (*GetValidationForCreateEdgeClusterParams) SetContext added in v0.1.1

SetContext adds the context to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) SetDefaults added in v0.1.1

func (o *GetValidationForCreateEdgeClusterParams) SetDefaults()

SetDefaults hydrates default values in the get validation for create edge cluster params (not the query body).

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

func (*GetValidationForCreateEdgeClusterParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) SetID added in v0.1.1

SetID adds the id to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) WithContext added in v0.1.1

WithContext adds the context to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get validation for create edge cluster params (not the query body).

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

func (*GetValidationForCreateEdgeClusterParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) WithID added in v0.1.1

WithID adds the id to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get validation for create edge cluster params

func (*GetValidationForCreateEdgeClusterParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetValidationForCreateEdgeClusterReader added in v0.1.1

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

GetValidationForCreateEdgeClusterReader is a Reader for the GetValidationForCreateEdgeCluster structure.

func (*GetValidationForCreateEdgeClusterReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type UpdateEdgeClusterAccepted

type UpdateEdgeClusterAccepted struct {
	Payload *models.Task
}

UpdateEdgeClusterAccepted describes a response with status code 202, with default header values.

Accepted

func NewUpdateEdgeClusterAccepted

func NewUpdateEdgeClusterAccepted() *UpdateEdgeClusterAccepted

NewUpdateEdgeClusterAccepted creates a UpdateEdgeClusterAccepted with default headers values

func (*UpdateEdgeClusterAccepted) Error

func (o *UpdateEdgeClusterAccepted) Error() string

func (*UpdateEdgeClusterAccepted) GetPayload

func (o *UpdateEdgeClusterAccepted) GetPayload() *models.Task

func (*UpdateEdgeClusterAccepted) IsClientError

func (o *UpdateEdgeClusterAccepted) IsClientError() bool

IsClientError returns true when this update edge cluster accepted response has a 4xx status code

func (*UpdateEdgeClusterAccepted) IsCode

func (o *UpdateEdgeClusterAccepted) IsCode(code int) bool

IsCode returns true when this update edge cluster accepted response a status code equal to that given

func (*UpdateEdgeClusterAccepted) IsRedirect

func (o *UpdateEdgeClusterAccepted) IsRedirect() bool

IsRedirect returns true when this update edge cluster accepted response has a 3xx status code

func (*UpdateEdgeClusterAccepted) IsServerError

func (o *UpdateEdgeClusterAccepted) IsServerError() bool

IsServerError returns true when this update edge cluster accepted response has a 5xx status code

func (*UpdateEdgeClusterAccepted) IsSuccess

func (o *UpdateEdgeClusterAccepted) IsSuccess() bool

IsSuccess returns true when this update edge cluster accepted response has a 2xx status code

func (*UpdateEdgeClusterAccepted) String

func (o *UpdateEdgeClusterAccepted) String() string

type UpdateEdgeClusterBadRequest

type UpdateEdgeClusterBadRequest struct {
	Payload *models.Error
}

UpdateEdgeClusterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateEdgeClusterBadRequest

func NewUpdateEdgeClusterBadRequest() *UpdateEdgeClusterBadRequest

NewUpdateEdgeClusterBadRequest creates a UpdateEdgeClusterBadRequest with default headers values

func (*UpdateEdgeClusterBadRequest) Error

func (*UpdateEdgeClusterBadRequest) GetPayload

func (o *UpdateEdgeClusterBadRequest) GetPayload() *models.Error

func (*UpdateEdgeClusterBadRequest) IsClientError

func (o *UpdateEdgeClusterBadRequest) IsClientError() bool

IsClientError returns true when this update edge cluster bad request response has a 4xx status code

func (*UpdateEdgeClusterBadRequest) IsCode

func (o *UpdateEdgeClusterBadRequest) IsCode(code int) bool

IsCode returns true when this update edge cluster bad request response a status code equal to that given

func (*UpdateEdgeClusterBadRequest) IsRedirect

func (o *UpdateEdgeClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this update edge cluster bad request response has a 3xx status code

func (*UpdateEdgeClusterBadRequest) IsServerError

func (o *UpdateEdgeClusterBadRequest) IsServerError() bool

IsServerError returns true when this update edge cluster bad request response has a 5xx status code

func (*UpdateEdgeClusterBadRequest) IsSuccess

func (o *UpdateEdgeClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this update edge cluster bad request response has a 2xx status code

func (*UpdateEdgeClusterBadRequest) String

func (o *UpdateEdgeClusterBadRequest) String() string

type UpdateEdgeClusterInternalServerError

type UpdateEdgeClusterInternalServerError struct {
	Payload *models.Error
}

UpdateEdgeClusterInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewUpdateEdgeClusterInternalServerError

func NewUpdateEdgeClusterInternalServerError() *UpdateEdgeClusterInternalServerError

NewUpdateEdgeClusterInternalServerError creates a UpdateEdgeClusterInternalServerError with default headers values

func (*UpdateEdgeClusterInternalServerError) Error

func (*UpdateEdgeClusterInternalServerError) GetPayload

func (*UpdateEdgeClusterInternalServerError) IsClientError

func (o *UpdateEdgeClusterInternalServerError) IsClientError() bool

IsClientError returns true when this update edge cluster internal server error response has a 4xx status code

func (*UpdateEdgeClusterInternalServerError) IsCode

IsCode returns true when this update edge cluster internal server error response a status code equal to that given

func (*UpdateEdgeClusterInternalServerError) IsRedirect

IsRedirect returns true when this update edge cluster internal server error response has a 3xx status code

func (*UpdateEdgeClusterInternalServerError) IsServerError

func (o *UpdateEdgeClusterInternalServerError) IsServerError() bool

IsServerError returns true when this update edge cluster internal server error response has a 5xx status code

func (*UpdateEdgeClusterInternalServerError) IsSuccess

IsSuccess returns true when this update edge cluster internal server error response has a 2xx status code

func (*UpdateEdgeClusterInternalServerError) String

type UpdateEdgeClusterNotImplemented

type UpdateEdgeClusterNotImplemented struct {
	Payload *models.Error
}

UpdateEdgeClusterNotImplemented describes a response with status code 501, with default header values.

Not Implemented

func NewUpdateEdgeClusterNotImplemented

func NewUpdateEdgeClusterNotImplemented() *UpdateEdgeClusterNotImplemented

NewUpdateEdgeClusterNotImplemented creates a UpdateEdgeClusterNotImplemented with default headers values

func (*UpdateEdgeClusterNotImplemented) Error

func (*UpdateEdgeClusterNotImplemented) GetPayload

func (o *UpdateEdgeClusterNotImplemented) GetPayload() *models.Error

func (*UpdateEdgeClusterNotImplemented) IsClientError

func (o *UpdateEdgeClusterNotImplemented) IsClientError() bool

IsClientError returns true when this update edge cluster not implemented response has a 4xx status code

func (*UpdateEdgeClusterNotImplemented) IsCode

func (o *UpdateEdgeClusterNotImplemented) IsCode(code int) bool

IsCode returns true when this update edge cluster not implemented response a status code equal to that given

func (*UpdateEdgeClusterNotImplemented) IsRedirect

func (o *UpdateEdgeClusterNotImplemented) IsRedirect() bool

IsRedirect returns true when this update edge cluster not implemented response has a 3xx status code

func (*UpdateEdgeClusterNotImplemented) IsServerError

func (o *UpdateEdgeClusterNotImplemented) IsServerError() bool

IsServerError returns true when this update edge cluster not implemented response has a 5xx status code

func (*UpdateEdgeClusterNotImplemented) IsSuccess

func (o *UpdateEdgeClusterNotImplemented) IsSuccess() bool

IsSuccess returns true when this update edge cluster not implemented response has a 2xx status code

func (*UpdateEdgeClusterNotImplemented) String

type UpdateEdgeClusterOK

type UpdateEdgeClusterOK struct {
	Payload *models.Task
}

UpdateEdgeClusterOK describes a response with status code 200, with default header values.

OK

func NewUpdateEdgeClusterOK

func NewUpdateEdgeClusterOK() *UpdateEdgeClusterOK

NewUpdateEdgeClusterOK creates a UpdateEdgeClusterOK with default headers values

func (*UpdateEdgeClusterOK) Error

func (o *UpdateEdgeClusterOK) Error() string

func (*UpdateEdgeClusterOK) GetPayload

func (o *UpdateEdgeClusterOK) GetPayload() *models.Task

func (*UpdateEdgeClusterOK) IsClientError

func (o *UpdateEdgeClusterOK) IsClientError() bool

IsClientError returns true when this update edge cluster o k response has a 4xx status code

func (*UpdateEdgeClusterOK) IsCode

func (o *UpdateEdgeClusterOK) IsCode(code int) bool

IsCode returns true when this update edge cluster o k response a status code equal to that given

func (*UpdateEdgeClusterOK) IsRedirect

func (o *UpdateEdgeClusterOK) IsRedirect() bool

IsRedirect returns true when this update edge cluster o k response has a 3xx status code

func (*UpdateEdgeClusterOK) IsServerError

func (o *UpdateEdgeClusterOK) IsServerError() bool

IsServerError returns true when this update edge cluster o k response has a 5xx status code

func (*UpdateEdgeClusterOK) IsSuccess

func (o *UpdateEdgeClusterOK) IsSuccess() bool

IsSuccess returns true when this update edge cluster o k response has a 2xx status code

func (*UpdateEdgeClusterOK) String

func (o *UpdateEdgeClusterOK) String() string

type UpdateEdgeClusterParams

type UpdateEdgeClusterParams struct {

	/* EdgeClusterUpdateSpec.

	   NSX-T Edge cluster update specification
	*/
	EdgeClusterUpdateSpec *models.EdgeClusterUpdateSpec

	/* ID.

	   Edge Cluster ID
	*/
	ID string

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

UpdateEdgeClusterParams contains all the parameters to send to the API endpoint

for the update edge cluster operation.

Typically these are written to a http.Request.

func NewUpdateEdgeClusterParams

func NewUpdateEdgeClusterParams() *UpdateEdgeClusterParams

NewUpdateEdgeClusterParams creates a new UpdateEdgeClusterParams 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 NewUpdateEdgeClusterParamsWithContext

func NewUpdateEdgeClusterParamsWithContext(ctx context.Context) *UpdateEdgeClusterParams

NewUpdateEdgeClusterParamsWithContext creates a new UpdateEdgeClusterParams object with the ability to set a context for a request.

func NewUpdateEdgeClusterParamsWithHTTPClient

func NewUpdateEdgeClusterParamsWithHTTPClient(client *http.Client) *UpdateEdgeClusterParams

NewUpdateEdgeClusterParamsWithHTTPClient creates a new UpdateEdgeClusterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEdgeClusterParamsWithTimeout

func NewUpdateEdgeClusterParamsWithTimeout(timeout time.Duration) *UpdateEdgeClusterParams

NewUpdateEdgeClusterParamsWithTimeout creates a new UpdateEdgeClusterParams object with the ability to set a timeout on a request.

func (*UpdateEdgeClusterParams) SetContext

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

SetContext adds the context to the update edge cluster params

func (*UpdateEdgeClusterParams) SetDefaults

func (o *UpdateEdgeClusterParams) SetDefaults()

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

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

func (*UpdateEdgeClusterParams) SetEdgeClusterUpdateSpec

func (o *UpdateEdgeClusterParams) SetEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec)

SetEdgeClusterUpdateSpec adds the edgeClusterUpdateSpec to the update edge cluster params

func (*UpdateEdgeClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update edge cluster params

func (*UpdateEdgeClusterParams) SetID

func (o *UpdateEdgeClusterParams) SetID(id string)

SetID adds the id to the update edge cluster params

func (*UpdateEdgeClusterParams) SetTimeout

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

SetTimeout adds the timeout to the update edge cluster params

func (*UpdateEdgeClusterParams) WithContext

WithContext adds the context to the update edge cluster params

func (*UpdateEdgeClusterParams) WithDefaults

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

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

func (*UpdateEdgeClusterParams) WithEdgeClusterUpdateSpec

func (o *UpdateEdgeClusterParams) WithEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec) *UpdateEdgeClusterParams

WithEdgeClusterUpdateSpec adds the edgeClusterUpdateSpec to the update edge cluster params

func (*UpdateEdgeClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update edge cluster params

func (*UpdateEdgeClusterParams) WithID

WithID adds the id to the update edge cluster params

func (*UpdateEdgeClusterParams) WithTimeout

WithTimeout adds the timeout to the update edge cluster params

func (*UpdateEdgeClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEdgeClusterReader

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

UpdateEdgeClusterReader is a Reader for the UpdateEdgeCluster structure.

func (*UpdateEdgeClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateEdgeClusterSpecAccepted

type ValidateEdgeClusterSpecAccepted struct {
	Payload *models.Validation
}

ValidateEdgeClusterSpecAccepted describes a response with status code 202, with default header values.

Accepted

func NewValidateEdgeClusterSpecAccepted

func NewValidateEdgeClusterSpecAccepted() *ValidateEdgeClusterSpecAccepted

NewValidateEdgeClusterSpecAccepted creates a ValidateEdgeClusterSpecAccepted with default headers values

func (*ValidateEdgeClusterSpecAccepted) Error

func (*ValidateEdgeClusterSpecAccepted) GetPayload

func (*ValidateEdgeClusterSpecAccepted) IsClientError

func (o *ValidateEdgeClusterSpecAccepted) IsClientError() bool

IsClientError returns true when this validate edge cluster spec accepted response has a 4xx status code

func (*ValidateEdgeClusterSpecAccepted) IsCode

func (o *ValidateEdgeClusterSpecAccepted) IsCode(code int) bool

IsCode returns true when this validate edge cluster spec accepted response a status code equal to that given

func (*ValidateEdgeClusterSpecAccepted) IsRedirect

func (o *ValidateEdgeClusterSpecAccepted) IsRedirect() bool

IsRedirect returns true when this validate edge cluster spec accepted response has a 3xx status code

func (*ValidateEdgeClusterSpecAccepted) IsServerError

func (o *ValidateEdgeClusterSpecAccepted) IsServerError() bool

IsServerError returns true when this validate edge cluster spec accepted response has a 5xx status code

func (*ValidateEdgeClusterSpecAccepted) IsSuccess

func (o *ValidateEdgeClusterSpecAccepted) IsSuccess() bool

IsSuccess returns true when this validate edge cluster spec accepted response has a 2xx status code

func (*ValidateEdgeClusterSpecAccepted) String

type ValidateEdgeClusterSpecBadRequest

type ValidateEdgeClusterSpecBadRequest struct {
	Payload *models.Error
}

ValidateEdgeClusterSpecBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewValidateEdgeClusterSpecBadRequest

func NewValidateEdgeClusterSpecBadRequest() *ValidateEdgeClusterSpecBadRequest

NewValidateEdgeClusterSpecBadRequest creates a ValidateEdgeClusterSpecBadRequest with default headers values

func (*ValidateEdgeClusterSpecBadRequest) Error

func (*ValidateEdgeClusterSpecBadRequest) GetPayload

func (*ValidateEdgeClusterSpecBadRequest) IsClientError

func (o *ValidateEdgeClusterSpecBadRequest) IsClientError() bool

IsClientError returns true when this validate edge cluster spec bad request response has a 4xx status code

func (*ValidateEdgeClusterSpecBadRequest) IsCode

func (o *ValidateEdgeClusterSpecBadRequest) IsCode(code int) bool

IsCode returns true when this validate edge cluster spec bad request response a status code equal to that given

func (*ValidateEdgeClusterSpecBadRequest) IsRedirect

func (o *ValidateEdgeClusterSpecBadRequest) IsRedirect() bool

IsRedirect returns true when this validate edge cluster spec bad request response has a 3xx status code

func (*ValidateEdgeClusterSpecBadRequest) IsServerError

func (o *ValidateEdgeClusterSpecBadRequest) IsServerError() bool

IsServerError returns true when this validate edge cluster spec bad request response has a 5xx status code

func (*ValidateEdgeClusterSpecBadRequest) IsSuccess

func (o *ValidateEdgeClusterSpecBadRequest) IsSuccess() bool

IsSuccess returns true when this validate edge cluster spec bad request response has a 2xx status code

func (*ValidateEdgeClusterSpecBadRequest) String

type ValidateEdgeClusterSpecInternalServerError

type ValidateEdgeClusterSpecInternalServerError struct {
	Payload *models.Error
}

ValidateEdgeClusterSpecInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewValidateEdgeClusterSpecInternalServerError

func NewValidateEdgeClusterSpecInternalServerError() *ValidateEdgeClusterSpecInternalServerError

NewValidateEdgeClusterSpecInternalServerError creates a ValidateEdgeClusterSpecInternalServerError with default headers values

func (*ValidateEdgeClusterSpecInternalServerError) Error

func (*ValidateEdgeClusterSpecInternalServerError) GetPayload

func (*ValidateEdgeClusterSpecInternalServerError) IsClientError

IsClientError returns true when this validate edge cluster spec internal server error response has a 4xx status code

func (*ValidateEdgeClusterSpecInternalServerError) IsCode

IsCode returns true when this validate edge cluster spec internal server error response a status code equal to that given

func (*ValidateEdgeClusterSpecInternalServerError) IsRedirect

IsRedirect returns true when this validate edge cluster spec internal server error response has a 3xx status code

func (*ValidateEdgeClusterSpecInternalServerError) IsServerError

IsServerError returns true when this validate edge cluster spec internal server error response has a 5xx status code

func (*ValidateEdgeClusterSpecInternalServerError) IsSuccess

IsSuccess returns true when this validate edge cluster spec internal server error response has a 2xx status code

func (*ValidateEdgeClusterSpecInternalServerError) String

type ValidateEdgeClusterSpecOK

type ValidateEdgeClusterSpecOK struct {
	Payload *models.Validation
}

ValidateEdgeClusterSpecOK describes a response with status code 200, with default header values.

OK

func NewValidateEdgeClusterSpecOK

func NewValidateEdgeClusterSpecOK() *ValidateEdgeClusterSpecOK

NewValidateEdgeClusterSpecOK creates a ValidateEdgeClusterSpecOK with default headers values

func (*ValidateEdgeClusterSpecOK) Error

func (o *ValidateEdgeClusterSpecOK) Error() string

func (*ValidateEdgeClusterSpecOK) GetPayload

func (o *ValidateEdgeClusterSpecOK) GetPayload() *models.Validation

func (*ValidateEdgeClusterSpecOK) IsClientError

func (o *ValidateEdgeClusterSpecOK) IsClientError() bool

IsClientError returns true when this validate edge cluster spec o k response has a 4xx status code

func (*ValidateEdgeClusterSpecOK) IsCode

func (o *ValidateEdgeClusterSpecOK) IsCode(code int) bool

IsCode returns true when this validate edge cluster spec o k response a status code equal to that given

func (*ValidateEdgeClusterSpecOK) IsRedirect

func (o *ValidateEdgeClusterSpecOK) IsRedirect() bool

IsRedirect returns true when this validate edge cluster spec o k response has a 3xx status code

func (*ValidateEdgeClusterSpecOK) IsServerError

func (o *ValidateEdgeClusterSpecOK) IsServerError() bool

IsServerError returns true when this validate edge cluster spec o k response has a 5xx status code

func (*ValidateEdgeClusterSpecOK) IsSuccess

func (o *ValidateEdgeClusterSpecOK) IsSuccess() bool

IsSuccess returns true when this validate edge cluster spec o k response has a 2xx status code

func (*ValidateEdgeClusterSpecOK) String

func (o *ValidateEdgeClusterSpecOK) String() string

type ValidateEdgeClusterSpecParams

type ValidateEdgeClusterSpecParams struct {

	/* EdgeCreationSpec.

	   NSX-T Edge cluster creation data to be validated
	*/
	EdgeCreationSpec *models.EdgeClusterCreationSpec

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

ValidateEdgeClusterSpecParams contains all the parameters to send to the API endpoint

for the validate edge cluster spec operation.

Typically these are written to a http.Request.

func NewValidateEdgeClusterSpecParams

func NewValidateEdgeClusterSpecParams() *ValidateEdgeClusterSpecParams

NewValidateEdgeClusterSpecParams creates a new ValidateEdgeClusterSpecParams 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 NewValidateEdgeClusterSpecParamsWithContext

func NewValidateEdgeClusterSpecParamsWithContext(ctx context.Context) *ValidateEdgeClusterSpecParams

NewValidateEdgeClusterSpecParamsWithContext creates a new ValidateEdgeClusterSpecParams object with the ability to set a context for a request.

func NewValidateEdgeClusterSpecParamsWithHTTPClient

func NewValidateEdgeClusterSpecParamsWithHTTPClient(client *http.Client) *ValidateEdgeClusterSpecParams

NewValidateEdgeClusterSpecParamsWithHTTPClient creates a new ValidateEdgeClusterSpecParams object with the ability to set a custom HTTPClient for a request.

func NewValidateEdgeClusterSpecParamsWithTimeout

func NewValidateEdgeClusterSpecParamsWithTimeout(timeout time.Duration) *ValidateEdgeClusterSpecParams

NewValidateEdgeClusterSpecParamsWithTimeout creates a new ValidateEdgeClusterSpecParams object with the ability to set a timeout on a request.

func (*ValidateEdgeClusterSpecParams) SetContext

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

SetContext adds the context to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) SetDefaults

func (o *ValidateEdgeClusterSpecParams) SetDefaults()

SetDefaults hydrates default values in the validate edge cluster spec params (not the query body).

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

func (*ValidateEdgeClusterSpecParams) SetEdgeCreationSpec

func (o *ValidateEdgeClusterSpecParams) SetEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec)

SetEdgeCreationSpec adds the edgeCreationSpec to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) SetTimeout

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

SetTimeout adds the timeout to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) WithContext

WithContext adds the context to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) WithDefaults

WithDefaults hydrates default values in the validate edge cluster spec params (not the query body).

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

func (*ValidateEdgeClusterSpecParams) WithEdgeCreationSpec

WithEdgeCreationSpec adds the edgeCreationSpec to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) WithTimeout

WithTimeout adds the timeout to the validate edge cluster spec params

func (*ValidateEdgeClusterSpecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateEdgeClusterSpecReader

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

ValidateEdgeClusterSpecReader is a Reader for the ValidateEdgeClusterSpec structure.

func (*ValidateEdgeClusterSpecReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateEdgeClusterUpdateSpecAccepted

type ValidateEdgeClusterUpdateSpecAccepted struct {
	Payload *models.Validation
}

ValidateEdgeClusterUpdateSpecAccepted describes a response with status code 202, with default header values.

Accepted

func NewValidateEdgeClusterUpdateSpecAccepted

func NewValidateEdgeClusterUpdateSpecAccepted() *ValidateEdgeClusterUpdateSpecAccepted

NewValidateEdgeClusterUpdateSpecAccepted creates a ValidateEdgeClusterUpdateSpecAccepted with default headers values

func (*ValidateEdgeClusterUpdateSpecAccepted) Error

func (*ValidateEdgeClusterUpdateSpecAccepted) GetPayload

func (*ValidateEdgeClusterUpdateSpecAccepted) IsClientError

func (o *ValidateEdgeClusterUpdateSpecAccepted) IsClientError() bool

IsClientError returns true when this validate edge cluster update spec accepted response has a 4xx status code

func (*ValidateEdgeClusterUpdateSpecAccepted) IsCode

IsCode returns true when this validate edge cluster update spec accepted response a status code equal to that given

func (*ValidateEdgeClusterUpdateSpecAccepted) IsRedirect

IsRedirect returns true when this validate edge cluster update spec accepted response has a 3xx status code

func (*ValidateEdgeClusterUpdateSpecAccepted) IsServerError

func (o *ValidateEdgeClusterUpdateSpecAccepted) IsServerError() bool

IsServerError returns true when this validate edge cluster update spec accepted response has a 5xx status code

func (*ValidateEdgeClusterUpdateSpecAccepted) IsSuccess

IsSuccess returns true when this validate edge cluster update spec accepted response has a 2xx status code

func (*ValidateEdgeClusterUpdateSpecAccepted) String

type ValidateEdgeClusterUpdateSpecBadRequest

type ValidateEdgeClusterUpdateSpecBadRequest struct {
	Payload *models.Error
}

ValidateEdgeClusterUpdateSpecBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewValidateEdgeClusterUpdateSpecBadRequest

func NewValidateEdgeClusterUpdateSpecBadRequest() *ValidateEdgeClusterUpdateSpecBadRequest

NewValidateEdgeClusterUpdateSpecBadRequest creates a ValidateEdgeClusterUpdateSpecBadRequest with default headers values

func (*ValidateEdgeClusterUpdateSpecBadRequest) Error

func (*ValidateEdgeClusterUpdateSpecBadRequest) GetPayload

func (*ValidateEdgeClusterUpdateSpecBadRequest) IsClientError

func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsClientError() bool

IsClientError returns true when this validate edge cluster update spec bad request response has a 4xx status code

func (*ValidateEdgeClusterUpdateSpecBadRequest) IsCode

IsCode returns true when this validate edge cluster update spec bad request response a status code equal to that given

func (*ValidateEdgeClusterUpdateSpecBadRequest) IsRedirect

IsRedirect returns true when this validate edge cluster update spec bad request response has a 3xx status code

func (*ValidateEdgeClusterUpdateSpecBadRequest) IsServerError

func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsServerError() bool

IsServerError returns true when this validate edge cluster update spec bad request response has a 5xx status code

func (*ValidateEdgeClusterUpdateSpecBadRequest) IsSuccess

IsSuccess returns true when this validate edge cluster update spec bad request response has a 2xx status code

func (*ValidateEdgeClusterUpdateSpecBadRequest) String

type ValidateEdgeClusterUpdateSpecInternalServerError

type ValidateEdgeClusterUpdateSpecInternalServerError struct {
	Payload *models.Error
}

ValidateEdgeClusterUpdateSpecInternalServerError describes a response with status code 500, with default header values.

InternalServerError

func NewValidateEdgeClusterUpdateSpecInternalServerError

func NewValidateEdgeClusterUpdateSpecInternalServerError() *ValidateEdgeClusterUpdateSpecInternalServerError

NewValidateEdgeClusterUpdateSpecInternalServerError creates a ValidateEdgeClusterUpdateSpecInternalServerError with default headers values

func (*ValidateEdgeClusterUpdateSpecInternalServerError) Error

func (*ValidateEdgeClusterUpdateSpecInternalServerError) GetPayload

func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsClientError

IsClientError returns true when this validate edge cluster update spec internal server error response has a 4xx status code

func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsCode

IsCode returns true when this validate edge cluster update spec internal server error response a status code equal to that given

func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsRedirect

IsRedirect returns true when this validate edge cluster update spec internal server error response has a 3xx status code

func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsServerError

IsServerError returns true when this validate edge cluster update spec internal server error response has a 5xx status code

func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsSuccess

IsSuccess returns true when this validate edge cluster update spec internal server error response has a 2xx status code

func (*ValidateEdgeClusterUpdateSpecInternalServerError) String

type ValidateEdgeClusterUpdateSpecOK

type ValidateEdgeClusterUpdateSpecOK struct {
	Payload *models.Validation
}

ValidateEdgeClusterUpdateSpecOK describes a response with status code 200, with default header values.

OK

func NewValidateEdgeClusterUpdateSpecOK

func NewValidateEdgeClusterUpdateSpecOK() *ValidateEdgeClusterUpdateSpecOK

NewValidateEdgeClusterUpdateSpecOK creates a ValidateEdgeClusterUpdateSpecOK with default headers values

func (*ValidateEdgeClusterUpdateSpecOK) Error

func (*ValidateEdgeClusterUpdateSpecOK) GetPayload

func (*ValidateEdgeClusterUpdateSpecOK) IsClientError

func (o *ValidateEdgeClusterUpdateSpecOK) IsClientError() bool

IsClientError returns true when this validate edge cluster update spec o k response has a 4xx status code

func (*ValidateEdgeClusterUpdateSpecOK) IsCode

func (o *ValidateEdgeClusterUpdateSpecOK) IsCode(code int) bool

IsCode returns true when this validate edge cluster update spec o k response a status code equal to that given

func (*ValidateEdgeClusterUpdateSpecOK) IsRedirect

func (o *ValidateEdgeClusterUpdateSpecOK) IsRedirect() bool

IsRedirect returns true when this validate edge cluster update spec o k response has a 3xx status code

func (*ValidateEdgeClusterUpdateSpecOK) IsServerError

func (o *ValidateEdgeClusterUpdateSpecOK) IsServerError() bool

IsServerError returns true when this validate edge cluster update spec o k response has a 5xx status code

func (*ValidateEdgeClusterUpdateSpecOK) IsSuccess

func (o *ValidateEdgeClusterUpdateSpecOK) IsSuccess() bool

IsSuccess returns true when this validate edge cluster update spec o k response has a 2xx status code

func (*ValidateEdgeClusterUpdateSpecOK) String

type ValidateEdgeClusterUpdateSpecParams

type ValidateEdgeClusterUpdateSpecParams struct {

	/* EdgeClusterUpdateSpec.

	   NSX-T Edge Cluster Update spec to be validated
	*/
	EdgeClusterUpdateSpec *models.EdgeClusterUpdateSpec

	/* ID.

	   NSX-T Edge cluster id
	*/
	ID string

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

ValidateEdgeClusterUpdateSpecParams contains all the parameters to send to the API endpoint

for the validate edge cluster update spec operation.

Typically these are written to a http.Request.

func NewValidateEdgeClusterUpdateSpecParams

func NewValidateEdgeClusterUpdateSpecParams() *ValidateEdgeClusterUpdateSpecParams

NewValidateEdgeClusterUpdateSpecParams creates a new ValidateEdgeClusterUpdateSpecParams 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 NewValidateEdgeClusterUpdateSpecParamsWithContext

func NewValidateEdgeClusterUpdateSpecParamsWithContext(ctx context.Context) *ValidateEdgeClusterUpdateSpecParams

NewValidateEdgeClusterUpdateSpecParamsWithContext creates a new ValidateEdgeClusterUpdateSpecParams object with the ability to set a context for a request.

func NewValidateEdgeClusterUpdateSpecParamsWithHTTPClient

func NewValidateEdgeClusterUpdateSpecParamsWithHTTPClient(client *http.Client) *ValidateEdgeClusterUpdateSpecParams

NewValidateEdgeClusterUpdateSpecParamsWithHTTPClient creates a new ValidateEdgeClusterUpdateSpecParams object with the ability to set a custom HTTPClient for a request.

func NewValidateEdgeClusterUpdateSpecParamsWithTimeout

func NewValidateEdgeClusterUpdateSpecParamsWithTimeout(timeout time.Duration) *ValidateEdgeClusterUpdateSpecParams

NewValidateEdgeClusterUpdateSpecParamsWithTimeout creates a new ValidateEdgeClusterUpdateSpecParams object with the ability to set a timeout on a request.

func (*ValidateEdgeClusterUpdateSpecParams) SetContext

SetContext adds the context to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) SetDefaults

func (o *ValidateEdgeClusterUpdateSpecParams) SetDefaults()

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

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

func (*ValidateEdgeClusterUpdateSpecParams) SetEdgeClusterUpdateSpec

func (o *ValidateEdgeClusterUpdateSpecParams) SetEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec)

SetEdgeClusterUpdateSpec adds the edgeClusterUpdateSpec to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) SetID

SetID adds the id to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) SetTimeout

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

SetTimeout adds the timeout to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WithContext

WithContext adds the context to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WithDefaults

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

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

func (*ValidateEdgeClusterUpdateSpecParams) WithEdgeClusterUpdateSpec

func (o *ValidateEdgeClusterUpdateSpecParams) WithEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec) *ValidateEdgeClusterUpdateSpecParams

WithEdgeClusterUpdateSpec adds the edgeClusterUpdateSpec to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WithID

WithID adds the id to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WithTimeout

WithTimeout adds the timeout to the validate edge cluster update spec params

func (*ValidateEdgeClusterUpdateSpecParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateEdgeClusterUpdateSpecReader

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

ValidateEdgeClusterUpdateSpecReader is a Reader for the ValidateEdgeClusterUpdateSpec structure.

func (*ValidateEdgeClusterUpdateSpecReader) ReadResponse

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