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: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAddress

type CreateAddress struct {
	Context *middleware.Context
	Handler CreateAddressHandler
}

CreateAddress swagger:route POST /v1/enmasse/addresses addresses createAddress

Create address config and append to existing map

func NewCreateAddress

func NewCreateAddress(ctx *middleware.Context, handler CreateAddressHandler) *CreateAddress

NewCreateAddress creates a new http.Handler for the create address operation

func (*CreateAddress) ServeHTTP

func (o *CreateAddress) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateAddressCreated

type CreateAddressCreated struct {
	/*The address config that was deployed
	  Required: true
	*/
	Location string `json:"Location"`

	// In: body
	Payload models.AddressConfigMap `json:"body,omitempty"`
}

CreateAddressCreated Address config response

swagger:response createAddressCreated

func NewCreateAddressCreated

func NewCreateAddressCreated() *CreateAddressCreated

NewCreateAddressCreated creates CreateAddressCreated with default headers values

func (*CreateAddressCreated) SetLocation

func (o *CreateAddressCreated) SetLocation(location string)

SetLocation sets the location to the create address created response

func (*CreateAddressCreated) SetPayload

func (o *CreateAddressCreated) SetPayload(payload models.AddressConfigMap)

SetPayload sets the payload to the create address created response

func (*CreateAddressCreated) WithLocation

func (o *CreateAddressCreated) WithLocation(location string) *CreateAddressCreated

WithLocation adds the location to the create address created response

func (*CreateAddressCreated) WithPayload

WithPayload adds the payload to the create address created response

func (*CreateAddressCreated) WriteResponse

func (o *CreateAddressCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAddressDefault

type CreateAddressDefault struct {

	// In: body
	Payload *models.ErrorResponse `json:"body,omitempty"`
	// contains filtered or unexported fields
}

CreateAddressDefault Unexpected error

swagger:response createAddressDefault

func NewCreateAddressDefault

func NewCreateAddressDefault(code int) *CreateAddressDefault

NewCreateAddressDefault creates CreateAddressDefault with default headers values

func (*CreateAddressDefault) SetPayload

func (o *CreateAddressDefault) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the create address default response

func (*CreateAddressDefault) SetStatusCode

func (o *CreateAddressDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create address default response

func (*CreateAddressDefault) WithPayload

WithPayload adds the payload to the create address default response

func (*CreateAddressDefault) WithStatusCode

func (o *CreateAddressDefault) WithStatusCode(code int) *CreateAddressDefault

WithStatusCode adds the status to the create address default response

func (*CreateAddressDefault) WriteResponse

func (o *CreateAddressDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAddressHandler

type CreateAddressHandler interface {
	Handle(CreateAddressParams) middleware.Responder
}

CreateAddressHandler interface for that can handle valid create address params

type CreateAddressHandlerFunc

type CreateAddressHandlerFunc func(CreateAddressParams) middleware.Responder

CreateAddressHandlerFunc turns a function with the right signature into a create address handler

func (CreateAddressHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAddressParams

type CreateAddressParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*AddressConfig to create
	  Required: true
	  In: body
	*/
	AddressConfigMap models.AddressConfigMap
}

CreateAddressParams contains all the bound params for the create address operation typically these are obtained from a http.Request

swagger:parameters createAddress

func NewCreateAddressParams

func NewCreateAddressParams() CreateAddressParams

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

func (*CreateAddressParams) BindRequest

func (o *CreateAddressParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls

type CreateAddressURL

type CreateAddressURL struct {
}

CreateAddressURL generates an URL for the create address operation

func (*CreateAddressURL) Build

func (o *CreateAddressURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAddressURL) BuildFull

func (o *CreateAddressURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAddressURL) Must

func (o *CreateAddressURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAddressURL) String

func (o *CreateAddressURL) String() string

String returns the string representation of the path with query string

func (*CreateAddressURL) StringFull

func (o *CreateAddressURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

type DeleteAddresses

type DeleteAddresses struct {
	Context *middleware.Context
	Handler DeleteAddressesHandler
}

DeleteAddresses swagger:route DELETE /v1/enmasse/addresses addresses deleteAddresses

Delete one or more addresses from the configuration

func NewDeleteAddresses

func NewDeleteAddresses(ctx *middleware.Context, handler DeleteAddressesHandler) *DeleteAddresses

NewDeleteAddresses creates a new http.Handler for the delete addresses operation

func (*DeleteAddresses) ServeHTTP

func (o *DeleteAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteAddressesDefault

type DeleteAddressesDefault struct {

	// In: body
	Payload *models.ErrorResponse `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteAddressesDefault Unexpected error

swagger:response deleteAddressesDefault

func NewDeleteAddressesDefault

func NewDeleteAddressesDefault(code int) *DeleteAddressesDefault

NewDeleteAddressesDefault creates DeleteAddressesDefault with default headers values

func (*DeleteAddressesDefault) SetPayload

func (o *DeleteAddressesDefault) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the delete addresses default response

func (*DeleteAddressesDefault) SetStatusCode

func (o *DeleteAddressesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete addresses default response

func (*DeleteAddressesDefault) WithPayload

WithPayload adds the payload to the delete addresses default response

func (*DeleteAddressesDefault) WithStatusCode

func (o *DeleteAddressesDefault) WithStatusCode(code int) *DeleteAddressesDefault

WithStatusCode adds the status to the delete addresses default response

func (*DeleteAddressesDefault) WriteResponse

func (o *DeleteAddressesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAddressesHandler

type DeleteAddressesHandler interface {
	Handle(DeleteAddressesParams) middleware.Responder
}

DeleteAddressesHandler interface for that can handle valid delete addresses params

type DeleteAddressesHandlerFunc

type DeleteAddressesHandlerFunc func(DeleteAddressesParams) middleware.Responder

DeleteAddressesHandlerFunc turns a function with the right signature into a delete addresses handler

func (DeleteAddressesHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteAddressesOK

type DeleteAddressesOK struct {

	// In: body
	Payload models.AddressConfigMap `json:"body,omitempty"`
}

DeleteAddressesOK Address config response

swagger:response deleteAddressesOK

func NewDeleteAddressesOK

func NewDeleteAddressesOK() *DeleteAddressesOK

NewDeleteAddressesOK creates DeleteAddressesOK with default headers values

func (*DeleteAddressesOK) SetPayload

func (o *DeleteAddressesOK) SetPayload(payload models.AddressConfigMap)

SetPayload sets the payload to the delete addresses o k response

func (*DeleteAddressesOK) WithPayload

WithPayload adds the payload to the delete addresses o k response

func (*DeleteAddressesOK) WriteResponse

func (o *DeleteAddressesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteAddressesParams

type DeleteAddressesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*List of addresses
	  Required: true
	  In: body
	*/
	AddressList models.AddressList
}

DeleteAddressesParams contains all the bound params for the delete addresses operation typically these are obtained from a http.Request

swagger:parameters deleteAddresses

func NewDeleteAddressesParams

func NewDeleteAddressesParams() DeleteAddressesParams

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

func (*DeleteAddressesParams) BindRequest

func (o *DeleteAddressesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls

type DeleteAddressesURL

type DeleteAddressesURL struct {
}

DeleteAddressesURL generates an URL for the delete addresses operation

func (*DeleteAddressesURL) Build

func (o *DeleteAddressesURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteAddressesURL) BuildFull

func (o *DeleteAddressesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteAddressesURL) Must

func (o *DeleteAddressesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteAddressesURL) String

func (o *DeleteAddressesURL) String() string

String returns the string representation of the path with query string

func (*DeleteAddressesURL) StringFull

func (o *DeleteAddressesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

type ListAddresses

type ListAddresses struct {
	Context *middleware.Context
	Handler ListAddressesHandler
}

ListAddresses swagger:route GET /v1/enmasse/addresses addresses listAddresses

Returns the addressing configuration for the cluster

func NewListAddresses

func NewListAddresses(ctx *middleware.Context, handler ListAddressesHandler) *ListAddresses

NewListAddresses creates a new http.Handler for the list addresses operation

func (*ListAddresses) ServeHTTP

func (o *ListAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAddressesDefault

type ListAddressesDefault struct {

	// In: body
	Payload *models.ErrorResponse `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListAddressesDefault Unexpected error

swagger:response listAddressesDefault

func NewListAddressesDefault

func NewListAddressesDefault(code int) *ListAddressesDefault

NewListAddressesDefault creates ListAddressesDefault with default headers values

func (*ListAddressesDefault) SetPayload

func (o *ListAddressesDefault) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the list addresses default response

func (*ListAddressesDefault) SetStatusCode

func (o *ListAddressesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list addresses default response

func (*ListAddressesDefault) WithPayload

WithPayload adds the payload to the list addresses default response

func (*ListAddressesDefault) WithStatusCode

func (o *ListAddressesDefault) WithStatusCode(code int) *ListAddressesDefault

WithStatusCode adds the status to the list addresses default response

func (*ListAddressesDefault) WriteResponse

func (o *ListAddressesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAddressesHandler

type ListAddressesHandler interface {
	Handle(ListAddressesParams) middleware.Responder
}

ListAddressesHandler interface for that can handle valid list addresses params

type ListAddressesHandlerFunc

type ListAddressesHandlerFunc func(ListAddressesParams) middleware.Responder

ListAddressesHandlerFunc turns a function with the right signature into a list addresses handler

func (ListAddressesHandlerFunc) Handle

Handle executing the request and returning a response

type ListAddressesOK

type ListAddressesOK struct {

	// In: body
	Payload models.AddressConfigMap `json:"body,omitempty"`
}

ListAddressesOK Address config response

swagger:response listAddressesOK

func NewListAddressesOK

func NewListAddressesOK() *ListAddressesOK

NewListAddressesOK creates ListAddressesOK with default headers values

func (*ListAddressesOK) SetPayload

func (o *ListAddressesOK) SetPayload(payload models.AddressConfigMap)

SetPayload sets the payload to the list addresses o k response

func (*ListAddressesOK) WithPayload

func (o *ListAddressesOK) WithPayload(payload models.AddressConfigMap) *ListAddressesOK

WithPayload adds the payload to the list addresses o k response

func (*ListAddressesOK) WriteResponse

func (o *ListAddressesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAddressesParams

type ListAddressesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

ListAddressesParams contains all the bound params for the list addresses operation typically these are obtained from a http.Request

swagger:parameters listAddresses

func NewListAddressesParams

func NewListAddressesParams() ListAddressesParams

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

func (*ListAddressesParams) BindRequest

func (o *ListAddressesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls

type ListAddressesURL

type ListAddressesURL struct {
}

ListAddressesURL generates an URL for the list addresses operation

func (*ListAddressesURL) Build

func (o *ListAddressesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAddressesURL) BuildFull

func (o *ListAddressesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListAddressesURL) Must

func (o *ListAddressesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListAddressesURL) String

func (o *ListAddressesURL) String() string

String returns the string representation of the path with query string

func (*ListAddressesURL) StringFull

func (o *ListAddressesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

type PutAddresses

type PutAddresses struct {
	Context *middleware.Context
	Handler PutAddressesHandler
}

PutAddresses swagger:route PUT /v1/enmasse/addresses addresses putAddresses

Replace existing address config with a new

func NewPutAddresses

func NewPutAddresses(ctx *middleware.Context, handler PutAddressesHandler) *PutAddresses

NewPutAddresses creates a new http.Handler for the put addresses operation

func (*PutAddresses) ServeHTTP

func (o *PutAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutAddressesCreated

type PutAddressesCreated struct {
	/*The address config that was deployed
	  Required: true
	*/
	Location string `json:"Location"`

	// In: body
	Payload models.AddressConfigMap `json:"body,omitempty"`
}

PutAddressesCreated Address config response

swagger:response putAddressesCreated

func NewPutAddressesCreated

func NewPutAddressesCreated() *PutAddressesCreated

NewPutAddressesCreated creates PutAddressesCreated with default headers values

func (*PutAddressesCreated) SetLocation

func (o *PutAddressesCreated) SetLocation(location string)

SetLocation sets the location to the put addresses created response

func (*PutAddressesCreated) SetPayload

func (o *PutAddressesCreated) SetPayload(payload models.AddressConfigMap)

SetPayload sets the payload to the put addresses created response

func (*PutAddressesCreated) WithLocation

func (o *PutAddressesCreated) WithLocation(location string) *PutAddressesCreated

WithLocation adds the location to the put addresses created response

func (*PutAddressesCreated) WithPayload

WithPayload adds the payload to the put addresses created response

func (*PutAddressesCreated) WriteResponse

func (o *PutAddressesCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutAddressesDefault

type PutAddressesDefault struct {

	// In: body
	Payload *models.ErrorResponse `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PutAddressesDefault Unexpected error

swagger:response putAddressesDefault

func NewPutAddressesDefault

func NewPutAddressesDefault(code int) *PutAddressesDefault

NewPutAddressesDefault creates PutAddressesDefault with default headers values

func (*PutAddressesDefault) SetPayload

func (o *PutAddressesDefault) SetPayload(payload *models.ErrorResponse)

SetPayload sets the payload to the put addresses default response

func (*PutAddressesDefault) SetStatusCode

func (o *PutAddressesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put addresses default response

func (*PutAddressesDefault) WithPayload

func (o *PutAddressesDefault) WithPayload(payload *models.ErrorResponse) *PutAddressesDefault

WithPayload adds the payload to the put addresses default response

func (*PutAddressesDefault) WithStatusCode

func (o *PutAddressesDefault) WithStatusCode(code int) *PutAddressesDefault

WithStatusCode adds the status to the put addresses default response

func (*PutAddressesDefault) WriteResponse

func (o *PutAddressesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutAddressesHandler

type PutAddressesHandler interface {
	Handle(PutAddressesParams) middleware.Responder
}

PutAddressesHandler interface for that can handle valid put addresses params

type PutAddressesHandlerFunc

type PutAddressesHandlerFunc func(PutAddressesParams) middleware.Responder

PutAddressesHandlerFunc turns a function with the right signature into a put addresses handler

func (PutAddressesHandlerFunc) Handle

Handle executing the request and returning a response

type PutAddressesParams

type PutAddressesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*AddressConfig to set
	  Required: true
	  In: body
	*/
	AddressConfigMap models.AddressConfigMap
}

PutAddressesParams contains all the bound params for the put addresses operation typically these are obtained from a http.Request

swagger:parameters putAddresses

func NewPutAddressesParams

func NewPutAddressesParams() PutAddressesParams

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

func (*PutAddressesParams) BindRequest

func (o *PutAddressesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls

type PutAddressesURL

type PutAddressesURL struct {
}

PutAddressesURL generates an URL for the put addresses operation

func (*PutAddressesURL) Build

func (o *PutAddressesURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutAddressesURL) BuildFull

func (o *PutAddressesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutAddressesURL) Must

func (o *PutAddressesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutAddressesURL) String

func (o *PutAddressesURL) String() string

String returns the string representation of the path with query string

func (*PutAddressesURL) StringFull

func (o *PutAddressesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

Jump to

Keyboard shortcuts

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