Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteSnapshotRepository(params *DeleteSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSnapshotRepositoryOK, *DeleteSnapshotRepositoryAccepted, error)
- func (a *Client) GetSnapshotRepositories(params *GetSnapshotRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSnapshotRepositoriesOK, error)
- func (a *Client) GetSnapshotRepository(params *GetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSnapshotRepositoryOK, error)
- func (a *Client) SetSnapshotRepository(params *SetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetSnapshotRepositoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteSnapshotRepositoryAccepted
- func (o *DeleteSnapshotRepositoryAccepted) Code() int
- func (o *DeleteSnapshotRepositoryAccepted) Error() string
- func (o *DeleteSnapshotRepositoryAccepted) GetPayload() models.EmptyResponse
- func (o *DeleteSnapshotRepositoryAccepted) IsClientError() bool
- func (o *DeleteSnapshotRepositoryAccepted) IsCode(code int) bool
- func (o *DeleteSnapshotRepositoryAccepted) IsRedirect() bool
- func (o *DeleteSnapshotRepositoryAccepted) IsServerError() bool
- func (o *DeleteSnapshotRepositoryAccepted) IsSuccess() bool
- func (o *DeleteSnapshotRepositoryAccepted) String() string
- type DeleteSnapshotRepositoryInternalServerError
- func (o *DeleteSnapshotRepositoryInternalServerError) Code() int
- func (o *DeleteSnapshotRepositoryInternalServerError) Error() string
- func (o *DeleteSnapshotRepositoryInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *DeleteSnapshotRepositoryInternalServerError) IsClientError() bool
- func (o *DeleteSnapshotRepositoryInternalServerError) IsCode(code int) bool
- func (o *DeleteSnapshotRepositoryInternalServerError) IsRedirect() bool
- func (o *DeleteSnapshotRepositoryInternalServerError) IsServerError() bool
- func (o *DeleteSnapshotRepositoryInternalServerError) IsSuccess() bool
- func (o *DeleteSnapshotRepositoryInternalServerError) String() string
- type DeleteSnapshotRepositoryOK
- func (o *DeleteSnapshotRepositoryOK) Code() int
- func (o *DeleteSnapshotRepositoryOK) Error() string
- func (o *DeleteSnapshotRepositoryOK) GetPayload() models.EmptyResponse
- func (o *DeleteSnapshotRepositoryOK) IsClientError() bool
- func (o *DeleteSnapshotRepositoryOK) IsCode(code int) bool
- func (o *DeleteSnapshotRepositoryOK) IsRedirect() bool
- func (o *DeleteSnapshotRepositoryOK) IsServerError() bool
- func (o *DeleteSnapshotRepositoryOK) IsSuccess() bool
- func (o *DeleteSnapshotRepositoryOK) String() string
- type DeleteSnapshotRepositoryParams
- func NewDeleteSnapshotRepositoryParams() *DeleteSnapshotRepositoryParams
- func NewDeleteSnapshotRepositoryParamsWithContext(ctx context.Context) *DeleteSnapshotRepositoryParams
- func NewDeleteSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *DeleteSnapshotRepositoryParams
- func NewDeleteSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) SetCleanupDeployments(cleanupDeployments *bool)
- func (o *DeleteSnapshotRepositoryParams) SetContext(ctx context.Context)
- func (o *DeleteSnapshotRepositoryParams) SetDefaults()
- func (o *DeleteSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *DeleteSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSnapshotRepositoryParams) WithCleanupDeployments(cleanupDeployments *bool) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WithContext(ctx context.Context) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WithDefaults() *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *DeleteSnapshotRepositoryParams
- func (o *DeleteSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSnapshotRepositoryReader
- type GetSnapshotRepositoriesOK
- func (o *GetSnapshotRepositoriesOK) Code() int
- func (o *GetSnapshotRepositoriesOK) Error() string
- func (o *GetSnapshotRepositoriesOK) GetPayload() *models.RepositoryConfigs
- func (o *GetSnapshotRepositoriesOK) IsClientError() bool
- func (o *GetSnapshotRepositoriesOK) IsCode(code int) bool
- func (o *GetSnapshotRepositoriesOK) IsRedirect() bool
- func (o *GetSnapshotRepositoriesOK) IsServerError() bool
- func (o *GetSnapshotRepositoriesOK) IsSuccess() bool
- func (o *GetSnapshotRepositoriesOK) String() string
- type GetSnapshotRepositoriesParams
- func NewGetSnapshotRepositoriesParams() *GetSnapshotRepositoriesParams
- func NewGetSnapshotRepositoriesParamsWithContext(ctx context.Context) *GetSnapshotRepositoriesParams
- func NewGetSnapshotRepositoriesParamsWithHTTPClient(client *http.Client) *GetSnapshotRepositoriesParams
- func NewGetSnapshotRepositoriesParamsWithTimeout(timeout time.Duration) *GetSnapshotRepositoriesParams
- func (o *GetSnapshotRepositoriesParams) SetContext(ctx context.Context)
- func (o *GetSnapshotRepositoriesParams) SetDefaults()
- func (o *GetSnapshotRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotRepositoriesParams) WithContext(ctx context.Context) *GetSnapshotRepositoriesParams
- func (o *GetSnapshotRepositoriesParams) WithDefaults() *GetSnapshotRepositoriesParams
- func (o *GetSnapshotRepositoriesParams) WithHTTPClient(client *http.Client) *GetSnapshotRepositoriesParams
- func (o *GetSnapshotRepositoriesParams) WithTimeout(timeout time.Duration) *GetSnapshotRepositoriesParams
- func (o *GetSnapshotRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotRepositoriesReader
- type GetSnapshotRepositoryOK
- func (o *GetSnapshotRepositoryOK) Code() int
- func (o *GetSnapshotRepositoryOK) Error() string
- func (o *GetSnapshotRepositoryOK) GetPayload() *models.RepositoryConfig
- func (o *GetSnapshotRepositoryOK) IsClientError() bool
- func (o *GetSnapshotRepositoryOK) IsCode(code int) bool
- func (o *GetSnapshotRepositoryOK) IsRedirect() bool
- func (o *GetSnapshotRepositoryOK) IsServerError() bool
- func (o *GetSnapshotRepositoryOK) IsSuccess() bool
- func (o *GetSnapshotRepositoryOK) String() string
- type GetSnapshotRepositoryParams
- func NewGetSnapshotRepositoryParams() *GetSnapshotRepositoryParams
- func NewGetSnapshotRepositoryParamsWithContext(ctx context.Context) *GetSnapshotRepositoryParams
- func NewGetSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *GetSnapshotRepositoryParams
- func NewGetSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) SetContext(ctx context.Context)
- func (o *GetSnapshotRepositoryParams) SetDefaults()
- func (o *GetSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *GetSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetSnapshotRepositoryParams) WithContext(ctx context.Context) *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) WithDefaults() *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *GetSnapshotRepositoryParams
- func (o *GetSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSnapshotRepositoryReader
- type SetSnapshotRepositoryOK
- func (o *SetSnapshotRepositoryOK) Code() int
- func (o *SetSnapshotRepositoryOK) Error() string
- func (o *SetSnapshotRepositoryOK) GetPayload() *models.RepositoryConfig
- func (o *SetSnapshotRepositoryOK) IsClientError() bool
- func (o *SetSnapshotRepositoryOK) IsCode(code int) bool
- func (o *SetSnapshotRepositoryOK) IsRedirect() bool
- func (o *SetSnapshotRepositoryOK) IsServerError() bool
- func (o *SetSnapshotRepositoryOK) IsSuccess() bool
- func (o *SetSnapshotRepositoryOK) String() string
- type SetSnapshotRepositoryParams
- func NewSetSnapshotRepositoryParams() *SetSnapshotRepositoryParams
- func NewSetSnapshotRepositoryParamsWithContext(ctx context.Context) *SetSnapshotRepositoryParams
- func NewSetSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *SetSnapshotRepositoryParams
- func NewSetSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) SetBody(body *models.SnapshotRepositoryConfiguration)
- func (o *SetSnapshotRepositoryParams) SetContext(ctx context.Context)
- func (o *SetSnapshotRepositoryParams) SetDefaults()
- func (o *SetSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *SetSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *SetSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *SetSnapshotRepositoryParams) SetVersion(version *int64)
- func (o *SetSnapshotRepositoryParams) WithBody(body *models.SnapshotRepositoryConfiguration) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithContext(ctx context.Context) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithDefaults() *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WithVersion(version *int64) *SetSnapshotRepositoryParams
- func (o *SetSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetSnapshotRepositoryReader
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 platform configuration snapshots API
func (*Client) DeleteSnapshotRepository ¶
func (a *Client) DeleteSnapshotRepository(params *DeleteSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotRepositoryOK, *DeleteSnapshotRepositoryAccepted, error)
DeleteSnapshotRepository deletes snapshot repository
Deletes the snapshot repository configuration.
func (*Client) GetSnapshotRepositories ¶
func (a *Client) GetSnapshotRepositories(params *GetSnapshotRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotRepositoriesOK, error)
GetSnapshotRepositories gets snapshot repositories
Retrieves a list of available snapshot repository configurations. To access the configuration contents, you must have privileged permissions.
func (*Client) GetSnapshotRepository ¶
func (a *Client) GetSnapshotRepository(params *GetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotRepositoryOK, error)
GetSnapshotRepository gets snapshot repository
Retrieves the snapshot repository configuration. To access the configuration contents, you must have privileged permissions.
func (*Client) SetSnapshotRepository ¶
func (a *Client) SetSnapshotRepository(params *SetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetSnapshotRepositoryOK, error)
SetSnapshotRepository sets snapshot repository
Creates or updates the snapshot repository configuration.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteSnapshotRepository(params *DeleteSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSnapshotRepositoryOK, *DeleteSnapshotRepositoryAccepted, error) GetSnapshotRepositories(params *GetSnapshotRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotRepositoriesOK, error) GetSnapshotRepository(params *GetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSnapshotRepositoryOK, error) SetSnapshotRepository(params *SetSnapshotRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetSnapshotRepositoryOK, 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 platform configuration snapshots API client.
type DeleteSnapshotRepositoryAccepted ¶
type DeleteSnapshotRepositoryAccepted struct {
Payload models.EmptyResponse
}
DeleteSnapshotRepositoryAccepted describes a response with status code 202, with default header values.
Delete snapshot repository config
func NewDeleteSnapshotRepositoryAccepted ¶
func NewDeleteSnapshotRepositoryAccepted() *DeleteSnapshotRepositoryAccepted
NewDeleteSnapshotRepositoryAccepted creates a DeleteSnapshotRepositoryAccepted with default headers values
func (*DeleteSnapshotRepositoryAccepted) Code ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) Code() int
Code gets the status code for the delete snapshot repository accepted response
func (*DeleteSnapshotRepositoryAccepted) Error ¶
func (o *DeleteSnapshotRepositoryAccepted) Error() string
func (*DeleteSnapshotRepositoryAccepted) GetPayload ¶
func (o *DeleteSnapshotRepositoryAccepted) GetPayload() models.EmptyResponse
func (*DeleteSnapshotRepositoryAccepted) IsClientError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) IsClientError() bool
IsClientError returns true when this delete snapshot repository accepted response has a 4xx status code
func (*DeleteSnapshotRepositoryAccepted) IsCode ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) IsCode(code int) bool
IsCode returns true when this delete snapshot repository accepted response a status code equal to that given
func (*DeleteSnapshotRepositoryAccepted) IsRedirect ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) IsRedirect() bool
IsRedirect returns true when this delete snapshot repository accepted response has a 3xx status code
func (*DeleteSnapshotRepositoryAccepted) IsServerError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) IsServerError() bool
IsServerError returns true when this delete snapshot repository accepted response has a 5xx status code
func (*DeleteSnapshotRepositoryAccepted) IsSuccess ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) IsSuccess() bool
IsSuccess returns true when this delete snapshot repository accepted response has a 2xx status code
func (*DeleteSnapshotRepositoryAccepted) String ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryAccepted) String() string
type DeleteSnapshotRepositoryInternalServerError ¶
type DeleteSnapshotRepositoryInternalServerError struct {
Payload *models.BasicFailedReply
}
DeleteSnapshotRepositoryInternalServerError describes a response with status code 500, with default header values.
Failed to delete references and disable snapshots in one or more referencing clusters.
func NewDeleteSnapshotRepositoryInternalServerError ¶
func NewDeleteSnapshotRepositoryInternalServerError() *DeleteSnapshotRepositoryInternalServerError
NewDeleteSnapshotRepositoryInternalServerError creates a DeleteSnapshotRepositoryInternalServerError with default headers values
func (*DeleteSnapshotRepositoryInternalServerError) Code ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) Code() int
Code gets the status code for the delete snapshot repository internal server error response
func (*DeleteSnapshotRepositoryInternalServerError) Error ¶
func (o *DeleteSnapshotRepositoryInternalServerError) Error() string
func (*DeleteSnapshotRepositoryInternalServerError) GetPayload ¶
func (o *DeleteSnapshotRepositoryInternalServerError) GetPayload() *models.BasicFailedReply
func (*DeleteSnapshotRepositoryInternalServerError) IsClientError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) IsClientError() bool
IsClientError returns true when this delete snapshot repository internal server error response has a 4xx status code
func (*DeleteSnapshotRepositoryInternalServerError) IsCode ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) IsCode(code int) bool
IsCode returns true when this delete snapshot repository internal server error response a status code equal to that given
func (*DeleteSnapshotRepositoryInternalServerError) IsRedirect ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete snapshot repository internal server error response has a 3xx status code
func (*DeleteSnapshotRepositoryInternalServerError) IsServerError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) IsServerError() bool
IsServerError returns true when this delete snapshot repository internal server error response has a 5xx status code
func (*DeleteSnapshotRepositoryInternalServerError) IsSuccess ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete snapshot repository internal server error response has a 2xx status code
func (*DeleteSnapshotRepositoryInternalServerError) String ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryInternalServerError) String() string
type DeleteSnapshotRepositoryOK ¶
type DeleteSnapshotRepositoryOK struct {
Payload models.EmptyResponse
}
DeleteSnapshotRepositoryOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteSnapshotRepositoryOK ¶
func NewDeleteSnapshotRepositoryOK() *DeleteSnapshotRepositoryOK
NewDeleteSnapshotRepositoryOK creates a DeleteSnapshotRepositoryOK with default headers values
func (*DeleteSnapshotRepositoryOK) Code ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) Code() int
Code gets the status code for the delete snapshot repository o k response
func (*DeleteSnapshotRepositoryOK) Error ¶
func (o *DeleteSnapshotRepositoryOK) Error() string
func (*DeleteSnapshotRepositoryOK) GetPayload ¶
func (o *DeleteSnapshotRepositoryOK) GetPayload() models.EmptyResponse
func (*DeleteSnapshotRepositoryOK) IsClientError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) IsClientError() bool
IsClientError returns true when this delete snapshot repository o k response has a 4xx status code
func (*DeleteSnapshotRepositoryOK) IsCode ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) IsCode(code int) bool
IsCode returns true when this delete snapshot repository o k response a status code equal to that given
func (*DeleteSnapshotRepositoryOK) IsRedirect ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) IsRedirect() bool
IsRedirect returns true when this delete snapshot repository o k response has a 3xx status code
func (*DeleteSnapshotRepositoryOK) IsServerError ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) IsServerError() bool
IsServerError returns true when this delete snapshot repository o k response has a 5xx status code
func (*DeleteSnapshotRepositoryOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) IsSuccess() bool
IsSuccess returns true when this delete snapshot repository o k response has a 2xx status code
func (*DeleteSnapshotRepositoryOK) String ¶ added in v1.13.0
func (o *DeleteSnapshotRepositoryOK) String() string
type DeleteSnapshotRepositoryParams ¶
type DeleteSnapshotRepositoryParams struct { /* CleanupDeployments. Removes references to this snapshot repository configuration and disables snapshots on the clusters that were referencing this configuration. If a request is made to delete a repository configuration that has already been deleted and this parameter is set to true and clusters still reference the configuration, then the request will have the side effects of removing references and disabling snapshots for clusters that reference the previously deleted configuration. */ CleanupDeployments *bool /* RepositoryName. The name of the snapshot repository configuration. */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSnapshotRepositoryParams contains all the parameters to send to the API endpoint
for the delete snapshot repository operation. Typically these are written to a http.Request.
func NewDeleteSnapshotRepositoryParams ¶
func NewDeleteSnapshotRepositoryParams() *DeleteSnapshotRepositoryParams
NewDeleteSnapshotRepositoryParams creates a new DeleteSnapshotRepositoryParams 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 NewDeleteSnapshotRepositoryParamsWithContext ¶
func NewDeleteSnapshotRepositoryParamsWithContext(ctx context.Context) *DeleteSnapshotRepositoryParams
NewDeleteSnapshotRepositoryParamsWithContext creates a new DeleteSnapshotRepositoryParams object with the ability to set a context for a request.
func NewDeleteSnapshotRepositoryParamsWithHTTPClient ¶
func NewDeleteSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *DeleteSnapshotRepositoryParams
NewDeleteSnapshotRepositoryParamsWithHTTPClient creates a new DeleteSnapshotRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSnapshotRepositoryParamsWithTimeout ¶
func NewDeleteSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *DeleteSnapshotRepositoryParams
NewDeleteSnapshotRepositoryParamsWithTimeout creates a new DeleteSnapshotRepositoryParams object with the ability to set a timeout on a request.
func (*DeleteSnapshotRepositoryParams) SetCleanupDeployments ¶
func (o *DeleteSnapshotRepositoryParams) SetCleanupDeployments(cleanupDeployments *bool)
SetCleanupDeployments adds the cleanupDeployments to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) SetContext ¶
func (o *DeleteSnapshotRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteSnapshotRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the delete snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotRepositoryParams) SetHTTPClient ¶
func (o *DeleteSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) SetRepositoryName ¶
func (o *DeleteSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) SetTimeout ¶
func (o *DeleteSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WithCleanupDeployments ¶
func (o *DeleteSnapshotRepositoryParams) WithCleanupDeployments(cleanupDeployments *bool) *DeleteSnapshotRepositoryParams
WithCleanupDeployments adds the cleanupDeployments to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WithContext ¶
func (o *DeleteSnapshotRepositoryParams) WithContext(ctx context.Context) *DeleteSnapshotRepositoryParams
WithContext adds the context to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteSnapshotRepositoryParams) WithDefaults() *DeleteSnapshotRepositoryParams
WithDefaults hydrates default values in the delete snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSnapshotRepositoryParams) WithHTTPClient ¶
func (o *DeleteSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *DeleteSnapshotRepositoryParams
WithHTTPClient adds the HTTPClient to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WithRepositoryName ¶
func (o *DeleteSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *DeleteSnapshotRepositoryParams
WithRepositoryName adds the repositoryName to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WithTimeout ¶
func (o *DeleteSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *DeleteSnapshotRepositoryParams
WithTimeout adds the timeout to the delete snapshot repository params
func (*DeleteSnapshotRepositoryParams) WriteToRequest ¶
func (o *DeleteSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnapshotRepositoryReader ¶
type DeleteSnapshotRepositoryReader struct {
// contains filtered or unexported fields
}
DeleteSnapshotRepositoryReader is a Reader for the DeleteSnapshotRepository structure.
func (*DeleteSnapshotRepositoryReader) ReadResponse ¶
func (o *DeleteSnapshotRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotRepositoriesOK ¶
type GetSnapshotRepositoriesOK struct {
Payload *models.RepositoryConfigs
}
GetSnapshotRepositoriesOK describes a response with status code 200, with default header values.
List of snapshot repository configs
func NewGetSnapshotRepositoriesOK ¶
func NewGetSnapshotRepositoriesOK() *GetSnapshotRepositoriesOK
NewGetSnapshotRepositoriesOK creates a GetSnapshotRepositoriesOK with default headers values
func (*GetSnapshotRepositoriesOK) Code ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) Code() int
Code gets the status code for the get snapshot repositories o k response
func (*GetSnapshotRepositoriesOK) Error ¶
func (o *GetSnapshotRepositoriesOK) Error() string
func (*GetSnapshotRepositoriesOK) GetPayload ¶
func (o *GetSnapshotRepositoriesOK) GetPayload() *models.RepositoryConfigs
func (*GetSnapshotRepositoriesOK) IsClientError ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) IsClientError() bool
IsClientError returns true when this get snapshot repositories o k response has a 4xx status code
func (*GetSnapshotRepositoriesOK) IsCode ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) IsCode(code int) bool
IsCode returns true when this get snapshot repositories o k response a status code equal to that given
func (*GetSnapshotRepositoriesOK) IsRedirect ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) IsRedirect() bool
IsRedirect returns true when this get snapshot repositories o k response has a 3xx status code
func (*GetSnapshotRepositoriesOK) IsServerError ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) IsServerError() bool
IsServerError returns true when this get snapshot repositories o k response has a 5xx status code
func (*GetSnapshotRepositoriesOK) IsSuccess ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) IsSuccess() bool
IsSuccess returns true when this get snapshot repositories o k response has a 2xx status code
func (*GetSnapshotRepositoriesOK) String ¶ added in v1.13.0
func (o *GetSnapshotRepositoriesOK) String() string
type GetSnapshotRepositoriesParams ¶
type GetSnapshotRepositoriesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotRepositoriesParams contains all the parameters to send to the API endpoint
for the get snapshot repositories operation. Typically these are written to a http.Request.
func NewGetSnapshotRepositoriesParams ¶
func NewGetSnapshotRepositoriesParams() *GetSnapshotRepositoriesParams
NewGetSnapshotRepositoriesParams creates a new GetSnapshotRepositoriesParams 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 NewGetSnapshotRepositoriesParamsWithContext ¶
func NewGetSnapshotRepositoriesParamsWithContext(ctx context.Context) *GetSnapshotRepositoriesParams
NewGetSnapshotRepositoriesParamsWithContext creates a new GetSnapshotRepositoriesParams object with the ability to set a context for a request.
func NewGetSnapshotRepositoriesParamsWithHTTPClient ¶
func NewGetSnapshotRepositoriesParamsWithHTTPClient(client *http.Client) *GetSnapshotRepositoriesParams
NewGetSnapshotRepositoriesParamsWithHTTPClient creates a new GetSnapshotRepositoriesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotRepositoriesParamsWithTimeout ¶
func NewGetSnapshotRepositoriesParamsWithTimeout(timeout time.Duration) *GetSnapshotRepositoriesParams
NewGetSnapshotRepositoriesParamsWithTimeout creates a new GetSnapshotRepositoriesParams object with the ability to set a timeout on a request.
func (*GetSnapshotRepositoriesParams) SetContext ¶
func (o *GetSnapshotRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) SetDefaults ¶ added in v1.3.0
func (o *GetSnapshotRepositoriesParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot repositories params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotRepositoriesParams) SetHTTPClient ¶
func (o *GetSnapshotRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) SetTimeout ¶
func (o *GetSnapshotRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) WithContext ¶
func (o *GetSnapshotRepositoriesParams) WithContext(ctx context.Context) *GetSnapshotRepositoriesParams
WithContext adds the context to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) WithDefaults ¶ added in v1.3.0
func (o *GetSnapshotRepositoriesParams) WithDefaults() *GetSnapshotRepositoriesParams
WithDefaults hydrates default values in the get snapshot repositories params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotRepositoriesParams) WithHTTPClient ¶
func (o *GetSnapshotRepositoriesParams) WithHTTPClient(client *http.Client) *GetSnapshotRepositoriesParams
WithHTTPClient adds the HTTPClient to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) WithTimeout ¶
func (o *GetSnapshotRepositoriesParams) WithTimeout(timeout time.Duration) *GetSnapshotRepositoriesParams
WithTimeout adds the timeout to the get snapshot repositories params
func (*GetSnapshotRepositoriesParams) WriteToRequest ¶
func (o *GetSnapshotRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotRepositoriesReader ¶
type GetSnapshotRepositoriesReader struct {
// contains filtered or unexported fields
}
GetSnapshotRepositoriesReader is a Reader for the GetSnapshotRepositories structure.
func (*GetSnapshotRepositoriesReader) ReadResponse ¶
func (o *GetSnapshotRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSnapshotRepositoryOK ¶
type GetSnapshotRepositoryOK struct {
Payload *models.RepositoryConfig
}
GetSnapshotRepositoryOK describes a response with status code 200, with default header values.
Retrieve snapshot repository config
func NewGetSnapshotRepositoryOK ¶
func NewGetSnapshotRepositoryOK() *GetSnapshotRepositoryOK
NewGetSnapshotRepositoryOK creates a GetSnapshotRepositoryOK with default headers values
func (*GetSnapshotRepositoryOK) Code ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) Code() int
Code gets the status code for the get snapshot repository o k response
func (*GetSnapshotRepositoryOK) Error ¶
func (o *GetSnapshotRepositoryOK) Error() string
func (*GetSnapshotRepositoryOK) GetPayload ¶
func (o *GetSnapshotRepositoryOK) GetPayload() *models.RepositoryConfig
func (*GetSnapshotRepositoryOK) IsClientError ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) IsClientError() bool
IsClientError returns true when this get snapshot repository o k response has a 4xx status code
func (*GetSnapshotRepositoryOK) IsCode ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) IsCode(code int) bool
IsCode returns true when this get snapshot repository o k response a status code equal to that given
func (*GetSnapshotRepositoryOK) IsRedirect ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) IsRedirect() bool
IsRedirect returns true when this get snapshot repository o k response has a 3xx status code
func (*GetSnapshotRepositoryOK) IsServerError ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) IsServerError() bool
IsServerError returns true when this get snapshot repository o k response has a 5xx status code
func (*GetSnapshotRepositoryOK) IsSuccess ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) IsSuccess() bool
IsSuccess returns true when this get snapshot repository o k response has a 2xx status code
func (*GetSnapshotRepositoryOK) String ¶ added in v1.13.0
func (o *GetSnapshotRepositoryOK) String() string
type GetSnapshotRepositoryParams ¶
type GetSnapshotRepositoryParams struct { /* RepositoryName. The name of the snapshot repository configuration. */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSnapshotRepositoryParams contains all the parameters to send to the API endpoint
for the get snapshot repository operation. Typically these are written to a http.Request.
func NewGetSnapshotRepositoryParams ¶
func NewGetSnapshotRepositoryParams() *GetSnapshotRepositoryParams
NewGetSnapshotRepositoryParams creates a new GetSnapshotRepositoryParams 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 NewGetSnapshotRepositoryParamsWithContext ¶
func NewGetSnapshotRepositoryParamsWithContext(ctx context.Context) *GetSnapshotRepositoryParams
NewGetSnapshotRepositoryParamsWithContext creates a new GetSnapshotRepositoryParams object with the ability to set a context for a request.
func NewGetSnapshotRepositoryParamsWithHTTPClient ¶
func NewGetSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *GetSnapshotRepositoryParams
NewGetSnapshotRepositoryParamsWithHTTPClient creates a new GetSnapshotRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetSnapshotRepositoryParamsWithTimeout ¶
func NewGetSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *GetSnapshotRepositoryParams
NewGetSnapshotRepositoryParamsWithTimeout creates a new GetSnapshotRepositoryParams object with the ability to set a timeout on a request.
func (*GetSnapshotRepositoryParams) SetContext ¶
func (o *GetSnapshotRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get snapshot repository params
func (*GetSnapshotRepositoryParams) SetDefaults ¶ added in v1.3.0
func (o *GetSnapshotRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the get snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotRepositoryParams) SetHTTPClient ¶
func (o *GetSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get snapshot repository params
func (*GetSnapshotRepositoryParams) SetRepositoryName ¶
func (o *GetSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the get snapshot repository params
func (*GetSnapshotRepositoryParams) SetTimeout ¶
func (o *GetSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get snapshot repository params
func (*GetSnapshotRepositoryParams) WithContext ¶
func (o *GetSnapshotRepositoryParams) WithContext(ctx context.Context) *GetSnapshotRepositoryParams
WithContext adds the context to the get snapshot repository params
func (*GetSnapshotRepositoryParams) WithDefaults ¶ added in v1.3.0
func (o *GetSnapshotRepositoryParams) WithDefaults() *GetSnapshotRepositoryParams
WithDefaults hydrates default values in the get snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*GetSnapshotRepositoryParams) WithHTTPClient ¶
func (o *GetSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *GetSnapshotRepositoryParams
WithHTTPClient adds the HTTPClient to the get snapshot repository params
func (*GetSnapshotRepositoryParams) WithRepositoryName ¶
func (o *GetSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *GetSnapshotRepositoryParams
WithRepositoryName adds the repositoryName to the get snapshot repository params
func (*GetSnapshotRepositoryParams) WithTimeout ¶
func (o *GetSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *GetSnapshotRepositoryParams
WithTimeout adds the timeout to the get snapshot repository params
func (*GetSnapshotRepositoryParams) WriteToRequest ¶
func (o *GetSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSnapshotRepositoryReader ¶
type GetSnapshotRepositoryReader struct {
// contains filtered or unexported fields
}
GetSnapshotRepositoryReader is a Reader for the GetSnapshotRepository structure.
func (*GetSnapshotRepositoryReader) ReadResponse ¶
func (o *GetSnapshotRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetSnapshotRepositoryOK ¶
type SetSnapshotRepositoryOK struct {
Payload *models.RepositoryConfig
}
SetSnapshotRepositoryOK describes a response with status code 200, with default header values.
New snapshot repository config
func NewSetSnapshotRepositoryOK ¶
func NewSetSnapshotRepositoryOK() *SetSnapshotRepositoryOK
NewSetSnapshotRepositoryOK creates a SetSnapshotRepositoryOK with default headers values
func (*SetSnapshotRepositoryOK) Code ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) Code() int
Code gets the status code for the set snapshot repository o k response
func (*SetSnapshotRepositoryOK) Error ¶
func (o *SetSnapshotRepositoryOK) Error() string
func (*SetSnapshotRepositoryOK) GetPayload ¶
func (o *SetSnapshotRepositoryOK) GetPayload() *models.RepositoryConfig
func (*SetSnapshotRepositoryOK) IsClientError ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) IsClientError() bool
IsClientError returns true when this set snapshot repository o k response has a 4xx status code
func (*SetSnapshotRepositoryOK) IsCode ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) IsCode(code int) bool
IsCode returns true when this set snapshot repository o k response a status code equal to that given
func (*SetSnapshotRepositoryOK) IsRedirect ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) IsRedirect() bool
IsRedirect returns true when this set snapshot repository o k response has a 3xx status code
func (*SetSnapshotRepositoryOK) IsServerError ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) IsServerError() bool
IsServerError returns true when this set snapshot repository o k response has a 5xx status code
func (*SetSnapshotRepositoryOK) IsSuccess ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) IsSuccess() bool
IsSuccess returns true when this set snapshot repository o k response has a 2xx status code
func (*SetSnapshotRepositoryOK) String ¶ added in v1.13.0
func (o *SetSnapshotRepositoryOK) String() string
type SetSnapshotRepositoryParams ¶
type SetSnapshotRepositoryParams struct { /* Body. The Elasticsearch snapshot repository configuration */ Body *models.SnapshotRepositoryConfiguration /* RepositoryName. The name of the snapshot repository configuration. */ RepositoryName string /* Version. Checks for conflicts against the metadata version, then returns the value in the `x-cloud-resource-version` header. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetSnapshotRepositoryParams contains all the parameters to send to the API endpoint
for the set snapshot repository operation. Typically these are written to a http.Request.
func NewSetSnapshotRepositoryParams ¶
func NewSetSnapshotRepositoryParams() *SetSnapshotRepositoryParams
NewSetSnapshotRepositoryParams creates a new SetSnapshotRepositoryParams 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 NewSetSnapshotRepositoryParamsWithContext ¶
func NewSetSnapshotRepositoryParamsWithContext(ctx context.Context) *SetSnapshotRepositoryParams
NewSetSnapshotRepositoryParamsWithContext creates a new SetSnapshotRepositoryParams object with the ability to set a context for a request.
func NewSetSnapshotRepositoryParamsWithHTTPClient ¶
func NewSetSnapshotRepositoryParamsWithHTTPClient(client *http.Client) *SetSnapshotRepositoryParams
NewSetSnapshotRepositoryParamsWithHTTPClient creates a new SetSnapshotRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewSetSnapshotRepositoryParamsWithTimeout ¶
func NewSetSnapshotRepositoryParamsWithTimeout(timeout time.Duration) *SetSnapshotRepositoryParams
NewSetSnapshotRepositoryParamsWithTimeout creates a new SetSnapshotRepositoryParams object with the ability to set a timeout on a request.
func (*SetSnapshotRepositoryParams) SetBody ¶
func (o *SetSnapshotRepositoryParams) SetBody(body *models.SnapshotRepositoryConfiguration)
SetBody adds the body to the set snapshot repository params
func (*SetSnapshotRepositoryParams) SetContext ¶
func (o *SetSnapshotRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the set snapshot repository params
func (*SetSnapshotRepositoryParams) SetDefaults ¶ added in v1.3.0
func (o *SetSnapshotRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the set snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*SetSnapshotRepositoryParams) SetHTTPClient ¶
func (o *SetSnapshotRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set snapshot repository params
func (*SetSnapshotRepositoryParams) SetRepositoryName ¶
func (o *SetSnapshotRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the set snapshot repository params
func (*SetSnapshotRepositoryParams) SetTimeout ¶
func (o *SetSnapshotRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set snapshot repository params
func (*SetSnapshotRepositoryParams) SetVersion ¶
func (o *SetSnapshotRepositoryParams) SetVersion(version *int64)
SetVersion adds the version to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithBody ¶
func (o *SetSnapshotRepositoryParams) WithBody(body *models.SnapshotRepositoryConfiguration) *SetSnapshotRepositoryParams
WithBody adds the body to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithContext ¶
func (o *SetSnapshotRepositoryParams) WithContext(ctx context.Context) *SetSnapshotRepositoryParams
WithContext adds the context to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithDefaults ¶ added in v1.3.0
func (o *SetSnapshotRepositoryParams) WithDefaults() *SetSnapshotRepositoryParams
WithDefaults hydrates default values in the set snapshot repository params (not the query body).
All values with no default are reset to their zero value.
func (*SetSnapshotRepositoryParams) WithHTTPClient ¶
func (o *SetSnapshotRepositoryParams) WithHTTPClient(client *http.Client) *SetSnapshotRepositoryParams
WithHTTPClient adds the HTTPClient to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithRepositoryName ¶
func (o *SetSnapshotRepositoryParams) WithRepositoryName(repositoryName string) *SetSnapshotRepositoryParams
WithRepositoryName adds the repositoryName to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithTimeout ¶
func (o *SetSnapshotRepositoryParams) WithTimeout(timeout time.Duration) *SetSnapshotRepositoryParams
WithTimeout adds the timeout to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WithVersion ¶
func (o *SetSnapshotRepositoryParams) WithVersion(version *int64) *SetSnapshotRepositoryParams
WithVersion adds the version to the set snapshot repository params
func (*SetSnapshotRepositoryParams) WriteToRequest ¶
func (o *SetSnapshotRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetSnapshotRepositoryReader ¶
type SetSnapshotRepositoryReader struct {
// contains filtered or unexported fields
}
SetSnapshotRepositoryReader is a Reader for the SetSnapshotRepository structure.
func (*SetSnapshotRepositoryReader) ReadResponse ¶
func (o *SetSnapshotRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_snapshot_repository_parameters.go
- delete_snapshot_repository_responses.go
- get_snapshot_repositories_parameters.go
- get_snapshot_repositories_responses.go
- get_snapshot_repository_parameters.go
- get_snapshot_repository_responses.go
- platform_configuration_snapshots_client.go
- set_snapshot_repository_parameters.go
- set_snapshot_repository_responses.go