Documentation
¶
Index ¶
- type Client
- func (a *Client) GetReplicationPlans(params *GetReplicationPlansParams, opts ...ClientOption) (*GetReplicationPlansOK, error)
- func (a *Client) GetReplicationPlansConnection(params *GetReplicationPlansConnectionParams, opts ...ClientOption) (*GetReplicationPlansConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetReplicationPlansBadRequest
- type GetReplicationPlansConnectionBadRequest
- type GetReplicationPlansConnectionInternalServerError
- type GetReplicationPlansConnectionNotFound
- type GetReplicationPlansConnectionOK
- type GetReplicationPlansConnectionParams
- func NewGetReplicationPlansConnectionParams() *GetReplicationPlansConnectionParams
- func NewGetReplicationPlansConnectionParamsWithContext(ctx context.Context) *GetReplicationPlansConnectionParams
- func NewGetReplicationPlansConnectionParamsWithHTTPClient(client *http.Client) *GetReplicationPlansConnectionParams
- func NewGetReplicationPlansConnectionParamsWithTimeout(timeout time.Duration) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReplicationPlansConnectionParams) SetContext(ctx context.Context)
- func (o *GetReplicationPlansConnectionParams) SetDefaults()
- func (o *GetReplicationPlansConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetReplicationPlansConnectionParams) SetRequestBody(requestBody *models.GetReplicationPlansConnectionRequestBody)
- func (o *GetReplicationPlansConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetReplicationPlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WithContext(ctx context.Context) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WithDefaults() *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WithHTTPClient(client *http.Client) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WithRequestBody(requestBody *models.GetReplicationPlansConnectionRequestBody) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WithTimeout(timeout time.Duration) *GetReplicationPlansConnectionParams
- func (o *GetReplicationPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReplicationPlansConnectionReader
- type GetReplicationPlansInternalServerError
- type GetReplicationPlansNotFound
- type GetReplicationPlansOK
- type GetReplicationPlansParams
- func NewGetReplicationPlansParams() *GetReplicationPlansParams
- func NewGetReplicationPlansParamsWithContext(ctx context.Context) *GetReplicationPlansParams
- func NewGetReplicationPlansParamsWithHTTPClient(client *http.Client) *GetReplicationPlansParams
- func NewGetReplicationPlansParamsWithTimeout(timeout time.Duration) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) SetContentLanguage(contentLanguage *string)
- func (o *GetReplicationPlansParams) SetContext(ctx context.Context)
- func (o *GetReplicationPlansParams) SetDefaults()
- func (o *GetReplicationPlansParams) SetHTTPClient(client *http.Client)
- func (o *GetReplicationPlansParams) SetRequestBody(requestBody *models.GetReplicationPlansRequestBody)
- func (o *GetReplicationPlansParams) SetTimeout(timeout time.Duration)
- func (o *GetReplicationPlansParams) WithContentLanguage(contentLanguage *string) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WithContext(ctx context.Context) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WithDefaults() *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WithHTTPClient(client *http.Client) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WithRequestBody(requestBody *models.GetReplicationPlansRequestBody) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WithTimeout(timeout time.Duration) *GetReplicationPlansParams
- func (o *GetReplicationPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReplicationPlansReader
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 replication plan API
func (*Client) GetReplicationPlans ¶
func (a *Client) GetReplicationPlans(params *GetReplicationPlansParams, opts ...ClientOption) (*GetReplicationPlansOK, error)
GetReplicationPlans get replication plans API
func (*Client) GetReplicationPlansConnection ¶
func (a *Client) GetReplicationPlansConnection(params *GetReplicationPlansConnectionParams, opts ...ClientOption) (*GetReplicationPlansConnectionOK, error)
GetReplicationPlansConnection get replication plans connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetReplicationPlans(params *GetReplicationPlansParams, opts ...ClientOption) (*GetReplicationPlansOK, error) GetReplicationPlansConnection(params *GetReplicationPlansConnectionParams, opts ...ClientOption) (*GetReplicationPlansConnectionOK, 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 replication plan API client.
type GetReplicationPlansBadRequest ¶
GetReplicationPlansBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetReplicationPlansBadRequest ¶
func NewGetReplicationPlansBadRequest() *GetReplicationPlansBadRequest
NewGetReplicationPlansBadRequest creates a GetReplicationPlansBadRequest with default headers values
func (*GetReplicationPlansBadRequest) Error ¶
func (o *GetReplicationPlansBadRequest) Error() string
func (*GetReplicationPlansBadRequest) GetPayload ¶
func (o *GetReplicationPlansBadRequest) GetPayload() *models.ErrorBody
type GetReplicationPlansConnectionBadRequest ¶
type GetReplicationPlansConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetReplicationPlansConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetReplicationPlansConnectionBadRequest ¶
func NewGetReplicationPlansConnectionBadRequest() *GetReplicationPlansConnectionBadRequest
NewGetReplicationPlansConnectionBadRequest creates a GetReplicationPlansConnectionBadRequest with default headers values
func (*GetReplicationPlansConnectionBadRequest) Error ¶
func (o *GetReplicationPlansConnectionBadRequest) Error() string
func (*GetReplicationPlansConnectionBadRequest) GetPayload ¶
func (o *GetReplicationPlansConnectionBadRequest) GetPayload() *models.ErrorBody
type GetReplicationPlansConnectionInternalServerError ¶
type GetReplicationPlansConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetReplicationPlansConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetReplicationPlansConnectionInternalServerError ¶
func NewGetReplicationPlansConnectionInternalServerError() *GetReplicationPlansConnectionInternalServerError
NewGetReplicationPlansConnectionInternalServerError creates a GetReplicationPlansConnectionInternalServerError with default headers values
func (*GetReplicationPlansConnectionInternalServerError) Error ¶
func (o *GetReplicationPlansConnectionInternalServerError) Error() string
func (*GetReplicationPlansConnectionInternalServerError) GetPayload ¶
func (o *GetReplicationPlansConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetReplicationPlansConnectionNotFound ¶
type GetReplicationPlansConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetReplicationPlansConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetReplicationPlansConnectionNotFound ¶
func NewGetReplicationPlansConnectionNotFound() *GetReplicationPlansConnectionNotFound
NewGetReplicationPlansConnectionNotFound creates a GetReplicationPlansConnectionNotFound with default headers values
func (*GetReplicationPlansConnectionNotFound) Error ¶
func (o *GetReplicationPlansConnectionNotFound) Error() string
func (*GetReplicationPlansConnectionNotFound) GetPayload ¶
func (o *GetReplicationPlansConnectionNotFound) GetPayload() *models.ErrorBody
type GetReplicationPlansConnectionOK ¶
type GetReplicationPlansConnectionOK struct { XTowerRequestID string Payload *models.ReplicationPlanConnection }
GetReplicationPlansConnectionOK describes a response with status code 200, with default header values.
GetReplicationPlansConnectionOK get replication plans connection o k
func NewGetReplicationPlansConnectionOK ¶
func NewGetReplicationPlansConnectionOK() *GetReplicationPlansConnectionOK
NewGetReplicationPlansConnectionOK creates a GetReplicationPlansConnectionOK with default headers values
func (*GetReplicationPlansConnectionOK) Error ¶
func (o *GetReplicationPlansConnectionOK) Error() string
func (*GetReplicationPlansConnectionOK) GetPayload ¶
func (o *GetReplicationPlansConnectionOK) GetPayload() *models.ReplicationPlanConnection
type GetReplicationPlansConnectionParams ¶
type GetReplicationPlansConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetReplicationPlansConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReplicationPlansConnectionParams contains all the parameters to send to the API endpoint
for the get replication plans connection operation. Typically these are written to a http.Request.
func NewGetReplicationPlansConnectionParams ¶
func NewGetReplicationPlansConnectionParams() *GetReplicationPlansConnectionParams
NewGetReplicationPlansConnectionParams creates a new GetReplicationPlansConnectionParams 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 NewGetReplicationPlansConnectionParamsWithContext ¶
func NewGetReplicationPlansConnectionParamsWithContext(ctx context.Context) *GetReplicationPlansConnectionParams
NewGetReplicationPlansConnectionParamsWithContext creates a new GetReplicationPlansConnectionParams object with the ability to set a context for a request.
func NewGetReplicationPlansConnectionParamsWithHTTPClient ¶
func NewGetReplicationPlansConnectionParamsWithHTTPClient(client *http.Client) *GetReplicationPlansConnectionParams
NewGetReplicationPlansConnectionParamsWithHTTPClient creates a new GetReplicationPlansConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetReplicationPlansConnectionParamsWithTimeout ¶
func NewGetReplicationPlansConnectionParamsWithTimeout(timeout time.Duration) *GetReplicationPlansConnectionParams
NewGetReplicationPlansConnectionParamsWithTimeout creates a new GetReplicationPlansConnectionParams object with the ability to set a timeout on a request.
func (*GetReplicationPlansConnectionParams) SetContentLanguage ¶
func (o *GetReplicationPlansConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) SetContext ¶
func (o *GetReplicationPlansConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) SetDefaults ¶
func (o *GetReplicationPlansConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get replication plans connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationPlansConnectionParams) SetHTTPClient ¶
func (o *GetReplicationPlansConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) SetRequestBody ¶
func (o *GetReplicationPlansConnectionParams) SetRequestBody(requestBody *models.GetReplicationPlansConnectionRequestBody)
SetRequestBody adds the requestBody to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) SetTimeout ¶
func (o *GetReplicationPlansConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WithContentLanguage ¶
func (o *GetReplicationPlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetReplicationPlansConnectionParams
WithContentLanguage adds the contentLanguage to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WithContext ¶
func (o *GetReplicationPlansConnectionParams) WithContext(ctx context.Context) *GetReplicationPlansConnectionParams
WithContext adds the context to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WithDefaults ¶
func (o *GetReplicationPlansConnectionParams) WithDefaults() *GetReplicationPlansConnectionParams
WithDefaults hydrates default values in the get replication plans connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationPlansConnectionParams) WithHTTPClient ¶
func (o *GetReplicationPlansConnectionParams) WithHTTPClient(client *http.Client) *GetReplicationPlansConnectionParams
WithHTTPClient adds the HTTPClient to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WithRequestBody ¶
func (o *GetReplicationPlansConnectionParams) WithRequestBody(requestBody *models.GetReplicationPlansConnectionRequestBody) *GetReplicationPlansConnectionParams
WithRequestBody adds the requestBody to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WithTimeout ¶
func (o *GetReplicationPlansConnectionParams) WithTimeout(timeout time.Duration) *GetReplicationPlansConnectionParams
WithTimeout adds the timeout to the get replication plans connection params
func (*GetReplicationPlansConnectionParams) WriteToRequest ¶
func (o *GetReplicationPlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReplicationPlansConnectionReader ¶
type GetReplicationPlansConnectionReader struct {
// contains filtered or unexported fields
}
GetReplicationPlansConnectionReader is a Reader for the GetReplicationPlansConnection structure.
func (*GetReplicationPlansConnectionReader) ReadResponse ¶
func (o *GetReplicationPlansConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReplicationPlansInternalServerError ¶
type GetReplicationPlansInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetReplicationPlansInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetReplicationPlansInternalServerError ¶
func NewGetReplicationPlansInternalServerError() *GetReplicationPlansInternalServerError
NewGetReplicationPlansInternalServerError creates a GetReplicationPlansInternalServerError with default headers values
func (*GetReplicationPlansInternalServerError) Error ¶
func (o *GetReplicationPlansInternalServerError) Error() string
func (*GetReplicationPlansInternalServerError) GetPayload ¶
func (o *GetReplicationPlansInternalServerError) GetPayload() *models.ErrorBody
type GetReplicationPlansNotFound ¶
GetReplicationPlansNotFound describes a response with status code 404, with default header values.
Not found
func NewGetReplicationPlansNotFound ¶
func NewGetReplicationPlansNotFound() *GetReplicationPlansNotFound
NewGetReplicationPlansNotFound creates a GetReplicationPlansNotFound with default headers values
func (*GetReplicationPlansNotFound) Error ¶
func (o *GetReplicationPlansNotFound) Error() string
func (*GetReplicationPlansNotFound) GetPayload ¶
func (o *GetReplicationPlansNotFound) GetPayload() *models.ErrorBody
type GetReplicationPlansOK ¶
type GetReplicationPlansOK struct { XTowerRequestID string Payload []*models.ReplicationPlan }
GetReplicationPlansOK describes a response with status code 200, with default header values.
GetReplicationPlansOK get replication plans o k
func NewGetReplicationPlansOK ¶
func NewGetReplicationPlansOK() *GetReplicationPlansOK
NewGetReplicationPlansOK creates a GetReplicationPlansOK with default headers values
func (*GetReplicationPlansOK) Error ¶
func (o *GetReplicationPlansOK) Error() string
func (*GetReplicationPlansOK) GetPayload ¶
func (o *GetReplicationPlansOK) GetPayload() []*models.ReplicationPlan
type GetReplicationPlansParams ¶
type GetReplicationPlansParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetReplicationPlansRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReplicationPlansParams contains all the parameters to send to the API endpoint
for the get replication plans operation. Typically these are written to a http.Request.
func NewGetReplicationPlansParams ¶
func NewGetReplicationPlansParams() *GetReplicationPlansParams
NewGetReplicationPlansParams creates a new GetReplicationPlansParams 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 NewGetReplicationPlansParamsWithContext ¶
func NewGetReplicationPlansParamsWithContext(ctx context.Context) *GetReplicationPlansParams
NewGetReplicationPlansParamsWithContext creates a new GetReplicationPlansParams object with the ability to set a context for a request.
func NewGetReplicationPlansParamsWithHTTPClient ¶
func NewGetReplicationPlansParamsWithHTTPClient(client *http.Client) *GetReplicationPlansParams
NewGetReplicationPlansParamsWithHTTPClient creates a new GetReplicationPlansParams object with the ability to set a custom HTTPClient for a request.
func NewGetReplicationPlansParamsWithTimeout ¶
func NewGetReplicationPlansParamsWithTimeout(timeout time.Duration) *GetReplicationPlansParams
NewGetReplicationPlansParamsWithTimeout creates a new GetReplicationPlansParams object with the ability to set a timeout on a request.
func (*GetReplicationPlansParams) SetContentLanguage ¶
func (o *GetReplicationPlansParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get replication plans params
func (*GetReplicationPlansParams) SetContext ¶
func (o *GetReplicationPlansParams) SetContext(ctx context.Context)
SetContext adds the context to the get replication plans params
func (*GetReplicationPlansParams) SetDefaults ¶
func (o *GetReplicationPlansParams) SetDefaults()
SetDefaults hydrates default values in the get replication plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationPlansParams) SetHTTPClient ¶
func (o *GetReplicationPlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get replication plans params
func (*GetReplicationPlansParams) SetRequestBody ¶
func (o *GetReplicationPlansParams) SetRequestBody(requestBody *models.GetReplicationPlansRequestBody)
SetRequestBody adds the requestBody to the get replication plans params
func (*GetReplicationPlansParams) SetTimeout ¶
func (o *GetReplicationPlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get replication plans params
func (*GetReplicationPlansParams) WithContentLanguage ¶
func (o *GetReplicationPlansParams) WithContentLanguage(contentLanguage *string) *GetReplicationPlansParams
WithContentLanguage adds the contentLanguage to the get replication plans params
func (*GetReplicationPlansParams) WithContext ¶
func (o *GetReplicationPlansParams) WithContext(ctx context.Context) *GetReplicationPlansParams
WithContext adds the context to the get replication plans params
func (*GetReplicationPlansParams) WithDefaults ¶
func (o *GetReplicationPlansParams) WithDefaults() *GetReplicationPlansParams
WithDefaults hydrates default values in the get replication plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetReplicationPlansParams) WithHTTPClient ¶
func (o *GetReplicationPlansParams) WithHTTPClient(client *http.Client) *GetReplicationPlansParams
WithHTTPClient adds the HTTPClient to the get replication plans params
func (*GetReplicationPlansParams) WithRequestBody ¶
func (o *GetReplicationPlansParams) WithRequestBody(requestBody *models.GetReplicationPlansRequestBody) *GetReplicationPlansParams
WithRequestBody adds the requestBody to the get replication plans params
func (*GetReplicationPlansParams) WithTimeout ¶
func (o *GetReplicationPlansParams) WithTimeout(timeout time.Duration) *GetReplicationPlansParams
WithTimeout adds the timeout to the get replication plans params
func (*GetReplicationPlansParams) WriteToRequest ¶
func (o *GetReplicationPlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReplicationPlansReader ¶
type GetReplicationPlansReader struct {
// contains filtered or unexported fields
}
GetReplicationPlansReader is a Reader for the GetReplicationPlans structure.
func (*GetReplicationPlansReader) ReadResponse ¶
func (o *GetReplicationPlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.