ipampool

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 10 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 ipampool API

func (*Client) CreateIPAMPool

func (a *Client) CreateIPAMPool(params *CreateIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPAMPoolCreated, error)

CreateIPAMPool creates a IP a m pool

func (*Client) DeleteIPAMPool

func (a *Client) DeleteIPAMPool(params *DeleteIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPAMPoolOK, error)

DeleteIPAMPool removes an existing IP a m pool

func (*Client) GetIPAMPool

func (a *Client) GetIPAMPool(params *GetIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPAMPoolOK, error)

GetIPAMPool gets a specific IP a m pool

func (*Client) ListIPAMPools

func (a *Client) ListIPAMPools(params *ListIPAMPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIPAMPoolsOK, error)

ListIPAMPools lists IP a m pools

func (*Client) PatchIPAMPool

func (a *Client) PatchIPAMPool(params *PatchIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchIPAMPoolOK, error)

PatchIPAMPool patches a IP a m pool

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIPAMPool(params *CreateIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPAMPoolCreated, error)

	DeleteIPAMPool(params *DeleteIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPAMPoolOK, error)

	GetIPAMPool(params *GetIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPAMPoolOK, error)

	ListIPAMPools(params *ListIPAMPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIPAMPoolsOK, error)

	PatchIPAMPool(params *PatchIPAMPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchIPAMPoolOK, 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 ipampool API client.

type CreateIPAMPoolCreated

type CreateIPAMPoolCreated struct {
}
CreateIPAMPoolCreated describes a response with status code 201, with default header values.

EmptyResponse is a empty response

func NewCreateIPAMPoolCreated

func NewCreateIPAMPoolCreated() *CreateIPAMPoolCreated

NewCreateIPAMPoolCreated creates a CreateIPAMPoolCreated with default headers values

func (*CreateIPAMPoolCreated) Error

func (o *CreateIPAMPoolCreated) Error() string

type CreateIPAMPoolDefault

type CreateIPAMPoolDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateIPAMPoolDefault describes a response with status code -1, with default header values.

errorResponse

func NewCreateIPAMPoolDefault

func NewCreateIPAMPoolDefault(code int) *CreateIPAMPoolDefault

NewCreateIPAMPoolDefault creates a CreateIPAMPoolDefault with default headers values

func (*CreateIPAMPoolDefault) Code

func (o *CreateIPAMPoolDefault) Code() int

Code gets the status code for the create IP a m pool default response

func (*CreateIPAMPoolDefault) Error

func (o *CreateIPAMPoolDefault) Error() string

func (*CreateIPAMPoolDefault) GetPayload

func (o *CreateIPAMPoolDefault) GetPayload() *models.ErrorResponse

type CreateIPAMPoolForbidden

type CreateIPAMPoolForbidden struct {
}
CreateIPAMPoolForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreateIPAMPoolForbidden

func NewCreateIPAMPoolForbidden() *CreateIPAMPoolForbidden

NewCreateIPAMPoolForbidden creates a CreateIPAMPoolForbidden with default headers values

func (*CreateIPAMPoolForbidden) Error

func (o *CreateIPAMPoolForbidden) Error() string

type CreateIPAMPoolParams

type CreateIPAMPoolParams struct {

	// Body.
	Body *models.IPAMPool

	// SeedName.
	SeedName string

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

CreateIPAMPoolParams contains all the parameters to send to the API endpoint

for the create IP a m pool operation.

Typically these are written to a http.Request.

func NewCreateIPAMPoolParams

func NewCreateIPAMPoolParams() *CreateIPAMPoolParams

NewCreateIPAMPoolParams creates a new CreateIPAMPoolParams 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 NewCreateIPAMPoolParamsWithContext

func NewCreateIPAMPoolParamsWithContext(ctx context.Context) *CreateIPAMPoolParams

NewCreateIPAMPoolParamsWithContext creates a new CreateIPAMPoolParams object with the ability to set a context for a request.

func NewCreateIPAMPoolParamsWithHTTPClient

func NewCreateIPAMPoolParamsWithHTTPClient(client *http.Client) *CreateIPAMPoolParams

NewCreateIPAMPoolParamsWithHTTPClient creates a new CreateIPAMPoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIPAMPoolParamsWithTimeout

func NewCreateIPAMPoolParamsWithTimeout(timeout time.Duration) *CreateIPAMPoolParams

NewCreateIPAMPoolParamsWithTimeout creates a new CreateIPAMPoolParams object with the ability to set a timeout on a request.

func (*CreateIPAMPoolParams) SetBody

func (o *CreateIPAMPoolParams) SetBody(body *models.IPAMPool)

SetBody adds the body to the create IP a m pool params

func (*CreateIPAMPoolParams) SetContext

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

SetContext adds the context to the create IP a m pool params

func (*CreateIPAMPoolParams) SetDefaults

func (o *CreateIPAMPoolParams) SetDefaults()

SetDefaults hydrates default values in the create IP a m pool params (not the query body).

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

func (*CreateIPAMPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create IP a m pool params

func (*CreateIPAMPoolParams) SetSeedName

func (o *CreateIPAMPoolParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the create IP a m pool params

func (*CreateIPAMPoolParams) SetTimeout

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

SetTimeout adds the timeout to the create IP a m pool params

func (*CreateIPAMPoolParams) WithBody

WithBody adds the body to the create IP a m pool params

func (*CreateIPAMPoolParams) WithContext

WithContext adds the context to the create IP a m pool params

func (*CreateIPAMPoolParams) WithDefaults

func (o *CreateIPAMPoolParams) WithDefaults() *CreateIPAMPoolParams

WithDefaults hydrates default values in the create IP a m pool params (not the query body).

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

func (*CreateIPAMPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create IP a m pool params

func (*CreateIPAMPoolParams) WithSeedName

func (o *CreateIPAMPoolParams) WithSeedName(seedName string) *CreateIPAMPoolParams

WithSeedName adds the seedName to the create IP a m pool params

func (*CreateIPAMPoolParams) WithTimeout

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

WithTimeout adds the timeout to the create IP a m pool params

func (*CreateIPAMPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateIPAMPoolReader

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

CreateIPAMPoolReader is a Reader for the CreateIPAMPool structure.

func (*CreateIPAMPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateIPAMPoolUnauthorized

type CreateIPAMPoolUnauthorized struct {
}
CreateIPAMPoolUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewCreateIPAMPoolUnauthorized

func NewCreateIPAMPoolUnauthorized() *CreateIPAMPoolUnauthorized

NewCreateIPAMPoolUnauthorized creates a CreateIPAMPoolUnauthorized with default headers values

func (*CreateIPAMPoolUnauthorized) Error

type DeleteIPAMPoolDefault

type DeleteIPAMPoolDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
DeleteIPAMPoolDefault describes a response with status code -1, with default header values.

errorResponse

func NewDeleteIPAMPoolDefault

func NewDeleteIPAMPoolDefault(code int) *DeleteIPAMPoolDefault

NewDeleteIPAMPoolDefault creates a DeleteIPAMPoolDefault with default headers values

func (*DeleteIPAMPoolDefault) Code

func (o *DeleteIPAMPoolDefault) Code() int

Code gets the status code for the delete IP a m pool default response

func (*DeleteIPAMPoolDefault) Error

func (o *DeleteIPAMPoolDefault) Error() string

func (*DeleteIPAMPoolDefault) GetPayload

func (o *DeleteIPAMPoolDefault) GetPayload() *models.ErrorResponse

type DeleteIPAMPoolForbidden

type DeleteIPAMPoolForbidden struct {
}
DeleteIPAMPoolForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeleteIPAMPoolForbidden

func NewDeleteIPAMPoolForbidden() *DeleteIPAMPoolForbidden

NewDeleteIPAMPoolForbidden creates a DeleteIPAMPoolForbidden with default headers values

func (*DeleteIPAMPoolForbidden) Error

func (o *DeleteIPAMPoolForbidden) Error() string

type DeleteIPAMPoolOK

type DeleteIPAMPoolOK struct {
}
DeleteIPAMPoolOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewDeleteIPAMPoolOK

func NewDeleteIPAMPoolOK() *DeleteIPAMPoolOK

NewDeleteIPAMPoolOK creates a DeleteIPAMPoolOK with default headers values

func (*DeleteIPAMPoolOK) Error

func (o *DeleteIPAMPoolOK) Error() string

type DeleteIPAMPoolParams

type DeleteIPAMPoolParams struct {

	// IpampoolName.
	IPAMPoolName string

	// SeedName.
	SeedName string

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

DeleteIPAMPoolParams contains all the parameters to send to the API endpoint

for the delete IP a m pool operation.

Typically these are written to a http.Request.

func NewDeleteIPAMPoolParams

func NewDeleteIPAMPoolParams() *DeleteIPAMPoolParams

NewDeleteIPAMPoolParams creates a new DeleteIPAMPoolParams 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 NewDeleteIPAMPoolParamsWithContext

func NewDeleteIPAMPoolParamsWithContext(ctx context.Context) *DeleteIPAMPoolParams

NewDeleteIPAMPoolParamsWithContext creates a new DeleteIPAMPoolParams object with the ability to set a context for a request.

func NewDeleteIPAMPoolParamsWithHTTPClient

func NewDeleteIPAMPoolParamsWithHTTPClient(client *http.Client) *DeleteIPAMPoolParams

NewDeleteIPAMPoolParamsWithHTTPClient creates a new DeleteIPAMPoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIPAMPoolParamsWithTimeout

func NewDeleteIPAMPoolParamsWithTimeout(timeout time.Duration) *DeleteIPAMPoolParams

NewDeleteIPAMPoolParamsWithTimeout creates a new DeleteIPAMPoolParams object with the ability to set a timeout on a request.

func (*DeleteIPAMPoolParams) SetContext

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

SetContext adds the context to the delete IP a m pool params

func (*DeleteIPAMPoolParams) SetDefaults

func (o *DeleteIPAMPoolParams) SetDefaults()

SetDefaults hydrates default values in the delete IP a m pool params (not the query body).

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

func (*DeleteIPAMPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete IP a m pool params

func (*DeleteIPAMPoolParams) SetIPAMPoolName

func (o *DeleteIPAMPoolParams) SetIPAMPoolName(ipampoolName string)

SetIPAMPoolName adds the ipampoolName to the delete IP a m pool params

func (*DeleteIPAMPoolParams) SetSeedName

func (o *DeleteIPAMPoolParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the delete IP a m pool params

func (*DeleteIPAMPoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WithContext

WithContext adds the context to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WithDefaults

func (o *DeleteIPAMPoolParams) WithDefaults() *DeleteIPAMPoolParams

WithDefaults hydrates default values in the delete IP a m pool params (not the query body).

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

func (*DeleteIPAMPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WithIPAMPoolName

func (o *DeleteIPAMPoolParams) WithIPAMPoolName(ipampoolName string) *DeleteIPAMPoolParams

WithIPAMPoolName adds the ipampoolName to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WithSeedName

func (o *DeleteIPAMPoolParams) WithSeedName(seedName string) *DeleteIPAMPoolParams

WithSeedName adds the seedName to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WithTimeout

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

WithTimeout adds the timeout to the delete IP a m pool params

func (*DeleteIPAMPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteIPAMPoolReader

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

DeleteIPAMPoolReader is a Reader for the DeleteIPAMPool structure.

func (*DeleteIPAMPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIPAMPoolUnauthorized

type DeleteIPAMPoolUnauthorized struct {
}
DeleteIPAMPoolUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewDeleteIPAMPoolUnauthorized

func NewDeleteIPAMPoolUnauthorized() *DeleteIPAMPoolUnauthorized

NewDeleteIPAMPoolUnauthorized creates a DeleteIPAMPoolUnauthorized with default headers values

func (*DeleteIPAMPoolUnauthorized) Error

type GetIPAMPoolDefault

type GetIPAMPoolDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetIPAMPoolDefault describes a response with status code -1, with default header values.

errorResponse

func NewGetIPAMPoolDefault

func NewGetIPAMPoolDefault(code int) *GetIPAMPoolDefault

NewGetIPAMPoolDefault creates a GetIPAMPoolDefault with default headers values

func (*GetIPAMPoolDefault) Code

func (o *GetIPAMPoolDefault) Code() int

Code gets the status code for the get IP a m pool default response

func (*GetIPAMPoolDefault) Error

func (o *GetIPAMPoolDefault) Error() string

func (*GetIPAMPoolDefault) GetPayload

func (o *GetIPAMPoolDefault) GetPayload() *models.ErrorResponse

type GetIPAMPoolForbidden

type GetIPAMPoolForbidden struct {
}
GetIPAMPoolForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetIPAMPoolForbidden

func NewGetIPAMPoolForbidden() *GetIPAMPoolForbidden

NewGetIPAMPoolForbidden creates a GetIPAMPoolForbidden with default headers values

func (*GetIPAMPoolForbidden) Error

func (o *GetIPAMPoolForbidden) Error() string

type GetIPAMPoolOK

type GetIPAMPoolOK struct {
	Payload *models.IPAMPool
}
GetIPAMPoolOK describes a response with status code 200, with default header values.

IPAMPool

func NewGetIPAMPoolOK

func NewGetIPAMPoolOK() *GetIPAMPoolOK

NewGetIPAMPoolOK creates a GetIPAMPoolOK with default headers values

func (*GetIPAMPoolOK) Error

func (o *GetIPAMPoolOK) Error() string

func (*GetIPAMPoolOK) GetPayload

func (o *GetIPAMPoolOK) GetPayload() *models.IPAMPool

type GetIPAMPoolParams

type GetIPAMPoolParams struct {

	// IpampoolName.
	IPAMPoolName string

	// SeedName.
	SeedName string

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

GetIPAMPoolParams contains all the parameters to send to the API endpoint

for the get IP a m pool operation.

Typically these are written to a http.Request.

func NewGetIPAMPoolParams

func NewGetIPAMPoolParams() *GetIPAMPoolParams

NewGetIPAMPoolParams creates a new GetIPAMPoolParams 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 NewGetIPAMPoolParamsWithContext

func NewGetIPAMPoolParamsWithContext(ctx context.Context) *GetIPAMPoolParams

NewGetIPAMPoolParamsWithContext creates a new GetIPAMPoolParams object with the ability to set a context for a request.

func NewGetIPAMPoolParamsWithHTTPClient

func NewGetIPAMPoolParamsWithHTTPClient(client *http.Client) *GetIPAMPoolParams

NewGetIPAMPoolParamsWithHTTPClient creates a new GetIPAMPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPAMPoolParamsWithTimeout

func NewGetIPAMPoolParamsWithTimeout(timeout time.Duration) *GetIPAMPoolParams

NewGetIPAMPoolParamsWithTimeout creates a new GetIPAMPoolParams object with the ability to set a timeout on a request.

func (*GetIPAMPoolParams) SetContext

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

SetContext adds the context to the get IP a m pool params

func (*GetIPAMPoolParams) SetDefaults

func (o *GetIPAMPoolParams) SetDefaults()

SetDefaults hydrates default values in the get IP a m pool params (not the query body).

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

func (*GetIPAMPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get IP a m pool params

func (*GetIPAMPoolParams) SetIPAMPoolName

func (o *GetIPAMPoolParams) SetIPAMPoolName(ipampoolName string)

SetIPAMPoolName adds the ipampoolName to the get IP a m pool params

func (*GetIPAMPoolParams) SetSeedName

func (o *GetIPAMPoolParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the get IP a m pool params

func (*GetIPAMPoolParams) SetTimeout

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

SetTimeout adds the timeout to the get IP a m pool params

func (*GetIPAMPoolParams) WithContext

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

WithContext adds the context to the get IP a m pool params

func (*GetIPAMPoolParams) WithDefaults

func (o *GetIPAMPoolParams) WithDefaults() *GetIPAMPoolParams

WithDefaults hydrates default values in the get IP a m pool params (not the query body).

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

func (*GetIPAMPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get IP a m pool params

func (*GetIPAMPoolParams) WithIPAMPoolName

func (o *GetIPAMPoolParams) WithIPAMPoolName(ipampoolName string) *GetIPAMPoolParams

WithIPAMPoolName adds the ipampoolName to the get IP a m pool params

func (*GetIPAMPoolParams) WithSeedName

func (o *GetIPAMPoolParams) WithSeedName(seedName string) *GetIPAMPoolParams

WithSeedName adds the seedName to the get IP a m pool params

func (*GetIPAMPoolParams) WithTimeout

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

WithTimeout adds the timeout to the get IP a m pool params

func (*GetIPAMPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIPAMPoolReader

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

GetIPAMPoolReader is a Reader for the GetIPAMPool structure.

func (*GetIPAMPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIPAMPoolUnauthorized

type GetIPAMPoolUnauthorized struct {
}
GetIPAMPoolUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetIPAMPoolUnauthorized

func NewGetIPAMPoolUnauthorized() *GetIPAMPoolUnauthorized

NewGetIPAMPoolUnauthorized creates a GetIPAMPoolUnauthorized with default headers values

func (*GetIPAMPoolUnauthorized) Error

func (o *GetIPAMPoolUnauthorized) Error() string

type ListIPAMPoolsDefault

type ListIPAMPoolsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListIPAMPoolsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListIPAMPoolsDefault

func NewListIPAMPoolsDefault(code int) *ListIPAMPoolsDefault

NewListIPAMPoolsDefault creates a ListIPAMPoolsDefault with default headers values

func (*ListIPAMPoolsDefault) Code

func (o *ListIPAMPoolsDefault) Code() int

Code gets the status code for the list IP a m pools default response

func (*ListIPAMPoolsDefault) Error

func (o *ListIPAMPoolsDefault) Error() string

func (*ListIPAMPoolsDefault) GetPayload

func (o *ListIPAMPoolsDefault) GetPayload() *models.ErrorResponse

type ListIPAMPoolsForbidden

type ListIPAMPoolsForbidden struct {
}
ListIPAMPoolsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListIPAMPoolsForbidden

func NewListIPAMPoolsForbidden() *ListIPAMPoolsForbidden

NewListIPAMPoolsForbidden creates a ListIPAMPoolsForbidden with default headers values

func (*ListIPAMPoolsForbidden) Error

func (o *ListIPAMPoolsForbidden) Error() string

type ListIPAMPoolsOK

type ListIPAMPoolsOK struct {
	Payload []*models.IPAMPool
}
ListIPAMPoolsOK describes a response with status code 200, with default header values.

IPAMPool

func NewListIPAMPoolsOK

func NewListIPAMPoolsOK() *ListIPAMPoolsOK

NewListIPAMPoolsOK creates a ListIPAMPoolsOK with default headers values

func (*ListIPAMPoolsOK) Error

func (o *ListIPAMPoolsOK) Error() string

func (*ListIPAMPoolsOK) GetPayload

func (o *ListIPAMPoolsOK) GetPayload() []*models.IPAMPool

type ListIPAMPoolsParams

type ListIPAMPoolsParams struct {

	// SeedName.
	SeedName string

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

ListIPAMPoolsParams contains all the parameters to send to the API endpoint

for the list IP a m pools operation.

Typically these are written to a http.Request.

func NewListIPAMPoolsParams

func NewListIPAMPoolsParams() *ListIPAMPoolsParams

NewListIPAMPoolsParams creates a new ListIPAMPoolsParams 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 NewListIPAMPoolsParamsWithContext

func NewListIPAMPoolsParamsWithContext(ctx context.Context) *ListIPAMPoolsParams

NewListIPAMPoolsParamsWithContext creates a new ListIPAMPoolsParams object with the ability to set a context for a request.

func NewListIPAMPoolsParamsWithHTTPClient

func NewListIPAMPoolsParamsWithHTTPClient(client *http.Client) *ListIPAMPoolsParams

NewListIPAMPoolsParamsWithHTTPClient creates a new ListIPAMPoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListIPAMPoolsParamsWithTimeout

func NewListIPAMPoolsParamsWithTimeout(timeout time.Duration) *ListIPAMPoolsParams

NewListIPAMPoolsParamsWithTimeout creates a new ListIPAMPoolsParams object with the ability to set a timeout on a request.

func (*ListIPAMPoolsParams) SetContext

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

SetContext adds the context to the list IP a m pools params

func (*ListIPAMPoolsParams) SetDefaults

func (o *ListIPAMPoolsParams) SetDefaults()

SetDefaults hydrates default values in the list IP a m pools params (not the query body).

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

func (*ListIPAMPoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list IP a m pools params

func (*ListIPAMPoolsParams) SetSeedName

func (o *ListIPAMPoolsParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the list IP a m pools params

func (*ListIPAMPoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list IP a m pools params

func (*ListIPAMPoolsParams) WithContext

WithContext adds the context to the list IP a m pools params

func (*ListIPAMPoolsParams) WithDefaults

func (o *ListIPAMPoolsParams) WithDefaults() *ListIPAMPoolsParams

WithDefaults hydrates default values in the list IP a m pools params (not the query body).

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

func (*ListIPAMPoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list IP a m pools params

func (*ListIPAMPoolsParams) WithSeedName

func (o *ListIPAMPoolsParams) WithSeedName(seedName string) *ListIPAMPoolsParams

WithSeedName adds the seedName to the list IP a m pools params

func (*ListIPAMPoolsParams) WithTimeout

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

WithTimeout adds the timeout to the list IP a m pools params

func (*ListIPAMPoolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListIPAMPoolsReader

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

ListIPAMPoolsReader is a Reader for the ListIPAMPools structure.

func (*ListIPAMPoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListIPAMPoolsUnauthorized

type ListIPAMPoolsUnauthorized struct {
}
ListIPAMPoolsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListIPAMPoolsUnauthorized

func NewListIPAMPoolsUnauthorized() *ListIPAMPoolsUnauthorized

NewListIPAMPoolsUnauthorized creates a ListIPAMPoolsUnauthorized with default headers values

func (*ListIPAMPoolsUnauthorized) Error

func (o *ListIPAMPoolsUnauthorized) Error() string

type PatchIPAMPoolDefault

type PatchIPAMPoolDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
PatchIPAMPoolDefault describes a response with status code -1, with default header values.

errorResponse

func NewPatchIPAMPoolDefault

func NewPatchIPAMPoolDefault(code int) *PatchIPAMPoolDefault

NewPatchIPAMPoolDefault creates a PatchIPAMPoolDefault with default headers values

func (*PatchIPAMPoolDefault) Code

func (o *PatchIPAMPoolDefault) Code() int

Code gets the status code for the patch IP a m pool default response

func (*PatchIPAMPoolDefault) Error

func (o *PatchIPAMPoolDefault) Error() string

func (*PatchIPAMPoolDefault) GetPayload

func (o *PatchIPAMPoolDefault) GetPayload() *models.ErrorResponse

type PatchIPAMPoolForbidden

type PatchIPAMPoolForbidden struct {
}
PatchIPAMPoolForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewPatchIPAMPoolForbidden

func NewPatchIPAMPoolForbidden() *PatchIPAMPoolForbidden

NewPatchIPAMPoolForbidden creates a PatchIPAMPoolForbidden with default headers values

func (*PatchIPAMPoolForbidden) Error

func (o *PatchIPAMPoolForbidden) Error() string

type PatchIPAMPoolOK

type PatchIPAMPoolOK struct {
}
PatchIPAMPoolOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewPatchIPAMPoolOK

func NewPatchIPAMPoolOK() *PatchIPAMPoolOK

NewPatchIPAMPoolOK creates a PatchIPAMPoolOK with default headers values

func (*PatchIPAMPoolOK) Error

func (o *PatchIPAMPoolOK) Error() string

type PatchIPAMPoolParams

type PatchIPAMPoolParams struct {

	// Body.
	Body *models.IPAMPool

	// IpampoolName.
	IPAMPoolName string

	// SeedName.
	SeedName string

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

PatchIPAMPoolParams contains all the parameters to send to the API endpoint

for the patch IP a m pool operation.

Typically these are written to a http.Request.

func NewPatchIPAMPoolParams

func NewPatchIPAMPoolParams() *PatchIPAMPoolParams

NewPatchIPAMPoolParams creates a new PatchIPAMPoolParams 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 NewPatchIPAMPoolParamsWithContext

func NewPatchIPAMPoolParamsWithContext(ctx context.Context) *PatchIPAMPoolParams

NewPatchIPAMPoolParamsWithContext creates a new PatchIPAMPoolParams object with the ability to set a context for a request.

func NewPatchIPAMPoolParamsWithHTTPClient

func NewPatchIPAMPoolParamsWithHTTPClient(client *http.Client) *PatchIPAMPoolParams

NewPatchIPAMPoolParamsWithHTTPClient creates a new PatchIPAMPoolParams object with the ability to set a custom HTTPClient for a request.

func NewPatchIPAMPoolParamsWithTimeout

func NewPatchIPAMPoolParamsWithTimeout(timeout time.Duration) *PatchIPAMPoolParams

NewPatchIPAMPoolParamsWithTimeout creates a new PatchIPAMPoolParams object with the ability to set a timeout on a request.

func (*PatchIPAMPoolParams) SetBody

func (o *PatchIPAMPoolParams) SetBody(body *models.IPAMPool)

SetBody adds the body to the patch IP a m pool params

func (*PatchIPAMPoolParams) SetContext

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

SetContext adds the context to the patch IP a m pool params

func (*PatchIPAMPoolParams) SetDefaults

func (o *PatchIPAMPoolParams) SetDefaults()

SetDefaults hydrates default values in the patch IP a m pool params (not the query body).

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

func (*PatchIPAMPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch IP a m pool params

func (*PatchIPAMPoolParams) SetIPAMPoolName

func (o *PatchIPAMPoolParams) SetIPAMPoolName(ipampoolName string)

SetIPAMPoolName adds the ipampoolName to the patch IP a m pool params

func (*PatchIPAMPoolParams) SetSeedName

func (o *PatchIPAMPoolParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the patch IP a m pool params

func (*PatchIPAMPoolParams) SetTimeout

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

SetTimeout adds the timeout to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithBody

WithBody adds the body to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithContext

WithContext adds the context to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithDefaults

func (o *PatchIPAMPoolParams) WithDefaults() *PatchIPAMPoolParams

WithDefaults hydrates default values in the patch IP a m pool params (not the query body).

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

func (*PatchIPAMPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithIPAMPoolName

func (o *PatchIPAMPoolParams) WithIPAMPoolName(ipampoolName string) *PatchIPAMPoolParams

WithIPAMPoolName adds the ipampoolName to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithSeedName

func (o *PatchIPAMPoolParams) WithSeedName(seedName string) *PatchIPAMPoolParams

WithSeedName adds the seedName to the patch IP a m pool params

func (*PatchIPAMPoolParams) WithTimeout

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

WithTimeout adds the timeout to the patch IP a m pool params

func (*PatchIPAMPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchIPAMPoolReader

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

PatchIPAMPoolReader is a Reader for the PatchIPAMPool structure.

func (*PatchIPAMPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchIPAMPoolUnauthorized

type PatchIPAMPoolUnauthorized struct {
}
PatchIPAMPoolUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewPatchIPAMPoolUnauthorized

func NewPatchIPAMPoolUnauthorized() *PatchIPAMPoolUnauthorized

NewPatchIPAMPoolUnauthorized creates a PatchIPAMPoolUnauthorized with default headers values

func (*PatchIPAMPoolUnauthorized) Error

func (o *PatchIPAMPoolUnauthorized) Error() string

Jump to

Keyboard shortcuts

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