service_discovery

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

type CreateAWSRegionCreated struct {
	Payload *models.AwsRegion
}

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

WithContext adds the context to the create a w s region params

func (*CreateAWSRegionParams) WithData added in v0.0.2

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

type CreateConsulCreated struct {
	Payload *models.Consul
}

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

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

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

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

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

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

type GetAWSRegionOKBody struct {

	// data
	Data *models.AwsRegion `json:"data,omitempty"`
}

GetAWSRegionOKBody get a w s region o k body swagger:model GetAWSRegionOKBody

func (*GetAWSRegionOKBody) ContextValidate added in v0.0.2

func (o *GetAWSRegionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetAWSRegionOKBody) Validate added in v0.0.2

func (o *GetAWSRegionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get a w s region o k body

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

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

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

func (o *GetAWSRegionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetAWSRegionsOKBody) Validate added in v0.0.2

func (o *GetAWSRegionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get a w s regions o k body

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

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

type GetConsulOKBody struct {

	// data
	Data *models.Consul `json:"data,omitempty"`
}

GetConsulOKBody get consul o k body swagger:model GetConsulOKBody

func (*GetConsulOKBody) ContextValidate

func (o *GetConsulOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetConsulOKBody) Validate

func (o *GetConsulOKBody) Validate(formats strfmt.Registry) error

Validate validates this get consul o k body

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

type GetConsulsOKBody struct {

	// data
	// Required: true
	Data models.Consuls `json:"data"`
}

GetConsulsOKBody get consuls o k body swagger:model GetConsulsOKBody

func (*GetConsulsOKBody) ContextValidate

func (o *GetConsulsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetConsulsOKBody) Validate

func (o *GetConsulsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get consuls o k body

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 (*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

type ReplaceAWSRegionOK struct {
	Payload *models.AwsRegion
}

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

WithContext adds the context to the replace a w s region params

func (*ReplaceAWSRegionParams) WithData added in v0.0.2

WithData adds the data to the replace a w s region params

func (*ReplaceAWSRegionParams) WithDefaults added in v0.0.2

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

WithID adds the id to the replace a w s region params

func (*ReplaceAWSRegionParams) WithTimeout added in v0.0.2

WithTimeout adds the timeout to the replace a w s region params

func (*ReplaceAWSRegionParams) WriteToRequest added in v0.0.2

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

type ReplaceConsulOK struct {
	Payload *models.Consul
}

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

WithContext adds the context to the replace consul params

func (*ReplaceConsulParams) WithData

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL