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 ClientOption
- type ClientService
- type CreateAWSRegionBadRequest
- func (o *CreateAWSRegionBadRequest) Code() int
- func (o *CreateAWSRegionBadRequest) Error() string
- func (o *CreateAWSRegionBadRequest) GetPayload() *models.Error
- func (o *CreateAWSRegionBadRequest) IsClientError() bool
- func (o *CreateAWSRegionBadRequest) IsCode(code int) bool
- func (o *CreateAWSRegionBadRequest) IsRedirect() bool
- func (o *CreateAWSRegionBadRequest) IsServerError() bool
- func (o *CreateAWSRegionBadRequest) IsSuccess() bool
- func (o *CreateAWSRegionBadRequest) String() string
- type CreateAWSRegionConflict
- func (o *CreateAWSRegionConflict) Code() int
- func (o *CreateAWSRegionConflict) Error() string
- func (o *CreateAWSRegionConflict) GetPayload() *models.Error
- func (o *CreateAWSRegionConflict) IsClientError() bool
- func (o *CreateAWSRegionConflict) IsCode(code int) bool
- func (o *CreateAWSRegionConflict) IsRedirect() bool
- func (o *CreateAWSRegionConflict) IsServerError() bool
- func (o *CreateAWSRegionConflict) IsSuccess() bool
- func (o *CreateAWSRegionConflict) String() string
- type CreateAWSRegionCreated
- func (o *CreateAWSRegionCreated) Code() int
- func (o *CreateAWSRegionCreated) Error() string
- func (o *CreateAWSRegionCreated) GetPayload() *models.AwsRegion
- func (o *CreateAWSRegionCreated) IsClientError() bool
- func (o *CreateAWSRegionCreated) IsCode(code int) bool
- func (o *CreateAWSRegionCreated) IsRedirect() bool
- func (o *CreateAWSRegionCreated) IsServerError() bool
- func (o *CreateAWSRegionCreated) IsSuccess() bool
- func (o *CreateAWSRegionCreated) String() string
- type CreateAWSRegionDefault
- func (o *CreateAWSRegionDefault) Code() int
- func (o *CreateAWSRegionDefault) Error() string
- func (o *CreateAWSRegionDefault) GetPayload() *models.Error
- func (o *CreateAWSRegionDefault) IsClientError() bool
- func (o *CreateAWSRegionDefault) IsCode(code int) bool
- func (o *CreateAWSRegionDefault) IsRedirect() bool
- func (o *CreateAWSRegionDefault) IsServerError() bool
- func (o *CreateAWSRegionDefault) IsSuccess() bool
- func (o *CreateAWSRegionDefault) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *CreateConsulBadRequest) Code() int
- func (o *CreateConsulBadRequest) Error() string
- func (o *CreateConsulBadRequest) GetPayload() *models.Error
- func (o *CreateConsulBadRequest) IsClientError() bool
- func (o *CreateConsulBadRequest) IsCode(code int) bool
- func (o *CreateConsulBadRequest) IsRedirect() bool
- func (o *CreateConsulBadRequest) IsServerError() bool
- func (o *CreateConsulBadRequest) IsSuccess() bool
- func (o *CreateConsulBadRequest) String() string
- type CreateConsulConflict
- func (o *CreateConsulConflict) Code() int
- func (o *CreateConsulConflict) Error() string
- func (o *CreateConsulConflict) GetPayload() *models.Error
- func (o *CreateConsulConflict) IsClientError() bool
- func (o *CreateConsulConflict) IsCode(code int) bool
- func (o *CreateConsulConflict) IsRedirect() bool
- func (o *CreateConsulConflict) IsServerError() bool
- func (o *CreateConsulConflict) IsSuccess() bool
- func (o *CreateConsulConflict) String() string
- type CreateConsulCreated
- func (o *CreateConsulCreated) Code() int
- func (o *CreateConsulCreated) Error() string
- func (o *CreateConsulCreated) GetPayload() *models.Consul
- func (o *CreateConsulCreated) IsClientError() bool
- func (o *CreateConsulCreated) IsCode(code int) bool
- func (o *CreateConsulCreated) IsRedirect() bool
- func (o *CreateConsulCreated) IsServerError() bool
- func (o *CreateConsulCreated) IsSuccess() bool
- func (o *CreateConsulCreated) String() string
- type CreateConsulDefault
- func (o *CreateConsulDefault) Code() int
- func (o *CreateConsulDefault) Error() string
- func (o *CreateConsulDefault) GetPayload() *models.Error
- func (o *CreateConsulDefault) IsClientError() bool
- func (o *CreateConsulDefault) IsCode(code int) bool
- func (o *CreateConsulDefault) IsRedirect() bool
- func (o *CreateConsulDefault) IsServerError() bool
- func (o *CreateConsulDefault) IsSuccess() bool
- func (o *CreateConsulDefault) String() string
- type CreateConsulParams
- func (o *CreateConsulParams) SetContext(ctx context.Context)
- func (o *CreateConsulParams) SetData(data *models.Consul)
- func (o *CreateConsulParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteAWSRegionDefault) Code() int
- func (o *DeleteAWSRegionDefault) Error() string
- func (o *DeleteAWSRegionDefault) GetPayload() *models.Error
- func (o *DeleteAWSRegionDefault) IsClientError() bool
- func (o *DeleteAWSRegionDefault) IsCode(code int) bool
- func (o *DeleteAWSRegionDefault) IsRedirect() bool
- func (o *DeleteAWSRegionDefault) IsServerError() bool
- func (o *DeleteAWSRegionDefault) IsSuccess() bool
- func (o *DeleteAWSRegionDefault) String() string
- type DeleteAWSRegionNoContent
- func (o *DeleteAWSRegionNoContent) Code() int
- func (o *DeleteAWSRegionNoContent) Error() string
- func (o *DeleteAWSRegionNoContent) IsClientError() bool
- func (o *DeleteAWSRegionNoContent) IsCode(code int) bool
- func (o *DeleteAWSRegionNoContent) IsRedirect() bool
- func (o *DeleteAWSRegionNoContent) IsServerError() bool
- func (o *DeleteAWSRegionNoContent) IsSuccess() bool
- func (o *DeleteAWSRegionNoContent) String() string
- type DeleteAWSRegionNotFound
- func (o *DeleteAWSRegionNotFound) Code() int
- func (o *DeleteAWSRegionNotFound) Error() string
- func (o *DeleteAWSRegionNotFound) GetPayload() *models.Error
- func (o *DeleteAWSRegionNotFound) IsClientError() bool
- func (o *DeleteAWSRegionNotFound) IsCode(code int) bool
- func (o *DeleteAWSRegionNotFound) IsRedirect() bool
- func (o *DeleteAWSRegionNotFound) IsServerError() bool
- func (o *DeleteAWSRegionNotFound) IsSuccess() bool
- func (o *DeleteAWSRegionNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteConsulDefault) Code() int
- func (o *DeleteConsulDefault) Error() string
- func (o *DeleteConsulDefault) GetPayload() *models.Error
- func (o *DeleteConsulDefault) IsClientError() bool
- func (o *DeleteConsulDefault) IsCode(code int) bool
- func (o *DeleteConsulDefault) IsRedirect() bool
- func (o *DeleteConsulDefault) IsServerError() bool
- func (o *DeleteConsulDefault) IsSuccess() bool
- func (o *DeleteConsulDefault) String() string
- type DeleteConsulNoContent
- func (o *DeleteConsulNoContent) Code() int
- func (o *DeleteConsulNoContent) Error() string
- func (o *DeleteConsulNoContent) IsClientError() bool
- func (o *DeleteConsulNoContent) IsCode(code int) bool
- func (o *DeleteConsulNoContent) IsRedirect() bool
- func (o *DeleteConsulNoContent) IsServerError() bool
- func (o *DeleteConsulNoContent) IsSuccess() bool
- func (o *DeleteConsulNoContent) String() string
- type DeleteConsulNotFound
- func (o *DeleteConsulNotFound) Code() int
- func (o *DeleteConsulNotFound) Error() string
- func (o *DeleteConsulNotFound) GetPayload() *models.Error
- func (o *DeleteConsulNotFound) IsClientError() bool
- func (o *DeleteConsulNotFound) IsCode(code int) bool
- func (o *DeleteConsulNotFound) IsRedirect() bool
- func (o *DeleteConsulNotFound) IsServerError() bool
- func (o *DeleteConsulNotFound) IsSuccess() bool
- func (o *DeleteConsulNotFound) String() string
- type DeleteConsulParams
- func (o *DeleteConsulParams) SetContext(ctx context.Context)
- func (o *DeleteConsulParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetAWSRegionDefault) Code() int
- func (o *GetAWSRegionDefault) Error() string
- func (o *GetAWSRegionDefault) GetPayload() *models.Error
- func (o *GetAWSRegionDefault) IsClientError() bool
- func (o *GetAWSRegionDefault) IsCode(code int) bool
- func (o *GetAWSRegionDefault) IsRedirect() bool
- func (o *GetAWSRegionDefault) IsServerError() bool
- func (o *GetAWSRegionDefault) IsSuccess() bool
- func (o *GetAWSRegionDefault) String() string
- type GetAWSRegionNotFound
- func (o *GetAWSRegionNotFound) Code() int
- func (o *GetAWSRegionNotFound) Error() string
- func (o *GetAWSRegionNotFound) GetPayload() *models.Error
- func (o *GetAWSRegionNotFound) IsClientError() bool
- func (o *GetAWSRegionNotFound) IsCode(code int) bool
- func (o *GetAWSRegionNotFound) IsRedirect() bool
- func (o *GetAWSRegionNotFound) IsServerError() bool
- func (o *GetAWSRegionNotFound) IsSuccess() bool
- func (o *GetAWSRegionNotFound) String() string
- type GetAWSRegionOK
- func (o *GetAWSRegionOK) Code() int
- func (o *GetAWSRegionOK) Error() string
- func (o *GetAWSRegionOK) GetPayload() *GetAWSRegionOKBody
- func (o *GetAWSRegionOK) IsClientError() bool
- func (o *GetAWSRegionOK) IsCode(code int) bool
- func (o *GetAWSRegionOK) IsRedirect() bool
- func (o *GetAWSRegionOK) IsServerError() bool
- func (o *GetAWSRegionOK) IsSuccess() bool
- func (o *GetAWSRegionOK) String() string
- type GetAWSRegionOKBody
- type GetAWSRegionParams
- func (o *GetAWSRegionParams) SetContext(ctx context.Context)
- func (o *GetAWSRegionParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetAWSRegionsDefault) Code() int
- func (o *GetAWSRegionsDefault) Error() string
- func (o *GetAWSRegionsDefault) GetPayload() *models.Error
- func (o *GetAWSRegionsDefault) IsClientError() bool
- func (o *GetAWSRegionsDefault) IsCode(code int) bool
- func (o *GetAWSRegionsDefault) IsRedirect() bool
- func (o *GetAWSRegionsDefault) IsServerError() bool
- func (o *GetAWSRegionsDefault) IsSuccess() bool
- func (o *GetAWSRegionsDefault) String() string
- type GetAWSRegionsOK
- func (o *GetAWSRegionsOK) Code() int
- func (o *GetAWSRegionsOK) Error() string
- func (o *GetAWSRegionsOK) GetPayload() *GetAWSRegionsOKBody
- func (o *GetAWSRegionsOK) IsClientError() bool
- func (o *GetAWSRegionsOK) IsCode(code int) bool
- func (o *GetAWSRegionsOK) IsRedirect() bool
- func (o *GetAWSRegionsOK) IsServerError() bool
- func (o *GetAWSRegionsOK) IsSuccess() bool
- func (o *GetAWSRegionsOK) String() string
- type GetAWSRegionsOKBody
- type GetAWSRegionsParams
- func (o *GetAWSRegionsParams) SetContext(ctx context.Context)
- func (o *GetAWSRegionsParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetConsulDefault) Code() int
- func (o *GetConsulDefault) Error() string
- func (o *GetConsulDefault) GetPayload() *models.Error
- func (o *GetConsulDefault) IsClientError() bool
- func (o *GetConsulDefault) IsCode(code int) bool
- func (o *GetConsulDefault) IsRedirect() bool
- func (o *GetConsulDefault) IsServerError() bool
- func (o *GetConsulDefault) IsSuccess() bool
- func (o *GetConsulDefault) String() string
- type GetConsulNotFound
- func (o *GetConsulNotFound) Code() int
- func (o *GetConsulNotFound) Error() string
- func (o *GetConsulNotFound) GetPayload() *models.Error
- func (o *GetConsulNotFound) IsClientError() bool
- func (o *GetConsulNotFound) IsCode(code int) bool
- func (o *GetConsulNotFound) IsRedirect() bool
- func (o *GetConsulNotFound) IsServerError() bool
- func (o *GetConsulNotFound) IsSuccess() bool
- func (o *GetConsulNotFound) String() string
- type GetConsulOK
- func (o *GetConsulOK) Code() int
- func (o *GetConsulOK) Error() string
- func (o *GetConsulOK) GetPayload() *GetConsulOKBody
- func (o *GetConsulOK) IsClientError() bool
- func (o *GetConsulOK) IsCode(code int) bool
- func (o *GetConsulOK) IsRedirect() bool
- func (o *GetConsulOK) IsServerError() bool
- func (o *GetConsulOK) IsSuccess() bool
- func (o *GetConsulOK) String() string
- type GetConsulOKBody
- type GetConsulParams
- func (o *GetConsulParams) SetContext(ctx context.Context)
- func (o *GetConsulParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetConsulsDefault) Code() int
- func (o *GetConsulsDefault) Error() string
- func (o *GetConsulsDefault) GetPayload() *models.Error
- func (o *GetConsulsDefault) IsClientError() bool
- func (o *GetConsulsDefault) IsCode(code int) bool
- func (o *GetConsulsDefault) IsRedirect() bool
- func (o *GetConsulsDefault) IsServerError() bool
- func (o *GetConsulsDefault) IsSuccess() bool
- func (o *GetConsulsDefault) String() string
- type GetConsulsOK
- func (o *GetConsulsOK) Code() int
- func (o *GetConsulsOK) Error() string
- func (o *GetConsulsOK) GetPayload() *GetConsulsOKBody
- func (o *GetConsulsOK) IsClientError() bool
- func (o *GetConsulsOK) IsCode(code int) bool
- func (o *GetConsulsOK) IsRedirect() bool
- func (o *GetConsulsOK) IsServerError() bool
- func (o *GetConsulsOK) IsSuccess() bool
- func (o *GetConsulsOK) String() string
- type GetConsulsOKBody
- type GetConsulsParams
- func (o *GetConsulsParams) SetContext(ctx context.Context)
- func (o *GetConsulsParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *ReplaceAWSRegionBadRequest) Code() int
- func (o *ReplaceAWSRegionBadRequest) Error() string
- func (o *ReplaceAWSRegionBadRequest) GetPayload() *models.Error
- func (o *ReplaceAWSRegionBadRequest) IsClientError() bool
- func (o *ReplaceAWSRegionBadRequest) IsCode(code int) bool
- func (o *ReplaceAWSRegionBadRequest) IsRedirect() bool
- func (o *ReplaceAWSRegionBadRequest) IsServerError() bool
- func (o *ReplaceAWSRegionBadRequest) IsSuccess() bool
- func (o *ReplaceAWSRegionBadRequest) String() string
- type ReplaceAWSRegionDefault
- func (o *ReplaceAWSRegionDefault) Code() int
- func (o *ReplaceAWSRegionDefault) Error() string
- func (o *ReplaceAWSRegionDefault) GetPayload() *models.Error
- func (o *ReplaceAWSRegionDefault) IsClientError() bool
- func (o *ReplaceAWSRegionDefault) IsCode(code int) bool
- func (o *ReplaceAWSRegionDefault) IsRedirect() bool
- func (o *ReplaceAWSRegionDefault) IsServerError() bool
- func (o *ReplaceAWSRegionDefault) IsSuccess() bool
- func (o *ReplaceAWSRegionDefault) String() string
- type ReplaceAWSRegionNotFound
- func (o *ReplaceAWSRegionNotFound) Code() int
- func (o *ReplaceAWSRegionNotFound) Error() string
- func (o *ReplaceAWSRegionNotFound) GetPayload() *models.Error
- func (o *ReplaceAWSRegionNotFound) IsClientError() bool
- func (o *ReplaceAWSRegionNotFound) IsCode(code int) bool
- func (o *ReplaceAWSRegionNotFound) IsRedirect() bool
- func (o *ReplaceAWSRegionNotFound) IsServerError() bool
- func (o *ReplaceAWSRegionNotFound) IsSuccess() bool
- func (o *ReplaceAWSRegionNotFound) String() string
- type ReplaceAWSRegionOK
- func (o *ReplaceAWSRegionOK) Code() int
- func (o *ReplaceAWSRegionOK) Error() string
- func (o *ReplaceAWSRegionOK) GetPayload() *models.AwsRegion
- func (o *ReplaceAWSRegionOK) IsClientError() bool
- func (o *ReplaceAWSRegionOK) IsCode(code int) bool
- func (o *ReplaceAWSRegionOK) IsRedirect() bool
- func (o *ReplaceAWSRegionOK) IsServerError() bool
- func (o *ReplaceAWSRegionOK) IsSuccess() bool
- func (o *ReplaceAWSRegionOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *ReplaceConsulBadRequest) Code() int
- func (o *ReplaceConsulBadRequest) Error() string
- func (o *ReplaceConsulBadRequest) GetPayload() *models.Error
- func (o *ReplaceConsulBadRequest) IsClientError() bool
- func (o *ReplaceConsulBadRequest) IsCode(code int) bool
- func (o *ReplaceConsulBadRequest) IsRedirect() bool
- func (o *ReplaceConsulBadRequest) IsServerError() bool
- func (o *ReplaceConsulBadRequest) IsSuccess() bool
- func (o *ReplaceConsulBadRequest) String() string
- type ReplaceConsulDefault
- func (o *ReplaceConsulDefault) Code() int
- func (o *ReplaceConsulDefault) Error() string
- func (o *ReplaceConsulDefault) GetPayload() *models.Error
- func (o *ReplaceConsulDefault) IsClientError() bool
- func (o *ReplaceConsulDefault) IsCode(code int) bool
- func (o *ReplaceConsulDefault) IsRedirect() bool
- func (o *ReplaceConsulDefault) IsServerError() bool
- func (o *ReplaceConsulDefault) IsSuccess() bool
- func (o *ReplaceConsulDefault) String() string
- type ReplaceConsulNotFound
- func (o *ReplaceConsulNotFound) Code() int
- func (o *ReplaceConsulNotFound) Error() string
- func (o *ReplaceConsulNotFound) GetPayload() *models.Error
- func (o *ReplaceConsulNotFound) IsClientError() bool
- func (o *ReplaceConsulNotFound) IsCode(code int) bool
- func (o *ReplaceConsulNotFound) IsRedirect() bool
- func (o *ReplaceConsulNotFound) IsServerError() bool
- func (o *ReplaceConsulNotFound) IsSuccess() bool
- func (o *ReplaceConsulNotFound) String() string
- type ReplaceConsulOK
- func (o *ReplaceConsulOK) Code() int
- func (o *ReplaceConsulOK) Error() string
- func (o *ReplaceConsulOK) GetPayload() *models.Consul
- func (o *ReplaceConsulOK) IsClientError() bool
- func (o *ReplaceConsulOK) IsCode(code int) bool
- func (o *ReplaceConsulOK) IsRedirect() bool
- func (o *ReplaceConsulOK) IsServerError() bool
- func (o *ReplaceConsulOK) IsSuccess() bool
- func (o *ReplaceConsulOK) String() string
- type ReplaceConsulParams
- func (o *ReplaceConsulParams) SetContext(ctx context.Context)
- func (o *ReplaceConsulParams) SetData(data *models.Consul)
- func (o *ReplaceConsulParams) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAWSRegion(params *CreateAWSRegionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAWSRegionCreated, error) CreateConsul(params *CreateConsulParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConsulCreated, error) DeleteAWSRegion(params *DeleteAWSRegionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAWSRegionNoContent, error) DeleteConsul(params *DeleteConsulParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConsulNoContent, error) GetAWSRegion(params *GetAWSRegionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAWSRegionOK, error) GetAWSRegions(params *GetAWSRegionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAWSRegionsOK, error) GetConsul(params *GetConsulParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsulOK, error) GetConsuls(params *GetConsulsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsulsOK, error) ReplaceAWSRegion(params *ReplaceAWSRegionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceAWSRegionOK, error) ReplaceConsul(params *ReplaceConsulParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 400, 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) Code ¶ added in v1.1.5
func (o *CreateAWSRegionBadRequest) Code() int
Code gets the status code for the create a w s region bad request response
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
func (*CreateAWSRegionBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) IsClientError() bool
IsClientError returns true when this create a w s region bad request response has a 4xx status code
func (*CreateAWSRegionBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) IsCode(code int) bool
IsCode returns true when this create a w s region bad request response a status code equal to that given
func (*CreateAWSRegionBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) IsRedirect() bool
IsRedirect returns true when this create a w s region bad request response has a 3xx status code
func (*CreateAWSRegionBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) IsServerError() bool
IsServerError returns true when this create a w s region bad request response has a 5xx status code
func (*CreateAWSRegionBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) IsSuccess() bool
IsSuccess returns true when this create a w s region bad request response has a 2xx status code
func (*CreateAWSRegionBadRequest) String ¶ added in v1.1.0
func (o *CreateAWSRegionBadRequest) String() string
type CreateAWSRegionConflict ¶ added in v0.0.2
type CreateAWSRegionConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateAWSRegionConflict describes a response with status code 409, 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) Code ¶ added in v1.1.5
func (o *CreateAWSRegionConflict) Code() int
Code gets the status code for the create a w s region conflict response
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
func (*CreateAWSRegionConflict) IsClientError ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) IsClientError() bool
IsClientError returns true when this create a w s region conflict response has a 4xx status code
func (*CreateAWSRegionConflict) IsCode ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) IsCode(code int) bool
IsCode returns true when this create a w s region conflict response a status code equal to that given
func (*CreateAWSRegionConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) IsRedirect() bool
IsRedirect returns true when this create a w s region conflict response has a 3xx status code
func (*CreateAWSRegionConflict) IsServerError ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) IsServerError() bool
IsServerError returns true when this create a w s region conflict response has a 5xx status code
func (*CreateAWSRegionConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) IsSuccess() bool
IsSuccess returns true when this create a w s region conflict response has a 2xx status code
func (*CreateAWSRegionConflict) String ¶ added in v1.1.0
func (o *CreateAWSRegionConflict) String() string
type CreateAWSRegionCreated ¶ added in v0.0.2
CreateAWSRegionCreated describes a response with status code 201, 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) Code ¶ added in v1.1.5
func (o *CreateAWSRegionCreated) Code() int
Code gets the status code for the create a w s region created response
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
func (*CreateAWSRegionCreated) IsClientError ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) IsClientError() bool
IsClientError returns true when this create a w s region created response has a 4xx status code
func (*CreateAWSRegionCreated) IsCode ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) IsCode(code int) bool
IsCode returns true when this create a w s region created response a status code equal to that given
func (*CreateAWSRegionCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) IsRedirect() bool
IsRedirect returns true when this create a w s region created response has a 3xx status code
func (*CreateAWSRegionCreated) IsServerError ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) IsServerError() bool
IsServerError returns true when this create a w s region created response has a 5xx status code
func (*CreateAWSRegionCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) IsSuccess() bool
IsSuccess returns true when this create a w s region created response has a 2xx status code
func (*CreateAWSRegionCreated) String ¶ added in v1.1.0
func (o *CreateAWSRegionCreated) String() string
type CreateAWSRegionDefault ¶ added in v0.0.2
type CreateAWSRegionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateAWSRegionDefault describes a response with status code -1, 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
func (*CreateAWSRegionDefault) IsClientError ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) IsClientError() bool
IsClientError returns true when this create a w s region default response has a 4xx status code
func (*CreateAWSRegionDefault) IsCode ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) IsCode(code int) bool
IsCode returns true when this create a w s region default response a status code equal to that given
func (*CreateAWSRegionDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) IsRedirect() bool
IsRedirect returns true when this create a w s region default response has a 3xx status code
func (*CreateAWSRegionDefault) IsServerError ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) IsServerError() bool
IsServerError returns true when this create a w s region default response has a 5xx status code
func (*CreateAWSRegionDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) IsSuccess() bool
IsSuccess returns true when this create a w s region default response has a 2xx status code
func (*CreateAWSRegionDefault) String ¶ added in v1.1.0
func (o *CreateAWSRegionDefault) String() string
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 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 NewCreateAWSRegionParamsWithContext ¶ added in v0.0.2
func NewCreateAWSRegionParamsWithContext(ctx context.Context) *CreateAWSRegionParams
NewCreateAWSRegionParamsWithContext creates a new CreateAWSRegionParams object with 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 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 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) SetDefaults ¶ added in v0.0.2
func (o *CreateAWSRegionParams) SetDefaults()
SetDefaults hydrates default values in the create a w s region params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.0.2
func (o *CreateAWSRegionParams) WithDefaults() *CreateAWSRegionParams
WithDefaults hydrates default values in the create a w s region params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, with default header values.
Bad request
func NewCreateConsulBadRequest ¶
func NewCreateConsulBadRequest() *CreateConsulBadRequest
NewCreateConsulBadRequest creates a CreateConsulBadRequest with default headers values
func (*CreateConsulBadRequest) Code ¶ added in v1.1.5
func (o *CreateConsulBadRequest) Code() int
Code gets the status code for the create consul bad request response
func (*CreateConsulBadRequest) Error ¶
func (o *CreateConsulBadRequest) Error() string
func (*CreateConsulBadRequest) GetPayload ¶
func (o *CreateConsulBadRequest) GetPayload() *models.Error
func (*CreateConsulBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateConsulBadRequest) IsClientError() bool
IsClientError returns true when this create consul bad request response has a 4xx status code
func (*CreateConsulBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateConsulBadRequest) IsCode(code int) bool
IsCode returns true when this create consul bad request response a status code equal to that given
func (*CreateConsulBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateConsulBadRequest) IsRedirect() bool
IsRedirect returns true when this create consul bad request response has a 3xx status code
func (*CreateConsulBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateConsulBadRequest) IsServerError() bool
IsServerError returns true when this create consul bad request response has a 5xx status code
func (*CreateConsulBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateConsulBadRequest) IsSuccess() bool
IsSuccess returns true when this create consul bad request response has a 2xx status code
func (*CreateConsulBadRequest) String ¶ added in v1.1.0
func (o *CreateConsulBadRequest) String() string
type CreateConsulConflict ¶
type CreateConsulConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateConsulConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateConsulConflict ¶
func NewCreateConsulConflict() *CreateConsulConflict
NewCreateConsulConflict creates a CreateConsulConflict with default headers values
func (*CreateConsulConflict) Code ¶ added in v1.1.5
func (o *CreateConsulConflict) Code() int
Code gets the status code for the create consul conflict response
func (*CreateConsulConflict) Error ¶
func (o *CreateConsulConflict) Error() string
func (*CreateConsulConflict) GetPayload ¶
func (o *CreateConsulConflict) GetPayload() *models.Error
func (*CreateConsulConflict) IsClientError ¶ added in v1.1.0
func (o *CreateConsulConflict) IsClientError() bool
IsClientError returns true when this create consul conflict response has a 4xx status code
func (*CreateConsulConflict) IsCode ¶ added in v1.1.0
func (o *CreateConsulConflict) IsCode(code int) bool
IsCode returns true when this create consul conflict response a status code equal to that given
func (*CreateConsulConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateConsulConflict) IsRedirect() bool
IsRedirect returns true when this create consul conflict response has a 3xx status code
func (*CreateConsulConflict) IsServerError ¶ added in v1.1.0
func (o *CreateConsulConflict) IsServerError() bool
IsServerError returns true when this create consul conflict response has a 5xx status code
func (*CreateConsulConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateConsulConflict) IsSuccess() bool
IsSuccess returns true when this create consul conflict response has a 2xx status code
func (*CreateConsulConflict) String ¶ added in v1.1.0
func (o *CreateConsulConflict) String() string
type CreateConsulCreated ¶
CreateConsulCreated describes a response with status code 201, with default header values.
Consul created
func NewCreateConsulCreated ¶
func NewCreateConsulCreated() *CreateConsulCreated
NewCreateConsulCreated creates a CreateConsulCreated with default headers values
func (*CreateConsulCreated) Code ¶ added in v1.1.5
func (o *CreateConsulCreated) Code() int
Code gets the status code for the create consul created response
func (*CreateConsulCreated) Error ¶
func (o *CreateConsulCreated) Error() string
func (*CreateConsulCreated) GetPayload ¶
func (o *CreateConsulCreated) GetPayload() *models.Consul
func (*CreateConsulCreated) IsClientError ¶ added in v1.1.0
func (o *CreateConsulCreated) IsClientError() bool
IsClientError returns true when this create consul created response has a 4xx status code
func (*CreateConsulCreated) IsCode ¶ added in v1.1.0
func (o *CreateConsulCreated) IsCode(code int) bool
IsCode returns true when this create consul created response a status code equal to that given
func (*CreateConsulCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateConsulCreated) IsRedirect() bool
IsRedirect returns true when this create consul created response has a 3xx status code
func (*CreateConsulCreated) IsServerError ¶ added in v1.1.0
func (o *CreateConsulCreated) IsServerError() bool
IsServerError returns true when this create consul created response has a 5xx status code
func (*CreateConsulCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateConsulCreated) IsSuccess() bool
IsSuccess returns true when this create consul created response has a 2xx status code
func (*CreateConsulCreated) String ¶ added in v1.1.0
func (o *CreateConsulCreated) String() string
type CreateConsulDefault ¶
type CreateConsulDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateConsulDefault describes a response with status code -1, 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
func (*CreateConsulDefault) IsClientError ¶ added in v1.1.0
func (o *CreateConsulDefault) IsClientError() bool
IsClientError returns true when this create consul default response has a 4xx status code
func (*CreateConsulDefault) IsCode ¶ added in v1.1.0
func (o *CreateConsulDefault) IsCode(code int) bool
IsCode returns true when this create consul default response a status code equal to that given
func (*CreateConsulDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateConsulDefault) IsRedirect() bool
IsRedirect returns true when this create consul default response has a 3xx status code
func (*CreateConsulDefault) IsServerError ¶ added in v1.1.0
func (o *CreateConsulDefault) IsServerError() bool
IsServerError returns true when this create consul default response has a 5xx status code
func (*CreateConsulDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateConsulDefault) IsSuccess() bool
IsSuccess returns true when this create consul default response has a 2xx status code
func (*CreateConsulDefault) String ¶ added in v1.1.0
func (o *CreateConsulDefault) String() string
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 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 NewCreateConsulParamsWithContext ¶
func NewCreateConsulParamsWithContext(ctx context.Context) *CreateConsulParams
NewCreateConsulParamsWithContext creates a new CreateConsulParams object with 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 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 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) SetDefaults ¶
func (o *CreateConsulParams) SetDefaults()
SetDefaults hydrates default values in the create consul params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateConsulParams) WithDefaults() *CreateConsulParams
WithDefaults hydrates default values in the create consul params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*DeleteAWSRegionDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) IsClientError() bool
IsClientError returns true when this delete a w s region default response has a 4xx status code
func (*DeleteAWSRegionDefault) IsCode ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) IsCode(code int) bool
IsCode returns true when this delete a w s region default response a status code equal to that given
func (*DeleteAWSRegionDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) IsRedirect() bool
IsRedirect returns true when this delete a w s region default response has a 3xx status code
func (*DeleteAWSRegionDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) IsServerError() bool
IsServerError returns true when this delete a w s region default response has a 5xx status code
func (*DeleteAWSRegionDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) IsSuccess() bool
IsSuccess returns true when this delete a w s region default response has a 2xx status code
func (*DeleteAWSRegionDefault) String ¶ added in v1.1.0
func (o *DeleteAWSRegionDefault) String() string
type DeleteAWSRegionNoContent ¶ added in v0.0.2
type DeleteAWSRegionNoContent struct { }
DeleteAWSRegionNoContent describes a response with status code 204, 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) Code ¶ added in v1.1.5
func (o *DeleteAWSRegionNoContent) Code() int
Code gets the status code for the delete a w s region no content response
func (*DeleteAWSRegionNoContent) Error ¶ added in v0.0.2
func (o *DeleteAWSRegionNoContent) Error() string
func (*DeleteAWSRegionNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) IsClientError() bool
IsClientError returns true when this delete a w s region no content response has a 4xx status code
func (*DeleteAWSRegionNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) IsCode(code int) bool
IsCode returns true when this delete a w s region no content response a status code equal to that given
func (*DeleteAWSRegionNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) IsRedirect() bool
IsRedirect returns true when this delete a w s region no content response has a 3xx status code
func (*DeleteAWSRegionNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) IsServerError() bool
IsServerError returns true when this delete a w s region no content response has a 5xx status code
func (*DeleteAWSRegionNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) IsSuccess() bool
IsSuccess returns true when this delete a w s region no content response has a 2xx status code
func (*DeleteAWSRegionNoContent) String ¶ added in v1.1.0
func (o *DeleteAWSRegionNoContent) String() string
type DeleteAWSRegionNotFound ¶ added in v0.0.2
type DeleteAWSRegionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteAWSRegionNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *DeleteAWSRegionNotFound) Code() int
Code gets the status code for the delete a w s region not found response
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
func (*DeleteAWSRegionNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) IsClientError() bool
IsClientError returns true when this delete a w s region not found response has a 4xx status code
func (*DeleteAWSRegionNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) IsCode(code int) bool
IsCode returns true when this delete a w s region not found response a status code equal to that given
func (*DeleteAWSRegionNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) IsRedirect() bool
IsRedirect returns true when this delete a w s region not found response has a 3xx status code
func (*DeleteAWSRegionNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) IsServerError() bool
IsServerError returns true when this delete a w s region not found response has a 5xx status code
func (*DeleteAWSRegionNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) IsSuccess() bool
IsSuccess returns true when this delete a w s region not found response has a 2xx status code
func (*DeleteAWSRegionNotFound) String ¶ added in v1.1.0
func (o *DeleteAWSRegionNotFound) String() string
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 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 NewDeleteAWSRegionParamsWithContext ¶ added in v0.0.2
func NewDeleteAWSRegionParamsWithContext(ctx context.Context) *DeleteAWSRegionParams
NewDeleteAWSRegionParamsWithContext creates a new DeleteAWSRegionParams object with 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 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 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) SetDefaults ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) SetDefaults()
SetDefaults hydrates default values in the delete a w s region params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.0.2
func (o *DeleteAWSRegionParams) WithDefaults() *DeleteAWSRegionParams
WithDefaults hydrates default values in the delete a w s region params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*DeleteConsulDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteConsulDefault) IsClientError() bool
IsClientError returns true when this delete consul default response has a 4xx status code
func (*DeleteConsulDefault) IsCode ¶ added in v1.1.0
func (o *DeleteConsulDefault) IsCode(code int) bool
IsCode returns true when this delete consul default response a status code equal to that given
func (*DeleteConsulDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteConsulDefault) IsRedirect() bool
IsRedirect returns true when this delete consul default response has a 3xx status code
func (*DeleteConsulDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteConsulDefault) IsServerError() bool
IsServerError returns true when this delete consul default response has a 5xx status code
func (*DeleteConsulDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteConsulDefault) IsSuccess() bool
IsSuccess returns true when this delete consul default response has a 2xx status code
func (*DeleteConsulDefault) String ¶ added in v1.1.0
func (o *DeleteConsulDefault) String() string
type DeleteConsulNoContent ¶
type DeleteConsulNoContent struct { }
DeleteConsulNoContent describes a response with status code 204, with default header values.
Consul server deleted
func NewDeleteConsulNoContent ¶
func NewDeleteConsulNoContent() *DeleteConsulNoContent
NewDeleteConsulNoContent creates a DeleteConsulNoContent with default headers values
func (*DeleteConsulNoContent) Code ¶ added in v1.1.5
func (o *DeleteConsulNoContent) Code() int
Code gets the status code for the delete consul no content response
func (*DeleteConsulNoContent) Error ¶
func (o *DeleteConsulNoContent) Error() string
func (*DeleteConsulNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteConsulNoContent) IsClientError() bool
IsClientError returns true when this delete consul no content response has a 4xx status code
func (*DeleteConsulNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteConsulNoContent) IsCode(code int) bool
IsCode returns true when this delete consul no content response a status code equal to that given
func (*DeleteConsulNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteConsulNoContent) IsRedirect() bool
IsRedirect returns true when this delete consul no content response has a 3xx status code
func (*DeleteConsulNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteConsulNoContent) IsServerError() bool
IsServerError returns true when this delete consul no content response has a 5xx status code
func (*DeleteConsulNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteConsulNoContent) IsSuccess() bool
IsSuccess returns true when this delete consul no content response has a 2xx status code
func (*DeleteConsulNoContent) String ¶ added in v1.1.0
func (o *DeleteConsulNoContent) String() string
type DeleteConsulNotFound ¶
type DeleteConsulNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteConsulNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *DeleteConsulNotFound) Code() int
Code gets the status code for the delete consul not found response
func (*DeleteConsulNotFound) Error ¶
func (o *DeleteConsulNotFound) Error() string
func (*DeleteConsulNotFound) GetPayload ¶
func (o *DeleteConsulNotFound) GetPayload() *models.Error
func (*DeleteConsulNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteConsulNotFound) IsClientError() bool
IsClientError returns true when this delete consul not found response has a 4xx status code
func (*DeleteConsulNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteConsulNotFound) IsCode(code int) bool
IsCode returns true when this delete consul not found response a status code equal to that given
func (*DeleteConsulNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteConsulNotFound) IsRedirect() bool
IsRedirect returns true when this delete consul not found response has a 3xx status code
func (*DeleteConsulNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteConsulNotFound) IsServerError() bool
IsServerError returns true when this delete consul not found response has a 5xx status code
func (*DeleteConsulNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteConsulNotFound) IsSuccess() bool
IsSuccess returns true when this delete consul not found response has a 2xx status code
func (*DeleteConsulNotFound) String ¶ added in v1.1.0
func (o *DeleteConsulNotFound) String() string
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 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 NewDeleteConsulParamsWithContext ¶
func NewDeleteConsulParamsWithContext(ctx context.Context) *DeleteConsulParams
NewDeleteConsulParamsWithContext creates a new DeleteConsulParams object with 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 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 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) SetDefaults ¶
func (o *DeleteConsulParams) SetDefaults()
SetDefaults hydrates default values in the delete consul params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteConsulParams) WithDefaults() *DeleteConsulParams
WithDefaults hydrates default values in the delete consul params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetAWSRegionDefault) IsClientError ¶ added in v1.1.0
func (o *GetAWSRegionDefault) IsClientError() bool
IsClientError returns true when this get a w s region default response has a 4xx status code
func (*GetAWSRegionDefault) IsCode ¶ added in v1.1.0
func (o *GetAWSRegionDefault) IsCode(code int) bool
IsCode returns true when this get a w s region default response a status code equal to that given
func (*GetAWSRegionDefault) IsRedirect ¶ added in v1.1.0
func (o *GetAWSRegionDefault) IsRedirect() bool
IsRedirect returns true when this get a w s region default response has a 3xx status code
func (*GetAWSRegionDefault) IsServerError ¶ added in v1.1.0
func (o *GetAWSRegionDefault) IsServerError() bool
IsServerError returns true when this get a w s region default response has a 5xx status code
func (*GetAWSRegionDefault) IsSuccess ¶ added in v1.1.0
func (o *GetAWSRegionDefault) IsSuccess() bool
IsSuccess returns true when this get a w s region default response has a 2xx status code
func (*GetAWSRegionDefault) String ¶ added in v1.1.0
func (o *GetAWSRegionDefault) String() string
type GetAWSRegionNotFound ¶ added in v0.0.2
type GetAWSRegionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetAWSRegionNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *GetAWSRegionNotFound) Code() int
Code gets the status code for the get a w s region not found response
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
func (*GetAWSRegionNotFound) IsClientError ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) IsClientError() bool
IsClientError returns true when this get a w s region not found response has a 4xx status code
func (*GetAWSRegionNotFound) IsCode ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) IsCode(code int) bool
IsCode returns true when this get a w s region not found response a status code equal to that given
func (*GetAWSRegionNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) IsRedirect() bool
IsRedirect returns true when this get a w s region not found response has a 3xx status code
func (*GetAWSRegionNotFound) IsServerError ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) IsServerError() bool
IsServerError returns true when this get a w s region not found response has a 5xx status code
func (*GetAWSRegionNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) IsSuccess() bool
IsSuccess returns true when this get a w s region not found response has a 2xx status code
func (*GetAWSRegionNotFound) String ¶ added in v1.1.0
func (o *GetAWSRegionNotFound) String() string
type GetAWSRegionOK ¶ added in v0.0.2
type GetAWSRegionOK struct {
Payload *GetAWSRegionOKBody
}
GetAWSRegionOK describes a response with status code 200, 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) Code ¶ added in v1.1.5
func (o *GetAWSRegionOK) Code() int
Code gets the status code for the get a w s region o k response
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
func (*GetAWSRegionOK) IsClientError ¶ added in v1.1.0
func (o *GetAWSRegionOK) IsClientError() bool
IsClientError returns true when this get a w s region o k response has a 4xx status code
func (*GetAWSRegionOK) IsCode ¶ added in v1.1.0
func (o *GetAWSRegionOK) IsCode(code int) bool
IsCode returns true when this get a w s region o k response a status code equal to that given
func (*GetAWSRegionOK) IsRedirect ¶ added in v1.1.0
func (o *GetAWSRegionOK) IsRedirect() bool
IsRedirect returns true when this get a w s region o k response has a 3xx status code
func (*GetAWSRegionOK) IsServerError ¶ added in v1.1.0
func (o *GetAWSRegionOK) IsServerError() bool
IsServerError returns true when this get a w s region o k response has a 5xx status code
func (*GetAWSRegionOK) IsSuccess ¶ added in v1.1.0
func (o *GetAWSRegionOK) IsSuccess() bool
IsSuccess returns true when this get a w s region o k response has a 2xx status code
func (*GetAWSRegionOK) String ¶ added in v1.1.0
func (o *GetAWSRegionOK) String() string
type GetAWSRegionOKBody ¶ added in v0.0.2
GetAWSRegionOKBody get a w s region o k body swagger:model GetAWSRegionOKBody
func (*GetAWSRegionOKBody) ContextValidate ¶ added in v0.0.2
ContextValidate validate this get a w s region o k body based on the context it is used
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 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 NewGetAWSRegionParamsWithContext ¶ added in v0.0.2
func NewGetAWSRegionParamsWithContext(ctx context.Context) *GetAWSRegionParams
NewGetAWSRegionParamsWithContext creates a new GetAWSRegionParams object with 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 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 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) SetDefaults ¶ added in v0.0.2
func (o *GetAWSRegionParams) SetDefaults()
SetDefaults hydrates default values in the get a w s region params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.0.2
func (o *GetAWSRegionParams) WithDefaults() *GetAWSRegionParams
WithDefaults hydrates default values in the get a w s region params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetAWSRegionsDefault) IsClientError ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) IsClientError() bool
IsClientError returns true when this get a w s regions default response has a 4xx status code
func (*GetAWSRegionsDefault) IsCode ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) IsCode(code int) bool
IsCode returns true when this get a w s regions default response a status code equal to that given
func (*GetAWSRegionsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) IsRedirect() bool
IsRedirect returns true when this get a w s regions default response has a 3xx status code
func (*GetAWSRegionsDefault) IsServerError ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) IsServerError() bool
IsServerError returns true when this get a w s regions default response has a 5xx status code
func (*GetAWSRegionsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) IsSuccess() bool
IsSuccess returns true when this get a w s regions default response has a 2xx status code
func (*GetAWSRegionsDefault) String ¶ added in v1.1.0
func (o *GetAWSRegionsDefault) String() string
type GetAWSRegionsOK ¶ added in v0.0.2
type GetAWSRegionsOK struct {
Payload *GetAWSRegionsOKBody
}
GetAWSRegionsOK describes a response with status code 200, 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) Code ¶ added in v1.1.5
func (o *GetAWSRegionsOK) Code() int
Code gets the status code for the get a w s regions o k response
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
func (*GetAWSRegionsOK) IsClientError ¶ added in v1.1.0
func (o *GetAWSRegionsOK) IsClientError() bool
IsClientError returns true when this get a w s regions o k response has a 4xx status code
func (*GetAWSRegionsOK) IsCode ¶ added in v1.1.0
func (o *GetAWSRegionsOK) IsCode(code int) bool
IsCode returns true when this get a w s regions o k response a status code equal to that given
func (*GetAWSRegionsOK) IsRedirect ¶ added in v1.1.0
func (o *GetAWSRegionsOK) IsRedirect() bool
IsRedirect returns true when this get a w s regions o k response has a 3xx status code
func (*GetAWSRegionsOK) IsServerError ¶ added in v1.1.0
func (o *GetAWSRegionsOK) IsServerError() bool
IsServerError returns true when this get a w s regions o k response has a 5xx status code
func (*GetAWSRegionsOK) IsSuccess ¶ added in v1.1.0
func (o *GetAWSRegionsOK) IsSuccess() bool
IsSuccess returns true when this get a w s regions o k response has a 2xx status code
func (*GetAWSRegionsOK) String ¶ added in v1.1.0
func (o *GetAWSRegionsOK) String() string
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) ContextValidate ¶ added in v0.0.2
ContextValidate validate this get a w s regions o k body based on the context it is used
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 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 NewGetAWSRegionsParamsWithContext ¶ added in v0.0.2
func NewGetAWSRegionsParamsWithContext(ctx context.Context) *GetAWSRegionsParams
NewGetAWSRegionsParamsWithContext creates a new GetAWSRegionsParams object with 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 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 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) SetDefaults ¶ added in v0.0.2
func (o *GetAWSRegionsParams) SetDefaults()
SetDefaults hydrates default values in the get a w s regions params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.0.2
func (o *GetAWSRegionsParams) WithDefaults() *GetAWSRegionsParams
WithDefaults hydrates default values in the get a w s regions params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetConsulDefault) IsClientError ¶ added in v1.1.0
func (o *GetConsulDefault) IsClientError() bool
IsClientError returns true when this get consul default response has a 4xx status code
func (*GetConsulDefault) IsCode ¶ added in v1.1.0
func (o *GetConsulDefault) IsCode(code int) bool
IsCode returns true when this get consul default response a status code equal to that given
func (*GetConsulDefault) IsRedirect ¶ added in v1.1.0
func (o *GetConsulDefault) IsRedirect() bool
IsRedirect returns true when this get consul default response has a 3xx status code
func (*GetConsulDefault) IsServerError ¶ added in v1.1.0
func (o *GetConsulDefault) IsServerError() bool
IsServerError returns true when this get consul default response has a 5xx status code
func (*GetConsulDefault) IsSuccess ¶ added in v1.1.0
func (o *GetConsulDefault) IsSuccess() bool
IsSuccess returns true when this get consul default response has a 2xx status code
func (*GetConsulDefault) String ¶ added in v1.1.0
func (o *GetConsulDefault) String() string
type GetConsulNotFound ¶
type GetConsulNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetConsulNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *GetConsulNotFound) Code() int
Code gets the status code for the get consul not found response
func (*GetConsulNotFound) Error ¶
func (o *GetConsulNotFound) Error() string
func (*GetConsulNotFound) GetPayload ¶
func (o *GetConsulNotFound) GetPayload() *models.Error
func (*GetConsulNotFound) IsClientError ¶ added in v1.1.0
func (o *GetConsulNotFound) IsClientError() bool
IsClientError returns true when this get consul not found response has a 4xx status code
func (*GetConsulNotFound) IsCode ¶ added in v1.1.0
func (o *GetConsulNotFound) IsCode(code int) bool
IsCode returns true when this get consul not found response a status code equal to that given
func (*GetConsulNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetConsulNotFound) IsRedirect() bool
IsRedirect returns true when this get consul not found response has a 3xx status code
func (*GetConsulNotFound) IsServerError ¶ added in v1.1.0
func (o *GetConsulNotFound) IsServerError() bool
IsServerError returns true when this get consul not found response has a 5xx status code
func (*GetConsulNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetConsulNotFound) IsSuccess() bool
IsSuccess returns true when this get consul not found response has a 2xx status code
func (*GetConsulNotFound) String ¶ added in v1.1.0
func (o *GetConsulNotFound) String() string
type GetConsulOK ¶
type GetConsulOK struct {
Payload *GetConsulOKBody
}
GetConsulOK describes a response with status code 200, with default header values.
Successful operation
func NewGetConsulOK ¶
func NewGetConsulOK() *GetConsulOK
NewGetConsulOK creates a GetConsulOK with default headers values
func (*GetConsulOK) Code ¶ added in v1.1.5
func (o *GetConsulOK) Code() int
Code gets the status code for the get consul o k response
func (*GetConsulOK) Error ¶
func (o *GetConsulOK) Error() string
func (*GetConsulOK) GetPayload ¶
func (o *GetConsulOK) GetPayload() *GetConsulOKBody
func (*GetConsulOK) IsClientError ¶ added in v1.1.0
func (o *GetConsulOK) IsClientError() bool
IsClientError returns true when this get consul o k response has a 4xx status code
func (*GetConsulOK) IsCode ¶ added in v1.1.0
func (o *GetConsulOK) IsCode(code int) bool
IsCode returns true when this get consul o k response a status code equal to that given
func (*GetConsulOK) IsRedirect ¶ added in v1.1.0
func (o *GetConsulOK) IsRedirect() bool
IsRedirect returns true when this get consul o k response has a 3xx status code
func (*GetConsulOK) IsServerError ¶ added in v1.1.0
func (o *GetConsulOK) IsServerError() bool
IsServerError returns true when this get consul o k response has a 5xx status code
func (*GetConsulOK) IsSuccess ¶ added in v1.1.0
func (o *GetConsulOK) IsSuccess() bool
IsSuccess returns true when this get consul o k response has a 2xx status code
func (*GetConsulOK) String ¶ added in v1.1.0
func (o *GetConsulOK) String() string
type GetConsulOKBody ¶
GetConsulOKBody get consul o k body swagger:model GetConsulOKBody
func (*GetConsulOKBody) ContextValidate ¶
ContextValidate validate this get consul o k body based on the context it is used
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 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 NewGetConsulParamsWithContext ¶
func NewGetConsulParamsWithContext(ctx context.Context) *GetConsulParams
NewGetConsulParamsWithContext creates a new GetConsulParams object with 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 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 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) SetDefaults ¶
func (o *GetConsulParams) SetDefaults()
SetDefaults hydrates default values in the get consul params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetConsulParams) WithDefaults() *GetConsulParams
WithDefaults hydrates default values in the get consul params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetConsulsDefault) IsClientError ¶ added in v1.1.0
func (o *GetConsulsDefault) IsClientError() bool
IsClientError returns true when this get consuls default response has a 4xx status code
func (*GetConsulsDefault) IsCode ¶ added in v1.1.0
func (o *GetConsulsDefault) IsCode(code int) bool
IsCode returns true when this get consuls default response a status code equal to that given
func (*GetConsulsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetConsulsDefault) IsRedirect() bool
IsRedirect returns true when this get consuls default response has a 3xx status code
func (*GetConsulsDefault) IsServerError ¶ added in v1.1.0
func (o *GetConsulsDefault) IsServerError() bool
IsServerError returns true when this get consuls default response has a 5xx status code
func (*GetConsulsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetConsulsDefault) IsSuccess() bool
IsSuccess returns true when this get consuls default response has a 2xx status code
func (*GetConsulsDefault) String ¶ added in v1.1.0
func (o *GetConsulsDefault) String() string
type GetConsulsOK ¶
type GetConsulsOK struct {
Payload *GetConsulsOKBody
}
GetConsulsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetConsulsOK ¶
func NewGetConsulsOK() *GetConsulsOK
NewGetConsulsOK creates a GetConsulsOK with default headers values
func (*GetConsulsOK) Code ¶ added in v1.1.5
func (o *GetConsulsOK) Code() int
Code gets the status code for the get consuls o k response
func (*GetConsulsOK) Error ¶
func (o *GetConsulsOK) Error() string
func (*GetConsulsOK) GetPayload ¶
func (o *GetConsulsOK) GetPayload() *GetConsulsOKBody
func (*GetConsulsOK) IsClientError ¶ added in v1.1.0
func (o *GetConsulsOK) IsClientError() bool
IsClientError returns true when this get consuls o k response has a 4xx status code
func (*GetConsulsOK) IsCode ¶ added in v1.1.0
func (o *GetConsulsOK) IsCode(code int) bool
IsCode returns true when this get consuls o k response a status code equal to that given
func (*GetConsulsOK) IsRedirect ¶ added in v1.1.0
func (o *GetConsulsOK) IsRedirect() bool
IsRedirect returns true when this get consuls o k response has a 3xx status code
func (*GetConsulsOK) IsServerError ¶ added in v1.1.0
func (o *GetConsulsOK) IsServerError() bool
IsServerError returns true when this get consuls o k response has a 5xx status code
func (*GetConsulsOK) IsSuccess ¶ added in v1.1.0
func (o *GetConsulsOK) IsSuccess() bool
IsSuccess returns true when this get consuls o k response has a 2xx status code
func (*GetConsulsOK) String ¶ added in v1.1.0
func (o *GetConsulsOK) String() string
type GetConsulsOKBody ¶
GetConsulsOKBody get consuls o k body swagger:model GetConsulsOKBody
func (*GetConsulsOKBody) ContextValidate ¶
ContextValidate validate this get consuls o k body based on the context it is used
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 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 NewGetConsulsParamsWithContext ¶
func NewGetConsulsParamsWithContext(ctx context.Context) *GetConsulsParams
NewGetConsulsParamsWithContext creates a new GetConsulsParams object with 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 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 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) SetDefaults ¶
func (o *GetConsulsParams) SetDefaults()
SetDefaults hydrates default values in the get consuls params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetConsulsParams) WithDefaults() *GetConsulsParams
WithDefaults hydrates default values in the get consuls params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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) Code ¶ added in v1.1.5
func (o *ReplaceAWSRegionBadRequest) Code() int
Code gets the status code for the replace a w s region bad request response
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
func (*ReplaceAWSRegionBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) IsClientError() bool
IsClientError returns true when this replace a w s region bad request response has a 4xx status code
func (*ReplaceAWSRegionBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) IsCode(code int) bool
IsCode returns true when this replace a w s region bad request response a status code equal to that given
func (*ReplaceAWSRegionBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) IsRedirect() bool
IsRedirect returns true when this replace a w s region bad request response has a 3xx status code
func (*ReplaceAWSRegionBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) IsServerError() bool
IsServerError returns true when this replace a w s region bad request response has a 5xx status code
func (*ReplaceAWSRegionBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) IsSuccess() bool
IsSuccess returns true when this replace a w s region bad request response has a 2xx status code
func (*ReplaceAWSRegionBadRequest) String ¶ added in v1.1.0
func (o *ReplaceAWSRegionBadRequest) String() string
type ReplaceAWSRegionDefault ¶ added in v0.0.2
type ReplaceAWSRegionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceAWSRegionDefault describes a response with status code -1, 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
func (*ReplaceAWSRegionDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) IsClientError() bool
IsClientError returns true when this replace a w s region default response has a 4xx status code
func (*ReplaceAWSRegionDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) IsCode(code int) bool
IsCode returns true when this replace a w s region default response a status code equal to that given
func (*ReplaceAWSRegionDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) IsRedirect() bool
IsRedirect returns true when this replace a w s region default response has a 3xx status code
func (*ReplaceAWSRegionDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) IsServerError() bool
IsServerError returns true when this replace a w s region default response has a 5xx status code
func (*ReplaceAWSRegionDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) IsSuccess() bool
IsSuccess returns true when this replace a w s region default response has a 2xx status code
func (*ReplaceAWSRegionDefault) String ¶ added in v1.1.0
func (o *ReplaceAWSRegionDefault) String() string
type ReplaceAWSRegionNotFound ¶ added in v0.0.2
type ReplaceAWSRegionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceAWSRegionNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *ReplaceAWSRegionNotFound) Code() int
Code gets the status code for the replace a w s region not found response
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
func (*ReplaceAWSRegionNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) IsClientError() bool
IsClientError returns true when this replace a w s region not found response has a 4xx status code
func (*ReplaceAWSRegionNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) IsCode(code int) bool
IsCode returns true when this replace a w s region not found response a status code equal to that given
func (*ReplaceAWSRegionNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) IsRedirect() bool
IsRedirect returns true when this replace a w s region not found response has a 3xx status code
func (*ReplaceAWSRegionNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) IsServerError() bool
IsServerError returns true when this replace a w s region not found response has a 5xx status code
func (*ReplaceAWSRegionNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) IsSuccess() bool
IsSuccess returns true when this replace a w s region not found response has a 2xx status code
func (*ReplaceAWSRegionNotFound) String ¶ added in v1.1.0
func (o *ReplaceAWSRegionNotFound) String() string
type ReplaceAWSRegionOK ¶ added in v0.0.2
ReplaceAWSRegionOK describes a response with status code 200, 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) Code ¶ added in v1.1.5
func (o *ReplaceAWSRegionOK) Code() int
Code gets the status code for the replace a w s region o k response
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
func (*ReplaceAWSRegionOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) IsClientError() bool
IsClientError returns true when this replace a w s region o k response has a 4xx status code
func (*ReplaceAWSRegionOK) IsCode ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) IsCode(code int) bool
IsCode returns true when this replace a w s region o k response a status code equal to that given
func (*ReplaceAWSRegionOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) IsRedirect() bool
IsRedirect returns true when this replace a w s region o k response has a 3xx status code
func (*ReplaceAWSRegionOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) IsServerError() bool
IsServerError returns true when this replace a w s region o k response has a 5xx status code
func (*ReplaceAWSRegionOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) IsSuccess() bool
IsSuccess returns true when this replace a w s region o k response has a 2xx status code
func (*ReplaceAWSRegionOK) String ¶ added in v1.1.0
func (o *ReplaceAWSRegionOK) String() string
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 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 NewReplaceAWSRegionParamsWithContext ¶ added in v0.0.2
func NewReplaceAWSRegionParamsWithContext(ctx context.Context) *ReplaceAWSRegionParams
NewReplaceAWSRegionParamsWithContext creates a new ReplaceAWSRegionParams object with 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 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 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) SetDefaults ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) SetDefaults()
SetDefaults hydrates default values in the replace a w s region params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.0.2
func (o *ReplaceAWSRegionParams) WithDefaults() *ReplaceAWSRegionParams
WithDefaults hydrates default values in the replace a w s region params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, with default header values.
Bad request
func NewReplaceConsulBadRequest ¶
func NewReplaceConsulBadRequest() *ReplaceConsulBadRequest
NewReplaceConsulBadRequest creates a ReplaceConsulBadRequest with default headers values
func (*ReplaceConsulBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceConsulBadRequest) Code() int
Code gets the status code for the replace consul bad request response
func (*ReplaceConsulBadRequest) Error ¶
func (o *ReplaceConsulBadRequest) Error() string
func (*ReplaceConsulBadRequest) GetPayload ¶
func (o *ReplaceConsulBadRequest) GetPayload() *models.Error
func (*ReplaceConsulBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) IsClientError() bool
IsClientError returns true when this replace consul bad request response has a 4xx status code
func (*ReplaceConsulBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) IsCode(code int) bool
IsCode returns true when this replace consul bad request response a status code equal to that given
func (*ReplaceConsulBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) IsRedirect() bool
IsRedirect returns true when this replace consul bad request response has a 3xx status code
func (*ReplaceConsulBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) IsServerError() bool
IsServerError returns true when this replace consul bad request response has a 5xx status code
func (*ReplaceConsulBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) IsSuccess() bool
IsSuccess returns true when this replace consul bad request response has a 2xx status code
func (*ReplaceConsulBadRequest) String ¶ added in v1.1.0
func (o *ReplaceConsulBadRequest) String() string
type ReplaceConsulDefault ¶
type ReplaceConsulDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceConsulDefault describes a response with status code -1, 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
func (*ReplaceConsulDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceConsulDefault) IsClientError() bool
IsClientError returns true when this replace consul default response has a 4xx status code
func (*ReplaceConsulDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceConsulDefault) IsCode(code int) bool
IsCode returns true when this replace consul default response a status code equal to that given
func (*ReplaceConsulDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceConsulDefault) IsRedirect() bool
IsRedirect returns true when this replace consul default response has a 3xx status code
func (*ReplaceConsulDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceConsulDefault) IsServerError() bool
IsServerError returns true when this replace consul default response has a 5xx status code
func (*ReplaceConsulDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceConsulDefault) IsSuccess() bool
IsSuccess returns true when this replace consul default response has a 2xx status code
func (*ReplaceConsulDefault) String ¶ added in v1.1.0
func (o *ReplaceConsulDefault) String() string
type ReplaceConsulNotFound ¶
type ReplaceConsulNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceConsulNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *ReplaceConsulNotFound) Code() int
Code gets the status code for the replace consul not found response
func (*ReplaceConsulNotFound) Error ¶
func (o *ReplaceConsulNotFound) Error() string
func (*ReplaceConsulNotFound) GetPayload ¶
func (o *ReplaceConsulNotFound) GetPayload() *models.Error
func (*ReplaceConsulNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) IsClientError() bool
IsClientError returns true when this replace consul not found response has a 4xx status code
func (*ReplaceConsulNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) IsCode(code int) bool
IsCode returns true when this replace consul not found response a status code equal to that given
func (*ReplaceConsulNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) IsRedirect() bool
IsRedirect returns true when this replace consul not found response has a 3xx status code
func (*ReplaceConsulNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) IsServerError() bool
IsServerError returns true when this replace consul not found response has a 5xx status code
func (*ReplaceConsulNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) IsSuccess() bool
IsSuccess returns true when this replace consul not found response has a 2xx status code
func (*ReplaceConsulNotFound) String ¶ added in v1.1.0
func (o *ReplaceConsulNotFound) String() string
type ReplaceConsulOK ¶
ReplaceConsulOK describes a response with status code 200, with default header values.
Consul server replaced
func NewReplaceConsulOK ¶
func NewReplaceConsulOK() *ReplaceConsulOK
NewReplaceConsulOK creates a ReplaceConsulOK with default headers values
func (*ReplaceConsulOK) Code ¶ added in v1.1.5
func (o *ReplaceConsulOK) Code() int
Code gets the status code for the replace consul o k response
func (*ReplaceConsulOK) Error ¶
func (o *ReplaceConsulOK) Error() string
func (*ReplaceConsulOK) GetPayload ¶
func (o *ReplaceConsulOK) GetPayload() *models.Consul
func (*ReplaceConsulOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceConsulOK) IsClientError() bool
IsClientError returns true when this replace consul o k response has a 4xx status code
func (*ReplaceConsulOK) IsCode ¶ added in v1.1.0
func (o *ReplaceConsulOK) IsCode(code int) bool
IsCode returns true when this replace consul o k response a status code equal to that given
func (*ReplaceConsulOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceConsulOK) IsRedirect() bool
IsRedirect returns true when this replace consul o k response has a 3xx status code
func (*ReplaceConsulOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceConsulOK) IsServerError() bool
IsServerError returns true when this replace consul o k response has a 5xx status code
func (*ReplaceConsulOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceConsulOK) IsSuccess() bool
IsSuccess returns true when this replace consul o k response has a 2xx status code
func (*ReplaceConsulOK) String ¶ added in v1.1.0
func (o *ReplaceConsulOK) String() string
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 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 NewReplaceConsulParamsWithContext ¶
func NewReplaceConsulParamsWithContext(ctx context.Context) *ReplaceConsulParams
NewReplaceConsulParamsWithContext creates a new ReplaceConsulParams object with 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 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 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) SetDefaults ¶
func (o *ReplaceConsulParams) SetDefaults()
SetDefaults hydrates default values in the replace consul params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *ReplaceConsulParams) WithDefaults() *ReplaceConsulParams
WithDefaults hydrates default values in the replace consul params (not the query body).
All values with no default are reset to their zero value.
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