Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEdge(params *CreateEdgeParams, opts ...ClientOption) (*CreateEdgeOK, *CreateEdgeAccepted, error)
- func (a *Client) GetEdgeCluster(params *GetEdgeClusterParams, opts ...ClientOption) (*GetEdgeClusterOK, error)
- func (a *Client) GetEdgeClusters(params *GetEdgeClustersParams, opts ...ClientOption) (*GetEdgeClustersOK, error)
- func (a *Client) GetValidationForCreateEdgeCluster(params *GetValidationForCreateEdgeClusterParams, opts ...ClientOption) (*GetValidationForCreateEdgeClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEdgeCluster(params *UpdateEdgeClusterParams, opts ...ClientOption) (*UpdateEdgeClusterOK, *UpdateEdgeClusterAccepted, error)
- func (a *Client) ValidateEdgeClusterSpec(params *ValidateEdgeClusterSpecParams, opts ...ClientOption) (*ValidateEdgeClusterSpecOK, *ValidateEdgeClusterSpecAccepted, error)
- func (a *Client) ValidateEdgeClusterUpdateSpec(params *ValidateEdgeClusterUpdateSpecParams, opts ...ClientOption) (*ValidateEdgeClusterUpdateSpecOK, *ValidateEdgeClusterUpdateSpecAccepted, ...)
- type ClientOption
- type ClientService
- type CreateEdgeAccepted
- func (o *CreateEdgeAccepted) Error() string
- func (o *CreateEdgeAccepted) GetPayload() *models.Task
- func (o *CreateEdgeAccepted) IsClientError() bool
- func (o *CreateEdgeAccepted) IsCode(code int) bool
- func (o *CreateEdgeAccepted) IsRedirect() bool
- func (o *CreateEdgeAccepted) IsServerError() bool
- func (o *CreateEdgeAccepted) IsSuccess() bool
- func (o *CreateEdgeAccepted) String() string
- type CreateEdgeBadRequest
- func (o *CreateEdgeBadRequest) Error() string
- func (o *CreateEdgeBadRequest) GetPayload() *models.Error
- func (o *CreateEdgeBadRequest) IsClientError() bool
- func (o *CreateEdgeBadRequest) IsCode(code int) bool
- func (o *CreateEdgeBadRequest) IsRedirect() bool
- func (o *CreateEdgeBadRequest) IsServerError() bool
- func (o *CreateEdgeBadRequest) IsSuccess() bool
- func (o *CreateEdgeBadRequest) String() string
- type CreateEdgeInternalServerError
- func (o *CreateEdgeInternalServerError) Error() string
- func (o *CreateEdgeInternalServerError) GetPayload() *models.Error
- func (o *CreateEdgeInternalServerError) IsClientError() bool
- func (o *CreateEdgeInternalServerError) IsCode(code int) bool
- func (o *CreateEdgeInternalServerError) IsRedirect() bool
- func (o *CreateEdgeInternalServerError) IsServerError() bool
- func (o *CreateEdgeInternalServerError) IsSuccess() bool
- func (o *CreateEdgeInternalServerError) String() string
- type CreateEdgeOK
- func (o *CreateEdgeOK) Error() string
- func (o *CreateEdgeOK) GetPayload() *models.Task
- func (o *CreateEdgeOK) IsClientError() bool
- func (o *CreateEdgeOK) IsCode(code int) bool
- func (o *CreateEdgeOK) IsRedirect() bool
- func (o *CreateEdgeOK) IsServerError() bool
- func (o *CreateEdgeOK) IsSuccess() bool
- func (o *CreateEdgeOK) String() string
- type CreateEdgeParams
- func (o *CreateEdgeParams) SetContext(ctx context.Context)
- func (o *CreateEdgeParams) SetDefaults()
- func (o *CreateEdgeParams) SetEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec)
- func (o *CreateEdgeParams) SetHTTPClient(client *http.Client)
- func (o *CreateEdgeParams) SetTimeout(timeout time.Duration)
- func (o *CreateEdgeParams) WithContext(ctx context.Context) *CreateEdgeParams
- func (o *CreateEdgeParams) WithDefaults() *CreateEdgeParams
- func (o *CreateEdgeParams) WithEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec) *CreateEdgeParams
- func (o *CreateEdgeParams) WithHTTPClient(client *http.Client) *CreateEdgeParams
- func (o *CreateEdgeParams) WithTimeout(timeout time.Duration) *CreateEdgeParams
- func (o *CreateEdgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEdgeReader
- type GetEdgeClusterInternalServerError
- func (o *GetEdgeClusterInternalServerError) Error() string
- func (o *GetEdgeClusterInternalServerError) GetPayload() *models.Error
- func (o *GetEdgeClusterInternalServerError) IsClientError() bool
- func (o *GetEdgeClusterInternalServerError) IsCode(code int) bool
- func (o *GetEdgeClusterInternalServerError) IsRedirect() bool
- func (o *GetEdgeClusterInternalServerError) IsServerError() bool
- func (o *GetEdgeClusterInternalServerError) IsSuccess() bool
- func (o *GetEdgeClusterInternalServerError) String() string
- type GetEdgeClusterNotFound
- func (o *GetEdgeClusterNotFound) Error() string
- func (o *GetEdgeClusterNotFound) GetPayload() *models.Error
- func (o *GetEdgeClusterNotFound) IsClientError() bool
- func (o *GetEdgeClusterNotFound) IsCode(code int) bool
- func (o *GetEdgeClusterNotFound) IsRedirect() bool
- func (o *GetEdgeClusterNotFound) IsServerError() bool
- func (o *GetEdgeClusterNotFound) IsSuccess() bool
- func (o *GetEdgeClusterNotFound) String() string
- type GetEdgeClusterOK
- func (o *GetEdgeClusterOK) Error() string
- func (o *GetEdgeClusterOK) GetPayload() *models.EdgeCluster
- func (o *GetEdgeClusterOK) IsClientError() bool
- func (o *GetEdgeClusterOK) IsCode(code int) bool
- func (o *GetEdgeClusterOK) IsRedirect() bool
- func (o *GetEdgeClusterOK) IsServerError() bool
- func (o *GetEdgeClusterOK) IsSuccess() bool
- func (o *GetEdgeClusterOK) String() string
- type GetEdgeClusterParams
- func NewGetEdgeClusterParams() *GetEdgeClusterParams
- func NewGetEdgeClusterParamsWithContext(ctx context.Context) *GetEdgeClusterParams
- func NewGetEdgeClusterParamsWithHTTPClient(client *http.Client) *GetEdgeClusterParams
- func NewGetEdgeClusterParamsWithTimeout(timeout time.Duration) *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) SetContext(ctx context.Context)
- func (o *GetEdgeClusterParams) SetDefaults()
- func (o *GetEdgeClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetEdgeClusterParams) SetID(id string)
- func (o *GetEdgeClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetEdgeClusterParams) WithContext(ctx context.Context) *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) WithDefaults() *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) WithHTTPClient(client *http.Client) *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) WithID(id string) *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) WithTimeout(timeout time.Duration) *GetEdgeClusterParams
- func (o *GetEdgeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEdgeClusterReader
- type GetEdgeClustersBadRequest
- func (o *GetEdgeClustersBadRequest) Error() string
- func (o *GetEdgeClustersBadRequest) GetPayload() *models.Error
- func (o *GetEdgeClustersBadRequest) IsClientError() bool
- func (o *GetEdgeClustersBadRequest) IsCode(code int) bool
- func (o *GetEdgeClustersBadRequest) IsRedirect() bool
- func (o *GetEdgeClustersBadRequest) IsServerError() bool
- func (o *GetEdgeClustersBadRequest) IsSuccess() bool
- func (o *GetEdgeClustersBadRequest) String() string
- type GetEdgeClustersInternalServerError
- func (o *GetEdgeClustersInternalServerError) Error() string
- func (o *GetEdgeClustersInternalServerError) GetPayload() *models.Error
- func (o *GetEdgeClustersInternalServerError) IsClientError() bool
- func (o *GetEdgeClustersInternalServerError) IsCode(code int) bool
- func (o *GetEdgeClustersInternalServerError) IsRedirect() bool
- func (o *GetEdgeClustersInternalServerError) IsServerError() bool
- func (o *GetEdgeClustersInternalServerError) IsSuccess() bool
- func (o *GetEdgeClustersInternalServerError) String() string
- type GetEdgeClustersOK
- func (o *GetEdgeClustersOK) Error() string
- func (o *GetEdgeClustersOK) GetPayload() *models.PageOfEdgeCluster
- func (o *GetEdgeClustersOK) IsClientError() bool
- func (o *GetEdgeClustersOK) IsCode(code int) bool
- func (o *GetEdgeClustersOK) IsRedirect() bool
- func (o *GetEdgeClustersOK) IsServerError() bool
- func (o *GetEdgeClustersOK) IsSuccess() bool
- func (o *GetEdgeClustersOK) String() string
- type GetEdgeClustersParams
- func NewGetEdgeClustersParams() *GetEdgeClustersParams
- func NewGetEdgeClustersParamsWithContext(ctx context.Context) *GetEdgeClustersParams
- func NewGetEdgeClustersParamsWithHTTPClient(client *http.Client) *GetEdgeClustersParams
- func NewGetEdgeClustersParamsWithTimeout(timeout time.Duration) *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) SetClusterID(clusterID *string)
- func (o *GetEdgeClustersParams) SetContext(ctx context.Context)
- func (o *GetEdgeClustersParams) SetDefaults()
- func (o *GetEdgeClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetEdgeClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetEdgeClustersParams) WithClusterID(clusterID *string) *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) WithContext(ctx context.Context) *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) WithDefaults() *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) WithHTTPClient(client *http.Client) *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) WithTimeout(timeout time.Duration) *GetEdgeClustersParams
- func (o *GetEdgeClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEdgeClustersReader
- type GetValidationForCreateEdgeClusterBadRequest
- func (o *GetValidationForCreateEdgeClusterBadRequest) Error() string
- func (o *GetValidationForCreateEdgeClusterBadRequest) GetPayload() *models.Error
- func (o *GetValidationForCreateEdgeClusterBadRequest) IsClientError() bool
- func (o *GetValidationForCreateEdgeClusterBadRequest) IsCode(code int) bool
- func (o *GetValidationForCreateEdgeClusterBadRequest) IsRedirect() bool
- func (o *GetValidationForCreateEdgeClusterBadRequest) IsServerError() bool
- func (o *GetValidationForCreateEdgeClusterBadRequest) IsSuccess() bool
- func (o *GetValidationForCreateEdgeClusterBadRequest) String() string
- type GetValidationForCreateEdgeClusterInternalServerError
- func (o *GetValidationForCreateEdgeClusterInternalServerError) Error() string
- func (o *GetValidationForCreateEdgeClusterInternalServerError) IsClientError() bool
- func (o *GetValidationForCreateEdgeClusterInternalServerError) IsCode(code int) bool
- func (o *GetValidationForCreateEdgeClusterInternalServerError) IsRedirect() bool
- func (o *GetValidationForCreateEdgeClusterInternalServerError) IsServerError() bool
- func (o *GetValidationForCreateEdgeClusterInternalServerError) IsSuccess() bool
- func (o *GetValidationForCreateEdgeClusterInternalServerError) String() string
- type GetValidationForCreateEdgeClusterOK
- func (o *GetValidationForCreateEdgeClusterOK) Error() string
- func (o *GetValidationForCreateEdgeClusterOK) GetPayload() *models.Validation
- func (o *GetValidationForCreateEdgeClusterOK) IsClientError() bool
- func (o *GetValidationForCreateEdgeClusterOK) IsCode(code int) bool
- func (o *GetValidationForCreateEdgeClusterOK) IsRedirect() bool
- func (o *GetValidationForCreateEdgeClusterOK) IsServerError() bool
- func (o *GetValidationForCreateEdgeClusterOK) IsSuccess() bool
- func (o *GetValidationForCreateEdgeClusterOK) String() string
- type GetValidationForCreateEdgeClusterParams
- func NewGetValidationForCreateEdgeClusterParams() *GetValidationForCreateEdgeClusterParams
- func NewGetValidationForCreateEdgeClusterParamsWithContext(ctx context.Context) *GetValidationForCreateEdgeClusterParams
- func NewGetValidationForCreateEdgeClusterParamsWithHTTPClient(client *http.Client) *GetValidationForCreateEdgeClusterParams
- func NewGetValidationForCreateEdgeClusterParamsWithTimeout(timeout time.Duration) *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) SetContext(ctx context.Context)
- func (o *GetValidationForCreateEdgeClusterParams) SetDefaults()
- func (o *GetValidationForCreateEdgeClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetValidationForCreateEdgeClusterParams) SetID(id string)
- func (o *GetValidationForCreateEdgeClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetValidationForCreateEdgeClusterParams) WithContext(ctx context.Context) *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) WithDefaults() *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) WithHTTPClient(client *http.Client) *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) WithID(id string) *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) WithTimeout(timeout time.Duration) *GetValidationForCreateEdgeClusterParams
- func (o *GetValidationForCreateEdgeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetValidationForCreateEdgeClusterReader
- type UpdateEdgeClusterAccepted
- func (o *UpdateEdgeClusterAccepted) Error() string
- func (o *UpdateEdgeClusterAccepted) GetPayload() *models.Task
- func (o *UpdateEdgeClusterAccepted) IsClientError() bool
- func (o *UpdateEdgeClusterAccepted) IsCode(code int) bool
- func (o *UpdateEdgeClusterAccepted) IsRedirect() bool
- func (o *UpdateEdgeClusterAccepted) IsServerError() bool
- func (o *UpdateEdgeClusterAccepted) IsSuccess() bool
- func (o *UpdateEdgeClusterAccepted) String() string
- type UpdateEdgeClusterBadRequest
- func (o *UpdateEdgeClusterBadRequest) Error() string
- func (o *UpdateEdgeClusterBadRequest) GetPayload() *models.Error
- func (o *UpdateEdgeClusterBadRequest) IsClientError() bool
- func (o *UpdateEdgeClusterBadRequest) IsCode(code int) bool
- func (o *UpdateEdgeClusterBadRequest) IsRedirect() bool
- func (o *UpdateEdgeClusterBadRequest) IsServerError() bool
- func (o *UpdateEdgeClusterBadRequest) IsSuccess() bool
- func (o *UpdateEdgeClusterBadRequest) String() string
- type UpdateEdgeClusterInternalServerError
- func (o *UpdateEdgeClusterInternalServerError) Error() string
- func (o *UpdateEdgeClusterInternalServerError) GetPayload() *models.Error
- func (o *UpdateEdgeClusterInternalServerError) IsClientError() bool
- func (o *UpdateEdgeClusterInternalServerError) IsCode(code int) bool
- func (o *UpdateEdgeClusterInternalServerError) IsRedirect() bool
- func (o *UpdateEdgeClusterInternalServerError) IsServerError() bool
- func (o *UpdateEdgeClusterInternalServerError) IsSuccess() bool
- func (o *UpdateEdgeClusterInternalServerError) String() string
- type UpdateEdgeClusterNotImplemented
- func (o *UpdateEdgeClusterNotImplemented) Error() string
- func (o *UpdateEdgeClusterNotImplemented) GetPayload() *models.Error
- func (o *UpdateEdgeClusterNotImplemented) IsClientError() bool
- func (o *UpdateEdgeClusterNotImplemented) IsCode(code int) bool
- func (o *UpdateEdgeClusterNotImplemented) IsRedirect() bool
- func (o *UpdateEdgeClusterNotImplemented) IsServerError() bool
- func (o *UpdateEdgeClusterNotImplemented) IsSuccess() bool
- func (o *UpdateEdgeClusterNotImplemented) String() string
- type UpdateEdgeClusterOK
- func (o *UpdateEdgeClusterOK) Error() string
- func (o *UpdateEdgeClusterOK) GetPayload() *models.Task
- func (o *UpdateEdgeClusterOK) IsClientError() bool
- func (o *UpdateEdgeClusterOK) IsCode(code int) bool
- func (o *UpdateEdgeClusterOK) IsRedirect() bool
- func (o *UpdateEdgeClusterOK) IsServerError() bool
- func (o *UpdateEdgeClusterOK) IsSuccess() bool
- func (o *UpdateEdgeClusterOK) String() string
- type UpdateEdgeClusterParams
- func NewUpdateEdgeClusterParams() *UpdateEdgeClusterParams
- func NewUpdateEdgeClusterParamsWithContext(ctx context.Context) *UpdateEdgeClusterParams
- func NewUpdateEdgeClusterParamsWithHTTPClient(client *http.Client) *UpdateEdgeClusterParams
- func NewUpdateEdgeClusterParamsWithTimeout(timeout time.Duration) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) SetContext(ctx context.Context)
- func (o *UpdateEdgeClusterParams) SetDefaults()
- func (o *UpdateEdgeClusterParams) SetEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec)
- func (o *UpdateEdgeClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEdgeClusterParams) SetID(id string)
- func (o *UpdateEdgeClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEdgeClusterParams) WithContext(ctx context.Context) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WithDefaults() *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WithEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WithHTTPClient(client *http.Client) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WithID(id string) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WithTimeout(timeout time.Duration) *UpdateEdgeClusterParams
- func (o *UpdateEdgeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEdgeClusterReader
- type ValidateEdgeClusterSpecAccepted
- func (o *ValidateEdgeClusterSpecAccepted) Error() string
- func (o *ValidateEdgeClusterSpecAccepted) GetPayload() *models.Validation
- func (o *ValidateEdgeClusterSpecAccepted) IsClientError() bool
- func (o *ValidateEdgeClusterSpecAccepted) IsCode(code int) bool
- func (o *ValidateEdgeClusterSpecAccepted) IsRedirect() bool
- func (o *ValidateEdgeClusterSpecAccepted) IsServerError() bool
- func (o *ValidateEdgeClusterSpecAccepted) IsSuccess() bool
- func (o *ValidateEdgeClusterSpecAccepted) String() string
- type ValidateEdgeClusterSpecBadRequest
- func (o *ValidateEdgeClusterSpecBadRequest) Error() string
- func (o *ValidateEdgeClusterSpecBadRequest) GetPayload() *models.Error
- func (o *ValidateEdgeClusterSpecBadRequest) IsClientError() bool
- func (o *ValidateEdgeClusterSpecBadRequest) IsCode(code int) bool
- func (o *ValidateEdgeClusterSpecBadRequest) IsRedirect() bool
- func (o *ValidateEdgeClusterSpecBadRequest) IsServerError() bool
- func (o *ValidateEdgeClusterSpecBadRequest) IsSuccess() bool
- func (o *ValidateEdgeClusterSpecBadRequest) String() string
- type ValidateEdgeClusterSpecInternalServerError
- func (o *ValidateEdgeClusterSpecInternalServerError) Error() string
- func (o *ValidateEdgeClusterSpecInternalServerError) GetPayload() *models.Error
- func (o *ValidateEdgeClusterSpecInternalServerError) IsClientError() bool
- func (o *ValidateEdgeClusterSpecInternalServerError) IsCode(code int) bool
- func (o *ValidateEdgeClusterSpecInternalServerError) IsRedirect() bool
- func (o *ValidateEdgeClusterSpecInternalServerError) IsServerError() bool
- func (o *ValidateEdgeClusterSpecInternalServerError) IsSuccess() bool
- func (o *ValidateEdgeClusterSpecInternalServerError) String() string
- type ValidateEdgeClusterSpecOK
- func (o *ValidateEdgeClusterSpecOK) Error() string
- func (o *ValidateEdgeClusterSpecOK) GetPayload() *models.Validation
- func (o *ValidateEdgeClusterSpecOK) IsClientError() bool
- func (o *ValidateEdgeClusterSpecOK) IsCode(code int) bool
- func (o *ValidateEdgeClusterSpecOK) IsRedirect() bool
- func (o *ValidateEdgeClusterSpecOK) IsServerError() bool
- func (o *ValidateEdgeClusterSpecOK) IsSuccess() bool
- func (o *ValidateEdgeClusterSpecOK) String() string
- type ValidateEdgeClusterSpecParams
- func NewValidateEdgeClusterSpecParams() *ValidateEdgeClusterSpecParams
- func NewValidateEdgeClusterSpecParamsWithContext(ctx context.Context) *ValidateEdgeClusterSpecParams
- func NewValidateEdgeClusterSpecParamsWithHTTPClient(client *http.Client) *ValidateEdgeClusterSpecParams
- func NewValidateEdgeClusterSpecParamsWithTimeout(timeout time.Duration) *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) SetContext(ctx context.Context)
- func (o *ValidateEdgeClusterSpecParams) SetDefaults()
- func (o *ValidateEdgeClusterSpecParams) SetEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec)
- func (o *ValidateEdgeClusterSpecParams) SetHTTPClient(client *http.Client)
- func (o *ValidateEdgeClusterSpecParams) SetTimeout(timeout time.Duration)
- func (o *ValidateEdgeClusterSpecParams) WithContext(ctx context.Context) *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) WithDefaults() *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) WithEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec) *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) WithHTTPClient(client *http.Client) *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) WithTimeout(timeout time.Duration) *ValidateEdgeClusterSpecParams
- func (o *ValidateEdgeClusterSpecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateEdgeClusterSpecReader
- type ValidateEdgeClusterUpdateSpecAccepted
- func (o *ValidateEdgeClusterUpdateSpecAccepted) Error() string
- func (o *ValidateEdgeClusterUpdateSpecAccepted) GetPayload() *models.Validation
- func (o *ValidateEdgeClusterUpdateSpecAccepted) IsClientError() bool
- func (o *ValidateEdgeClusterUpdateSpecAccepted) IsCode(code int) bool
- func (o *ValidateEdgeClusterUpdateSpecAccepted) IsRedirect() bool
- func (o *ValidateEdgeClusterUpdateSpecAccepted) IsServerError() bool
- func (o *ValidateEdgeClusterUpdateSpecAccepted) IsSuccess() bool
- func (o *ValidateEdgeClusterUpdateSpecAccepted) String() string
- type ValidateEdgeClusterUpdateSpecBadRequest
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) Error() string
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) GetPayload() *models.Error
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsClientError() bool
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsCode(code int) bool
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsRedirect() bool
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsServerError() bool
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsSuccess() bool
- func (o *ValidateEdgeClusterUpdateSpecBadRequest) String() string
- type ValidateEdgeClusterUpdateSpecInternalServerError
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) Error() string
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) GetPayload() *models.Error
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsClientError() bool
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsCode(code int) bool
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsRedirect() bool
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsServerError() bool
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsSuccess() bool
- func (o *ValidateEdgeClusterUpdateSpecInternalServerError) String() string
- type ValidateEdgeClusterUpdateSpecOK
- func (o *ValidateEdgeClusterUpdateSpecOK) Error() string
- func (o *ValidateEdgeClusterUpdateSpecOK) GetPayload() *models.Validation
- func (o *ValidateEdgeClusterUpdateSpecOK) IsClientError() bool
- func (o *ValidateEdgeClusterUpdateSpecOK) IsCode(code int) bool
- func (o *ValidateEdgeClusterUpdateSpecOK) IsRedirect() bool
- func (o *ValidateEdgeClusterUpdateSpecOK) IsServerError() bool
- func (o *ValidateEdgeClusterUpdateSpecOK) IsSuccess() bool
- func (o *ValidateEdgeClusterUpdateSpecOK) String() string
- type ValidateEdgeClusterUpdateSpecParams
- func NewValidateEdgeClusterUpdateSpecParams() *ValidateEdgeClusterUpdateSpecParams
- func NewValidateEdgeClusterUpdateSpecParamsWithContext(ctx context.Context) *ValidateEdgeClusterUpdateSpecParams
- func NewValidateEdgeClusterUpdateSpecParamsWithHTTPClient(client *http.Client) *ValidateEdgeClusterUpdateSpecParams
- func NewValidateEdgeClusterUpdateSpecParamsWithTimeout(timeout time.Duration) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) SetContext(ctx context.Context)
- func (o *ValidateEdgeClusterUpdateSpecParams) SetDefaults()
- func (o *ValidateEdgeClusterUpdateSpecParams) SetEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec)
- func (o *ValidateEdgeClusterUpdateSpecParams) SetHTTPClient(client *http.Client)
- func (o *ValidateEdgeClusterUpdateSpecParams) SetID(id string)
- func (o *ValidateEdgeClusterUpdateSpecParams) SetTimeout(timeout time.Duration)
- func (o *ValidateEdgeClusterUpdateSpecParams) WithContext(ctx context.Context) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WithDefaults() *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WithEdgeClusterUpdateSpec(edgeClusterUpdateSpec *models.EdgeClusterUpdateSpec) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WithHTTPClient(client *http.Client) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WithID(id string) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WithTimeout(timeout time.Duration) *ValidateEdgeClusterUpdateSpecParams
- func (o *ValidateEdgeClusterUpdateSpecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateEdgeClusterUpdateSpecReader
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 ¶
func (a *Client) UpdateEdgeCluster(params *UpdateEdgeClusterParams, opts ...ClientOption) (*UpdateEdgeClusterOK, *UpdateEdgeClusterAccepted, error)
UpdateEdgeCluster expands or shrink an n s x t edge cluster
func (*Client) ValidateEdgeClusterSpec ¶
func (a *Client) ValidateEdgeClusterSpec(params *ValidateEdgeClusterSpecParams, opts ...ClientOption) (*ValidateEdgeClusterSpecOK, *ValidateEdgeClusterSpecAccepted, error)
ValidateEdgeClusterSpec validates an edge cluster spec
func (*Client) ValidateEdgeClusterUpdateSpec ¶
func (a *Client) ValidateEdgeClusterUpdateSpec(params *ValidateEdgeClusterUpdateSpecParams, opts ...ClientOption) (*ValidateEdgeClusterUpdateSpecOK, *ValidateEdgeClusterUpdateSpecAccepted, error)
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 ¶
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 ¶
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 ¶
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 (o *CreateEdgeInternalServerError) Error() string
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 ¶
func (o *CreateEdgeInternalServerError) String() string
type CreateEdgeOK ¶
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
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 (o *GetEdgeClusterInternalServerError) Error() string
func (*GetEdgeClusterInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetEdgeClusterInternalServerError) GetPayload() *models.Error
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
func (o *GetEdgeClusterInternalServerError) String() string
type GetEdgeClusterNotFound ¶ added in v0.1.1
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
func (o *GetEdgeClusterParams) WithContext(ctx context.Context) *GetEdgeClusterParams
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
func (o *GetEdgeClusterParams) WithID(id string) *GetEdgeClusterParams
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
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
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 (o *GetEdgeClustersInternalServerError) Error() string
func (*GetEdgeClustersInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetEdgeClustersInternalServerError) GetPayload() *models.Error
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
func (o *GetEdgeClustersInternalServerError) IsCode(code int) bool
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
func (o *GetEdgeClustersInternalServerError) IsSuccess() bool
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
func (o *GetEdgeClustersInternalServerError) String() string
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
func (o *GetEdgeClustersParams) WithContext(ctx context.Context) *GetEdgeClustersParams
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
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 (o *GetValidationForCreateEdgeClusterBadRequest) Error() string
func (*GetValidationForCreateEdgeClusterBadRequest) GetPayload ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterBadRequest) GetPayload() *models.Error
func (*GetValidationForCreateEdgeClusterBadRequest) IsClientError ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterBadRequest) IsClientError() bool
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
func (o *GetValidationForCreateEdgeClusterBadRequest) IsCode(code int) bool
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
func (o *GetValidationForCreateEdgeClusterBadRequest) IsRedirect() bool
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
func (o *GetValidationForCreateEdgeClusterBadRequest) IsServerError() bool
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
func (o *GetValidationForCreateEdgeClusterBadRequest) IsSuccess() bool
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
func (o *GetValidationForCreateEdgeClusterBadRequest) String() string
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 (o *GetValidationForCreateEdgeClusterInternalServerError) Error() string
func (*GetValidationForCreateEdgeClusterInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterInternalServerError) IsClientError() bool
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
func (o *GetValidationForCreateEdgeClusterInternalServerError) IsCode(code int) bool
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
func (o *GetValidationForCreateEdgeClusterInternalServerError) IsRedirect() bool
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
func (o *GetValidationForCreateEdgeClusterInternalServerError) IsServerError() bool
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
func (o *GetValidationForCreateEdgeClusterInternalServerError) IsSuccess() bool
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
func (o *GetValidationForCreateEdgeClusterInternalServerError) String() string
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 (o *GetValidationForCreateEdgeClusterOK) Error() string
func (*GetValidationForCreateEdgeClusterOK) GetPayload ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterOK) GetPayload() *models.Validation
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
func (o *GetValidationForCreateEdgeClusterOK) IsCode(code int) bool
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
func (o *GetValidationForCreateEdgeClusterOK) IsSuccess() bool
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
func (o *GetValidationForCreateEdgeClusterOK) String() string
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
func (o *GetValidationForCreateEdgeClusterParams) SetContext(ctx context.Context)
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
func (o *GetValidationForCreateEdgeClusterParams) SetID(id string)
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
func (o *GetValidationForCreateEdgeClusterParams) WithContext(ctx context.Context) *GetValidationForCreateEdgeClusterParams
WithContext adds the context to the get validation for create edge cluster params
func (*GetValidationForCreateEdgeClusterParams) WithDefaults ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterParams) WithDefaults() *GetValidationForCreateEdgeClusterParams
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
func (o *GetValidationForCreateEdgeClusterParams) WithHTTPClient(client *http.Client) *GetValidationForCreateEdgeClusterParams
WithHTTPClient adds the HTTPClient to the get validation for create edge cluster params
func (*GetValidationForCreateEdgeClusterParams) WithID ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterParams) WithID(id string) *GetValidationForCreateEdgeClusterParams
WithID adds the id to the get validation for create edge cluster params
func (*GetValidationForCreateEdgeClusterParams) WithTimeout ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterParams) WithTimeout(timeout time.Duration) *GetValidationForCreateEdgeClusterParams
WithTimeout adds the timeout to the get validation for create edge cluster params
func (*GetValidationForCreateEdgeClusterParams) WriteToRequest ¶ added in v0.1.1
func (o *GetValidationForCreateEdgeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 (o *UpdateEdgeClusterBadRequest) Error() string
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 ¶
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 (o *UpdateEdgeClusterInternalServerError) Error() string
func (*UpdateEdgeClusterInternalServerError) GetPayload ¶
func (o *UpdateEdgeClusterInternalServerError) GetPayload() *models.Error
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 ¶
func (o *UpdateEdgeClusterInternalServerError) IsCode(code int) bool
IsCode returns true when this update edge cluster internal server error response a status code equal to that given
func (*UpdateEdgeClusterInternalServerError) IsRedirect ¶
func (o *UpdateEdgeClusterInternalServerError) IsRedirect() bool
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 ¶
func (o *UpdateEdgeClusterInternalServerError) IsSuccess() bool
IsSuccess returns true when this update edge cluster internal server error response has a 2xx status code
func (*UpdateEdgeClusterInternalServerError) String ¶
func (o *UpdateEdgeClusterInternalServerError) String() string
type UpdateEdgeClusterNotImplemented ¶
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 (o *UpdateEdgeClusterNotImplemented) Error() string
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 ¶
func (o *UpdateEdgeClusterNotImplemented) String() string
type UpdateEdgeClusterOK ¶
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 ¶
func (o *UpdateEdgeClusterParams) WithContext(ctx context.Context) *UpdateEdgeClusterParams
WithContext adds the context to the update edge cluster params
func (*UpdateEdgeClusterParams) WithDefaults ¶
func (o *UpdateEdgeClusterParams) WithDefaults() *UpdateEdgeClusterParams
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 ¶
func (o *UpdateEdgeClusterParams) WithID(id string) *UpdateEdgeClusterParams
WithID adds the id to the update edge cluster params
func (*UpdateEdgeClusterParams) WithTimeout ¶
func (o *UpdateEdgeClusterParams) WithTimeout(timeout time.Duration) *UpdateEdgeClusterParams
WithTimeout adds the timeout to the update edge cluster params
func (*UpdateEdgeClusterParams) WriteToRequest ¶
func (o *UpdateEdgeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateEdgeClusterSpecAccepted) Error() string
func (*ValidateEdgeClusterSpecAccepted) GetPayload ¶
func (o *ValidateEdgeClusterSpecAccepted) GetPayload() *models.Validation
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 ¶
func (o *ValidateEdgeClusterSpecAccepted) String() string
type ValidateEdgeClusterSpecBadRequest ¶
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 (o *ValidateEdgeClusterSpecBadRequest) Error() string
func (*ValidateEdgeClusterSpecBadRequest) GetPayload ¶
func (o *ValidateEdgeClusterSpecBadRequest) GetPayload() *models.Error
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 ¶
func (o *ValidateEdgeClusterSpecBadRequest) String() string
type ValidateEdgeClusterSpecInternalServerError ¶
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 (o *ValidateEdgeClusterSpecInternalServerError) Error() string
func (*ValidateEdgeClusterSpecInternalServerError) GetPayload ¶
func (o *ValidateEdgeClusterSpecInternalServerError) GetPayload() *models.Error
func (*ValidateEdgeClusterSpecInternalServerError) IsClientError ¶
func (o *ValidateEdgeClusterSpecInternalServerError) IsClientError() bool
IsClientError returns true when this validate edge cluster spec internal server error response has a 4xx status code
func (*ValidateEdgeClusterSpecInternalServerError) IsCode ¶
func (o *ValidateEdgeClusterSpecInternalServerError) IsCode(code int) bool
IsCode returns true when this validate edge cluster spec internal server error response a status code equal to that given
func (*ValidateEdgeClusterSpecInternalServerError) IsRedirect ¶
func (o *ValidateEdgeClusterSpecInternalServerError) IsRedirect() bool
IsRedirect returns true when this validate edge cluster spec internal server error response has a 3xx status code
func (*ValidateEdgeClusterSpecInternalServerError) IsServerError ¶
func (o *ValidateEdgeClusterSpecInternalServerError) IsServerError() bool
IsServerError returns true when this validate edge cluster spec internal server error response has a 5xx status code
func (*ValidateEdgeClusterSpecInternalServerError) IsSuccess ¶
func (o *ValidateEdgeClusterSpecInternalServerError) IsSuccess() bool
IsSuccess returns true when this validate edge cluster spec internal server error response has a 2xx status code
func (*ValidateEdgeClusterSpecInternalServerError) String ¶
func (o *ValidateEdgeClusterSpecInternalServerError) String() 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 ¶
func (o *ValidateEdgeClusterSpecParams) WithContext(ctx context.Context) *ValidateEdgeClusterSpecParams
WithContext adds the context to the validate edge cluster spec params
func (*ValidateEdgeClusterSpecParams) WithDefaults ¶
func (o *ValidateEdgeClusterSpecParams) WithDefaults() *ValidateEdgeClusterSpecParams
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 ¶
func (o *ValidateEdgeClusterSpecParams) WithEdgeCreationSpec(edgeCreationSpec *models.EdgeClusterCreationSpec) *ValidateEdgeClusterSpecParams
WithEdgeCreationSpec adds the edgeCreationSpec to the validate edge cluster spec params
func (*ValidateEdgeClusterSpecParams) WithHTTPClient ¶
func (o *ValidateEdgeClusterSpecParams) WithHTTPClient(client *http.Client) *ValidateEdgeClusterSpecParams
WithHTTPClient adds the HTTPClient to the validate edge cluster spec params
func (*ValidateEdgeClusterSpecParams) WithTimeout ¶
func (o *ValidateEdgeClusterSpecParams) WithTimeout(timeout time.Duration) *ValidateEdgeClusterSpecParams
WithTimeout adds the timeout to the validate edge cluster spec params
func (*ValidateEdgeClusterSpecParams) WriteToRequest ¶
func (o *ValidateEdgeClusterSpecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateEdgeClusterUpdateSpecAccepted) Error() string
func (*ValidateEdgeClusterUpdateSpecAccepted) GetPayload ¶
func (o *ValidateEdgeClusterUpdateSpecAccepted) GetPayload() *models.Validation
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 ¶
func (o *ValidateEdgeClusterUpdateSpecAccepted) IsCode(code int) bool
IsCode returns true when this validate edge cluster update spec accepted response a status code equal to that given
func (*ValidateEdgeClusterUpdateSpecAccepted) IsRedirect ¶
func (o *ValidateEdgeClusterUpdateSpecAccepted) IsRedirect() bool
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 ¶
func (o *ValidateEdgeClusterUpdateSpecAccepted) IsSuccess() bool
IsSuccess returns true when this validate edge cluster update spec accepted response has a 2xx status code
func (*ValidateEdgeClusterUpdateSpecAccepted) String ¶
func (o *ValidateEdgeClusterUpdateSpecAccepted) String() string
type ValidateEdgeClusterUpdateSpecBadRequest ¶
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 (o *ValidateEdgeClusterUpdateSpecBadRequest) Error() string
func (*ValidateEdgeClusterUpdateSpecBadRequest) GetPayload ¶
func (o *ValidateEdgeClusterUpdateSpecBadRequest) GetPayload() *models.Error
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 ¶
func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsCode(code int) bool
IsCode returns true when this validate edge cluster update spec bad request response a status code equal to that given
func (*ValidateEdgeClusterUpdateSpecBadRequest) IsRedirect ¶
func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsRedirect() bool
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 ¶
func (o *ValidateEdgeClusterUpdateSpecBadRequest) IsSuccess() bool
IsSuccess returns true when this validate edge cluster update spec bad request response has a 2xx status code
func (*ValidateEdgeClusterUpdateSpecBadRequest) String ¶
func (o *ValidateEdgeClusterUpdateSpecBadRequest) String() string
type ValidateEdgeClusterUpdateSpecInternalServerError ¶
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 (o *ValidateEdgeClusterUpdateSpecInternalServerError) Error() string
func (*ValidateEdgeClusterUpdateSpecInternalServerError) GetPayload ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) GetPayload() *models.Error
func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsClientError ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsClientError() bool
IsClientError returns true when this validate edge cluster update spec internal server error response has a 4xx status code
func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsCode ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsCode(code int) bool
IsCode returns true when this validate edge cluster update spec internal server error response a status code equal to that given
func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsRedirect ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsRedirect() bool
IsRedirect returns true when this validate edge cluster update spec internal server error response has a 3xx status code
func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsServerError ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsServerError() bool
IsServerError returns true when this validate edge cluster update spec internal server error response has a 5xx status code
func (*ValidateEdgeClusterUpdateSpecInternalServerError) IsSuccess ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) IsSuccess() bool
IsSuccess returns true when this validate edge cluster update spec internal server error response has a 2xx status code
func (*ValidateEdgeClusterUpdateSpecInternalServerError) String ¶
func (o *ValidateEdgeClusterUpdateSpecInternalServerError) String() 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 (o *ValidateEdgeClusterUpdateSpecOK) Error() string
func (*ValidateEdgeClusterUpdateSpecOK) GetPayload ¶
func (o *ValidateEdgeClusterUpdateSpecOK) GetPayload() *models.Validation
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 ¶
func (o *ValidateEdgeClusterUpdateSpecOK) String() 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 ¶
func (o *ValidateEdgeClusterUpdateSpecParams) SetContext(ctx context.Context)
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 ¶
func (o *ValidateEdgeClusterUpdateSpecParams) SetID(id string)
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 ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WithContext(ctx context.Context) *ValidateEdgeClusterUpdateSpecParams
WithContext adds the context to the validate edge cluster update spec params
func (*ValidateEdgeClusterUpdateSpecParams) WithDefaults ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WithDefaults() *ValidateEdgeClusterUpdateSpecParams
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 ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WithHTTPClient(client *http.Client) *ValidateEdgeClusterUpdateSpecParams
WithHTTPClient adds the HTTPClient to the validate edge cluster update spec params
func (*ValidateEdgeClusterUpdateSpecParams) WithID ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WithID(id string) *ValidateEdgeClusterUpdateSpecParams
WithID adds the id to the validate edge cluster update spec params
func (*ValidateEdgeClusterUpdateSpecParams) WithTimeout ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WithTimeout(timeout time.Duration) *ValidateEdgeClusterUpdateSpecParams
WithTimeout adds the timeout to the validate edge cluster update spec params
func (*ValidateEdgeClusterUpdateSpecParams) WriteToRequest ¶
func (o *ValidateEdgeClusterUpdateSpecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_edge_parameters.go
- create_edge_responses.go
- get_edge_cluster_parameters.go
- get_edge_cluster_responses.go
- get_edge_clusters_parameters.go
- get_edge_clusters_responses.go
- get_validation_for_create_edge_cluster_parameters.go
- get_validation_for_create_edge_cluster_responses.go
- nsxt_edge_clusters_client.go
- update_edge_cluster_parameters.go
- update_edge_cluster_responses.go
- validate_edge_cluster_spec_parameters.go
- validate_edge_cluster_spec_responses.go
- validate_edge_cluster_update_spec_parameters.go
- validate_edge_cluster_update_spec_responses.go