cilium: github.com/cilium/cilium/api/v1/client/ipam Index | Files

package ipam

import "github.com/cilium/cilium/api/v1/client/ipam"

Index

Package Files

delete_ipam_ip_parameters.go delete_ipam_ip_responses.go ipam_client.go post_ipam_ip_parameters.go post_ipam_ip_responses.go post_ipam_parameters.go post_ipam_responses.go

type Client Uses

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

Client for ipam API

func New Uses

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new ipam API client.

func (*Client) DeleteIpamIP Uses

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

DeleteIpamIP releases an allocated IP address

func (*Client) PostIpam Uses

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

PostIpam allocates an IP address

func (*Client) PostIpamIP Uses

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

PostIpamIP allocates an IP address

func (*Client) SetTransport Uses

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

SetTransport changes the transport on the client

type DeleteIpamIPDisabled Uses

type DeleteIpamIPDisabled struct {
}

DeleteIpamIPDisabled handles this case with default header values.

Allocation for address family disabled

func NewDeleteIpamIPDisabled Uses

func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled

NewDeleteIpamIPDisabled creates a DeleteIpamIPDisabled with default headers values

func (*DeleteIpamIPDisabled) Error Uses

func (o *DeleteIpamIPDisabled) Error() string

type DeleteIpamIPFailure Uses

type DeleteIpamIPFailure struct {
    Payload models.Error
}

DeleteIpamIPFailure handles this case with default header values.

Address release failure

func NewDeleteIpamIPFailure Uses

func NewDeleteIpamIPFailure() *DeleteIpamIPFailure

NewDeleteIpamIPFailure creates a DeleteIpamIPFailure with default headers values

func (*DeleteIpamIPFailure) Error Uses

func (o *DeleteIpamIPFailure) Error() string

func (*DeleteIpamIPFailure) GetPayload Uses

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

type DeleteIpamIPInvalid Uses

type DeleteIpamIPInvalid struct {
}

DeleteIpamIPInvalid handles this case with default header values.

Invalid IP address

func NewDeleteIpamIPInvalid Uses

func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid

NewDeleteIpamIPInvalid creates a DeleteIpamIPInvalid with default headers values

func (*DeleteIpamIPInvalid) Error Uses

func (o *DeleteIpamIPInvalid) Error() string

type DeleteIpamIPNotFound Uses

type DeleteIpamIPNotFound struct {
}

DeleteIpamIPNotFound handles this case with default header values.

IP address not found

func NewDeleteIpamIPNotFound Uses

func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound

NewDeleteIpamIPNotFound creates a DeleteIpamIPNotFound with default headers values

func (*DeleteIpamIPNotFound) Error Uses

func (o *DeleteIpamIPNotFound) Error() string

type DeleteIpamIPOK Uses

type DeleteIpamIPOK struct {
}

DeleteIpamIPOK handles this case with default header values.

Success

func NewDeleteIpamIPOK Uses

func NewDeleteIpamIPOK() *DeleteIpamIPOK

NewDeleteIpamIPOK creates a DeleteIpamIPOK with default headers values

func (*DeleteIpamIPOK) Error Uses

func (o *DeleteIpamIPOK) Error() string

type DeleteIpamIPParams Uses

type DeleteIpamIPParams struct {

    /*IP
      IP address or owner name

    */
    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 ipam IP operation typically these are written to a http.Request

func NewDeleteIpamIPParams Uses

func NewDeleteIpamIPParams() *DeleteIpamIPParams

NewDeleteIpamIPParams creates a new DeleteIpamIPParams object with the default values initialized.

func NewDeleteIpamIPParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) SetIP Uses

func (o *DeleteIpamIPParams) SetIP(ip string)

SetIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) SetTimeout Uses

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

SetTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WithContext Uses

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

WithContext adds the context to the delete ipam IP params

func (*DeleteIpamIPParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the delete ipam IP params

func (*DeleteIpamIPParams) WithIP Uses

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

WithIP adds the ip to the delete ipam IP params

func (*DeleteIpamIPParams) WithTimeout Uses

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

WithTimeout adds the timeout to the delete ipam IP params

func (*DeleteIpamIPParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type DeleteIpamIPReader Uses

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

DeleteIpamIPReader is a Reader for the DeleteIpamIP structure.

func (*DeleteIpamIPReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type PostIpamCreated Uses

type PostIpamCreated struct {
    Payload *models.IPAMResponse
}

PostIpamCreated handles this case with default header values.

Success

func NewPostIpamCreated Uses

func NewPostIpamCreated() *PostIpamCreated

NewPostIpamCreated creates a PostIpamCreated with default headers values

func (*PostIpamCreated) Error Uses

func (o *PostIpamCreated) Error() string

func (*PostIpamCreated) GetPayload Uses

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

type PostIpamFailure Uses

type PostIpamFailure struct {
    Payload models.Error
}

PostIpamFailure handles this case with default header values.

Allocation failure

func NewPostIpamFailure Uses

func NewPostIpamFailure() *PostIpamFailure

NewPostIpamFailure creates a PostIpamFailure with default headers values

func (*PostIpamFailure) Error Uses

func (o *PostIpamFailure) Error() string

func (*PostIpamFailure) GetPayload Uses

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

type PostIpamIPDisabled Uses

type PostIpamIPDisabled struct {
}

PostIpamIPDisabled handles this case with default header values.

Allocation for address family disabled

func NewPostIpamIPDisabled Uses

func NewPostIpamIPDisabled() *PostIpamIPDisabled

NewPostIpamIPDisabled creates a PostIpamIPDisabled with default headers values

func (*PostIpamIPDisabled) Error Uses

func (o *PostIpamIPDisabled) Error() string

type PostIpamIPExists Uses

type PostIpamIPExists struct {
}

PostIpamIPExists handles this case with default header values.

IP already allocated

func NewPostIpamIPExists Uses

func NewPostIpamIPExists() *PostIpamIPExists

NewPostIpamIPExists creates a PostIpamIPExists with default headers values

func (*PostIpamIPExists) Error Uses

func (o *PostIpamIPExists) Error() string

type PostIpamIPFailure Uses

type PostIpamIPFailure struct {
    Payload models.Error
}

PostIpamIPFailure handles this case with default header values.

IP allocation failure. Details in message.

func NewPostIpamIPFailure Uses

func NewPostIpamIPFailure() *PostIpamIPFailure

NewPostIpamIPFailure creates a PostIpamIPFailure with default headers values

func (*PostIpamIPFailure) Error Uses

func (o *PostIpamIPFailure) Error() string

func (*PostIpamIPFailure) GetPayload Uses

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

type PostIpamIPInvalid Uses

type PostIpamIPInvalid struct {
}

PostIpamIPInvalid handles this case with default header values.

Invalid IP address

func NewPostIpamIPInvalid Uses

func NewPostIpamIPInvalid() *PostIpamIPInvalid

NewPostIpamIPInvalid creates a PostIpamIPInvalid with default headers values

func (*PostIpamIPInvalid) Error Uses

func (o *PostIpamIPInvalid) Error() string

type PostIpamIPOK Uses

type PostIpamIPOK struct {
}

PostIpamIPOK handles this case with default header values.

Success

func NewPostIpamIPOK Uses

func NewPostIpamIPOK() *PostIpamIPOK

NewPostIpamIPOK creates a PostIpamIPOK with default headers values

func (*PostIpamIPOK) Error Uses

func (o *PostIpamIPOK) Error() string

type PostIpamIPParams Uses

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 ipam IP operation typically these are written to a http.Request

func NewPostIpamIPParams Uses

func NewPostIpamIPParams() *PostIpamIPParams

NewPostIpamIPParams creates a new PostIpamIPParams object with the default values initialized.

func NewPostIpamIPParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the post ipam IP params

func (*PostIpamIPParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) SetIP Uses

func (o *PostIpamIPParams) SetIP(ip string)

SetIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) SetOwner Uses

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

SetOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) SetTimeout Uses

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

SetTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WithContext Uses

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

WithContext adds the context to the post ipam IP params

func (*PostIpamIPParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the post ipam IP params

func (*PostIpamIPParams) WithIP Uses

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

WithIP adds the ip to the post ipam IP params

func (*PostIpamIPParams) WithOwner Uses

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

WithOwner adds the owner to the post ipam IP params

func (*PostIpamIPParams) WithTimeout Uses

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

WithTimeout adds the timeout to the post ipam IP params

func (*PostIpamIPParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type PostIpamIPReader Uses

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

PostIpamIPReader is a Reader for the PostIpamIP structure.

func (*PostIpamIPReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type PostIpamParams Uses

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 ipam operation typically these are written to a http.Request

func NewPostIpamParams Uses

func NewPostIpamParams() *PostIpamParams

NewPostIpamParams creates a new PostIpamParams object with the default values initialized.

func NewPostIpamParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the post ipam params

func (*PostIpamParams) SetFamily Uses

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

SetFamily adds the family to the post ipam params

func (*PostIpamParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) SetOwner Uses

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

SetOwner adds the owner to the post ipam params

func (*PostIpamParams) SetTimeout Uses

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

SetTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WithContext Uses

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

WithContext adds the context to the post ipam params

func (*PostIpamParams) WithFamily Uses

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

WithFamily adds the family to the post ipam params

func (*PostIpamParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the post ipam params

func (*PostIpamParams) WithOwner Uses

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

WithOwner adds the owner to the post ipam params

func (*PostIpamParams) WithTimeout Uses

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

WithTimeout adds the timeout to the post ipam params

func (*PostIpamParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type PostIpamReader Uses

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

PostIpamReader is a Reader for the PostIpam structure.

func (*PostIpamReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

Package ipam imports 10 packages (graph) and is imported by 12 packages. Updated 2020-02-10. Refresh now. Tools for package owners.