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

package prefilter

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

Index

Package Files

delete_prefilter_parameters.go delete_prefilter_responses.go get_prefilter_parameters.go get_prefilter_responses.go patch_prefilter_parameters.go patch_prefilter_responses.go prefilter_client.go

type Client Uses

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

Client for prefilter API

func New Uses

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

New creates a new prefilter API client.

func (*Client) DeletePrefilter Uses

func (a *Client) DeletePrefilter(params *DeletePrefilterParams) (*DeletePrefilterOK, error)

DeletePrefilter deletes list of c ID rs

func (*Client) GetPrefilter Uses

func (a *Client) GetPrefilter(params *GetPrefilterParams) (*GetPrefilterOK, error)

GetPrefilter retrieves list of c ID rs

func (*Client) PatchPrefilter Uses

func (a *Client) PatchPrefilter(params *PatchPrefilterParams) (*PatchPrefilterOK, error)

PatchPrefilter updates list of c ID rs

func (*Client) SetTransport Uses

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

SetTransport changes the transport on the client

type DeletePrefilterFailure Uses

type DeletePrefilterFailure struct {
    Payload models.Error
}

DeletePrefilterFailure handles this case with default header values.

Prefilter delete failed

func NewDeletePrefilterFailure Uses

func NewDeletePrefilterFailure() *DeletePrefilterFailure

NewDeletePrefilterFailure creates a DeletePrefilterFailure with default headers values

func (*DeletePrefilterFailure) Error Uses

func (o *DeletePrefilterFailure) Error() string

func (*DeletePrefilterFailure) GetPayload Uses

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

type DeletePrefilterInvalidCIDR Uses

type DeletePrefilterInvalidCIDR struct {
    Payload models.Error
}

DeletePrefilterInvalidCIDR handles this case with default header values.

Invalid CIDR prefix

func NewDeletePrefilterInvalidCIDR Uses

func NewDeletePrefilterInvalidCIDR() *DeletePrefilterInvalidCIDR

NewDeletePrefilterInvalidCIDR creates a DeletePrefilterInvalidCIDR with default headers values

func (*DeletePrefilterInvalidCIDR) Error Uses

func (o *DeletePrefilterInvalidCIDR) Error() string

func (*DeletePrefilterInvalidCIDR) GetPayload Uses

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

type DeletePrefilterOK Uses

type DeletePrefilterOK struct {
    Payload *models.Prefilter
}

DeletePrefilterOK handles this case with default header values.

Deleted

func NewDeletePrefilterOK Uses

func NewDeletePrefilterOK() *DeletePrefilterOK

NewDeletePrefilterOK creates a DeletePrefilterOK with default headers values

func (*DeletePrefilterOK) Error Uses

func (o *DeletePrefilterOK) Error() string

func (*DeletePrefilterOK) GetPayload Uses

func (o *DeletePrefilterOK) GetPayload() *models.Prefilter

type DeletePrefilterParams Uses

type DeletePrefilterParams struct {

    /*PrefilterSpec
      List of CIDR ranges for filter table

    */
    PrefilterSpec *models.PrefilterSpec

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

DeletePrefilterParams contains all the parameters to send to the API endpoint for the delete prefilter operation typically these are written to a http.Request

func NewDeletePrefilterParams Uses

func NewDeletePrefilterParams() *DeletePrefilterParams

NewDeletePrefilterParams creates a new DeletePrefilterParams object with the default values initialized.

func NewDeletePrefilterParamsWithContext Uses

func NewDeletePrefilterParamsWithContext(ctx context.Context) *DeletePrefilterParams

NewDeletePrefilterParamsWithContext creates a new DeletePrefilterParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePrefilterParamsWithHTTPClient Uses

func NewDeletePrefilterParamsWithHTTPClient(client *http.Client) *DeletePrefilterParams

NewDeletePrefilterParamsWithHTTPClient creates a new DeletePrefilterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePrefilterParamsWithTimeout Uses

func NewDeletePrefilterParamsWithTimeout(timeout time.Duration) *DeletePrefilterParams

NewDeletePrefilterParamsWithTimeout creates a new DeletePrefilterParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePrefilterParams) SetContext Uses

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

SetContext adds the context to the delete prefilter params

func (*DeletePrefilterParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the delete prefilter params

func (*DeletePrefilterParams) SetPrefilterSpec Uses

func (o *DeletePrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)

SetPrefilterSpec adds the prefilterSpec to the delete prefilter params

func (*DeletePrefilterParams) SetTimeout Uses

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

SetTimeout adds the timeout to the delete prefilter params

func (*DeletePrefilterParams) WithContext Uses

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

WithContext adds the context to the delete prefilter params

func (*DeletePrefilterParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the delete prefilter params

func (*DeletePrefilterParams) WithPrefilterSpec Uses

func (o *DeletePrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *DeletePrefilterParams

WithPrefilterSpec adds the prefilterSpec to the delete prefilter params

func (*DeletePrefilterParams) WithTimeout Uses

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

WithTimeout adds the timeout to the delete prefilter params

func (*DeletePrefilterParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type DeletePrefilterReader Uses

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

DeletePrefilterReader is a Reader for the DeletePrefilter structure.

func (*DeletePrefilterReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetPrefilterFailure Uses

type GetPrefilterFailure struct {
    Payload models.Error
}

GetPrefilterFailure handles this case with default header values.

Prefilter get failed

func NewGetPrefilterFailure Uses

func NewGetPrefilterFailure() *GetPrefilterFailure

NewGetPrefilterFailure creates a GetPrefilterFailure with default headers values

func (*GetPrefilterFailure) Error Uses

func (o *GetPrefilterFailure) Error() string

func (*GetPrefilterFailure) GetPayload Uses

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

type GetPrefilterOK Uses

type GetPrefilterOK struct {
    Payload *models.Prefilter
}

GetPrefilterOK handles this case with default header values.

Success

func NewGetPrefilterOK Uses

func NewGetPrefilterOK() *GetPrefilterOK

NewGetPrefilterOK creates a GetPrefilterOK with default headers values

func (*GetPrefilterOK) Error Uses

func (o *GetPrefilterOK) Error() string

func (*GetPrefilterOK) GetPayload Uses

func (o *GetPrefilterOK) GetPayload() *models.Prefilter

type GetPrefilterParams Uses

type GetPrefilterParams struct {
    Context    context.Context
    HTTPClient *http.Client
    // contains filtered or unexported fields
}

GetPrefilterParams contains all the parameters to send to the API endpoint for the get prefilter operation typically these are written to a http.Request

func NewGetPrefilterParams Uses

func NewGetPrefilterParams() *GetPrefilterParams

NewGetPrefilterParams creates a new GetPrefilterParams object with the default values initialized.

func NewGetPrefilterParamsWithContext Uses

func NewGetPrefilterParamsWithContext(ctx context.Context) *GetPrefilterParams

NewGetPrefilterParamsWithContext creates a new GetPrefilterParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrefilterParamsWithHTTPClient Uses

func NewGetPrefilterParamsWithHTTPClient(client *http.Client) *GetPrefilterParams

NewGetPrefilterParamsWithHTTPClient creates a new GetPrefilterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrefilterParamsWithTimeout Uses

func NewGetPrefilterParamsWithTimeout(timeout time.Duration) *GetPrefilterParams

NewGetPrefilterParamsWithTimeout creates a new GetPrefilterParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrefilterParams) SetContext Uses

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

SetContext adds the context to the get prefilter params

func (*GetPrefilterParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get prefilter params

func (*GetPrefilterParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get prefilter params

func (*GetPrefilterParams) WithContext Uses

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

WithContext adds the context to the get prefilter params

func (*GetPrefilterParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get prefilter params

func (*GetPrefilterParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get prefilter params

func (*GetPrefilterParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetPrefilterReader Uses

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

GetPrefilterReader is a Reader for the GetPrefilter structure.

func (*GetPrefilterReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type PatchPrefilterFailure Uses

type PatchPrefilterFailure struct {
    Payload models.Error
}

PatchPrefilterFailure handles this case with default header values.

Prefilter update failed

func NewPatchPrefilterFailure Uses

func NewPatchPrefilterFailure() *PatchPrefilterFailure

NewPatchPrefilterFailure creates a PatchPrefilterFailure with default headers values

func (*PatchPrefilterFailure) Error Uses

func (o *PatchPrefilterFailure) Error() string

func (*PatchPrefilterFailure) GetPayload Uses

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

type PatchPrefilterInvalidCIDR Uses

type PatchPrefilterInvalidCIDR struct {
    Payload models.Error
}

PatchPrefilterInvalidCIDR handles this case with default header values.

Invalid CIDR prefix

func NewPatchPrefilterInvalidCIDR Uses

func NewPatchPrefilterInvalidCIDR() *PatchPrefilterInvalidCIDR

NewPatchPrefilterInvalidCIDR creates a PatchPrefilterInvalidCIDR with default headers values

func (*PatchPrefilterInvalidCIDR) Error Uses

func (o *PatchPrefilterInvalidCIDR) Error() string

func (*PatchPrefilterInvalidCIDR) GetPayload Uses

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

type PatchPrefilterOK Uses

type PatchPrefilterOK struct {
    Payload *models.Prefilter
}

PatchPrefilterOK handles this case with default header values.

Updated

func NewPatchPrefilterOK Uses

func NewPatchPrefilterOK() *PatchPrefilterOK

NewPatchPrefilterOK creates a PatchPrefilterOK with default headers values

func (*PatchPrefilterOK) Error Uses

func (o *PatchPrefilterOK) Error() string

func (*PatchPrefilterOK) GetPayload Uses

func (o *PatchPrefilterOK) GetPayload() *models.Prefilter

type PatchPrefilterParams Uses

type PatchPrefilterParams struct {

    /*PrefilterSpec
      List of CIDR ranges for filter table

    */
    PrefilterSpec *models.PrefilterSpec

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

PatchPrefilterParams contains all the parameters to send to the API endpoint for the patch prefilter operation typically these are written to a http.Request

func NewPatchPrefilterParams Uses

func NewPatchPrefilterParams() *PatchPrefilterParams

NewPatchPrefilterParams creates a new PatchPrefilterParams object with the default values initialized.

func NewPatchPrefilterParamsWithContext Uses

func NewPatchPrefilterParamsWithContext(ctx context.Context) *PatchPrefilterParams

NewPatchPrefilterParamsWithContext creates a new PatchPrefilterParams object with the default values initialized, and the ability to set a context for a request

func NewPatchPrefilterParamsWithHTTPClient Uses

func NewPatchPrefilterParamsWithHTTPClient(client *http.Client) *PatchPrefilterParams

NewPatchPrefilterParamsWithHTTPClient creates a new PatchPrefilterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchPrefilterParamsWithTimeout Uses

func NewPatchPrefilterParamsWithTimeout(timeout time.Duration) *PatchPrefilterParams

NewPatchPrefilterParamsWithTimeout creates a new PatchPrefilterParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchPrefilterParams) SetContext Uses

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

SetContext adds the context to the patch prefilter params

func (*PatchPrefilterParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the patch prefilter params

func (*PatchPrefilterParams) SetPrefilterSpec Uses

func (o *PatchPrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)

SetPrefilterSpec adds the prefilterSpec to the patch prefilter params

func (*PatchPrefilterParams) SetTimeout Uses

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

SetTimeout adds the timeout to the patch prefilter params

func (*PatchPrefilterParams) WithContext Uses

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

WithContext adds the context to the patch prefilter params

func (*PatchPrefilterParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the patch prefilter params

func (*PatchPrefilterParams) WithPrefilterSpec Uses

func (o *PatchPrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *PatchPrefilterParams

WithPrefilterSpec adds the prefilterSpec to the patch prefilter params

func (*PatchPrefilterParams) WithTimeout Uses

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

WithTimeout adds the timeout to the patch prefilter params

func (*PatchPrefilterParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type PatchPrefilterReader Uses

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

PatchPrefilterReader is a Reader for the PatchPrefilter structure.

func (*PatchPrefilterReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

Package prefilter imports 10 packages (graph) and is imported by 7 packages. Updated 2019-11-11. Refresh now. Tools for package owners.