ipam

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 11 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 ipam API

func (*Client) DeleteIpamIP added in v1.14.0

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

DeleteIpamIP releases an allocated IP address

func (*Client) PostIpam added in v1.14.0

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

PostIpam allocates an IP address

func (*Client) PostIpamIP added in v1.14.0

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 v1.14.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.14.0

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 v1.14.0

type DeleteIpamIPDisabled struct {
}

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

Allocation for address family disabled

func NewDeleteIpamIPDisabled added in v1.14.0

func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled

NewDeleteIpamIPDisabled creates a DeleteIpamIPDisabled with default headers values

func (*DeleteIpamIPDisabled) Error added in v1.14.0

func (o *DeleteIpamIPDisabled) Error() string

func (*DeleteIpamIPDisabled) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *DeleteIpamIPDisabled) String() string

type DeleteIpamIPFailure added in v1.14.0

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 v1.14.0

func NewDeleteIpamIPFailure() *DeleteIpamIPFailure

NewDeleteIpamIPFailure creates a DeleteIpamIPFailure with default headers values

func (*DeleteIpamIPFailure) Error added in v1.14.0

func (o *DeleteIpamIPFailure) Error() string

func (*DeleteIpamIPFailure) GetPayload added in v1.14.0

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

func (*DeleteIpamIPFailure) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *DeleteIpamIPFailure) String() string

type DeleteIpamIPInvalid added in v1.14.0

type DeleteIpamIPInvalid struct {
}

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

Invalid IP address

func NewDeleteIpamIPInvalid added in v1.14.0

func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid

NewDeleteIpamIPInvalid creates a DeleteIpamIPInvalid with default headers values

func (*DeleteIpamIPInvalid) Error added in v1.14.0

func (o *DeleteIpamIPInvalid) Error() string

func (*DeleteIpamIPInvalid) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *DeleteIpamIPInvalid) String() string

type DeleteIpamIPNotFound added in v1.14.0

type DeleteIpamIPNotFound struct {
}

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

IP address not found

func NewDeleteIpamIPNotFound added in v1.14.0

func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound

NewDeleteIpamIPNotFound creates a DeleteIpamIPNotFound with default headers values

func (*DeleteIpamIPNotFound) Error added in v1.14.0

func (o *DeleteIpamIPNotFound) Error() string

func (*DeleteIpamIPNotFound) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *DeleteIpamIPNotFound) String() string

type DeleteIpamIPOK added in v1.14.0

type DeleteIpamIPOK struct {
}

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

Success

func NewDeleteIpamIPOK added in v1.14.0

func NewDeleteIpamIPOK() *DeleteIpamIPOK

NewDeleteIpamIPOK creates a DeleteIpamIPOK with default headers values

func (*DeleteIpamIPOK) Error added in v1.14.0

func (o *DeleteIpamIPOK) Error() string

func (*DeleteIpamIPOK) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *DeleteIpamIPOK) String() string

type DeleteIpamIPParams added in v1.5.12

type DeleteIpamIPParams struct {

	/* IP.

	   IP address or owner name
	*/
	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 v1.5.12

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 v1.5.12

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 v1.5.12

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 v1.5.12

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 v1.5.12

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

SetContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) SetDefaults added in v1.14.0

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 v1.5.12

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

SetHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) SetIP added in v1.5.12

func (o *DeleteIpamIPParams) SetIP(ip string)

SetIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) SetPool added in v1.14.0

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

SetPool adds the pool to the delete ipam IP params

func (*DeleteIpamIPParams) SetTimeout added in v1.5.12

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

SetTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WithContext added in v1.5.12

WithContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) WithDefaults added in v1.14.0

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 v1.5.12

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

WithHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) WithIP added in v1.5.12

WithIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) WithPool added in v1.14.0

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

WithPool adds the pool to the delete ipam IP params

func (*DeleteIpamIPParams) WithTimeout added in v1.5.12

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

WithTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WriteToRequest added in v1.5.12

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

WriteToRequest writes these params to a swagger request

type DeleteIpamIPReader added in v1.14.0

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

DeleteIpamIPReader is a Reader for the DeleteIpamIP structure.

func (*DeleteIpamIPReader) ReadResponse added in v1.14.0

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 v1.14.0

type PostIpamCreated struct {
	Payload *models.IPAMResponse
}

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

Success

func NewPostIpamCreated added in v1.14.0

func NewPostIpamCreated() *PostIpamCreated

NewPostIpamCreated creates a PostIpamCreated with default headers values

func (*PostIpamCreated) Error added in v1.14.0

func (o *PostIpamCreated) Error() string

func (*PostIpamCreated) GetPayload added in v1.14.0

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

func (*PostIpamCreated) IsClientError added in v1.14.0

func (o *PostIpamCreated) IsClientError() bool

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

func (*PostIpamCreated) IsCode added in v1.14.0

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 v1.14.0

func (o *PostIpamCreated) IsRedirect() bool

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

func (*PostIpamCreated) IsServerError added in v1.14.0

func (o *PostIpamCreated) IsServerError() bool

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

func (*PostIpamCreated) IsSuccess added in v1.14.0

func (o *PostIpamCreated) IsSuccess() bool

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

func (*PostIpamCreated) String added in v1.14.0

func (o *PostIpamCreated) String() string

type PostIpamFailure added in v1.14.0

type PostIpamFailure struct {
	Payload models.Error
}

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

Allocation failure

func NewPostIpamFailure added in v1.14.0

func NewPostIpamFailure() *PostIpamFailure

NewPostIpamFailure creates a PostIpamFailure with default headers values

func (*PostIpamFailure) Error added in v1.14.0

func (o *PostIpamFailure) Error() string

func (*PostIpamFailure) GetPayload added in v1.14.0

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

func (*PostIpamFailure) IsClientError added in v1.14.0

func (o *PostIpamFailure) IsClientError() bool

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

func (*PostIpamFailure) IsCode added in v1.14.0

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 v1.14.0

func (o *PostIpamFailure) IsRedirect() bool

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

func (*PostIpamFailure) IsServerError added in v1.14.0

func (o *PostIpamFailure) IsServerError() bool

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

func (*PostIpamFailure) IsSuccess added in v1.14.0

func (o *PostIpamFailure) IsSuccess() bool

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

func (*PostIpamFailure) String added in v1.14.0

func (o *PostIpamFailure) String() string

type PostIpamIPDisabled added in v1.14.0

type PostIpamIPDisabled struct {
}

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

Allocation for address family disabled

func NewPostIpamIPDisabled added in v1.14.0

func NewPostIpamIPDisabled() *PostIpamIPDisabled

NewPostIpamIPDisabled creates a PostIpamIPDisabled with default headers values

func (*PostIpamIPDisabled) Error added in v1.14.0

func (o *PostIpamIPDisabled) Error() string

func (*PostIpamIPDisabled) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *PostIpamIPDisabled) String() string

type PostIpamIPExists added in v1.14.0

type PostIpamIPExists struct {
}

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

IP already allocated

func NewPostIpamIPExists added in v1.14.0

func NewPostIpamIPExists() *PostIpamIPExists

NewPostIpamIPExists creates a PostIpamIPExists with default headers values

func (*PostIpamIPExists) Error added in v1.14.0

func (o *PostIpamIPExists) Error() string

func (*PostIpamIPExists) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *PostIpamIPExists) String() string

type PostIpamIPFailure added in v1.14.0

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 v1.14.0

func NewPostIpamIPFailure() *PostIpamIPFailure

NewPostIpamIPFailure creates a PostIpamIPFailure with default headers values

func (*PostIpamIPFailure) Error added in v1.14.0

func (o *PostIpamIPFailure) Error() string

func (*PostIpamIPFailure) GetPayload added in v1.14.0

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

func (*PostIpamIPFailure) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *PostIpamIPFailure) String() string

type PostIpamIPInvalid added in v1.14.0

type PostIpamIPInvalid struct {
}

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

Invalid IP address

func NewPostIpamIPInvalid added in v1.14.0

func NewPostIpamIPInvalid() *PostIpamIPInvalid

NewPostIpamIPInvalid creates a PostIpamIPInvalid with default headers values

func (*PostIpamIPInvalid) Error added in v1.14.0

func (o *PostIpamIPInvalid) Error() string

func (*PostIpamIPInvalid) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *PostIpamIPInvalid) String() string

type PostIpamIPOK added in v1.14.0

type PostIpamIPOK struct {
}

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

Success

func NewPostIpamIPOK added in v1.14.0

func NewPostIpamIPOK() *PostIpamIPOK

NewPostIpamIPOK creates a PostIpamIPOK with default headers values

func (*PostIpamIPOK) Error added in v1.14.0

func (o *PostIpamIPOK) Error() string

func (*PostIpamIPOK) IsClientError added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (o *PostIpamIPOK) String() string

type PostIpamIPParams added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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

SetContext adds the context to the post ipam IP params

func (*PostIpamIPParams) SetDefaults added in v1.14.0

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 v1.14.0

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

SetHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) SetIP added in v1.14.0

func (o *PostIpamIPParams) SetIP(ip string)

SetIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) SetOwner added in v1.14.0

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

SetOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) SetPool added in v1.14.0

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

SetPool adds the pool to the post ipam IP params

func (*PostIpamIPParams) SetTimeout added in v1.14.0

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

SetTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WithContext added in v1.14.0

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

WithContext adds the context to the post ipam IP params

func (*PostIpamIPParams) WithDefaults added in v1.14.0

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 v1.14.0

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

WithHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) WithIP added in v1.14.0

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

WithIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) WithOwner added in v1.14.0

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

WithOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) WithPool added in v1.14.0

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

WithPool adds the pool to the post ipam IP params

func (*PostIpamIPParams) WithTimeout added in v1.14.0

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

WithTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WriteToRequest added in v1.14.0

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

WriteToRequest writes these params to a swagger request

type PostIpamIPReader added in v1.14.0

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

PostIpamIPReader is a Reader for the PostIpamIP structure.

func (*PostIpamIPReader) ReadResponse added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

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

SetContext adds the context to the post ipam params

func (*PostIpamParams) SetDefaults added in v1.14.0

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 v1.14.0

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

SetExpiration adds the expiration to the post ipam params

func (*PostIpamParams) SetFamily added in v1.14.0

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

SetFamily adds the family to the post ipam params

func (*PostIpamParams) SetHTTPClient added in v1.14.0

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

SetHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) SetOwner added in v1.14.0

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

SetOwner adds the owner to the post ipam params

func (*PostIpamParams) SetPool added in v1.14.0

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

SetPool adds the pool to the post ipam params

func (*PostIpamParams) SetTimeout added in v1.14.0

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

SetTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WithContext added in v1.14.0

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

WithContext adds the context to the post ipam params

func (*PostIpamParams) WithDefaults added in v1.14.0

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 v1.14.0

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

WithExpiration adds the expiration to the post ipam params

func (*PostIpamParams) WithFamily added in v1.14.0

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

WithFamily adds the family to the post ipam params

func (*PostIpamParams) WithHTTPClient added in v1.14.0

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

WithHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) WithOwner added in v1.14.0

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

WithOwner adds the owner to the post ipam params

func (*PostIpamParams) WithPool added in v1.14.0

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

WithPool adds the pool to the post ipam params

func (*PostIpamParams) WithTimeout added in v1.14.0

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

WithTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WriteToRequest added in v1.14.0

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

WriteToRequest writes these params to a swagger request

type PostIpamReader added in v1.14.0

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

PostIpamReader is a Reader for the PostIpam structure.

func (*PostIpamReader) ReadResponse added in v1.14.0

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