addresses

package
v0.0.0-...-0997622 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2017 License: Apache-2.0 Imports: 9 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 addresses API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new addresses API client.

func (*Client) CreateAddress

func (a *Client) CreateAddress(params *CreateAddressParams) (*CreateAddressCreated, error)

CreateAddress Create address config and append to existing map

func (*Client) DeleteAddresses

func (a *Client) DeleteAddresses(params *DeleteAddressesParams) (*DeleteAddressesOK, error)

DeleteAddresses Delete one or more addresses from the configuration

func (*Client) ListAddresses

func (a *Client) ListAddresses(params *ListAddressesParams) (*ListAddressesOK, error)

ListAddresses Returns the addressing configuration for the cluster

func (*Client) PutAddresses

func (a *Client) PutAddresses(params *PutAddressesParams) (*PutAddressesCreated, error)

PutAddresses Replace existing address config with a new

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateAddressCreated

type CreateAddressCreated struct {
	/*The address config that was deployed
	 */
	Location string

	Payload models.AddressConfigMap
}

CreateAddressCreated handles this case with default header values.

Address config response

func NewCreateAddressCreated

func NewCreateAddressCreated() *CreateAddressCreated

NewCreateAddressCreated creates a CreateAddressCreated with default headers values

func (*CreateAddressCreated) Error

func (o *CreateAddressCreated) Error() string

type CreateAddressDefault

type CreateAddressDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CreateAddressDefault handles this case with default header values.

Unexpected error

func NewCreateAddressDefault

func NewCreateAddressDefault(code int) *CreateAddressDefault

NewCreateAddressDefault creates a CreateAddressDefault with default headers values

func (*CreateAddressDefault) Code

func (o *CreateAddressDefault) Code() int

Code gets the status code for the create address default response

func (*CreateAddressDefault) Error

func (o *CreateAddressDefault) Error() string

type CreateAddressParams

type CreateAddressParams struct {

	/*AddressConfigMap
	  AddressConfig to create

	*/
	AddressConfigMap models.AddressConfigMap

	Context context.Context
	// contains filtered or unexported fields
}

CreateAddressParams contains all the parameters to send to the API endpoint for the create address operation typically these are written to a http.Request

func NewCreateAddressParams

func NewCreateAddressParams() *CreateAddressParams

NewCreateAddressParams creates a new CreateAddressParams object with the default values initialized.

func NewCreateAddressParamsWithContext

func NewCreateAddressParamsWithContext(ctx context.Context) *CreateAddressParams

NewCreateAddressParamsWithContext creates a new CreateAddressParams object with the default values initialized, and the ability to set a context for a request

func NewCreateAddressParamsWithTimeout

func NewCreateAddressParamsWithTimeout(timeout time.Duration) *CreateAddressParams

NewCreateAddressParamsWithTimeout creates a new CreateAddressParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateAddressParams) SetAddressConfigMap

func (o *CreateAddressParams) SetAddressConfigMap(addressConfigMap models.AddressConfigMap)

SetAddressConfigMap adds the addressConfigMap to the create address params

func (*CreateAddressParams) SetContext

func (o *CreateAddressParams) SetContext(ctx context.Context)

SetContext adds the context to the create address params

func (*CreateAddressParams) SetTimeout

func (o *CreateAddressParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create address params

func (*CreateAddressParams) WithAddressConfigMap

func (o *CreateAddressParams) WithAddressConfigMap(addressConfigMap models.AddressConfigMap) *CreateAddressParams

WithAddressConfigMap adds the addressConfigMap to the create address params

func (*CreateAddressParams) WithContext

WithContext adds the context to the create address params

func (*CreateAddressParams) WithTimeout

func (o *CreateAddressParams) WithTimeout(timeout time.Duration) *CreateAddressParams

WithTimeout adds the timeout to the create address params

func (*CreateAddressParams) WriteToRequest

func (o *CreateAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAddressReader

type CreateAddressReader struct {
	// contains filtered or unexported fields
}

CreateAddressReader is a Reader for the CreateAddress structure.

func (*CreateAddressReader) ReadResponse

func (o *CreateAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAddressesDefault

type DeleteAddressesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteAddressesDefault handles this case with default header values.

Unexpected error

func NewDeleteAddressesDefault

func NewDeleteAddressesDefault(code int) *DeleteAddressesDefault

NewDeleteAddressesDefault creates a DeleteAddressesDefault with default headers values

func (*DeleteAddressesDefault) Code

func (o *DeleteAddressesDefault) Code() int

Code gets the status code for the delete addresses default response

func (*DeleteAddressesDefault) Error

func (o *DeleteAddressesDefault) Error() string

type DeleteAddressesOK

type DeleteAddressesOK struct {
	Payload models.AddressConfigMap
}

DeleteAddressesOK handles this case with default header values.

Address config response

func NewDeleteAddressesOK

func NewDeleteAddressesOK() *DeleteAddressesOK

NewDeleteAddressesOK creates a DeleteAddressesOK with default headers values

func (*DeleteAddressesOK) Error

func (o *DeleteAddressesOK) Error() string

type DeleteAddressesParams

type DeleteAddressesParams struct {

	/*AddressList
	  List of addresses

	*/
	AddressList models.AddressList

	Context context.Context
	// contains filtered or unexported fields
}

DeleteAddressesParams contains all the parameters to send to the API endpoint for the delete addresses operation typically these are written to a http.Request

func NewDeleteAddressesParams

func NewDeleteAddressesParams() *DeleteAddressesParams

NewDeleteAddressesParams creates a new DeleteAddressesParams object with the default values initialized.

func NewDeleteAddressesParamsWithContext

func NewDeleteAddressesParamsWithContext(ctx context.Context) *DeleteAddressesParams

NewDeleteAddressesParamsWithContext creates a new DeleteAddressesParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAddressesParamsWithTimeout

func NewDeleteAddressesParamsWithTimeout(timeout time.Duration) *DeleteAddressesParams

NewDeleteAddressesParamsWithTimeout creates a new DeleteAddressesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAddressesParams) SetAddressList

func (o *DeleteAddressesParams) SetAddressList(addressList models.AddressList)

SetAddressList adds the addressList to the delete addresses params

func (*DeleteAddressesParams) SetContext

func (o *DeleteAddressesParams) SetContext(ctx context.Context)

SetContext adds the context to the delete addresses params

func (*DeleteAddressesParams) SetTimeout

func (o *DeleteAddressesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete addresses params

func (*DeleteAddressesParams) WithAddressList

func (o *DeleteAddressesParams) WithAddressList(addressList models.AddressList) *DeleteAddressesParams

WithAddressList adds the addressList to the delete addresses params

func (*DeleteAddressesParams) WithContext

WithContext adds the context to the delete addresses params

func (*DeleteAddressesParams) WithTimeout

func (o *DeleteAddressesParams) WithTimeout(timeout time.Duration) *DeleteAddressesParams

WithTimeout adds the timeout to the delete addresses params

func (*DeleteAddressesParams) WriteToRequest

func (o *DeleteAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAddressesReader

type DeleteAddressesReader struct {
	// contains filtered or unexported fields
}

DeleteAddressesReader is a Reader for the DeleteAddresses structure.

func (*DeleteAddressesReader) ReadResponse

func (o *DeleteAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAddressesDefault

type ListAddressesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAddressesDefault handles this case with default header values.

Unexpected error

func NewListAddressesDefault

func NewListAddressesDefault(code int) *ListAddressesDefault

NewListAddressesDefault creates a ListAddressesDefault with default headers values

func (*ListAddressesDefault) Code

func (o *ListAddressesDefault) Code() int

Code gets the status code for the list addresses default response

func (*ListAddressesDefault) Error

func (o *ListAddressesDefault) Error() string

type ListAddressesOK

type ListAddressesOK struct {
	Payload models.AddressConfigMap
}

ListAddressesOK handles this case with default header values.

Address config response

func NewListAddressesOK

func NewListAddressesOK() *ListAddressesOK

NewListAddressesOK creates a ListAddressesOK with default headers values

func (*ListAddressesOK) Error

func (o *ListAddressesOK) Error() string

type ListAddressesParams

type ListAddressesParams struct {
	Context context.Context
	// contains filtered or unexported fields
}

ListAddressesParams contains all the parameters to send to the API endpoint for the list addresses operation typically these are written to a http.Request

func NewListAddressesParams

func NewListAddressesParams() *ListAddressesParams

NewListAddressesParams creates a new ListAddressesParams object with the default values initialized.

func NewListAddressesParamsWithContext

func NewListAddressesParamsWithContext(ctx context.Context) *ListAddressesParams

NewListAddressesParamsWithContext creates a new ListAddressesParams object with the default values initialized, and the ability to set a context for a request

func NewListAddressesParamsWithTimeout

func NewListAddressesParamsWithTimeout(timeout time.Duration) *ListAddressesParams

NewListAddressesParamsWithTimeout creates a new ListAddressesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAddressesParams) SetContext

func (o *ListAddressesParams) SetContext(ctx context.Context)

SetContext adds the context to the list addresses params

func (*ListAddressesParams) SetTimeout

func (o *ListAddressesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list addresses params

func (*ListAddressesParams) WithContext

WithContext adds the context to the list addresses params

func (*ListAddressesParams) WithTimeout

func (o *ListAddressesParams) WithTimeout(timeout time.Duration) *ListAddressesParams

WithTimeout adds the timeout to the list addresses params

func (*ListAddressesParams) WriteToRequest

func (o *ListAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAddressesReader

type ListAddressesReader struct {
	// contains filtered or unexported fields
}

ListAddressesReader is a Reader for the ListAddresses structure.

func (*ListAddressesReader) ReadResponse

func (o *ListAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutAddressesCreated

type PutAddressesCreated struct {
	/*The address config that was deployed
	 */
	Location string

	Payload models.AddressConfigMap
}

PutAddressesCreated handles this case with default header values.

Address config response

func NewPutAddressesCreated

func NewPutAddressesCreated() *PutAddressesCreated

NewPutAddressesCreated creates a PutAddressesCreated with default headers values

func (*PutAddressesCreated) Error

func (o *PutAddressesCreated) Error() string

type PutAddressesDefault

type PutAddressesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

PutAddressesDefault handles this case with default header values.

Unexpected error

func NewPutAddressesDefault

func NewPutAddressesDefault(code int) *PutAddressesDefault

NewPutAddressesDefault creates a PutAddressesDefault with default headers values

func (*PutAddressesDefault) Code

func (o *PutAddressesDefault) Code() int

Code gets the status code for the put addresses default response

func (*PutAddressesDefault) Error

func (o *PutAddressesDefault) Error() string

type PutAddressesParams

type PutAddressesParams struct {

	/*AddressConfigMap
	  AddressConfig to set

	*/
	AddressConfigMap models.AddressConfigMap

	Context context.Context
	// contains filtered or unexported fields
}

PutAddressesParams contains all the parameters to send to the API endpoint for the put addresses operation typically these are written to a http.Request

func NewPutAddressesParams

func NewPutAddressesParams() *PutAddressesParams

NewPutAddressesParams creates a new PutAddressesParams object with the default values initialized.

func NewPutAddressesParamsWithContext

func NewPutAddressesParamsWithContext(ctx context.Context) *PutAddressesParams

NewPutAddressesParamsWithContext creates a new PutAddressesParams object with the default values initialized, and the ability to set a context for a request

func NewPutAddressesParamsWithTimeout

func NewPutAddressesParamsWithTimeout(timeout time.Duration) *PutAddressesParams

NewPutAddressesParamsWithTimeout creates a new PutAddressesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutAddressesParams) SetAddressConfigMap

func (o *PutAddressesParams) SetAddressConfigMap(addressConfigMap models.AddressConfigMap)

SetAddressConfigMap adds the addressConfigMap to the put addresses params

func (*PutAddressesParams) SetContext

func (o *PutAddressesParams) SetContext(ctx context.Context)

SetContext adds the context to the put addresses params

func (*PutAddressesParams) SetTimeout

func (o *PutAddressesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put addresses params

func (*PutAddressesParams) WithAddressConfigMap

func (o *PutAddressesParams) WithAddressConfigMap(addressConfigMap models.AddressConfigMap) *PutAddressesParams

WithAddressConfigMap adds the addressConfigMap to the put addresses params

func (*PutAddressesParams) WithContext

WithContext adds the context to the put addresses params

func (*PutAddressesParams) WithTimeout

func (o *PutAddressesParams) WithTimeout(timeout time.Duration) *PutAddressesParams

WithTimeout adds the timeout to the put addresses params

func (*PutAddressesParams) WriteToRequest

func (o *PutAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutAddressesReader

type PutAddressesReader struct {
	// contains filtered or unexported fields
}

PutAddressesReader is a Reader for the PutAddresses structure.

func (*PutAddressesReader) ReadResponse

func (o *PutAddressesReader) 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