Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAWSRegion(params *CreateAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAWSRegionCreated, error)
- func (a *Client) CreateConsul(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConsulCreated, error)
- func (a *Client) DeleteAWSRegion(params *DeleteAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAWSRegionNoContent, error)
- func (a *Client) DeleteConsul(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConsulNoContent, error)
- func (a *Client) GetAWSRegion(params *GetAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionOK, error)
- func (a *Client) GetAWSRegions(params *GetAWSRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionsOK, error)
- func (a *Client) GetConsul(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulOK, error)
- func (a *Client) GetConsuls(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulsOK, error)
- func (a *Client) ReplaceAWSRegion(params *ReplaceAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceAWSRegionOK, error)
- func (a *Client) ReplaceConsul(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceConsulOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateAWSRegionBadRequest
- type CreateAWSRegionConflict
- type CreateAWSRegionCreated
- type CreateAWSRegionDefault
- type CreateAWSRegionParams
- func NewCreateAWSRegionParams() *CreateAWSRegionParams
- func NewCreateAWSRegionParamsWithContext(ctx context.Context) *CreateAWSRegionParams
- func NewCreateAWSRegionParamsWithHTTPClient(client *http.Client) *CreateAWSRegionParams
- func NewCreateAWSRegionParamsWithTimeout(timeout time.Duration) *CreateAWSRegionParams
- func (o *CreateAWSRegionParams) SetContext(ctx context.Context)
- func (o *CreateAWSRegionParams) SetData(data *models.AwsRegion)
- func (o *CreateAWSRegionParams) SetHTTPClient(client *http.Client)
- func (o *CreateAWSRegionParams) SetTimeout(timeout time.Duration)
- func (o *CreateAWSRegionParams) WithContext(ctx context.Context) *CreateAWSRegionParams
- func (o *CreateAWSRegionParams) WithData(data *models.AwsRegion) *CreateAWSRegionParams
- func (o *CreateAWSRegionParams) WithHTTPClient(client *http.Client) *CreateAWSRegionParams
- func (o *CreateAWSRegionParams) WithTimeout(timeout time.Duration) *CreateAWSRegionParams
- func (o *CreateAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAWSRegionReader
- type CreateConsulBadRequest
- type CreateConsulConflict
- type CreateConsulCreated
- type CreateConsulDefault
- type CreateConsulParams
- func (o *CreateConsulParams) SetContext(ctx context.Context)
- func (o *CreateConsulParams) SetData(data *models.Consul)
- func (o *CreateConsulParams) SetHTTPClient(client *http.Client)
- func (o *CreateConsulParams) SetTimeout(timeout time.Duration)
- func (o *CreateConsulParams) WithContext(ctx context.Context) *CreateConsulParams
- func (o *CreateConsulParams) WithData(data *models.Consul) *CreateConsulParams
- func (o *CreateConsulParams) WithHTTPClient(client *http.Client) *CreateConsulParams
- func (o *CreateConsulParams) WithTimeout(timeout time.Duration) *CreateConsulParams
- func (o *CreateConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConsulReader
- type DeleteAWSRegionDefault
- type DeleteAWSRegionNoContent
- type DeleteAWSRegionNotFound
- type DeleteAWSRegionParams
- func NewDeleteAWSRegionParams() *DeleteAWSRegionParams
- func NewDeleteAWSRegionParamsWithContext(ctx context.Context) *DeleteAWSRegionParams
- func NewDeleteAWSRegionParamsWithHTTPClient(client *http.Client) *DeleteAWSRegionParams
- func NewDeleteAWSRegionParamsWithTimeout(timeout time.Duration) *DeleteAWSRegionParams
- func (o *DeleteAWSRegionParams) SetContext(ctx context.Context)
- func (o *DeleteAWSRegionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAWSRegionParams) SetID(id string)
- func (o *DeleteAWSRegionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAWSRegionParams) WithContext(ctx context.Context) *DeleteAWSRegionParams
- func (o *DeleteAWSRegionParams) WithHTTPClient(client *http.Client) *DeleteAWSRegionParams
- func (o *DeleteAWSRegionParams) WithID(id string) *DeleteAWSRegionParams
- func (o *DeleteAWSRegionParams) WithTimeout(timeout time.Duration) *DeleteAWSRegionParams
- func (o *DeleteAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAWSRegionReader
- type DeleteConsulDefault
- type DeleteConsulNoContent
- type DeleteConsulNotFound
- type DeleteConsulParams
- func (o *DeleteConsulParams) SetContext(ctx context.Context)
- func (o *DeleteConsulParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConsulParams) SetID(id string)
- func (o *DeleteConsulParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConsulParams) WithContext(ctx context.Context) *DeleteConsulParams
- func (o *DeleteConsulParams) WithHTTPClient(client *http.Client) *DeleteConsulParams
- func (o *DeleteConsulParams) WithID(id string) *DeleteConsulParams
- func (o *DeleteConsulParams) WithTimeout(timeout time.Duration) *DeleteConsulParams
- func (o *DeleteConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConsulReader
- type GetAWSRegionDefault
- type GetAWSRegionNotFound
- type GetAWSRegionOK
- type GetAWSRegionOKBody
- type GetAWSRegionParams
- func (o *GetAWSRegionParams) SetContext(ctx context.Context)
- func (o *GetAWSRegionParams) SetHTTPClient(client *http.Client)
- func (o *GetAWSRegionParams) SetID(id string)
- func (o *GetAWSRegionParams) SetTimeout(timeout time.Duration)
- func (o *GetAWSRegionParams) WithContext(ctx context.Context) *GetAWSRegionParams
- func (o *GetAWSRegionParams) WithHTTPClient(client *http.Client) *GetAWSRegionParams
- func (o *GetAWSRegionParams) WithID(id string) *GetAWSRegionParams
- func (o *GetAWSRegionParams) WithTimeout(timeout time.Duration) *GetAWSRegionParams
- func (o *GetAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAWSRegionReader
- type GetAWSRegionsDefault
- type GetAWSRegionsOK
- type GetAWSRegionsOKBody
- type GetAWSRegionsParams
- func (o *GetAWSRegionsParams) SetContext(ctx context.Context)
- func (o *GetAWSRegionsParams) SetHTTPClient(client *http.Client)
- func (o *GetAWSRegionsParams) SetTimeout(timeout time.Duration)
- func (o *GetAWSRegionsParams) WithContext(ctx context.Context) *GetAWSRegionsParams
- func (o *GetAWSRegionsParams) WithHTTPClient(client *http.Client) *GetAWSRegionsParams
- func (o *GetAWSRegionsParams) WithTimeout(timeout time.Duration) *GetAWSRegionsParams
- func (o *GetAWSRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAWSRegionsReader
- type GetConsulDefault
- type GetConsulNotFound
- type GetConsulOK
- type GetConsulOKBody
- type GetConsulParams
- func (o *GetConsulParams) SetContext(ctx context.Context)
- func (o *GetConsulParams) SetHTTPClient(client *http.Client)
- func (o *GetConsulParams) SetID(id string)
- func (o *GetConsulParams) SetTimeout(timeout time.Duration)
- func (o *GetConsulParams) WithContext(ctx context.Context) *GetConsulParams
- func (o *GetConsulParams) WithHTTPClient(client *http.Client) *GetConsulParams
- func (o *GetConsulParams) WithID(id string) *GetConsulParams
- func (o *GetConsulParams) WithTimeout(timeout time.Duration) *GetConsulParams
- func (o *GetConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsulReader
- type GetConsulsDefault
- type GetConsulsOK
- type GetConsulsOKBody
- type GetConsulsParams
- func (o *GetConsulsParams) SetContext(ctx context.Context)
- func (o *GetConsulsParams) SetHTTPClient(client *http.Client)
- func (o *GetConsulsParams) SetTimeout(timeout time.Duration)
- func (o *GetConsulsParams) WithContext(ctx context.Context) *GetConsulsParams
- func (o *GetConsulsParams) WithHTTPClient(client *http.Client) *GetConsulsParams
- func (o *GetConsulsParams) WithTimeout(timeout time.Duration) *GetConsulsParams
- func (o *GetConsulsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsulsReader
- type ReplaceAWSRegionBadRequest
- type ReplaceAWSRegionDefault
- type ReplaceAWSRegionNotFound
- type ReplaceAWSRegionOK
- type ReplaceAWSRegionParams
- func NewReplaceAWSRegionParams() *ReplaceAWSRegionParams
- func NewReplaceAWSRegionParamsWithContext(ctx context.Context) *ReplaceAWSRegionParams
- func NewReplaceAWSRegionParamsWithHTTPClient(client *http.Client) *ReplaceAWSRegionParams
- func NewReplaceAWSRegionParamsWithTimeout(timeout time.Duration) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) SetContext(ctx context.Context)
- func (o *ReplaceAWSRegionParams) SetData(data *models.AwsRegion)
- func (o *ReplaceAWSRegionParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceAWSRegionParams) SetID(id string)
- func (o *ReplaceAWSRegionParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceAWSRegionParams) WithContext(ctx context.Context) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) WithData(data *models.AwsRegion) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) WithHTTPClient(client *http.Client) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) WithID(id string) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) WithTimeout(timeout time.Duration) *ReplaceAWSRegionParams
- func (o *ReplaceAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceAWSRegionReader
- type ReplaceConsulBadRequest
- type ReplaceConsulDefault
- type ReplaceConsulNotFound
- type ReplaceConsulOK
- type ReplaceConsulParams
- func (o *ReplaceConsulParams) SetContext(ctx context.Context)
- func (o *ReplaceConsulParams) SetData(data *models.Consul)
- func (o *ReplaceConsulParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceConsulParams) SetID(id string)
- func (o *ReplaceConsulParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceConsulParams) WithContext(ctx context.Context) *ReplaceConsulParams
- func (o *ReplaceConsulParams) WithData(data *models.Consul) *ReplaceConsulParams
- func (o *ReplaceConsulParams) WithHTTPClient(client *http.Client) *ReplaceConsulParams
- func (o *ReplaceConsulParams) WithID(id string) *ReplaceConsulParams
- func (o *ReplaceConsulParams) WithTimeout(timeout time.Duration) *ReplaceConsulParams
- func (o *ReplaceConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceConsulReader
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 service discovery API
func (*Client) CreateAWSRegion ¶ added in v0.0.2
func (a *Client) CreateAWSRegion(params *CreateAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAWSRegionCreated, error)
CreateAWSRegion adds a new a w s region Add a new AWS region.
Credentials are not required in case Dataplane API is running in an EC2 instance with proper IAM role attached.
func (*Client) CreateConsul ¶
func (a *Client) CreateConsul(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConsulCreated, error)
CreateConsul adds a new consul server
Adds a new Consul server.
func (*Client) DeleteAWSRegion ¶ added in v0.0.2
func (a *Client) DeleteAWSRegion(params *DeleteAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAWSRegionNoContent, error)
DeleteAWSRegion deletes an a w s region
Delete an AWS region configuration by it's id.
func (*Client) DeleteConsul ¶
func (a *Client) DeleteConsul(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConsulNoContent, error)
DeleteConsul deletes a consul server
Deletes a Consul server configuration by it's id.
func (*Client) GetAWSRegion ¶ added in v0.0.2
func (a *Client) GetAWSRegion(params *GetAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionOK, error)
GetAWSRegion returns an a w s region
Return one AWS Region configuration by it's id.
func (*Client) GetAWSRegions ¶ added in v0.0.2
func (a *Client) GetAWSRegions(params *GetAWSRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionsOK, error)
GetAWSRegions returns an array of all configured a w s regions
Return all configured AWS regions.
func (*Client) GetConsul ¶
func (a *Client) GetConsul(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulOK, error)
GetConsul returns one consul server
Returns one Consul server configuration by it's id.
func (*Client) GetConsuls ¶
func (a *Client) GetConsuls(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulsOK, error)
GetConsuls returns an array of all configured consul servers
Returns all configured Consul servers.
func (*Client) ReplaceAWSRegion ¶ added in v0.0.2
func (a *Client) ReplaceAWSRegion(params *ReplaceAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceAWSRegionOK, error)
ReplaceAWSRegion replaces an a w s region
Replace an AWS region configuration by its id.
func (*Client) ReplaceConsul ¶
func (a *Client) ReplaceConsul(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceConsulOK, error)
ReplaceConsul replaces a consul server
Replaces a Consul server configuration by it's id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateAWSRegion(params *CreateAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAWSRegionCreated, error) CreateConsul(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConsulCreated, error) DeleteAWSRegion(params *DeleteAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAWSRegionNoContent, error) DeleteConsul(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConsulNoContent, error) GetAWSRegion(params *GetAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionOK, error) GetAWSRegions(params *GetAWSRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAWSRegionsOK, error) GetConsul(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulOK, error) GetConsuls(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter) (*GetConsulsOK, error) ReplaceAWSRegion(params *ReplaceAWSRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceAWSRegionOK, error) ReplaceConsul(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceConsulOK, 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 service discovery API client.
type CreateAWSRegionBadRequest ¶ added in v0.0.2
type CreateAWSRegionBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateAWSRegionBadRequest handles this case with default header values.
Bad request
func NewCreateAWSRegionBadRequest ¶ added in v0.0.2
func NewCreateAWSRegionBadRequest() *CreateAWSRegionBadRequest
NewCreateAWSRegionBadRequest creates a CreateAWSRegionBadRequest with default headers values
func (*CreateAWSRegionBadRequest) Error ¶ added in v0.0.2
func (o *CreateAWSRegionBadRequest) Error() string
func (*CreateAWSRegionBadRequest) GetPayload ¶ added in v0.0.2
func (o *CreateAWSRegionBadRequest) GetPayload() *models.Error
type CreateAWSRegionConflict ¶ added in v0.0.2
type CreateAWSRegionConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateAWSRegionConflict handles this case with default header values.
The specified resource already exists
func NewCreateAWSRegionConflict ¶ added in v0.0.2
func NewCreateAWSRegionConflict() *CreateAWSRegionConflict
NewCreateAWSRegionConflict creates a CreateAWSRegionConflict with default headers values
func (*CreateAWSRegionConflict) Error ¶ added in v0.0.2
func (o *CreateAWSRegionConflict) Error() string
func (*CreateAWSRegionConflict) GetPayload ¶ added in v0.0.2
func (o *CreateAWSRegionConflict) GetPayload() *models.Error
type CreateAWSRegionCreated ¶ added in v0.0.2
CreateAWSRegionCreated handles this case with default header values.
Resource created
func NewCreateAWSRegionCreated ¶ added in v0.0.2
func NewCreateAWSRegionCreated() *CreateAWSRegionCreated
NewCreateAWSRegionCreated creates a CreateAWSRegionCreated with default headers values
func (*CreateAWSRegionCreated) Error ¶ added in v0.0.2
func (o *CreateAWSRegionCreated) Error() string
func (*CreateAWSRegionCreated) GetPayload ¶ added in v0.0.2
func (o *CreateAWSRegionCreated) GetPayload() *models.AwsRegion
type CreateAWSRegionDefault ¶ added in v0.0.2
type CreateAWSRegionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateAWSRegionDefault handles this case with default header values.
General Error
func NewCreateAWSRegionDefault ¶ added in v0.0.2
func NewCreateAWSRegionDefault(code int) *CreateAWSRegionDefault
NewCreateAWSRegionDefault creates a CreateAWSRegionDefault with default headers values
func (*CreateAWSRegionDefault) Code ¶ added in v0.0.2
func (o *CreateAWSRegionDefault) Code() int
Code gets the status code for the create a w s region default response
func (*CreateAWSRegionDefault) Error ¶ added in v0.0.2
func (o *CreateAWSRegionDefault) Error() string
func (*CreateAWSRegionDefault) GetPayload ¶ added in v0.0.2
func (o *CreateAWSRegionDefault) GetPayload() *models.Error
type CreateAWSRegionParams ¶ added in v0.0.2
type CreateAWSRegionParams struct { /*Data*/ Data *models.AwsRegion Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAWSRegionParams contains all the parameters to send to the API endpoint for the create a w s region operation typically these are written to a http.Request
func NewCreateAWSRegionParams ¶ added in v0.0.2
func NewCreateAWSRegionParams() *CreateAWSRegionParams
NewCreateAWSRegionParams creates a new CreateAWSRegionParams object with the default values initialized.
func NewCreateAWSRegionParamsWithContext ¶ added in v0.0.2
func NewCreateAWSRegionParamsWithContext(ctx context.Context) *CreateAWSRegionParams
NewCreateAWSRegionParamsWithContext creates a new CreateAWSRegionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAWSRegionParamsWithHTTPClient ¶ added in v0.0.2
func NewCreateAWSRegionParamsWithHTTPClient(client *http.Client) *CreateAWSRegionParams
NewCreateAWSRegionParamsWithHTTPClient creates a new CreateAWSRegionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateAWSRegionParamsWithTimeout ¶ added in v0.0.2
func NewCreateAWSRegionParamsWithTimeout(timeout time.Duration) *CreateAWSRegionParams
NewCreateAWSRegionParamsWithTimeout creates a new CreateAWSRegionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAWSRegionParams) SetContext ¶ added in v0.0.2
func (o *CreateAWSRegionParams) SetContext(ctx context.Context)
SetContext adds the context to the create a w s region params
func (*CreateAWSRegionParams) SetData ¶ added in v0.0.2
func (o *CreateAWSRegionParams) SetData(data *models.AwsRegion)
SetData adds the data to the create a w s region params
func (*CreateAWSRegionParams) SetHTTPClient ¶ added in v0.0.2
func (o *CreateAWSRegionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create a w s region params
func (*CreateAWSRegionParams) SetTimeout ¶ added in v0.0.2
func (o *CreateAWSRegionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create a w s region params
func (*CreateAWSRegionParams) WithContext ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WithContext(ctx context.Context) *CreateAWSRegionParams
WithContext adds the context to the create a w s region params
func (*CreateAWSRegionParams) WithData ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WithData(data *models.AwsRegion) *CreateAWSRegionParams
WithData adds the data to the create a w s region params
func (*CreateAWSRegionParams) WithHTTPClient ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WithHTTPClient(client *http.Client) *CreateAWSRegionParams
WithHTTPClient adds the HTTPClient to the create a w s region params
func (*CreateAWSRegionParams) WithTimeout ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WithTimeout(timeout time.Duration) *CreateAWSRegionParams
WithTimeout adds the timeout to the create a w s region params
func (*CreateAWSRegionParams) WriteToRequest ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAWSRegionReader ¶ added in v0.0.2
type CreateAWSRegionReader struct {
// contains filtered or unexported fields
}
CreateAWSRegionReader is a Reader for the CreateAWSRegion structure.
func (*CreateAWSRegionReader) ReadResponse ¶ added in v0.0.2
func (o *CreateAWSRegionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConsulBadRequest ¶
type CreateConsulBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateConsulBadRequest handles this case with default header values.
Bad request
func NewCreateConsulBadRequest ¶
func NewCreateConsulBadRequest() *CreateConsulBadRequest
NewCreateConsulBadRequest creates a CreateConsulBadRequest with default headers values
func (*CreateConsulBadRequest) Error ¶
func (o *CreateConsulBadRequest) Error() string
func (*CreateConsulBadRequest) GetPayload ¶
func (o *CreateConsulBadRequest) GetPayload() *models.Error
type CreateConsulConflict ¶
type CreateConsulConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateConsulConflict handles this case with default header values.
The specified resource already exists
func NewCreateConsulConflict ¶
func NewCreateConsulConflict() *CreateConsulConflict
NewCreateConsulConflict creates a CreateConsulConflict with default headers values
func (*CreateConsulConflict) Error ¶
func (o *CreateConsulConflict) Error() string
func (*CreateConsulConflict) GetPayload ¶
func (o *CreateConsulConflict) GetPayload() *models.Error
type CreateConsulCreated ¶
CreateConsulCreated handles this case with default header values.
Consul created
func NewCreateConsulCreated ¶
func NewCreateConsulCreated() *CreateConsulCreated
NewCreateConsulCreated creates a CreateConsulCreated with default headers values
func (*CreateConsulCreated) Error ¶
func (o *CreateConsulCreated) Error() string
func (*CreateConsulCreated) GetPayload ¶
func (o *CreateConsulCreated) GetPayload() *models.Consul
type CreateConsulDefault ¶
type CreateConsulDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateConsulDefault handles this case with default header values.
General Error
func NewCreateConsulDefault ¶
func NewCreateConsulDefault(code int) *CreateConsulDefault
NewCreateConsulDefault creates a CreateConsulDefault with default headers values
func (*CreateConsulDefault) Code ¶
func (o *CreateConsulDefault) Code() int
Code gets the status code for the create consul default response
func (*CreateConsulDefault) Error ¶
func (o *CreateConsulDefault) Error() string
func (*CreateConsulDefault) GetPayload ¶
func (o *CreateConsulDefault) GetPayload() *models.Error
type CreateConsulParams ¶
type CreateConsulParams struct { /*Data*/ Data *models.Consul Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConsulParams contains all the parameters to send to the API endpoint for the create consul operation typically these are written to a http.Request
func NewCreateConsulParams ¶
func NewCreateConsulParams() *CreateConsulParams
NewCreateConsulParams creates a new CreateConsulParams object with the default values initialized.
func NewCreateConsulParamsWithContext ¶
func NewCreateConsulParamsWithContext(ctx context.Context) *CreateConsulParams
NewCreateConsulParamsWithContext creates a new CreateConsulParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConsulParamsWithHTTPClient ¶
func NewCreateConsulParamsWithHTTPClient(client *http.Client) *CreateConsulParams
NewCreateConsulParamsWithHTTPClient creates a new CreateConsulParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConsulParamsWithTimeout ¶
func NewCreateConsulParamsWithTimeout(timeout time.Duration) *CreateConsulParams
NewCreateConsulParamsWithTimeout creates a new CreateConsulParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConsulParams) SetContext ¶
func (o *CreateConsulParams) SetContext(ctx context.Context)
SetContext adds the context to the create consul params
func (*CreateConsulParams) SetData ¶
func (o *CreateConsulParams) SetData(data *models.Consul)
SetData adds the data to the create consul params
func (*CreateConsulParams) SetHTTPClient ¶
func (o *CreateConsulParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create consul params
func (*CreateConsulParams) SetTimeout ¶
func (o *CreateConsulParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create consul params
func (*CreateConsulParams) WithContext ¶
func (o *CreateConsulParams) WithContext(ctx context.Context) *CreateConsulParams
WithContext adds the context to the create consul params
func (*CreateConsulParams) WithData ¶
func (o *CreateConsulParams) WithData(data *models.Consul) *CreateConsulParams
WithData adds the data to the create consul params
func (*CreateConsulParams) WithHTTPClient ¶
func (o *CreateConsulParams) WithHTTPClient(client *http.Client) *CreateConsulParams
WithHTTPClient adds the HTTPClient to the create consul params
func (*CreateConsulParams) WithTimeout ¶
func (o *CreateConsulParams) WithTimeout(timeout time.Duration) *CreateConsulParams
WithTimeout adds the timeout to the create consul params
func (*CreateConsulParams) WriteToRequest ¶
func (o *CreateConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConsulReader ¶
type CreateConsulReader struct {
// contains filtered or unexported fields
}
CreateConsulReader is a Reader for the CreateConsul structure.
func (*CreateConsulReader) ReadResponse ¶
func (o *CreateConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAWSRegionDefault ¶ added in v0.0.2
type DeleteAWSRegionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteAWSRegionDefault handles this case with default header values.
General Error
func NewDeleteAWSRegionDefault ¶ added in v0.0.2
func NewDeleteAWSRegionDefault(code int) *DeleteAWSRegionDefault
NewDeleteAWSRegionDefault creates a DeleteAWSRegionDefault with default headers values
func (*DeleteAWSRegionDefault) Code ¶ added in v0.0.2
func (o *DeleteAWSRegionDefault) Code() int
Code gets the status code for the delete a w s region default response
func (*DeleteAWSRegionDefault) Error ¶ added in v0.0.2
func (o *DeleteAWSRegionDefault) Error() string
func (*DeleteAWSRegionDefault) GetPayload ¶ added in v0.0.2
func (o *DeleteAWSRegionDefault) GetPayload() *models.Error
type DeleteAWSRegionNoContent ¶ added in v0.0.2
type DeleteAWSRegionNoContent struct { }
DeleteAWSRegionNoContent handles this case with default header values.
Resource deleted
func NewDeleteAWSRegionNoContent ¶ added in v0.0.2
func NewDeleteAWSRegionNoContent() *DeleteAWSRegionNoContent
NewDeleteAWSRegionNoContent creates a DeleteAWSRegionNoContent with default headers values
func (*DeleteAWSRegionNoContent) Error ¶ added in v0.0.2
func (o *DeleteAWSRegionNoContent) Error() string
type DeleteAWSRegionNotFound ¶ added in v0.0.2
type DeleteAWSRegionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteAWSRegionNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteAWSRegionNotFound ¶ added in v0.0.2
func NewDeleteAWSRegionNotFound() *DeleteAWSRegionNotFound
NewDeleteAWSRegionNotFound creates a DeleteAWSRegionNotFound with default headers values
func (*DeleteAWSRegionNotFound) Error ¶ added in v0.0.2
func (o *DeleteAWSRegionNotFound) Error() string
func (*DeleteAWSRegionNotFound) GetPayload ¶ added in v0.0.2
func (o *DeleteAWSRegionNotFound) GetPayload() *models.Error
type DeleteAWSRegionParams ¶ added in v0.0.2
type DeleteAWSRegionParams struct { /*ID AWS region ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAWSRegionParams contains all the parameters to send to the API endpoint for the delete a w s region operation typically these are written to a http.Request
func NewDeleteAWSRegionParams ¶ added in v0.0.2
func NewDeleteAWSRegionParams() *DeleteAWSRegionParams
NewDeleteAWSRegionParams creates a new DeleteAWSRegionParams object with the default values initialized.
func NewDeleteAWSRegionParamsWithContext ¶ added in v0.0.2
func NewDeleteAWSRegionParamsWithContext(ctx context.Context) *DeleteAWSRegionParams
NewDeleteAWSRegionParamsWithContext creates a new DeleteAWSRegionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAWSRegionParamsWithHTTPClient ¶ added in v0.0.2
func NewDeleteAWSRegionParamsWithHTTPClient(client *http.Client) *DeleteAWSRegionParams
NewDeleteAWSRegionParamsWithHTTPClient creates a new DeleteAWSRegionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAWSRegionParamsWithTimeout ¶ added in v0.0.2
func NewDeleteAWSRegionParamsWithTimeout(timeout time.Duration) *DeleteAWSRegionParams
NewDeleteAWSRegionParamsWithTimeout creates a new DeleteAWSRegionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAWSRegionParams) SetContext ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete a w s region params
func (*DeleteAWSRegionParams) SetHTTPClient ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete a w s region params
func (*DeleteAWSRegionParams) SetID ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) SetID(id string)
SetID adds the id to the delete a w s region params
func (*DeleteAWSRegionParams) SetTimeout ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete a w s region params
func (*DeleteAWSRegionParams) WithContext ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WithContext(ctx context.Context) *DeleteAWSRegionParams
WithContext adds the context to the delete a w s region params
func (*DeleteAWSRegionParams) WithHTTPClient ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WithHTTPClient(client *http.Client) *DeleteAWSRegionParams
WithHTTPClient adds the HTTPClient to the delete a w s region params
func (*DeleteAWSRegionParams) WithID ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WithID(id string) *DeleteAWSRegionParams
WithID adds the id to the delete a w s region params
func (*DeleteAWSRegionParams) WithTimeout ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WithTimeout(timeout time.Duration) *DeleteAWSRegionParams
WithTimeout adds the timeout to the delete a w s region params
func (*DeleteAWSRegionParams) WriteToRequest ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAWSRegionReader ¶ added in v0.0.2
type DeleteAWSRegionReader struct {
// contains filtered or unexported fields
}
DeleteAWSRegionReader is a Reader for the DeleteAWSRegion structure.
func (*DeleteAWSRegionReader) ReadResponse ¶ added in v0.0.2
func (o *DeleteAWSRegionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConsulDefault ¶
type DeleteConsulDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteConsulDefault handles this case with default header values.
General Error
func NewDeleteConsulDefault ¶
func NewDeleteConsulDefault(code int) *DeleteConsulDefault
NewDeleteConsulDefault creates a DeleteConsulDefault with default headers values
func (*DeleteConsulDefault) Code ¶
func (o *DeleteConsulDefault) Code() int
Code gets the status code for the delete consul default response
func (*DeleteConsulDefault) Error ¶
func (o *DeleteConsulDefault) Error() string
func (*DeleteConsulDefault) GetPayload ¶
func (o *DeleteConsulDefault) GetPayload() *models.Error
type DeleteConsulNoContent ¶
type DeleteConsulNoContent struct { }
DeleteConsulNoContent handles this case with default header values.
Consul server deleted
func NewDeleteConsulNoContent ¶
func NewDeleteConsulNoContent() *DeleteConsulNoContent
NewDeleteConsulNoContent creates a DeleteConsulNoContent with default headers values
func (*DeleteConsulNoContent) Error ¶
func (o *DeleteConsulNoContent) Error() string
type DeleteConsulNotFound ¶
type DeleteConsulNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteConsulNotFound handles this case with default header values.
The specified resource was not found
func NewDeleteConsulNotFound ¶
func NewDeleteConsulNotFound() *DeleteConsulNotFound
NewDeleteConsulNotFound creates a DeleteConsulNotFound with default headers values
func (*DeleteConsulNotFound) Error ¶
func (o *DeleteConsulNotFound) Error() string
func (*DeleteConsulNotFound) GetPayload ¶
func (o *DeleteConsulNotFound) GetPayload() *models.Error
type DeleteConsulParams ¶
type DeleteConsulParams struct { /*ID Consul server Index */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConsulParams contains all the parameters to send to the API endpoint for the delete consul operation typically these are written to a http.Request
func NewDeleteConsulParams ¶
func NewDeleteConsulParams() *DeleteConsulParams
NewDeleteConsulParams creates a new DeleteConsulParams object with the default values initialized.
func NewDeleteConsulParamsWithContext ¶
func NewDeleteConsulParamsWithContext(ctx context.Context) *DeleteConsulParams
NewDeleteConsulParamsWithContext creates a new DeleteConsulParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConsulParamsWithHTTPClient ¶
func NewDeleteConsulParamsWithHTTPClient(client *http.Client) *DeleteConsulParams
NewDeleteConsulParamsWithHTTPClient creates a new DeleteConsulParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConsulParamsWithTimeout ¶
func NewDeleteConsulParamsWithTimeout(timeout time.Duration) *DeleteConsulParams
NewDeleteConsulParamsWithTimeout creates a new DeleteConsulParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConsulParams) SetContext ¶
func (o *DeleteConsulParams) SetContext(ctx context.Context)
SetContext adds the context to the delete consul params
func (*DeleteConsulParams) SetHTTPClient ¶
func (o *DeleteConsulParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete consul params
func (*DeleteConsulParams) SetID ¶
func (o *DeleteConsulParams) SetID(id string)
SetID adds the id to the delete consul params
func (*DeleteConsulParams) SetTimeout ¶
func (o *DeleteConsulParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete consul params
func (*DeleteConsulParams) WithContext ¶
func (o *DeleteConsulParams) WithContext(ctx context.Context) *DeleteConsulParams
WithContext adds the context to the delete consul params
func (*DeleteConsulParams) WithHTTPClient ¶
func (o *DeleteConsulParams) WithHTTPClient(client *http.Client) *DeleteConsulParams
WithHTTPClient adds the HTTPClient to the delete consul params
func (*DeleteConsulParams) WithID ¶
func (o *DeleteConsulParams) WithID(id string) *DeleteConsulParams
WithID adds the id to the delete consul params
func (*DeleteConsulParams) WithTimeout ¶
func (o *DeleteConsulParams) WithTimeout(timeout time.Duration) *DeleteConsulParams
WithTimeout adds the timeout to the delete consul params
func (*DeleteConsulParams) WriteToRequest ¶
func (o *DeleteConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConsulReader ¶
type DeleteConsulReader struct {
// contains filtered or unexported fields
}
DeleteConsulReader is a Reader for the DeleteConsul structure.
func (*DeleteConsulReader) ReadResponse ¶
func (o *DeleteConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAWSRegionDefault ¶ added in v0.0.2
type GetAWSRegionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetAWSRegionDefault handles this case with default header values.
General Error
func NewGetAWSRegionDefault ¶ added in v0.0.2
func NewGetAWSRegionDefault(code int) *GetAWSRegionDefault
NewGetAWSRegionDefault creates a GetAWSRegionDefault with default headers values
func (*GetAWSRegionDefault) Code ¶ added in v0.0.2
func (o *GetAWSRegionDefault) Code() int
Code gets the status code for the get a w s region default response
func (*GetAWSRegionDefault) Error ¶ added in v0.0.2
func (o *GetAWSRegionDefault) Error() string
func (*GetAWSRegionDefault) GetPayload ¶ added in v0.0.2
func (o *GetAWSRegionDefault) GetPayload() *models.Error
type GetAWSRegionNotFound ¶ added in v0.0.2
type GetAWSRegionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetAWSRegionNotFound handles this case with default header values.
The specified resource was not found
func NewGetAWSRegionNotFound ¶ added in v0.0.2
func NewGetAWSRegionNotFound() *GetAWSRegionNotFound
NewGetAWSRegionNotFound creates a GetAWSRegionNotFound with default headers values
func (*GetAWSRegionNotFound) Error ¶ added in v0.0.2
func (o *GetAWSRegionNotFound) Error() string
func (*GetAWSRegionNotFound) GetPayload ¶ added in v0.0.2
func (o *GetAWSRegionNotFound) GetPayload() *models.Error
type GetAWSRegionOK ¶ added in v0.0.2
type GetAWSRegionOK struct {
Payload *GetAWSRegionOKBody
}
GetAWSRegionOK handles this case with default header values.
Successful operation
func NewGetAWSRegionOK ¶ added in v0.0.2
func NewGetAWSRegionOK() *GetAWSRegionOK
NewGetAWSRegionOK creates a GetAWSRegionOK with default headers values
func (*GetAWSRegionOK) Error ¶ added in v0.0.2
func (o *GetAWSRegionOK) Error() string
func (*GetAWSRegionOK) GetPayload ¶ added in v0.0.2
func (o *GetAWSRegionOK) GetPayload() *GetAWSRegionOKBody
type GetAWSRegionOKBody ¶ added in v0.0.2
GetAWSRegionOKBody get a w s region o k body swagger:model GetAWSRegionOKBody
func (*GetAWSRegionOKBody) MarshalBinary ¶ added in v0.0.2
func (o *GetAWSRegionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAWSRegionOKBody) UnmarshalBinary ¶ added in v0.0.2
func (o *GetAWSRegionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAWSRegionParams ¶ added in v0.0.2
type GetAWSRegionParams struct { /*ID AWS region id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAWSRegionParams contains all the parameters to send to the API endpoint for the get a w s region operation typically these are written to a http.Request
func NewGetAWSRegionParams ¶ added in v0.0.2
func NewGetAWSRegionParams() *GetAWSRegionParams
NewGetAWSRegionParams creates a new GetAWSRegionParams object with the default values initialized.
func NewGetAWSRegionParamsWithContext ¶ added in v0.0.2
func NewGetAWSRegionParamsWithContext(ctx context.Context) *GetAWSRegionParams
NewGetAWSRegionParamsWithContext creates a new GetAWSRegionParams object with the default values initialized, and the ability to set a context for a request
func NewGetAWSRegionParamsWithHTTPClient ¶ added in v0.0.2
func NewGetAWSRegionParamsWithHTTPClient(client *http.Client) *GetAWSRegionParams
NewGetAWSRegionParamsWithHTTPClient creates a new GetAWSRegionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAWSRegionParamsWithTimeout ¶ added in v0.0.2
func NewGetAWSRegionParamsWithTimeout(timeout time.Duration) *GetAWSRegionParams
NewGetAWSRegionParamsWithTimeout creates a new GetAWSRegionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAWSRegionParams) SetContext ¶ added in v0.0.2
func (o *GetAWSRegionParams) SetContext(ctx context.Context)
SetContext adds the context to the get a w s region params
func (*GetAWSRegionParams) SetHTTPClient ¶ added in v0.0.2
func (o *GetAWSRegionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get a w s region params
func (*GetAWSRegionParams) SetID ¶ added in v0.0.2
func (o *GetAWSRegionParams) SetID(id string)
SetID adds the id to the get a w s region params
func (*GetAWSRegionParams) SetTimeout ¶ added in v0.0.2
func (o *GetAWSRegionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get a w s region params
func (*GetAWSRegionParams) WithContext ¶ added in v0.0.2
func (o *GetAWSRegionParams) WithContext(ctx context.Context) *GetAWSRegionParams
WithContext adds the context to the get a w s region params
func (*GetAWSRegionParams) WithHTTPClient ¶ added in v0.0.2
func (o *GetAWSRegionParams) WithHTTPClient(client *http.Client) *GetAWSRegionParams
WithHTTPClient adds the HTTPClient to the get a w s region params
func (*GetAWSRegionParams) WithID ¶ added in v0.0.2
func (o *GetAWSRegionParams) WithID(id string) *GetAWSRegionParams
WithID adds the id to the get a w s region params
func (*GetAWSRegionParams) WithTimeout ¶ added in v0.0.2
func (o *GetAWSRegionParams) WithTimeout(timeout time.Duration) *GetAWSRegionParams
WithTimeout adds the timeout to the get a w s region params
func (*GetAWSRegionParams) WriteToRequest ¶ added in v0.0.2
func (o *GetAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAWSRegionReader ¶ added in v0.0.2
type GetAWSRegionReader struct {
// contains filtered or unexported fields
}
GetAWSRegionReader is a Reader for the GetAWSRegion structure.
func (*GetAWSRegionReader) ReadResponse ¶ added in v0.0.2
func (o *GetAWSRegionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAWSRegionsDefault ¶ added in v0.0.2
type GetAWSRegionsDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetAWSRegionsDefault handles this case with default header values.
General Error
func NewGetAWSRegionsDefault ¶ added in v0.0.2
func NewGetAWSRegionsDefault(code int) *GetAWSRegionsDefault
NewGetAWSRegionsDefault creates a GetAWSRegionsDefault with default headers values
func (*GetAWSRegionsDefault) Code ¶ added in v0.0.2
func (o *GetAWSRegionsDefault) Code() int
Code gets the status code for the get a w s regions default response
func (*GetAWSRegionsDefault) Error ¶ added in v0.0.2
func (o *GetAWSRegionsDefault) Error() string
func (*GetAWSRegionsDefault) GetPayload ¶ added in v0.0.2
func (o *GetAWSRegionsDefault) GetPayload() *models.Error
type GetAWSRegionsOK ¶ added in v0.0.2
type GetAWSRegionsOK struct {
Payload *GetAWSRegionsOKBody
}
GetAWSRegionsOK handles this case with default header values.
Successful operation
func NewGetAWSRegionsOK ¶ added in v0.0.2
func NewGetAWSRegionsOK() *GetAWSRegionsOK
NewGetAWSRegionsOK creates a GetAWSRegionsOK with default headers values
func (*GetAWSRegionsOK) Error ¶ added in v0.0.2
func (o *GetAWSRegionsOK) Error() string
func (*GetAWSRegionsOK) GetPayload ¶ added in v0.0.2
func (o *GetAWSRegionsOK) GetPayload() *GetAWSRegionsOKBody
type GetAWSRegionsOKBody ¶ added in v0.0.2
type GetAWSRegionsOKBody struct { // data // Required: true Data models.AwsRegions `json:"data"` }
GetAWSRegionsOKBody get a w s regions o k body swagger:model GetAWSRegionsOKBody
func (*GetAWSRegionsOKBody) MarshalBinary ¶ added in v0.0.2
func (o *GetAWSRegionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAWSRegionsOKBody) UnmarshalBinary ¶ added in v0.0.2
func (o *GetAWSRegionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAWSRegionsParams ¶ added in v0.0.2
type GetAWSRegionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAWSRegionsParams contains all the parameters to send to the API endpoint for the get a w s regions operation typically these are written to a http.Request
func NewGetAWSRegionsParams ¶ added in v0.0.2
func NewGetAWSRegionsParams() *GetAWSRegionsParams
NewGetAWSRegionsParams creates a new GetAWSRegionsParams object with the default values initialized.
func NewGetAWSRegionsParamsWithContext ¶ added in v0.0.2
func NewGetAWSRegionsParamsWithContext(ctx context.Context) *GetAWSRegionsParams
NewGetAWSRegionsParamsWithContext creates a new GetAWSRegionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAWSRegionsParamsWithHTTPClient ¶ added in v0.0.2
func NewGetAWSRegionsParamsWithHTTPClient(client *http.Client) *GetAWSRegionsParams
NewGetAWSRegionsParamsWithHTTPClient creates a new GetAWSRegionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAWSRegionsParamsWithTimeout ¶ added in v0.0.2
func NewGetAWSRegionsParamsWithTimeout(timeout time.Duration) *GetAWSRegionsParams
NewGetAWSRegionsParamsWithTimeout creates a new GetAWSRegionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAWSRegionsParams) SetContext ¶ added in v0.0.2
func (o *GetAWSRegionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get a w s regions params
func (*GetAWSRegionsParams) SetHTTPClient ¶ added in v0.0.2
func (o *GetAWSRegionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get a w s regions params
func (*GetAWSRegionsParams) SetTimeout ¶ added in v0.0.2
func (o *GetAWSRegionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get a w s regions params
func (*GetAWSRegionsParams) WithContext ¶ added in v0.0.2
func (o *GetAWSRegionsParams) WithContext(ctx context.Context) *GetAWSRegionsParams
WithContext adds the context to the get a w s regions params
func (*GetAWSRegionsParams) WithHTTPClient ¶ added in v0.0.2
func (o *GetAWSRegionsParams) WithHTTPClient(client *http.Client) *GetAWSRegionsParams
WithHTTPClient adds the HTTPClient to the get a w s regions params
func (*GetAWSRegionsParams) WithTimeout ¶ added in v0.0.2
func (o *GetAWSRegionsParams) WithTimeout(timeout time.Duration) *GetAWSRegionsParams
WithTimeout adds the timeout to the get a w s regions params
func (*GetAWSRegionsParams) WriteToRequest ¶ added in v0.0.2
func (o *GetAWSRegionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAWSRegionsReader ¶ added in v0.0.2
type GetAWSRegionsReader struct {
// contains filtered or unexported fields
}
GetAWSRegionsReader is a Reader for the GetAWSRegions structure.
func (*GetAWSRegionsReader) ReadResponse ¶ added in v0.0.2
func (o *GetAWSRegionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConsulDefault ¶
type GetConsulDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetConsulDefault handles this case with default header values.
General Error
func NewGetConsulDefault ¶
func NewGetConsulDefault(code int) *GetConsulDefault
NewGetConsulDefault creates a GetConsulDefault with default headers values
func (*GetConsulDefault) Code ¶
func (o *GetConsulDefault) Code() int
Code gets the status code for the get consul default response
func (*GetConsulDefault) Error ¶
func (o *GetConsulDefault) Error() string
func (*GetConsulDefault) GetPayload ¶
func (o *GetConsulDefault) GetPayload() *models.Error
type GetConsulNotFound ¶
type GetConsulNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetConsulNotFound handles this case with default header values.
The specified resource was not found
func NewGetConsulNotFound ¶
func NewGetConsulNotFound() *GetConsulNotFound
NewGetConsulNotFound creates a GetConsulNotFound with default headers values
func (*GetConsulNotFound) Error ¶
func (o *GetConsulNotFound) Error() string
func (*GetConsulNotFound) GetPayload ¶
func (o *GetConsulNotFound) GetPayload() *models.Error
type GetConsulOK ¶
type GetConsulOK struct {
Payload *GetConsulOKBody
}
GetConsulOK handles this case with default header values.
Successful operation
func NewGetConsulOK ¶
func NewGetConsulOK() *GetConsulOK
NewGetConsulOK creates a GetConsulOK with default headers values
func (*GetConsulOK) Error ¶
func (o *GetConsulOK) Error() string
func (*GetConsulOK) GetPayload ¶
func (o *GetConsulOK) GetPayload() *GetConsulOKBody
type GetConsulOKBody ¶
GetConsulOKBody get consul o k body swagger:model GetConsulOKBody
func (*GetConsulOKBody) MarshalBinary ¶
func (o *GetConsulOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetConsulOKBody) UnmarshalBinary ¶
func (o *GetConsulOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetConsulParams ¶
type GetConsulParams struct { /*ID Consul server id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConsulParams contains all the parameters to send to the API endpoint for the get consul operation typically these are written to a http.Request
func NewGetConsulParams ¶
func NewGetConsulParams() *GetConsulParams
NewGetConsulParams creates a new GetConsulParams object with the default values initialized.
func NewGetConsulParamsWithContext ¶
func NewGetConsulParamsWithContext(ctx context.Context) *GetConsulParams
NewGetConsulParamsWithContext creates a new GetConsulParams object with the default values initialized, and the ability to set a context for a request
func NewGetConsulParamsWithHTTPClient ¶
func NewGetConsulParamsWithHTTPClient(client *http.Client) *GetConsulParams
NewGetConsulParamsWithHTTPClient creates a new GetConsulParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConsulParamsWithTimeout ¶
func NewGetConsulParamsWithTimeout(timeout time.Duration) *GetConsulParams
NewGetConsulParamsWithTimeout creates a new GetConsulParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConsulParams) SetContext ¶
func (o *GetConsulParams) SetContext(ctx context.Context)
SetContext adds the context to the get consul params
func (*GetConsulParams) SetHTTPClient ¶
func (o *GetConsulParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get consul params
func (*GetConsulParams) SetID ¶
func (o *GetConsulParams) SetID(id string)
SetID adds the id to the get consul params
func (*GetConsulParams) SetTimeout ¶
func (o *GetConsulParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get consul params
func (*GetConsulParams) WithContext ¶
func (o *GetConsulParams) WithContext(ctx context.Context) *GetConsulParams
WithContext adds the context to the get consul params
func (*GetConsulParams) WithHTTPClient ¶
func (o *GetConsulParams) WithHTTPClient(client *http.Client) *GetConsulParams
WithHTTPClient adds the HTTPClient to the get consul params
func (*GetConsulParams) WithID ¶
func (o *GetConsulParams) WithID(id string) *GetConsulParams
WithID adds the id to the get consul params
func (*GetConsulParams) WithTimeout ¶
func (o *GetConsulParams) WithTimeout(timeout time.Duration) *GetConsulParams
WithTimeout adds the timeout to the get consul params
func (*GetConsulParams) WriteToRequest ¶
func (o *GetConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConsulReader ¶
type GetConsulReader struct {
// contains filtered or unexported fields
}
GetConsulReader is a Reader for the GetConsul structure.
func (*GetConsulReader) ReadResponse ¶
func (o *GetConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConsulsDefault ¶
type GetConsulsDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetConsulsDefault handles this case with default header values.
General Error
func NewGetConsulsDefault ¶
func NewGetConsulsDefault(code int) *GetConsulsDefault
NewGetConsulsDefault creates a GetConsulsDefault with default headers values
func (*GetConsulsDefault) Code ¶
func (o *GetConsulsDefault) Code() int
Code gets the status code for the get consuls default response
func (*GetConsulsDefault) Error ¶
func (o *GetConsulsDefault) Error() string
func (*GetConsulsDefault) GetPayload ¶
func (o *GetConsulsDefault) GetPayload() *models.Error
type GetConsulsOK ¶
type GetConsulsOK struct {
Payload *GetConsulsOKBody
}
GetConsulsOK handles this case with default header values.
Successful operation
func NewGetConsulsOK ¶
func NewGetConsulsOK() *GetConsulsOK
NewGetConsulsOK creates a GetConsulsOK with default headers values
func (*GetConsulsOK) Error ¶
func (o *GetConsulsOK) Error() string
func (*GetConsulsOK) GetPayload ¶
func (o *GetConsulsOK) GetPayload() *GetConsulsOKBody
type GetConsulsOKBody ¶
GetConsulsOKBody get consuls o k body swagger:model GetConsulsOKBody
func (*GetConsulsOKBody) MarshalBinary ¶
func (o *GetConsulsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetConsulsOKBody) UnmarshalBinary ¶
func (o *GetConsulsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetConsulsParams ¶
type GetConsulsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConsulsParams contains all the parameters to send to the API endpoint for the get consuls operation typically these are written to a http.Request
func NewGetConsulsParams ¶
func NewGetConsulsParams() *GetConsulsParams
NewGetConsulsParams creates a new GetConsulsParams object with the default values initialized.
func NewGetConsulsParamsWithContext ¶
func NewGetConsulsParamsWithContext(ctx context.Context) *GetConsulsParams
NewGetConsulsParamsWithContext creates a new GetConsulsParams object with the default values initialized, and the ability to set a context for a request
func NewGetConsulsParamsWithHTTPClient ¶
func NewGetConsulsParamsWithHTTPClient(client *http.Client) *GetConsulsParams
NewGetConsulsParamsWithHTTPClient creates a new GetConsulsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConsulsParamsWithTimeout ¶
func NewGetConsulsParamsWithTimeout(timeout time.Duration) *GetConsulsParams
NewGetConsulsParamsWithTimeout creates a new GetConsulsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConsulsParams) SetContext ¶
func (o *GetConsulsParams) SetContext(ctx context.Context)
SetContext adds the context to the get consuls params
func (*GetConsulsParams) SetHTTPClient ¶
func (o *GetConsulsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get consuls params
func (*GetConsulsParams) SetTimeout ¶
func (o *GetConsulsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get consuls params
func (*GetConsulsParams) WithContext ¶
func (o *GetConsulsParams) WithContext(ctx context.Context) *GetConsulsParams
WithContext adds the context to the get consuls params
func (*GetConsulsParams) WithHTTPClient ¶
func (o *GetConsulsParams) WithHTTPClient(client *http.Client) *GetConsulsParams
WithHTTPClient adds the HTTPClient to the get consuls params
func (*GetConsulsParams) WithTimeout ¶
func (o *GetConsulsParams) WithTimeout(timeout time.Duration) *GetConsulsParams
WithTimeout adds the timeout to the get consuls params
func (*GetConsulsParams) WriteToRequest ¶
func (o *GetConsulsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConsulsReader ¶
type GetConsulsReader struct {
// contains filtered or unexported fields
}
GetConsulsReader is a Reader for the GetConsuls structure.
func (*GetConsulsReader) ReadResponse ¶
func (o *GetConsulsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceAWSRegionBadRequest ¶ added in v0.0.2
type ReplaceAWSRegionBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceAWSRegionBadRequest handles this case with default header values.
Bad request
func NewReplaceAWSRegionBadRequest ¶ added in v0.0.2
func NewReplaceAWSRegionBadRequest() *ReplaceAWSRegionBadRequest
NewReplaceAWSRegionBadRequest creates a ReplaceAWSRegionBadRequest with default headers values
func (*ReplaceAWSRegionBadRequest) Error ¶ added in v0.0.2
func (o *ReplaceAWSRegionBadRequest) Error() string
func (*ReplaceAWSRegionBadRequest) GetPayload ¶ added in v0.0.2
func (o *ReplaceAWSRegionBadRequest) GetPayload() *models.Error
type ReplaceAWSRegionDefault ¶ added in v0.0.2
type ReplaceAWSRegionDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceAWSRegionDefault handles this case with default header values.
General Error
func NewReplaceAWSRegionDefault ¶ added in v0.0.2
func NewReplaceAWSRegionDefault(code int) *ReplaceAWSRegionDefault
NewReplaceAWSRegionDefault creates a ReplaceAWSRegionDefault with default headers values
func (*ReplaceAWSRegionDefault) Code ¶ added in v0.0.2
func (o *ReplaceAWSRegionDefault) Code() int
Code gets the status code for the replace a w s region default response
func (*ReplaceAWSRegionDefault) Error ¶ added in v0.0.2
func (o *ReplaceAWSRegionDefault) Error() string
func (*ReplaceAWSRegionDefault) GetPayload ¶ added in v0.0.2
func (o *ReplaceAWSRegionDefault) GetPayload() *models.Error
type ReplaceAWSRegionNotFound ¶ added in v0.0.2
type ReplaceAWSRegionNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceAWSRegionNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceAWSRegionNotFound ¶ added in v0.0.2
func NewReplaceAWSRegionNotFound() *ReplaceAWSRegionNotFound
NewReplaceAWSRegionNotFound creates a ReplaceAWSRegionNotFound with default headers values
func (*ReplaceAWSRegionNotFound) Error ¶ added in v0.0.2
func (o *ReplaceAWSRegionNotFound) Error() string
func (*ReplaceAWSRegionNotFound) GetPayload ¶ added in v0.0.2
func (o *ReplaceAWSRegionNotFound) GetPayload() *models.Error
type ReplaceAWSRegionOK ¶ added in v0.0.2
ReplaceAWSRegionOK handles this case with default header values.
Resource updated
func NewReplaceAWSRegionOK ¶ added in v0.0.2
func NewReplaceAWSRegionOK() *ReplaceAWSRegionOK
NewReplaceAWSRegionOK creates a ReplaceAWSRegionOK with default headers values
func (*ReplaceAWSRegionOK) Error ¶ added in v0.0.2
func (o *ReplaceAWSRegionOK) Error() string
func (*ReplaceAWSRegionOK) GetPayload ¶ added in v0.0.2
func (o *ReplaceAWSRegionOK) GetPayload() *models.AwsRegion
type ReplaceAWSRegionParams ¶ added in v0.0.2
type ReplaceAWSRegionParams struct { /*Data*/ Data *models.AwsRegion /*ID AWS Region ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceAWSRegionParams contains all the parameters to send to the API endpoint for the replace a w s region operation typically these are written to a http.Request
func NewReplaceAWSRegionParams ¶ added in v0.0.2
func NewReplaceAWSRegionParams() *ReplaceAWSRegionParams
NewReplaceAWSRegionParams creates a new ReplaceAWSRegionParams object with the default values initialized.
func NewReplaceAWSRegionParamsWithContext ¶ added in v0.0.2
func NewReplaceAWSRegionParamsWithContext(ctx context.Context) *ReplaceAWSRegionParams
NewReplaceAWSRegionParamsWithContext creates a new ReplaceAWSRegionParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceAWSRegionParamsWithHTTPClient ¶ added in v0.0.2
func NewReplaceAWSRegionParamsWithHTTPClient(client *http.Client) *ReplaceAWSRegionParams
NewReplaceAWSRegionParamsWithHTTPClient creates a new ReplaceAWSRegionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceAWSRegionParamsWithTimeout ¶ added in v0.0.2
func NewReplaceAWSRegionParamsWithTimeout(timeout time.Duration) *ReplaceAWSRegionParams
NewReplaceAWSRegionParamsWithTimeout creates a new ReplaceAWSRegionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceAWSRegionParams) SetContext ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetContext(ctx context.Context)
SetContext adds the context to the replace a w s region params
func (*ReplaceAWSRegionParams) SetData ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetData(data *models.AwsRegion)
SetData adds the data to the replace a w s region params
func (*ReplaceAWSRegionParams) SetHTTPClient ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace a w s region params
func (*ReplaceAWSRegionParams) SetID ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetID(id string)
SetID adds the id to the replace a w s region params
func (*ReplaceAWSRegionParams) SetTimeout ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace a w s region params
func (*ReplaceAWSRegionParams) WithContext ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithContext(ctx context.Context) *ReplaceAWSRegionParams
WithContext adds the context to the replace a w s region params
func (*ReplaceAWSRegionParams) WithData ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithData(data *models.AwsRegion) *ReplaceAWSRegionParams
WithData adds the data to the replace a w s region params
func (*ReplaceAWSRegionParams) WithHTTPClient ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithHTTPClient(client *http.Client) *ReplaceAWSRegionParams
WithHTTPClient adds the HTTPClient to the replace a w s region params
func (*ReplaceAWSRegionParams) WithID ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithID(id string) *ReplaceAWSRegionParams
WithID adds the id to the replace a w s region params
func (*ReplaceAWSRegionParams) WithTimeout ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithTimeout(timeout time.Duration) *ReplaceAWSRegionParams
WithTimeout adds the timeout to the replace a w s region params
func (*ReplaceAWSRegionParams) WriteToRequest ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceAWSRegionReader ¶ added in v0.0.2
type ReplaceAWSRegionReader struct {
// contains filtered or unexported fields
}
ReplaceAWSRegionReader is a Reader for the ReplaceAWSRegion structure.
func (*ReplaceAWSRegionReader) ReadResponse ¶ added in v0.0.2
func (o *ReplaceAWSRegionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceConsulBadRequest ¶
type ReplaceConsulBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceConsulBadRequest handles this case with default header values.
Bad request
func NewReplaceConsulBadRequest ¶
func NewReplaceConsulBadRequest() *ReplaceConsulBadRequest
NewReplaceConsulBadRequest creates a ReplaceConsulBadRequest with default headers values
func (*ReplaceConsulBadRequest) Error ¶
func (o *ReplaceConsulBadRequest) Error() string
func (*ReplaceConsulBadRequest) GetPayload ¶
func (o *ReplaceConsulBadRequest) GetPayload() *models.Error
type ReplaceConsulDefault ¶
type ReplaceConsulDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceConsulDefault handles this case with default header values.
General Error
func NewReplaceConsulDefault ¶
func NewReplaceConsulDefault(code int) *ReplaceConsulDefault
NewReplaceConsulDefault creates a ReplaceConsulDefault with default headers values
func (*ReplaceConsulDefault) Code ¶
func (o *ReplaceConsulDefault) Code() int
Code gets the status code for the replace consul default response
func (*ReplaceConsulDefault) Error ¶
func (o *ReplaceConsulDefault) Error() string
func (*ReplaceConsulDefault) GetPayload ¶
func (o *ReplaceConsulDefault) GetPayload() *models.Error
type ReplaceConsulNotFound ¶
type ReplaceConsulNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceConsulNotFound handles this case with default header values.
The specified resource was not found
func NewReplaceConsulNotFound ¶
func NewReplaceConsulNotFound() *ReplaceConsulNotFound
NewReplaceConsulNotFound creates a ReplaceConsulNotFound with default headers values
func (*ReplaceConsulNotFound) Error ¶
func (o *ReplaceConsulNotFound) Error() string
func (*ReplaceConsulNotFound) GetPayload ¶
func (o *ReplaceConsulNotFound) GetPayload() *models.Error
type ReplaceConsulOK ¶
ReplaceConsulOK handles this case with default header values.
Consul server replaced
func NewReplaceConsulOK ¶
func NewReplaceConsulOK() *ReplaceConsulOK
NewReplaceConsulOK creates a ReplaceConsulOK with default headers values
func (*ReplaceConsulOK) Error ¶
func (o *ReplaceConsulOK) Error() string
func (*ReplaceConsulOK) GetPayload ¶
func (o *ReplaceConsulOK) GetPayload() *models.Consul
type ReplaceConsulParams ¶
type ReplaceConsulParams struct { /*Data*/ Data *models.Consul /*ID Consul Index */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceConsulParams contains all the parameters to send to the API endpoint for the replace consul operation typically these are written to a http.Request
func NewReplaceConsulParams ¶
func NewReplaceConsulParams() *ReplaceConsulParams
NewReplaceConsulParams creates a new ReplaceConsulParams object with the default values initialized.
func NewReplaceConsulParamsWithContext ¶
func NewReplaceConsulParamsWithContext(ctx context.Context) *ReplaceConsulParams
NewReplaceConsulParamsWithContext creates a new ReplaceConsulParams object with the default values initialized, and the ability to set a context for a request
func NewReplaceConsulParamsWithHTTPClient ¶
func NewReplaceConsulParamsWithHTTPClient(client *http.Client) *ReplaceConsulParams
NewReplaceConsulParamsWithHTTPClient creates a new ReplaceConsulParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReplaceConsulParamsWithTimeout ¶
func NewReplaceConsulParamsWithTimeout(timeout time.Duration) *ReplaceConsulParams
NewReplaceConsulParamsWithTimeout creates a new ReplaceConsulParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReplaceConsulParams) SetContext ¶
func (o *ReplaceConsulParams) SetContext(ctx context.Context)
SetContext adds the context to the replace consul params
func (*ReplaceConsulParams) SetData ¶
func (o *ReplaceConsulParams) SetData(data *models.Consul)
SetData adds the data to the replace consul params
func (*ReplaceConsulParams) SetHTTPClient ¶
func (o *ReplaceConsulParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace consul params
func (*ReplaceConsulParams) SetID ¶
func (o *ReplaceConsulParams) SetID(id string)
SetID adds the id to the replace consul params
func (*ReplaceConsulParams) SetTimeout ¶
func (o *ReplaceConsulParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace consul params
func (*ReplaceConsulParams) WithContext ¶
func (o *ReplaceConsulParams) WithContext(ctx context.Context) *ReplaceConsulParams
WithContext adds the context to the replace consul params
func (*ReplaceConsulParams) WithData ¶
func (o *ReplaceConsulParams) WithData(data *models.Consul) *ReplaceConsulParams
WithData adds the data to the replace consul params
func (*ReplaceConsulParams) WithHTTPClient ¶
func (o *ReplaceConsulParams) WithHTTPClient(client *http.Client) *ReplaceConsulParams
WithHTTPClient adds the HTTPClient to the replace consul params
func (*ReplaceConsulParams) WithID ¶
func (o *ReplaceConsulParams) WithID(id string) *ReplaceConsulParams
WithID adds the id to the replace consul params
func (*ReplaceConsulParams) WithTimeout ¶
func (o *ReplaceConsulParams) WithTimeout(timeout time.Duration) *ReplaceConsulParams
WithTimeout adds the timeout to the replace consul params
func (*ReplaceConsulParams) WriteToRequest ¶
func (o *ReplaceConsulParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceConsulReader ¶
type ReplaceConsulReader struct {
// contains filtered or unexported fields
}
ReplaceConsulReader is a Reader for the ReplaceConsul structure.
func (*ReplaceConsulReader) ReadResponse ¶
func (o *ReplaceConsulReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_a_w_s_region_parameters.go
- create_a_w_s_region_responses.go
- create_consul_parameters.go
- create_consul_responses.go
- delete_a_w_s_region_parameters.go
- delete_a_w_s_region_responses.go
- delete_consul_parameters.go
- delete_consul_responses.go
- get_a_w_s_region_parameters.go
- get_a_w_s_region_responses.go
- get_a_w_s_regions_parameters.go
- get_a_w_s_regions_responses.go
- get_consul_parameters.go
- get_consul_responses.go
- get_consuls_parameters.go
- get_consuls_responses.go
- replace_a_w_s_region_parameters.go
- replace_a_w_s_region_responses.go
- replace_consul_parameters.go
- replace_consul_responses.go
- service_discovery_client.go