Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)
- func (a *Client) DeleteIpamIps(params *DeleteIpamIpsParams, opts ...ClientOption) (*DeleteIpamIpsOK, error)
- func (a *Client) GetWorkloadendpoint(params *GetWorkloadendpointParams, opts ...ClientOption) (*GetWorkloadendpointOK, error)
- func (a *Client) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error)
- func (a *Client) PostIpamIps(params *PostIpamIpsParams, opts ...ClientOption) (*PostIpamIpsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteIpamIPInternalServerError
- type DeleteIpamIPOK
- type DeleteIpamIPParams
- func (o *DeleteIpamIPParams) SetContext(ctx context.Context)
- func (o *DeleteIpamIPParams) SetDefaults()
- func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIpamIPParams) SetIpamDelArgs(ipamDelArgs *models.IpamDelArgs)
- func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithDefaults() *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithIpamDelArgs(ipamDelArgs *models.IpamDelArgs) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIpamIPReader
- type DeleteIpamIpsInternalServerError
- type DeleteIpamIpsOK
- type DeleteIpamIpsParams
- func (o *DeleteIpamIpsParams) SetContext(ctx context.Context)
- func (o *DeleteIpamIpsParams) SetDefaults()
- func (o *DeleteIpamIpsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIpamIpsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIpamIpsParams) WithContext(ctx context.Context) *DeleteIpamIpsParams
- func (o *DeleteIpamIpsParams) WithDefaults() *DeleteIpamIpsParams
- func (o *DeleteIpamIpsParams) WithHTTPClient(client *http.Client) *DeleteIpamIpsParams
- func (o *DeleteIpamIpsParams) WithTimeout(timeout time.Duration) *DeleteIpamIpsParams
- func (o *DeleteIpamIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIpamIpsReader
- type GetWorkloadendpointInternalServerError
- type GetWorkloadendpointOK
- type GetWorkloadendpointParams
- func NewGetWorkloadendpointParams() *GetWorkloadendpointParams
- func NewGetWorkloadendpointParamsWithContext(ctx context.Context) *GetWorkloadendpointParams
- func NewGetWorkloadendpointParamsWithHTTPClient(client *http.Client) *GetWorkloadendpointParams
- func NewGetWorkloadendpointParamsWithTimeout(timeout time.Duration) *GetWorkloadendpointParams
- func (o *GetWorkloadendpointParams) SetContext(ctx context.Context)
- func (o *GetWorkloadendpointParams) SetDefaults()
- func (o *GetWorkloadendpointParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkloadendpointParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkloadendpointParams) WithContext(ctx context.Context) *GetWorkloadendpointParams
- func (o *GetWorkloadendpointParams) WithDefaults() *GetWorkloadendpointParams
- func (o *GetWorkloadendpointParams) WithHTTPClient(client *http.Client) *GetWorkloadendpointParams
- func (o *GetWorkloadendpointParams) WithTimeout(timeout time.Duration) *GetWorkloadendpointParams
- func (o *GetWorkloadendpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkloadendpointReader
- type PostIpamIPInternalServerError
- type PostIpamIPOK
- type PostIpamIPParams
- func (o *PostIpamIPParams) SetContext(ctx context.Context)
- func (o *PostIpamIPParams) SetDefaults()
- func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamIPParams) SetIpamAddArgs(ipamAddArgs *models.IpamAddArgs)
- func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
- func (o *PostIpamIPParams) WithDefaults() *PostIpamIPParams
- func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
- func (o *PostIpamIPParams) WithIpamAddArgs(ipamAddArgs *models.IpamAddArgs) *PostIpamIPParams
- func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
- func (o *PostIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamIPReader
- type PostIpamIPStatus512
- type PostIpamIPStatus513
- type PostIpamIPStatus514
- type PostIpamIPStatus515
- type PostIpamIpsInternalServerError
- type PostIpamIpsOK
- type PostIpamIpsParams
- func (o *PostIpamIpsParams) SetContext(ctx context.Context)
- func (o *PostIpamIpsParams) SetDefaults()
- func (o *PostIpamIpsParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamIpsParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamIpsParams) WithContext(ctx context.Context) *PostIpamIpsParams
- func (o *PostIpamIpsParams) WithDefaults() *PostIpamIpsParams
- func (o *PostIpamIpsParams) WithHTTPClient(client *http.Client) *PostIpamIpsParams
- func (o *PostIpamIpsParams) WithTimeout(timeout time.Duration) *PostIpamIpsParams
- func (o *PostIpamIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamIpsReader
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 daemonset API
func (*Client) DeleteIpamIP ¶
func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error)
DeleteIpamIP deletes ip from spiderpool daemon
Send a request to daemonset to ask for an ip deleting
func (*Client) DeleteIpamIps ¶
func (a *Client) DeleteIpamIps(params *DeleteIpamIpsParams, opts ...ClientOption) (*DeleteIpamIpsOK, error)
DeleteIpamIps deletes multiple ip as a batch
Delete multiple ip for a pod, case for spiderflat compent
func (*Client) GetWorkloadendpoint ¶
func (a *Client) GetWorkloadendpoint(params *GetWorkloadendpointParams, opts ...ClientOption) (*GetWorkloadendpointOK, error)
GetWorkloadendpoint gets workloadendpoint status
Get workloadendpoint details for spiderflat use
func (*Client) PostIpamIP ¶
func (a *Client) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error)
PostIpamIP gets ip from spiderpool daemon
Send a request to daemonset to ask for an ip assignment
func (*Client) PostIpamIps ¶
func (a *Client) PostIpamIps(params *PostIpamIpsParams, opts ...ClientOption) (*PostIpamIpsOK, error)
PostIpamIps assigns multiple ip as a batch
Assign multiple ip for a pod, case for spiderflat compent
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 { DeleteIpamIP(params *DeleteIpamIPParams, opts ...ClientOption) (*DeleteIpamIPOK, error) DeleteIpamIps(params *DeleteIpamIpsParams, opts ...ClientOption) (*DeleteIpamIpsOK, error) GetWorkloadendpoint(params *GetWorkloadendpointParams, opts ...ClientOption) (*GetWorkloadendpointOK, error) PostIpamIP(params *PostIpamIPParams, opts ...ClientOption) (*PostIpamIPOK, error) PostIpamIps(params *PostIpamIpsParams, opts ...ClientOption) (*PostIpamIpsOK, 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 daemonset API client.
type DeleteIpamIPInternalServerError ¶
type DeleteIpamIPInternalServerError struct { }
DeleteIpamIPInternalServerError describes a response with status code 500, with default header values.
Failed
func NewDeleteIpamIPInternalServerError ¶
func NewDeleteIpamIPInternalServerError() *DeleteIpamIPInternalServerError
NewDeleteIpamIPInternalServerError creates a DeleteIpamIPInternalServerError with default headers values
func (*DeleteIpamIPInternalServerError) Error ¶
func (o *DeleteIpamIPInternalServerError) Error() string
type DeleteIpamIPOK ¶
type DeleteIpamIPOK struct { }
DeleteIpamIPOK describes a response with status code 200, 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 { // IpamDelArgs. IpamDelArgs *models.IpamDelArgs 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 ¶
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 ¶
func NewDeleteIpamIPParamsWithContext(ctx context.Context) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithContext creates a new DeleteIpamIPParams object with 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 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 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 ipam IP params
func (*DeleteIpamIPParams) SetDefaults ¶
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 ¶
func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) SetIpamDelArgs ¶ added in v0.0.2
func (o *DeleteIpamIPParams) SetIpamDelArgs(ipamDelArgs *models.IpamDelArgs)
SetIpamDelArgs adds the ipamDelArgs to the delete ipam IP params
func (*DeleteIpamIPParams) SetTimeout ¶
func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ipam IP params
func (*DeleteIpamIPParams) WithContext ¶
func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
WithContext adds the context to the delete ipam IP params
func (*DeleteIpamIPParams) WithDefaults ¶
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 ¶
func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
WithHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) WithIpamDelArgs ¶ added in v0.0.2
func (o *DeleteIpamIPParams) WithIpamDelArgs(ipamDelArgs *models.IpamDelArgs) *DeleteIpamIPParams
WithIpamDelArgs adds the ipamDelArgs to the delete ipam IP params
func (*DeleteIpamIPParams) WithTimeout ¶
func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
WithTimeout adds the timeout to the delete ipam 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 DeleteIpamIpsInternalServerError ¶
type DeleteIpamIpsInternalServerError struct { }
DeleteIpamIpsInternalServerError describes a response with status code 500, with default header values.
Failed
func NewDeleteIpamIpsInternalServerError ¶
func NewDeleteIpamIpsInternalServerError() *DeleteIpamIpsInternalServerError
NewDeleteIpamIpsInternalServerError creates a DeleteIpamIpsInternalServerError with default headers values
func (*DeleteIpamIpsInternalServerError) Error ¶
func (o *DeleteIpamIpsInternalServerError) Error() string
type DeleteIpamIpsOK ¶
type DeleteIpamIpsOK struct { }
DeleteIpamIpsOK describes a response with status code 200, with default header values.
Success
func NewDeleteIpamIpsOK ¶
func NewDeleteIpamIpsOK() *DeleteIpamIpsOK
NewDeleteIpamIpsOK creates a DeleteIpamIpsOK with default headers values
func (*DeleteIpamIpsOK) Error ¶
func (o *DeleteIpamIpsOK) Error() string
type DeleteIpamIpsParams ¶
type DeleteIpamIpsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIpamIpsParams contains all the parameters to send to the API endpoint
for the delete ipam ips operation. Typically these are written to a http.Request.
func NewDeleteIpamIpsParams ¶
func NewDeleteIpamIpsParams() *DeleteIpamIpsParams
NewDeleteIpamIpsParams creates a new DeleteIpamIpsParams 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 NewDeleteIpamIpsParamsWithContext ¶
func NewDeleteIpamIpsParamsWithContext(ctx context.Context) *DeleteIpamIpsParams
NewDeleteIpamIpsParamsWithContext creates a new DeleteIpamIpsParams object with the ability to set a context for a request.
func NewDeleteIpamIpsParamsWithHTTPClient ¶
func NewDeleteIpamIpsParamsWithHTTPClient(client *http.Client) *DeleteIpamIpsParams
NewDeleteIpamIpsParamsWithHTTPClient creates a new DeleteIpamIpsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIpamIpsParamsWithTimeout ¶
func NewDeleteIpamIpsParamsWithTimeout(timeout time.Duration) *DeleteIpamIpsParams
NewDeleteIpamIpsParamsWithTimeout creates a new DeleteIpamIpsParams object with the ability to set a timeout on a request.
func (*DeleteIpamIpsParams) SetContext ¶
func (o *DeleteIpamIpsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ipam ips params
func (*DeleteIpamIpsParams) SetDefaults ¶
func (o *DeleteIpamIpsParams) SetDefaults()
SetDefaults hydrates default values in the delete ipam ips params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIpamIpsParams) SetHTTPClient ¶
func (o *DeleteIpamIpsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ipam ips params
func (*DeleteIpamIpsParams) SetTimeout ¶
func (o *DeleteIpamIpsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ipam ips params
func (*DeleteIpamIpsParams) WithContext ¶
func (o *DeleteIpamIpsParams) WithContext(ctx context.Context) *DeleteIpamIpsParams
WithContext adds the context to the delete ipam ips params
func (*DeleteIpamIpsParams) WithDefaults ¶
func (o *DeleteIpamIpsParams) WithDefaults() *DeleteIpamIpsParams
WithDefaults hydrates default values in the delete ipam ips params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIpamIpsParams) WithHTTPClient ¶
func (o *DeleteIpamIpsParams) WithHTTPClient(client *http.Client) *DeleteIpamIpsParams
WithHTTPClient adds the HTTPClient to the delete ipam ips params
func (*DeleteIpamIpsParams) WithTimeout ¶
func (o *DeleteIpamIpsParams) WithTimeout(timeout time.Duration) *DeleteIpamIpsParams
WithTimeout adds the timeout to the delete ipam ips params
func (*DeleteIpamIpsParams) WriteToRequest ¶
func (o *DeleteIpamIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIpamIpsReader ¶
type DeleteIpamIpsReader struct {
// contains filtered or unexported fields
}
DeleteIpamIpsReader is a Reader for the DeleteIpamIps structure.
func (*DeleteIpamIpsReader) ReadResponse ¶
func (o *DeleteIpamIpsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkloadendpointInternalServerError ¶
type GetWorkloadendpointInternalServerError struct { }
GetWorkloadendpointInternalServerError describes a response with status code 500, with default header values.
Get workloadendpoint failure
func NewGetWorkloadendpointInternalServerError ¶
func NewGetWorkloadendpointInternalServerError() *GetWorkloadendpointInternalServerError
NewGetWorkloadendpointInternalServerError creates a GetWorkloadendpointInternalServerError with default headers values
func (*GetWorkloadendpointInternalServerError) Error ¶
func (o *GetWorkloadendpointInternalServerError) Error() string
type GetWorkloadendpointOK ¶
type GetWorkloadendpointOK struct { }
GetWorkloadendpointOK describes a response with status code 200, with default header values.
Success
func NewGetWorkloadendpointOK ¶
func NewGetWorkloadendpointOK() *GetWorkloadendpointOK
NewGetWorkloadendpointOK creates a GetWorkloadendpointOK with default headers values
func (*GetWorkloadendpointOK) Error ¶
func (o *GetWorkloadendpointOK) Error() string
type GetWorkloadendpointParams ¶
type GetWorkloadendpointParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkloadendpointParams contains all the parameters to send to the API endpoint
for the get workloadendpoint operation. Typically these are written to a http.Request.
func NewGetWorkloadendpointParams ¶
func NewGetWorkloadendpointParams() *GetWorkloadendpointParams
NewGetWorkloadendpointParams creates a new GetWorkloadendpointParams 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 NewGetWorkloadendpointParamsWithContext ¶
func NewGetWorkloadendpointParamsWithContext(ctx context.Context) *GetWorkloadendpointParams
NewGetWorkloadendpointParamsWithContext creates a new GetWorkloadendpointParams object with the ability to set a context for a request.
func NewGetWorkloadendpointParamsWithHTTPClient ¶
func NewGetWorkloadendpointParamsWithHTTPClient(client *http.Client) *GetWorkloadendpointParams
NewGetWorkloadendpointParamsWithHTTPClient creates a new GetWorkloadendpointParams object with the ability to set a custom HTTPClient for a request.
func NewGetWorkloadendpointParamsWithTimeout ¶
func NewGetWorkloadendpointParamsWithTimeout(timeout time.Duration) *GetWorkloadendpointParams
NewGetWorkloadendpointParamsWithTimeout creates a new GetWorkloadendpointParams object with the ability to set a timeout on a request.
func (*GetWorkloadendpointParams) SetContext ¶
func (o *GetWorkloadendpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get workloadendpoint params
func (*GetWorkloadendpointParams) SetDefaults ¶
func (o *GetWorkloadendpointParams) SetDefaults()
SetDefaults hydrates default values in the get workloadendpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkloadendpointParams) SetHTTPClient ¶
func (o *GetWorkloadendpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workloadendpoint params
func (*GetWorkloadendpointParams) SetTimeout ¶
func (o *GetWorkloadendpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workloadendpoint params
func (*GetWorkloadendpointParams) WithContext ¶
func (o *GetWorkloadendpointParams) WithContext(ctx context.Context) *GetWorkloadendpointParams
WithContext adds the context to the get workloadendpoint params
func (*GetWorkloadendpointParams) WithDefaults ¶
func (o *GetWorkloadendpointParams) WithDefaults() *GetWorkloadendpointParams
WithDefaults hydrates default values in the get workloadendpoint params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkloadendpointParams) WithHTTPClient ¶
func (o *GetWorkloadendpointParams) WithHTTPClient(client *http.Client) *GetWorkloadendpointParams
WithHTTPClient adds the HTTPClient to the get workloadendpoint params
func (*GetWorkloadendpointParams) WithTimeout ¶
func (o *GetWorkloadendpointParams) WithTimeout(timeout time.Duration) *GetWorkloadendpointParams
WithTimeout adds the timeout to the get workloadendpoint params
func (*GetWorkloadendpointParams) WriteToRequest ¶
func (o *GetWorkloadendpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkloadendpointReader ¶
type GetWorkloadendpointReader struct {
// contains filtered or unexported fields
}
GetWorkloadendpointReader is a Reader for the GetWorkloadendpoint structure.
func (*GetWorkloadendpointReader) ReadResponse ¶
func (o *GetWorkloadendpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIpamIPInternalServerError ¶
type PostIpamIPInternalServerError struct { }
PostIpamIPInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPostIpamIPInternalServerError ¶
func NewPostIpamIPInternalServerError() *PostIpamIPInternalServerError
NewPostIpamIPInternalServerError creates a PostIpamIPInternalServerError with default headers values
func (*PostIpamIPInternalServerError) Error ¶
func (o *PostIpamIPInternalServerError) Error() string
type PostIpamIPOK ¶
type PostIpamIPOK struct {
Payload *models.IpamAddResponse
}
PostIpamIPOK describes a response with status code 200, 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
func (*PostIpamIPOK) GetPayload ¶ added in v0.0.2
func (o *PostIpamIPOK) GetPayload() *models.IpamAddResponse
type PostIpamIPParams ¶
type PostIpamIPParams struct { // IpamAddArgs. IpamAddArgs *models.IpamAddArgs 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 ¶
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 ¶
func NewPostIpamIPParamsWithContext(ctx context.Context) *PostIpamIPParams
NewPostIpamIPParamsWithContext creates a new PostIpamIPParams object with 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 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 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 ipam IP params
func (*PostIpamIPParams) SetDefaults ¶
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 ¶
func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) SetIpamAddArgs ¶ added in v0.0.2
func (o *PostIpamIPParams) SetIpamAddArgs(ipamAddArgs *models.IpamAddArgs)
SetIpamAddArgs adds the ipamAddArgs to the post ipam IP params
func (*PostIpamIPParams) SetTimeout ¶
func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam IP params
func (*PostIpamIPParams) WithContext ¶
func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
WithContext adds the context to the post ipam IP params
func (*PostIpamIPParams) WithDefaults ¶
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 ¶
func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
WithHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) WithIpamAddArgs ¶ added in v0.0.2
func (o *PostIpamIPParams) WithIpamAddArgs(ipamAddArgs *models.IpamAddArgs) *PostIpamIPParams
WithIpamAddArgs adds the ipamAddArgs to the post ipam IP params
func (*PostIpamIPParams) WithTimeout ¶
func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
WithTimeout adds the timeout to the post ipam 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 PostIpamIPStatus512 ¶ added in v0.0.4
type PostIpamIPStatus512 struct { }
PostIpamIPStatus512 describes a response with status code 512, with default header values.
Wrong input information
func NewPostIpamIPStatus512 ¶ added in v0.0.4
func NewPostIpamIPStatus512() *PostIpamIPStatus512
NewPostIpamIPStatus512 creates a PostIpamIPStatus512 with default headers values
func (*PostIpamIPStatus512) Error ¶ added in v0.0.4
func (o *PostIpamIPStatus512) Error() string
type PostIpamIPStatus513 ¶ added in v0.0.4
type PostIpamIPStatus513 struct { }
PostIpamIPStatus513 describes a response with status code 513, with default header values.
Not allocatable pod
func NewPostIpamIPStatus513 ¶ added in v0.0.4
func NewPostIpamIPStatus513() *PostIpamIPStatus513
NewPostIpamIPStatus513 creates a PostIpamIPStatus513 with default headers values
func (*PostIpamIPStatus513) Error ¶ added in v0.0.4
func (o *PostIpamIPStatus513) Error() string
type PostIpamIPStatus514 ¶ added in v0.0.4
type PostIpamIPStatus514 struct { }
PostIpamIPStatus514 describes a response with status code 514, with default header values.
No available IP pool
func NewPostIpamIPStatus514 ¶ added in v0.0.4
func NewPostIpamIPStatus514() *PostIpamIPStatus514
NewPostIpamIPStatus514 creates a PostIpamIPStatus514 with default headers values
func (*PostIpamIPStatus514) Error ¶ added in v0.0.4
func (o *PostIpamIPStatus514) Error() string
type PostIpamIPStatus515 ¶ added in v0.0.4
type PostIpamIPStatus515 struct { }
PostIpamIPStatus515 describes a response with status code 515, with default header values.
All IP used out
func NewPostIpamIPStatus515 ¶ added in v0.0.4
func NewPostIpamIPStatus515() *PostIpamIPStatus515
NewPostIpamIPStatus515 creates a PostIpamIPStatus515 with default headers values
func (*PostIpamIPStatus515) Error ¶ added in v0.0.4
func (o *PostIpamIPStatus515) Error() string
type PostIpamIpsInternalServerError ¶
type PostIpamIpsInternalServerError struct { }
PostIpamIpsInternalServerError describes a response with status code 500, with default header values.
Allocation failure
func NewPostIpamIpsInternalServerError ¶
func NewPostIpamIpsInternalServerError() *PostIpamIpsInternalServerError
NewPostIpamIpsInternalServerError creates a PostIpamIpsInternalServerError with default headers values
func (*PostIpamIpsInternalServerError) Error ¶
func (o *PostIpamIpsInternalServerError) Error() string
type PostIpamIpsOK ¶
type PostIpamIpsOK struct { }
PostIpamIpsOK describes a response with status code 200, with default header values.
Success
func NewPostIpamIpsOK ¶
func NewPostIpamIpsOK() *PostIpamIpsOK
NewPostIpamIpsOK creates a PostIpamIpsOK with default headers values
func (*PostIpamIpsOK) Error ¶
func (o *PostIpamIpsOK) Error() string
type PostIpamIpsParams ¶
type PostIpamIpsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostIpamIpsParams contains all the parameters to send to the API endpoint
for the post ipam ips operation. Typically these are written to a http.Request.
func NewPostIpamIpsParams ¶
func NewPostIpamIpsParams() *PostIpamIpsParams
NewPostIpamIpsParams creates a new PostIpamIpsParams 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 NewPostIpamIpsParamsWithContext ¶
func NewPostIpamIpsParamsWithContext(ctx context.Context) *PostIpamIpsParams
NewPostIpamIpsParamsWithContext creates a new PostIpamIpsParams object with the ability to set a context for a request.
func NewPostIpamIpsParamsWithHTTPClient ¶
func NewPostIpamIpsParamsWithHTTPClient(client *http.Client) *PostIpamIpsParams
NewPostIpamIpsParamsWithHTTPClient creates a new PostIpamIpsParams object with the ability to set a custom HTTPClient for a request.
func NewPostIpamIpsParamsWithTimeout ¶
func NewPostIpamIpsParamsWithTimeout(timeout time.Duration) *PostIpamIpsParams
NewPostIpamIpsParamsWithTimeout creates a new PostIpamIpsParams object with the ability to set a timeout on a request.
func (*PostIpamIpsParams) SetContext ¶
func (o *PostIpamIpsParams) SetContext(ctx context.Context)
SetContext adds the context to the post ipam ips params
func (*PostIpamIpsParams) SetDefaults ¶
func (o *PostIpamIpsParams) SetDefaults()
SetDefaults hydrates default values in the post ipam ips params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamIpsParams) SetHTTPClient ¶
func (o *PostIpamIpsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam ips params
func (*PostIpamIpsParams) SetTimeout ¶
func (o *PostIpamIpsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam ips params
func (*PostIpamIpsParams) WithContext ¶
func (o *PostIpamIpsParams) WithContext(ctx context.Context) *PostIpamIpsParams
WithContext adds the context to the post ipam ips params
func (*PostIpamIpsParams) WithDefaults ¶
func (o *PostIpamIpsParams) WithDefaults() *PostIpamIpsParams
WithDefaults hydrates default values in the post ipam ips params (not the query body).
All values with no default are reset to their zero value.
func (*PostIpamIpsParams) WithHTTPClient ¶
func (o *PostIpamIpsParams) WithHTTPClient(client *http.Client) *PostIpamIpsParams
WithHTTPClient adds the HTTPClient to the post ipam ips params
func (*PostIpamIpsParams) WithTimeout ¶
func (o *PostIpamIpsParams) WithTimeout(timeout time.Duration) *PostIpamIpsParams
WithTimeout adds the timeout to the post ipam ips params
func (*PostIpamIpsParams) WriteToRequest ¶
func (o *PostIpamIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIpamIpsReader ¶
type PostIpamIpsReader struct {
// contains filtered or unexported fields
}
PostIpamIpsReader is a Reader for the PostIpamIps structure.
func (*PostIpamIpsReader) ReadResponse ¶
func (o *PostIpamIpsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- daemonset_client.go
- delete_ipam_ip_parameters.go
- delete_ipam_ip_responses.go
- delete_ipam_ips_parameters.go
- delete_ipam_ips_responses.go
- get_workloadendpoint_parameters.go
- get_workloadendpoint_responses.go
- post_ipam_ip_parameters.go
- post_ipam_ip_responses.go
- post_ipam_ips_parameters.go
- post_ipam_ips_responses.go