ipam

package
v1.15.8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 38

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 ipam API

func (*Client) DeleteIpamIP added in v0.15.7

func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)

DeleteIpamIP releases an allocated IP address

func (*Client) PostIpam added in v0.15.7

func (a *Client) PostIpam(params *PostIpamParams, opts ...ClientOption) (*PostIpamCreated, error)

PostIpam allocates an IP address

func (*Client) PostIpamIP added in v0.15.7

func (a *Client) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error)

PostIpamIP allocates an IP address

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.15.7

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.15.7

type ClientService interface {
	DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)

	PostIpam(params *PostIpamParams, opts ...ClientOption) (*PostIpamCreated, error)

	PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, 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 ipam API client.

type DeleteIpamIPDisabled added in v0.15.7

type DeleteIpamIPDisabled struct {
}

DeleteIpamIPDisabled describes a response with status code 501, with default header values.

Allocation for address family disabled

func NewDeleteIpamIPDisabled added in v0.15.7

func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled

NewDeleteIpamIPDisabled creates a DeleteIpamIPDisabled with default headers values

func (*DeleteIpamIPDisabled) Error added in v0.15.7

func (o *DeleteIpamIPDisabled) Error() string

func (*DeleteIpamIPDisabled) IsClientError added in v0.15.7

func (o *DeleteIpamIPDisabled) IsClientError() bool

IsClientError returns true when this delete ipam Ip disabled response has a 4xx status code

func (*DeleteIpamIPDisabled) IsCode added in v0.15.7

func (o *DeleteIpamIPDisabled) IsCode(code int) bool

IsCode returns true when this delete ipam Ip disabled response a status code equal to that given

func (*DeleteIpamIPDisabled) IsRedirect added in v0.15.7

func (o *DeleteIpamIPDisabled) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip disabled response has a 3xx status code

func (*DeleteIpamIPDisabled) IsServerError added in v0.15.7

func (o *DeleteIpamIPDisabled) IsServerError() bool

IsServerError returns true when this delete ipam Ip disabled response has a 5xx status code

func (*DeleteIpamIPDisabled) IsSuccess added in v0.15.7

func (o *DeleteIpamIPDisabled) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip disabled response has a 2xx status code

func (*DeleteIpamIPDisabled) String added in v0.15.7

func (o *DeleteIpamIPDisabled) String() string

type DeleteIpamIPFailure added in v0.15.7

type DeleteIpamIPFailure struct {
	Payload models.Error
}

DeleteIpamIPFailure describes a response with status code 500, with default header values.

Address release failure

func NewDeleteIpamIPFailure added in v0.15.7

func NewDeleteIpamIPFailure() *DeleteIpamIPFailure

NewDeleteIpamIPFailure creates a DeleteIpamIPFailure with default headers values

func (*DeleteIpamIPFailure) Error added in v0.15.7

func (o *DeleteIpamIPFailure) Error() string

func (*DeleteIpamIPFailure) GetPayload added in v0.15.7

func (o *DeleteIpamIPFailure) GetPayload() models.Error

func (*DeleteIpamIPFailure) IsClientError added in v0.15.7

func (o *DeleteIpamIPFailure) IsClientError() bool

IsClientError returns true when this delete ipam Ip failure response has a 4xx status code

func (*DeleteIpamIPFailure) IsCode added in v0.15.7

func (o *DeleteIpamIPFailure) IsCode(code int) bool

IsCode returns true when this delete ipam Ip failure response a status code equal to that given

func (*DeleteIpamIPFailure) IsRedirect added in v0.15.7

func (o *DeleteIpamIPFailure) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip failure response has a 3xx status code

func (*DeleteIpamIPFailure) IsServerError added in v0.15.7

func (o *DeleteIpamIPFailure) IsServerError() bool

IsServerError returns true when this delete ipam Ip failure response has a 5xx status code

func (*DeleteIpamIPFailure) IsSuccess added in v0.15.7

func (o *DeleteIpamIPFailure) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip failure response has a 2xx status code

func (*DeleteIpamIPFailure) String added in v0.15.7

func (o *DeleteIpamIPFailure) String() string

type DeleteIpamIPForbidden added in v0.15.7

type DeleteIpamIPForbidden struct {
}

DeleteIpamIPForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteIpamIPForbidden added in v0.15.7

func NewDeleteIpamIPForbidden() *DeleteIpamIPForbidden

NewDeleteIpamIPForbidden creates a DeleteIpamIPForbidden with default headers values

func (*DeleteIpamIPForbidden) Error added in v0.15.7

func (o *DeleteIpamIPForbidden) Error() string

func (*DeleteIpamIPForbidden) IsClientError added in v0.15.7

func (o *DeleteIpamIPForbidden) IsClientError() bool

IsClientError returns true when this delete ipam Ip forbidden response has a 4xx status code

func (*DeleteIpamIPForbidden) IsCode added in v0.15.7

func (o *DeleteIpamIPForbidden) IsCode(code int) bool

IsCode returns true when this delete ipam Ip forbidden response a status code equal to that given

func (*DeleteIpamIPForbidden) IsRedirect added in v0.15.7

func (o *DeleteIpamIPForbidden) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip forbidden response has a 3xx status code

func (*DeleteIpamIPForbidden) IsServerError added in v0.15.7

func (o *DeleteIpamIPForbidden) IsServerError() bool

IsServerError returns true when this delete ipam Ip forbidden response has a 5xx status code

func (*DeleteIpamIPForbidden) IsSuccess added in v0.15.7

func (o *DeleteIpamIPForbidden) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip forbidden response has a 2xx status code

func (*DeleteIpamIPForbidden) String added in v0.15.7

func (o *DeleteIpamIPForbidden) String() string

type DeleteIpamIPInvalid added in v0.15.7

type DeleteIpamIPInvalid struct {
}

DeleteIpamIPInvalid describes a response with status code 400, with default header values.

Invalid IP address

func NewDeleteIpamIPInvalid added in v0.15.7

func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid

NewDeleteIpamIPInvalid creates a DeleteIpamIPInvalid with default headers values

func (*DeleteIpamIPInvalid) Error added in v0.15.7

func (o *DeleteIpamIPInvalid) Error() string

func (*DeleteIpamIPInvalid) IsClientError added in v0.15.7

func (o *DeleteIpamIPInvalid) IsClientError() bool

IsClientError returns true when this delete ipam Ip invalid response has a 4xx status code

func (*DeleteIpamIPInvalid) IsCode added in v0.15.7

func (o *DeleteIpamIPInvalid) IsCode(code int) bool

IsCode returns true when this delete ipam Ip invalid response a status code equal to that given

func (*DeleteIpamIPInvalid) IsRedirect added in v0.15.7

func (o *DeleteIpamIPInvalid) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip invalid response has a 3xx status code

func (*DeleteIpamIPInvalid) IsServerError added in v0.15.7

func (o *DeleteIpamIPInvalid) IsServerError() bool

IsServerError returns true when this delete ipam Ip invalid response has a 5xx status code

func (*DeleteIpamIPInvalid) IsSuccess added in v0.15.7

func (o *DeleteIpamIPInvalid) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip invalid response has a 2xx status code

func (*DeleteIpamIPInvalid) String added in v0.15.7

func (o *DeleteIpamIPInvalid) String() string

type DeleteIpamIPNotFound added in v0.15.7

type DeleteIpamIPNotFound struct {
}

DeleteIpamIPNotFound describes a response with status code 404, with default header values.

IP address not found

func NewDeleteIpamIPNotFound added in v0.15.7

func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound

NewDeleteIpamIPNotFound creates a DeleteIpamIPNotFound with default headers values

func (*DeleteIpamIPNotFound) Error added in v0.15.7

func (o *DeleteIpamIPNotFound) Error() string

func (*DeleteIpamIPNotFound) IsClientError added in v0.15.7

func (o *DeleteIpamIPNotFound) IsClientError() bool

IsClientError returns true when this delete ipam Ip not found response has a 4xx status code

func (*DeleteIpamIPNotFound) IsCode added in v0.15.7

func (o *DeleteIpamIPNotFound) IsCode(code int) bool

IsCode returns true when this delete ipam Ip not found response a status code equal to that given

func (*DeleteIpamIPNotFound) IsRedirect added in v0.15.7

func (o *DeleteIpamIPNotFound) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip not found response has a 3xx status code

func (*DeleteIpamIPNotFound) IsServerError added in v0.15.7

func (o *DeleteIpamIPNotFound) IsServerError() bool

IsServerError returns true when this delete ipam Ip not found response has a 5xx status code

func (*DeleteIpamIPNotFound) IsSuccess added in v0.15.7

func (o *DeleteIpamIPNotFound) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip not found response has a 2xx status code

func (*DeleteIpamIPNotFound) String added in v0.15.7

func (o *DeleteIpamIPNotFound) String() string

type DeleteIpamIPOK added in v0.15.7

type DeleteIpamIPOK struct {
}

DeleteIpamIPOK describes a response with status code 200, with default header values.

Success

func NewDeleteIpamIPOK added in v0.15.7

func NewDeleteIpamIPOK() *DeleteIpamIPOK

NewDeleteIpamIPOK creates a DeleteIpamIPOK with default headers values

func (*DeleteIpamIPOK) Error added in v0.15.7

func (o *DeleteIpamIPOK) Error() string

func (*DeleteIpamIPOK) IsClientError added in v0.15.7

func (o *DeleteIpamIPOK) IsClientError() bool

IsClientError returns true when this delete ipam Ip o k response has a 4xx status code

func (*DeleteIpamIPOK) IsCode added in v0.15.7

func (o *DeleteIpamIPOK) IsCode(code int) bool

IsCode returns true when this delete ipam Ip o k response a status code equal to that given

func (*DeleteIpamIPOK) IsRedirect added in v0.15.7

func (o *DeleteIpamIPOK) IsRedirect() bool

IsRedirect returns true when this delete ipam Ip o k response has a 3xx status code

func (*DeleteIpamIPOK) IsServerError added in v0.15.7

func (o *DeleteIpamIPOK) IsServerError() bool

IsServerError returns true when this delete ipam Ip o k response has a 5xx status code

func (*DeleteIpamIPOK) IsSuccess added in v0.15.7

func (o *DeleteIpamIPOK) IsSuccess() bool

IsSuccess returns true when this delete ipam Ip o k response has a 2xx status code

func (*DeleteIpamIPOK) String added in v0.15.7

func (o *DeleteIpamIPOK) String() string

type DeleteIpamIPParams added in v0.15.7

type DeleteIpamIPParams struct {

	/* IP.

	   IP address
	*/
	IP string

	// Pool.
	Pool *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteIpamIPParams contains all the parameters to send to the API endpoint

for the delete ipam IP operation.

Typically these are written to a http.Request.

func NewDeleteIpamIPParams added in v0.15.7

func NewDeleteIpamIPParams() *DeleteIpamIPParams

NewDeleteIpamIPParams creates a new DeleteIpamIPParams 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 NewDeleteIpamIPParamsWithContext added in v0.15.7

func NewDeleteIpamIPParamsWithContext(ctx context.Context) *DeleteIpamIPParams

NewDeleteIpamIPParamsWithContext creates a new DeleteIpamIPParams object with the ability to set a context for a request.

func NewDeleteIpamIPParamsWithHTTPClient added in v0.15.7

func NewDeleteIpamIPParamsWithHTTPClient(client *http.Client) *DeleteIpamIPParams

NewDeleteIpamIPParamsWithHTTPClient creates a new DeleteIpamIPParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIpamIPParamsWithTimeout added in v0.15.7

func NewDeleteIpamIPParamsWithTimeout(timeout time.Duration) *DeleteIpamIPParams

NewDeleteIpamIPParamsWithTimeout creates a new DeleteIpamIPParams object with the ability to set a timeout on a request.

func (*DeleteIpamIPParams) SetContext added in v0.15.7

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

SetContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) SetDefaults added in v0.15.7

func (o *DeleteIpamIPParams) SetDefaults()

SetDefaults hydrates default values in the delete ipam IP params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIpamIPParams) SetHTTPClient added in v0.15.7

func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) SetIP added in v0.15.7

func (o *DeleteIpamIPParams) SetIP(ip string)

SetIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) SetPool added in v0.15.7

func (o *DeleteIpamIPParams) SetPool(pool *string)

SetPool adds the pool to the delete ipam IP params

func (*DeleteIpamIPParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WithContext added in v0.15.7

WithContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) WithDefaults added in v0.15.7

func (o *DeleteIpamIPParams) WithDefaults() *DeleteIpamIPParams

WithDefaults hydrates default values in the delete ipam IP params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteIpamIPParams) WithHTTPClient added in v0.15.7

func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams

WithHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) WithIP added in v0.15.7

WithIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) WithPool added in v0.15.7

func (o *DeleteIpamIPParams) WithPool(pool *string) *DeleteIpamIPParams

WithPool adds the pool to the delete ipam IP params

func (*DeleteIpamIPParams) WithTimeout added in v0.15.7

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

WithTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WriteToRequest added in v0.15.7

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

WriteToRequest writes these params to a swagger request

type DeleteIpamIPReader added in v0.15.7

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

DeleteIpamIPReader is a Reader for the DeleteIpamIP structure.

func (*DeleteIpamIPReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type PostIpamCreated added in v0.15.7

type PostIpamCreated struct {
	Payload *models.IPAMResponse
}

PostIpamCreated describes a response with status code 201, with default header values.

Success

func NewPostIpamCreated added in v0.15.7

func NewPostIpamCreated() *PostIpamCreated

NewPostIpamCreated creates a PostIpamCreated with default headers values

func (*PostIpamCreated) Error added in v0.15.7

func (o *PostIpamCreated) Error() string

func (*PostIpamCreated) GetPayload added in v0.15.7

func (o *PostIpamCreated) GetPayload() *models.IPAMResponse

func (*PostIpamCreated) IsClientError added in v0.15.7

func (o *PostIpamCreated) IsClientError() bool

IsClientError returns true when this post ipam created response has a 4xx status code

func (*PostIpamCreated) IsCode added in v0.15.7

func (o *PostIpamCreated) IsCode(code int) bool

IsCode returns true when this post ipam created response a status code equal to that given

func (*PostIpamCreated) IsRedirect added in v0.15.7

func (o *PostIpamCreated) IsRedirect() bool

IsRedirect returns true when this post ipam created response has a 3xx status code

func (*PostIpamCreated) IsServerError added in v0.15.7

func (o *PostIpamCreated) IsServerError() bool

IsServerError returns true when this post ipam created response has a 5xx status code

func (*PostIpamCreated) IsSuccess added in v0.15.7

func (o *PostIpamCreated) IsSuccess() bool

IsSuccess returns true when this post ipam created response has a 2xx status code

func (*PostIpamCreated) String added in v0.15.7

func (o *PostIpamCreated) String() string

type PostIpamFailure added in v0.15.7

type PostIpamFailure struct {
	Payload models.Error
}

PostIpamFailure describes a response with status code 502, with default header values.

Allocation failure

func NewPostIpamFailure added in v0.15.7

func NewPostIpamFailure() *PostIpamFailure

NewPostIpamFailure creates a PostIpamFailure with default headers values

func (*PostIpamFailure) Error added in v0.15.7

func (o *PostIpamFailure) Error() string

func (*PostIpamFailure) GetPayload added in v0.15.7

func (o *PostIpamFailure) GetPayload() models.Error

func (*PostIpamFailure) IsClientError added in v0.15.7

func (o *PostIpamFailure) IsClientError() bool

IsClientError returns true when this post ipam failure response has a 4xx status code

func (*PostIpamFailure) IsCode added in v0.15.7

func (o *PostIpamFailure) IsCode(code int) bool

IsCode returns true when this post ipam failure response a status code equal to that given

func (*PostIpamFailure) IsRedirect added in v0.15.7

func (o *PostIpamFailure) IsRedirect() bool

IsRedirect returns true when this post ipam failure response has a 3xx status code

func (*PostIpamFailure) IsServerError added in v0.15.7

func (o *PostIpamFailure) IsServerError() bool

IsServerError returns true when this post ipam failure response has a 5xx status code

func (*PostIpamFailure) IsSuccess added in v0.15.7

func (o *PostIpamFailure) IsSuccess() bool

IsSuccess returns true when this post ipam failure response has a 2xx status code

func (*PostIpamFailure) String added in v0.15.7

func (o *PostIpamFailure) String() string

type PostIpamForbidden added in v0.15.7

type PostIpamForbidden struct {
}

PostIpamForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostIpamForbidden added in v0.15.7

func NewPostIpamForbidden() *PostIpamForbidden

NewPostIpamForbidden creates a PostIpamForbidden with default headers values

func (*PostIpamForbidden) Error added in v0.15.7

func (o *PostIpamForbidden) Error() string

func (*PostIpamForbidden) IsClientError added in v0.15.7

func (o *PostIpamForbidden) IsClientError() bool

IsClientError returns true when this post ipam forbidden response has a 4xx status code

func (*PostIpamForbidden) IsCode added in v0.15.7

func (o *PostIpamForbidden) IsCode(code int) bool

IsCode returns true when this post ipam forbidden response a status code equal to that given

func (*PostIpamForbidden) IsRedirect added in v0.15.7

func (o *PostIpamForbidden) IsRedirect() bool

IsRedirect returns true when this post ipam forbidden response has a 3xx status code

func (*PostIpamForbidden) IsServerError added in v0.15.7

func (o *PostIpamForbidden) IsServerError() bool

IsServerError returns true when this post ipam forbidden response has a 5xx status code

func (*PostIpamForbidden) IsSuccess added in v0.15.7

func (o *PostIpamForbidden) IsSuccess() bool

IsSuccess returns true when this post ipam forbidden response has a 2xx status code

func (*PostIpamForbidden) String added in v0.15.7

func (o *PostIpamForbidden) String() string

type PostIpamIPDisabled added in v0.15.7

type PostIpamIPDisabled struct {
}

PostIpamIPDisabled describes a response with status code 501, with default header values.

Allocation for address family disabled

func NewPostIpamIPDisabled added in v0.15.7

func NewPostIpamIPDisabled() *PostIpamIPDisabled

NewPostIpamIPDisabled creates a PostIpamIPDisabled with default headers values

func (*PostIpamIPDisabled) Error added in v0.15.7

func (o *PostIpamIPDisabled) Error() string

func (*PostIpamIPDisabled) IsClientError added in v0.15.7

func (o *PostIpamIPDisabled) IsClientError() bool

IsClientError returns true when this post ipam Ip disabled response has a 4xx status code

func (*PostIpamIPDisabled) IsCode added in v0.15.7

func (o *PostIpamIPDisabled) IsCode(code int) bool

IsCode returns true when this post ipam Ip disabled response a status code equal to that given

func (*PostIpamIPDisabled) IsRedirect added in v0.15.7

func (o *PostIpamIPDisabled) IsRedirect() bool

IsRedirect returns true when this post ipam Ip disabled response has a 3xx status code

func (*PostIpamIPDisabled) IsServerError added in v0.15.7

func (o *PostIpamIPDisabled) IsServerError() bool

IsServerError returns true when this post ipam Ip disabled response has a 5xx status code

func (*PostIpamIPDisabled) IsSuccess added in v0.15.7

func (o *PostIpamIPDisabled) IsSuccess() bool

IsSuccess returns true when this post ipam Ip disabled response has a 2xx status code

func (*PostIpamIPDisabled) String added in v0.15.7

func (o *PostIpamIPDisabled) String() string

type PostIpamIPExists added in v0.15.7

type PostIpamIPExists struct {
}

PostIpamIPExists describes a response with status code 409, with default header values.

IP already allocated

func NewPostIpamIPExists added in v0.15.7

func NewPostIpamIPExists() *PostIpamIPExists

NewPostIpamIPExists creates a PostIpamIPExists with default headers values

func (*PostIpamIPExists) Error added in v0.15.7

func (o *PostIpamIPExists) Error() string

func (*PostIpamIPExists) IsClientError added in v0.15.7

func (o *PostIpamIPExists) IsClientError() bool

IsClientError returns true when this post ipam Ip exists response has a 4xx status code

func (*PostIpamIPExists) IsCode added in v0.15.7

func (o *PostIpamIPExists) IsCode(code int) bool

IsCode returns true when this post ipam Ip exists response a status code equal to that given

func (*PostIpamIPExists) IsRedirect added in v0.15.7

func (o *PostIpamIPExists) IsRedirect() bool

IsRedirect returns true when this post ipam Ip exists response has a 3xx status code

func (*PostIpamIPExists) IsServerError added in v0.15.7

func (o *PostIpamIPExists) IsServerError() bool

IsServerError returns true when this post ipam Ip exists response has a 5xx status code

func (*PostIpamIPExists) IsSuccess added in v0.15.7

func (o *PostIpamIPExists) IsSuccess() bool

IsSuccess returns true when this post ipam Ip exists response has a 2xx status code

func (*PostIpamIPExists) String added in v0.15.7

func (o *PostIpamIPExists) String() string

type PostIpamIPFailure added in v0.15.7

type PostIpamIPFailure struct {
	Payload models.Error
}

PostIpamIPFailure describes a response with status code 500, with default header values.

IP allocation failure. Details in message.

func NewPostIpamIPFailure added in v0.15.7

func NewPostIpamIPFailure() *PostIpamIPFailure

NewPostIpamIPFailure creates a PostIpamIPFailure with default headers values

func (*PostIpamIPFailure) Error added in v0.15.7

func (o *PostIpamIPFailure) Error() string

func (*PostIpamIPFailure) GetPayload added in v0.15.7

func (o *PostIpamIPFailure) GetPayload() models.Error

func (*PostIpamIPFailure) IsClientError added in v0.15.7

func (o *PostIpamIPFailure) IsClientError() bool

IsClientError returns true when this post ipam Ip failure response has a 4xx status code

func (*PostIpamIPFailure) IsCode added in v0.15.7

func (o *PostIpamIPFailure) IsCode(code int) bool

IsCode returns true when this post ipam Ip failure response a status code equal to that given

func (*PostIpamIPFailure) IsRedirect added in v0.15.7

func (o *PostIpamIPFailure) IsRedirect() bool

IsRedirect returns true when this post ipam Ip failure response has a 3xx status code

func (*PostIpamIPFailure) IsServerError added in v0.15.7

func (o *PostIpamIPFailure) IsServerError() bool

IsServerError returns true when this post ipam Ip failure response has a 5xx status code

func (*PostIpamIPFailure) IsSuccess added in v0.15.7

func (o *PostIpamIPFailure) IsSuccess() bool

IsSuccess returns true when this post ipam Ip failure response has a 2xx status code

func (*PostIpamIPFailure) String added in v0.15.7

func (o *PostIpamIPFailure) String() string

type PostIpamIPForbidden added in v0.15.7

type PostIpamIPForbidden struct {
}

PostIpamIPForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostIpamIPForbidden added in v0.15.7

func NewPostIpamIPForbidden() *PostIpamIPForbidden

NewPostIpamIPForbidden creates a PostIpamIPForbidden with default headers values

func (*PostIpamIPForbidden) Error added in v0.15.7

func (o *PostIpamIPForbidden) Error() string

func (*PostIpamIPForbidden) IsClientError added in v0.15.7

func (o *PostIpamIPForbidden) IsClientError() bool

IsClientError returns true when this post ipam Ip forbidden response has a 4xx status code

func (*PostIpamIPForbidden) IsCode added in v0.15.7

func (o *PostIpamIPForbidden) IsCode(code int) bool

IsCode returns true when this post ipam Ip forbidden response a status code equal to that given

func (*PostIpamIPForbidden) IsRedirect added in v0.15.7

func (o *PostIpamIPForbidden) IsRedirect() bool

IsRedirect returns true when this post ipam Ip forbidden response has a 3xx status code

func (*PostIpamIPForbidden) IsServerError added in v0.15.7

func (o *PostIpamIPForbidden) IsServerError() bool

IsServerError returns true when this post ipam Ip forbidden response has a 5xx status code

func (*PostIpamIPForbidden) IsSuccess added in v0.15.7

func (o *PostIpamIPForbidden) IsSuccess() bool

IsSuccess returns true when this post ipam Ip forbidden response has a 2xx status code

func (*PostIpamIPForbidden) String added in v0.15.7

func (o *PostIpamIPForbidden) String() string

type PostIpamIPInvalid added in v0.15.7

type PostIpamIPInvalid struct {
}

PostIpamIPInvalid describes a response with status code 400, with default header values.

Invalid IP address

func NewPostIpamIPInvalid added in v0.15.7

func NewPostIpamIPInvalid() *PostIpamIPInvalid

NewPostIpamIPInvalid creates a PostIpamIPInvalid with default headers values

func (*PostIpamIPInvalid) Error added in v0.15.7

func (o *PostIpamIPInvalid) Error() string

func (*PostIpamIPInvalid) IsClientError added in v0.15.7

func (o *PostIpamIPInvalid) IsClientError() bool

IsClientError returns true when this post ipam Ip invalid response has a 4xx status code

func (*PostIpamIPInvalid) IsCode added in v0.15.7

func (o *PostIpamIPInvalid) IsCode(code int) bool

IsCode returns true when this post ipam Ip invalid response a status code equal to that given

func (*PostIpamIPInvalid) IsRedirect added in v0.15.7

func (o *PostIpamIPInvalid) IsRedirect() bool

IsRedirect returns true when this post ipam Ip invalid response has a 3xx status code

func (*PostIpamIPInvalid) IsServerError added in v0.15.7

func (o *PostIpamIPInvalid) IsServerError() bool

IsServerError returns true when this post ipam Ip invalid response has a 5xx status code

func (*PostIpamIPInvalid) IsSuccess added in v0.15.7

func (o *PostIpamIPInvalid) IsSuccess() bool

IsSuccess returns true when this post ipam Ip invalid response has a 2xx status code

func (*PostIpamIPInvalid) String added in v0.15.7

func (o *PostIpamIPInvalid) String() string

type PostIpamIPOK added in v0.15.7

type PostIpamIPOK struct {
}

PostIpamIPOK describes a response with status code 200, with default header values.

Success

func NewPostIpamIPOK added in v0.15.7

func NewPostIpamIPOK() *PostIpamIPOK

NewPostIpamIPOK creates a PostIpamIPOK with default headers values

func (*PostIpamIPOK) Error added in v0.15.7

func (o *PostIpamIPOK) Error() string

func (*PostIpamIPOK) IsClientError added in v0.15.7

func (o *PostIpamIPOK) IsClientError() bool

IsClientError returns true when this post ipam Ip o k response has a 4xx status code

func (*PostIpamIPOK) IsCode added in v0.15.7

func (o *PostIpamIPOK) IsCode(code int) bool

IsCode returns true when this post ipam Ip o k response a status code equal to that given

func (*PostIpamIPOK) IsRedirect added in v0.15.7

func (o *PostIpamIPOK) IsRedirect() bool

IsRedirect returns true when this post ipam Ip o k response has a 3xx status code

func (*PostIpamIPOK) IsServerError added in v0.15.7

func (o *PostIpamIPOK) IsServerError() bool

IsServerError returns true when this post ipam Ip o k response has a 5xx status code

func (*PostIpamIPOK) IsSuccess added in v0.15.7

func (o *PostIpamIPOK) IsSuccess() bool

IsSuccess returns true when this post ipam Ip o k response has a 2xx status code

func (*PostIpamIPOK) String added in v0.15.7

func (o *PostIpamIPOK) String() string

type PostIpamIPParams added in v0.15.7

type PostIpamIPParams struct {

	/* IP.

	   IP address
	*/
	IP string

	// Owner.
	Owner *string

	// Pool.
	Pool *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostIpamIPParams contains all the parameters to send to the API endpoint

for the post ipam IP operation.

Typically these are written to a http.Request.

func NewPostIpamIPParams added in v0.15.7

func NewPostIpamIPParams() *PostIpamIPParams

NewPostIpamIPParams creates a new PostIpamIPParams 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 NewPostIpamIPParamsWithContext added in v0.15.7

func NewPostIpamIPParamsWithContext(ctx context.Context) *PostIpamIPParams

NewPostIpamIPParamsWithContext creates a new PostIpamIPParams object with the ability to set a context for a request.

func NewPostIpamIPParamsWithHTTPClient added in v0.15.7

func NewPostIpamIPParamsWithHTTPClient(client *http.Client) *PostIpamIPParams

NewPostIpamIPParamsWithHTTPClient creates a new PostIpamIPParams object with the ability to set a custom HTTPClient for a request.

func NewPostIpamIPParamsWithTimeout added in v0.15.7

func NewPostIpamIPParamsWithTimeout(timeout time.Duration) *PostIpamIPParams

NewPostIpamIPParamsWithTimeout creates a new PostIpamIPParams object with the ability to set a timeout on a request.

func (*PostIpamIPParams) SetContext added in v0.15.7

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

SetContext adds the context to the post ipam IP params

func (*PostIpamIPParams) SetDefaults added in v0.15.7

func (o *PostIpamIPParams) SetDefaults()

SetDefaults hydrates default values in the post ipam IP params (not the query body).

All values with no default are reset to their zero value.

func (*PostIpamIPParams) SetHTTPClient added in v0.15.7

func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) SetIP added in v0.15.7

func (o *PostIpamIPParams) SetIP(ip string)

SetIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) SetOwner added in v0.15.7

func (o *PostIpamIPParams) SetOwner(owner *string)

SetOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) SetPool added in v0.15.7

func (o *PostIpamIPParams) SetPool(pool *string)

SetPool adds the pool to the post ipam IP params

func (*PostIpamIPParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WithContext added in v0.15.7

func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams

WithContext adds the context to the post ipam IP params

func (*PostIpamIPParams) WithDefaults added in v0.15.7

func (o *PostIpamIPParams) WithDefaults() *PostIpamIPParams

WithDefaults hydrates default values in the post ipam IP params (not the query body).

All values with no default are reset to their zero value.

func (*PostIpamIPParams) WithHTTPClient added in v0.15.7

func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams

WithHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) WithIP added in v0.15.7

func (o *PostIpamIPParams) WithIP(ip string) *PostIpamIPParams

WithIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) WithOwner added in v0.15.7

func (o *PostIpamIPParams) WithOwner(owner *string) *PostIpamIPParams

WithOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) WithPool added in v0.15.7

func (o *PostIpamIPParams) WithPool(pool *string) *PostIpamIPParams

WithPool adds the pool to the post ipam IP params

func (*PostIpamIPParams) WithTimeout added in v0.15.7

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

WithTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WriteToRequest added in v0.15.7

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

WriteToRequest writes these params to a swagger request

type PostIpamIPReader added in v0.15.7

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

PostIpamIPReader is a Reader for the PostIpamIP structure.

func (*PostIpamIPReader) ReadResponse added in v0.15.7

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

ReadResponse reads a server response into the received o.

type PostIpamParams added in v0.15.7

type PostIpamParams struct {

	// Expiration.
	Expiration *bool

	// Family.
	Family *string

	// Owner.
	Owner *string

	// Pool.
	Pool *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostIpamParams contains all the parameters to send to the API endpoint

for the post ipam operation.

Typically these are written to a http.Request.

func NewPostIpamParams added in v0.15.7

func NewPostIpamParams() *PostIpamParams

NewPostIpamParams creates a new PostIpamParams 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 NewPostIpamParamsWithContext added in v0.15.7

func NewPostIpamParamsWithContext(ctx context.Context) *PostIpamParams

NewPostIpamParamsWithContext creates a new PostIpamParams object with the ability to set a context for a request.

func NewPostIpamParamsWithHTTPClient added in v0.15.7

func NewPostIpamParamsWithHTTPClient(client *http.Client) *PostIpamParams

NewPostIpamParamsWithHTTPClient creates a new PostIpamParams object with the ability to set a custom HTTPClient for a request.

func NewPostIpamParamsWithTimeout added in v0.15.7

func NewPostIpamParamsWithTimeout(timeout time.Duration) *PostIpamParams

NewPostIpamParamsWithTimeout creates a new PostIpamParams object with the ability to set a timeout on a request.

func (*PostIpamParams) SetContext added in v0.15.7

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

SetContext adds the context to the post ipam params

func (*PostIpamParams) SetDefaults added in v0.15.7

func (o *PostIpamParams) SetDefaults()

SetDefaults hydrates default values in the post ipam params (not the query body).

All values with no default are reset to their zero value.

func (*PostIpamParams) SetExpiration added in v0.15.7

func (o *PostIpamParams) SetExpiration(expiration *bool)

SetExpiration adds the expiration to the post ipam params

func (*PostIpamParams) SetFamily added in v0.15.7

func (o *PostIpamParams) SetFamily(family *string)

SetFamily adds the family to the post ipam params

func (*PostIpamParams) SetHTTPClient added in v0.15.7

func (o *PostIpamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) SetOwner added in v0.15.7

func (o *PostIpamParams) SetOwner(owner *string)

SetOwner adds the owner to the post ipam params

func (*PostIpamParams) SetPool added in v0.15.7

func (o *PostIpamParams) SetPool(pool *string)

SetPool adds the pool to the post ipam params

func (*PostIpamParams) SetTimeout added in v0.15.7

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

SetTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WithContext added in v0.15.7

func (o *PostIpamParams) WithContext(ctx context.Context) *PostIpamParams

WithContext adds the context to the post ipam params

func (*PostIpamParams) WithDefaults added in v0.15.7

func (o *PostIpamParams) WithDefaults() *PostIpamParams

WithDefaults hydrates default values in the post ipam params (not the query body).

All values with no default are reset to their zero value.

func (*PostIpamParams) WithExpiration added in v0.15.7

func (o *PostIpamParams) WithExpiration(expiration *bool) *PostIpamParams

WithExpiration adds the expiration to the post ipam params

func (*PostIpamParams) WithFamily added in v0.15.7

func (o *PostIpamParams) WithFamily(family *string) *PostIpamParams

WithFamily adds the family to the post ipam params

func (*PostIpamParams) WithHTTPClient added in v0.15.7

func (o *PostIpamParams) WithHTTPClient(client *http.Client) *PostIpamParams

WithHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) WithOwner added in v0.15.7

func (o *PostIpamParams) WithOwner(owner *string) *PostIpamParams

WithOwner adds the owner to the post ipam params

func (*PostIpamParams) WithPool added in v0.15.7

func (o *PostIpamParams) WithPool(pool *string) *PostIpamParams

WithPool adds the pool to the post ipam params

func (*PostIpamParams) WithTimeout added in v0.15.7

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

WithTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WriteToRequest added in v0.15.7

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

WriteToRequest writes these params to a swagger request

type PostIpamReader added in v0.15.7

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

PostIpamReader is a Reader for the PostIpam structure.

func (*PostIpamReader) ReadResponse added in v0.15.7

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