Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteIPAMIP(params *DeleteIPAMIPParams) (*DeleteIPAMIPOK, error)
- func (a *Client) PostIPAM(params *PostIPAMParams) (*PostIPAMCreated, error)
- func (a *Client) PostIPAMIP(params *PostIPAMIPParams) (*PostIPAMIPOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteIPAMIPDisabled
- type DeleteIPAMIPFailure
- type DeleteIPAMIPInvalid
- type DeleteIPAMIPNotFound
- type DeleteIPAMIPOK
- type DeleteIPAMIPParams
- func (o *DeleteIPAMIPParams) SetContext(ctx context.Context)
- func (o *DeleteIPAMIPParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIPAMIPParams) SetIP(ip string)
- func (o *DeleteIPAMIPParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIPAMIPParams) WithContext(ctx context.Context) *DeleteIPAMIPParams
- func (o *DeleteIPAMIPParams) WithHTTPClient(client *http.Client) *DeleteIPAMIPParams
- func (o *DeleteIPAMIPParams) WithIP(ip string) *DeleteIPAMIPParams
- func (o *DeleteIPAMIPParams) WithTimeout(timeout time.Duration) *DeleteIPAMIPParams
- func (o *DeleteIPAMIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIPAMIPReader
- type PostIPAMCreated
- type PostIPAMFailure
- type PostIPAMIPDisabled
- type PostIPAMIPExists
- type PostIPAMIPFailure
- type PostIPAMIPInvalid
- type PostIPAMIPOK
- type PostIPAMIPParams
- func (o *PostIPAMIPParams) SetContext(ctx context.Context)
- func (o *PostIPAMIPParams) SetHTTPClient(client *http.Client)
- func (o *PostIPAMIPParams) SetIP(ip string)
- func (o *PostIPAMIPParams) SetOwner(owner *string)
- func (o *PostIPAMIPParams) SetTimeout(timeout time.Duration)
- func (o *PostIPAMIPParams) WithContext(ctx context.Context) *PostIPAMIPParams
- func (o *PostIPAMIPParams) WithHTTPClient(client *http.Client) *PostIPAMIPParams
- func (o *PostIPAMIPParams) WithIP(ip string) *PostIPAMIPParams
- func (o *PostIPAMIPParams) WithOwner(owner *string) *PostIPAMIPParams
- func (o *PostIPAMIPParams) WithTimeout(timeout time.Duration) *PostIPAMIPParams
- func (o *PostIPAMIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIPAMIPReader
- type PostIPAMParams
- func (o *PostIPAMParams) SetContext(ctx context.Context)
- func (o *PostIPAMParams) SetFamily(family *string)
- func (o *PostIPAMParams) SetHTTPClient(client *http.Client)
- func (o *PostIPAMParams) SetOwner(owner *string)
- func (o *PostIPAMParams) SetTimeout(timeout time.Duration)
- func (o *PostIPAMParams) WithContext(ctx context.Context) *PostIPAMParams
- func (o *PostIPAMParams) WithFamily(family *string) *PostIPAMParams
- func (o *PostIPAMParams) WithHTTPClient(client *http.Client) *PostIPAMParams
- func (o *PostIPAMParams) WithOwner(owner *string) *PostIPAMParams
- func (o *PostIPAMParams) WithTimeout(timeout time.Duration) *PostIPAMParams
- func (o *PostIPAMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIPAMReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new ipam API client.
func (*Client) DeleteIPAMIP ¶
func (a *Client) DeleteIPAMIP(params *DeleteIPAMIPParams) (*DeleteIPAMIPOK, error)
DeleteIPAMIP releases an allocated IP address
func (*Client) PostIPAM ¶
func (a *Client) PostIPAM(params *PostIPAMParams) (*PostIPAMCreated, error)
PostIPAM allocates an IP address
func (*Client) PostIPAMIP ¶
func (a *Client) PostIPAMIP(params *PostIPAMIPParams) (*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 DeleteIPAMIPDisabled ¶
type DeleteIPAMIPDisabled struct { }
DeleteIPAMIPDisabled handles this case with default header values.
Allocation for address family disabled
func NewDeleteIPAMIPDisabled ¶
func NewDeleteIPAMIPDisabled() *DeleteIPAMIPDisabled
NewDeleteIPAMIPDisabled creates a DeleteIPAMIPDisabled with default headers values
func (*DeleteIPAMIPDisabled) Error ¶
func (o *DeleteIPAMIPDisabled) Error() string
type DeleteIPAMIPFailure ¶
DeleteIPAMIPFailure handles this case with default header values.
Address release failure
func NewDeleteIPAMIPFailure ¶
func NewDeleteIPAMIPFailure() *DeleteIPAMIPFailure
NewDeleteIPAMIPFailure creates a DeleteIPAMIPFailure with default headers values
func (*DeleteIPAMIPFailure) Error ¶
func (o *DeleteIPAMIPFailure) Error() string
type DeleteIPAMIPInvalid ¶
type DeleteIPAMIPInvalid struct { }
DeleteIPAMIPInvalid handles this case with default header values.
Invalid IP address
func NewDeleteIPAMIPInvalid ¶
func NewDeleteIPAMIPInvalid() *DeleteIPAMIPInvalid
NewDeleteIPAMIPInvalid creates a DeleteIPAMIPInvalid with default headers values
func (*DeleteIPAMIPInvalid) Error ¶
func (o *DeleteIPAMIPInvalid) Error() string
type DeleteIPAMIPNotFound ¶
type DeleteIPAMIPNotFound struct { }
DeleteIPAMIPNotFound handles this case with default header values.
IP address not found
func NewDeleteIPAMIPNotFound ¶
func NewDeleteIPAMIPNotFound() *DeleteIPAMIPNotFound
NewDeleteIPAMIPNotFound creates a DeleteIPAMIPNotFound with default headers values
func (*DeleteIPAMIPNotFound) Error ¶
func (o *DeleteIPAMIPNotFound) Error() string
type DeleteIPAMIPOK ¶
type DeleteIPAMIPOK struct { }
DeleteIPAMIPOK handles this case with default header values.
Success
func NewDeleteIPAMIPOK ¶
func NewDeleteIPAMIPOK() *DeleteIPAMIPOK
NewDeleteIPAMIPOK creates a DeleteIPAMIPOK with default headers values
func (*DeleteIPAMIPOK) Error ¶
func (o *DeleteIPAMIPOK) Error() string
type DeleteIPAMIPParams ¶
type DeleteIPAMIPParams struct { /*IP IP address */ IP 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 IP a m IP operation typically these are written to a http.Request
func NewDeleteIPAMIPParams ¶
func NewDeleteIPAMIPParams() *DeleteIPAMIPParams
NewDeleteIPAMIPParams creates a new DeleteIPAMIPParams object with the default values initialized.
func NewDeleteIPAMIPParamsWithContext ¶
func NewDeleteIPAMIPParamsWithContext(ctx context.Context) *DeleteIPAMIPParams
NewDeleteIPAMIPParamsWithContext creates a new DeleteIPAMIPParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteIPAMIPParamsWithHTTPClient ¶
func NewDeleteIPAMIPParamsWithHTTPClient(client *http.Client) *DeleteIPAMIPParams
NewDeleteIPAMIPParamsWithHTTPClient creates a new DeleteIPAMIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteIPAMIPParamsWithTimeout ¶
func NewDeleteIPAMIPParamsWithTimeout(timeout time.Duration) *DeleteIPAMIPParams
NewDeleteIPAMIPParamsWithTimeout creates a new DeleteIPAMIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteIPAMIPParams) SetContext ¶
func (o *DeleteIPAMIPParams) SetContext(ctx context.Context)
SetContext adds the context to the delete IP a m IP params
func (*DeleteIPAMIPParams) SetHTTPClient ¶
func (o *DeleteIPAMIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete IP a m IP params
func (*DeleteIPAMIPParams) SetIP ¶
func (o *DeleteIPAMIPParams) SetIP(ip string)
SetIP adds the ip to the delete IP a m IP params
func (*DeleteIPAMIPParams) SetTimeout ¶
func (o *DeleteIPAMIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete IP a m IP params
func (*DeleteIPAMIPParams) WithContext ¶
func (o *DeleteIPAMIPParams) WithContext(ctx context.Context) *DeleteIPAMIPParams
WithContext adds the context to the delete IP a m IP params
func (*DeleteIPAMIPParams) WithHTTPClient ¶
func (o *DeleteIPAMIPParams) WithHTTPClient(client *http.Client) *DeleteIPAMIPParams
WithHTTPClient adds the HTTPClient to the delete IP a m IP params
func (*DeleteIPAMIPParams) WithIP ¶
func (o *DeleteIPAMIPParams) WithIP(ip string) *DeleteIPAMIPParams
WithIP adds the ip to the delete IP a m IP params
func (*DeleteIPAMIPParams) WithTimeout ¶
func (o *DeleteIPAMIPParams) WithTimeout(timeout time.Duration) *DeleteIPAMIPParams
WithTimeout adds the timeout to the delete IP a m IP params
func (*DeleteIPAMIPParams) WriteToRequest ¶
func (o *DeleteIPAMIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIPAMIPReader ¶
type DeleteIPAMIPReader struct {
// contains filtered or unexported fields
}
DeleteIPAMIPReader is a Reader for the DeleteIPAMIP structure.
func (*DeleteIPAMIPReader) ReadResponse ¶
func (o *DeleteIPAMIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIPAMCreated ¶
type PostIPAMCreated struct {
Payload *models.IPAMResponse
}
PostIPAMCreated handles this case with default header values.
Success
func NewPostIPAMCreated ¶
func NewPostIPAMCreated() *PostIPAMCreated
NewPostIPAMCreated creates a PostIPAMCreated with default headers values
func (*PostIPAMCreated) Error ¶
func (o *PostIPAMCreated) Error() string
type PostIPAMFailure ¶
PostIPAMFailure handles this case with default header values.
Allocation failure
func NewPostIPAMFailure ¶
func NewPostIPAMFailure() *PostIPAMFailure
NewPostIPAMFailure creates a PostIPAMFailure with default headers values
func (*PostIPAMFailure) Error ¶
func (o *PostIPAMFailure) Error() string
type PostIPAMIPDisabled ¶
type PostIPAMIPDisabled struct { }
PostIPAMIPDisabled handles this case with default header values.
Allocation for address family disabled
func NewPostIPAMIPDisabled ¶
func NewPostIPAMIPDisabled() *PostIPAMIPDisabled
NewPostIPAMIPDisabled creates a PostIPAMIPDisabled with default headers values
func (*PostIPAMIPDisabled) Error ¶
func (o *PostIPAMIPDisabled) Error() string
type PostIPAMIPExists ¶
type PostIPAMIPExists struct { }
PostIPAMIPExists handles this case with default header values.
IP already allocated
func NewPostIPAMIPExists ¶
func NewPostIPAMIPExists() *PostIPAMIPExists
NewPostIPAMIPExists creates a PostIPAMIPExists with default headers values
func (*PostIPAMIPExists) Error ¶
func (o *PostIPAMIPExists) Error() string
type PostIPAMIPFailure ¶
PostIPAMIPFailure handles this case with default header values.
IP allocation failure. Details in message.
func NewPostIPAMIPFailure ¶
func NewPostIPAMIPFailure() *PostIPAMIPFailure
NewPostIPAMIPFailure creates a PostIPAMIPFailure with default headers values
func (*PostIPAMIPFailure) Error ¶
func (o *PostIPAMIPFailure) Error() string
type PostIPAMIPInvalid ¶
type PostIPAMIPInvalid struct { }
PostIPAMIPInvalid handles this case with default header values.
Invalid IP address
func NewPostIPAMIPInvalid ¶
func NewPostIPAMIPInvalid() *PostIPAMIPInvalid
NewPostIPAMIPInvalid creates a PostIPAMIPInvalid with default headers values
func (*PostIPAMIPInvalid) Error ¶
func (o *PostIPAMIPInvalid) Error() string
type PostIPAMIPOK ¶
type PostIPAMIPOK struct { }
PostIPAMIPOK handles this case with default header values.
Success
func NewPostIPAMIPOK ¶
func NewPostIPAMIPOK() *PostIPAMIPOK
NewPostIPAMIPOK creates a PostIPAMIPOK with default headers values
func (*PostIPAMIPOK) Error ¶
func (o *PostIPAMIPOK) Error() string
type PostIPAMIPParams ¶
type PostIPAMIPParams struct { /*IP IP address */ IP string /*Owner*/ Owner *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 IP a m IP operation typically these are written to a http.Request
func NewPostIPAMIPParams ¶
func NewPostIPAMIPParams() *PostIPAMIPParams
NewPostIPAMIPParams creates a new PostIPAMIPParams object with the default values initialized.
func NewPostIPAMIPParamsWithContext ¶
func NewPostIPAMIPParamsWithContext(ctx context.Context) *PostIPAMIPParams
NewPostIPAMIPParamsWithContext creates a new PostIPAMIPParams object with the default values initialized, and the ability to set a context for a request
func NewPostIPAMIPParamsWithHTTPClient ¶
func NewPostIPAMIPParamsWithHTTPClient(client *http.Client) *PostIPAMIPParams
NewPostIPAMIPParamsWithHTTPClient creates a new PostIPAMIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostIPAMIPParamsWithTimeout ¶
func NewPostIPAMIPParamsWithTimeout(timeout time.Duration) *PostIPAMIPParams
NewPostIPAMIPParamsWithTimeout creates a new PostIPAMIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostIPAMIPParams) SetContext ¶
func (o *PostIPAMIPParams) SetContext(ctx context.Context)
SetContext adds the context to the post IP a m IP params
func (*PostIPAMIPParams) SetHTTPClient ¶
func (o *PostIPAMIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post IP a m IP params
func (*PostIPAMIPParams) SetIP ¶
func (o *PostIPAMIPParams) SetIP(ip string)
SetIP adds the ip to the post IP a m IP params
func (*PostIPAMIPParams) SetOwner ¶ added in v1.5.0
func (o *PostIPAMIPParams) SetOwner(owner *string)
SetOwner adds the owner to the post IP a m IP params
func (*PostIPAMIPParams) SetTimeout ¶
func (o *PostIPAMIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post IP a m IP params
func (*PostIPAMIPParams) WithContext ¶
func (o *PostIPAMIPParams) WithContext(ctx context.Context) *PostIPAMIPParams
WithContext adds the context to the post IP a m IP params
func (*PostIPAMIPParams) WithHTTPClient ¶
func (o *PostIPAMIPParams) WithHTTPClient(client *http.Client) *PostIPAMIPParams
WithHTTPClient adds the HTTPClient to the post IP a m IP params
func (*PostIPAMIPParams) WithIP ¶
func (o *PostIPAMIPParams) WithIP(ip string) *PostIPAMIPParams
WithIP adds the ip to the post IP a m IP params
func (*PostIPAMIPParams) WithOwner ¶ added in v1.5.0
func (o *PostIPAMIPParams) WithOwner(owner *string) *PostIPAMIPParams
WithOwner adds the owner to the post IP a m IP params
func (*PostIPAMIPParams) WithTimeout ¶
func (o *PostIPAMIPParams) WithTimeout(timeout time.Duration) *PostIPAMIPParams
WithTimeout adds the timeout to the post IP a m IP params
func (*PostIPAMIPParams) WriteToRequest ¶
func (o *PostIPAMIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIPAMIPReader ¶
type PostIPAMIPReader struct {
// contains filtered or unexported fields
}
PostIPAMIPReader is a Reader for the PostIPAMIP structure.
func (*PostIPAMIPReader) ReadResponse ¶
func (o *PostIPAMIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIPAMParams ¶
type PostIPAMParams struct { /*Family*/ Family *string /*Owner*/ Owner *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 IP a m operation typically these are written to a http.Request
func NewPostIPAMParams ¶
func NewPostIPAMParams() *PostIPAMParams
NewPostIPAMParams creates a new PostIPAMParams object with the default values initialized.
func NewPostIPAMParamsWithContext ¶
func NewPostIPAMParamsWithContext(ctx context.Context) *PostIPAMParams
NewPostIPAMParamsWithContext creates a new PostIPAMParams object with the default values initialized, and the ability to set a context for a request
func NewPostIPAMParamsWithHTTPClient ¶
func NewPostIPAMParamsWithHTTPClient(client *http.Client) *PostIPAMParams
NewPostIPAMParamsWithHTTPClient creates a new PostIPAMParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostIPAMParamsWithTimeout ¶
func NewPostIPAMParamsWithTimeout(timeout time.Duration) *PostIPAMParams
NewPostIPAMParamsWithTimeout creates a new PostIPAMParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostIPAMParams) SetContext ¶
func (o *PostIPAMParams) SetContext(ctx context.Context)
SetContext adds the context to the post IP a m params
func (*PostIPAMParams) SetFamily ¶
func (o *PostIPAMParams) SetFamily(family *string)
SetFamily adds the family to the post IP a m params
func (*PostIPAMParams) SetHTTPClient ¶
func (o *PostIPAMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post IP a m params
func (*PostIPAMParams) SetOwner ¶ added in v1.5.0
func (o *PostIPAMParams) SetOwner(owner *string)
SetOwner adds the owner to the post IP a m params
func (*PostIPAMParams) SetTimeout ¶
func (o *PostIPAMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post IP a m params
func (*PostIPAMParams) WithContext ¶
func (o *PostIPAMParams) WithContext(ctx context.Context) *PostIPAMParams
WithContext adds the context to the post IP a m params
func (*PostIPAMParams) WithFamily ¶
func (o *PostIPAMParams) WithFamily(family *string) *PostIPAMParams
WithFamily adds the family to the post IP a m params
func (*PostIPAMParams) WithHTTPClient ¶
func (o *PostIPAMParams) WithHTTPClient(client *http.Client) *PostIPAMParams
WithHTTPClient adds the HTTPClient to the post IP a m params
func (*PostIPAMParams) WithOwner ¶ added in v1.5.0
func (o *PostIPAMParams) WithOwner(owner *string) *PostIPAMParams
WithOwner adds the owner to the post IP a m params
func (*PostIPAMParams) WithTimeout ¶
func (o *PostIPAMParams) WithTimeout(timeout time.Duration) *PostIPAMParams
WithTimeout adds the timeout to the post IP a m params
func (*PostIPAMParams) WriteToRequest ¶
func (o *PostIPAMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIPAMReader ¶
type PostIPAMReader struct {
// contains filtered or unexported fields
}
PostIPAMReader is a Reader for the PostIPAM structure.
func (*PostIPAMReader) ReadResponse ¶
func (o *PostIPAMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.