Documentation ¶
Index ¶
- type Client
- type GetPrefilterFailure
- type GetPrefilterOK
- type GetPrefilterParams
- func (o *GetPrefilterParams) SetContext(ctx context.Context)
- func (o *GetPrefilterParams) SetHTTPClient(client *http.Client)
- func (o *GetPrefilterParams) SetTimeout(timeout time.Duration)
- func (o *GetPrefilterParams) WithContext(ctx context.Context) *GetPrefilterParams
- func (o *GetPrefilterParams) WithHTTPClient(client *http.Client) *GetPrefilterParams
- func (o *GetPrefilterParams) WithTimeout(timeout time.Duration) *GetPrefilterParams
- func (o *GetPrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrefilterReader
- type PatchPrefilterFailure
- type PatchPrefilterInvalidCIDR
- type PatchPrefilterOK
- type PatchPrefilterParams
- func NewPatchPrefilterParams() *PatchPrefilterParams
- func NewPatchPrefilterParamsWithContext(ctx context.Context) *PatchPrefilterParams
- func NewPatchPrefilterParamsWithHTTPClient(client *http.Client) *PatchPrefilterParams
- func NewPatchPrefilterParamsWithTimeout(timeout time.Duration) *PatchPrefilterParams
- func (o *PatchPrefilterParams) SetContext(ctx context.Context)
- func (o *PatchPrefilterParams) SetHTTPClient(client *http.Client)
- func (o *PatchPrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)
- func (o *PatchPrefilterParams) SetTimeout(timeout time.Duration)
- func (o *PatchPrefilterParams) WithContext(ctx context.Context) *PatchPrefilterParams
- func (o *PatchPrefilterParams) WithHTTPClient(client *http.Client) *PatchPrefilterParams
- func (o *PatchPrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *PatchPrefilterParams
- func (o *PatchPrefilterParams) WithTimeout(timeout time.Duration) *PatchPrefilterParams
- func (o *PatchPrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchPrefilterReader
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 prefilter API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new prefilter API client.
func (*Client) GetPrefilter ¶
func (a *Client) GetPrefilter(params *GetPrefilterParams) (*GetPrefilterOK, error)
GetPrefilter retrieves list of c ID rs
func (*Client) PatchPrefilter ¶
func (a *Client) PatchPrefilter(params *PatchPrefilterParams) (*PatchPrefilterOK, error)
PatchPrefilter updates list of c ID rs
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetPrefilterFailure ¶
GetPrefilterFailure handles this case with default header values.
Prefilter get failed
func NewGetPrefilterFailure ¶
func NewGetPrefilterFailure() *GetPrefilterFailure
NewGetPrefilterFailure creates a GetPrefilterFailure with default headers values
func (*GetPrefilterFailure) Error ¶
func (o *GetPrefilterFailure) Error() string
type GetPrefilterOK ¶
GetPrefilterOK handles this case with default header values.
Success
func NewGetPrefilterOK ¶
func NewGetPrefilterOK() *GetPrefilterOK
NewGetPrefilterOK creates a GetPrefilterOK with default headers values
func (*GetPrefilterOK) Error ¶
func (o *GetPrefilterOK) Error() string
type GetPrefilterParams ¶
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 ¶
func NewGetPrefilterParams() *GetPrefilterParams
NewGetPrefilterParams creates a new GetPrefilterParams object with the default values initialized.
func NewGetPrefilterParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *GetPrefilterParams) SetContext(ctx context.Context)
SetContext adds the context to the get prefilter params
func (*GetPrefilterParams) SetHTTPClient ¶
func (o *GetPrefilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get prefilter params
func (*GetPrefilterParams) SetTimeout ¶
func (o *GetPrefilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get prefilter params
func (*GetPrefilterParams) WithContext ¶
func (o *GetPrefilterParams) WithContext(ctx context.Context) *GetPrefilterParams
WithContext adds the context to the get prefilter params
func (*GetPrefilterParams) WithHTTPClient ¶
func (o *GetPrefilterParams) WithHTTPClient(client *http.Client) *GetPrefilterParams
WithHTTPClient adds the HTTPClient to the get prefilter params
func (*GetPrefilterParams) WithTimeout ¶
func (o *GetPrefilterParams) WithTimeout(timeout time.Duration) *GetPrefilterParams
WithTimeout adds the timeout to the get prefilter params
func (*GetPrefilterParams) WriteToRequest ¶
func (o *GetPrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrefilterReader ¶
type GetPrefilterReader struct {
// contains filtered or unexported fields
}
GetPrefilterReader is a Reader for the GetPrefilter structure.
func (*GetPrefilterReader) ReadResponse ¶
func (o *GetPrefilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchPrefilterFailure ¶
PatchPrefilterFailure handles this case with default header values.
Prefilter update failed
func NewPatchPrefilterFailure ¶
func NewPatchPrefilterFailure() *PatchPrefilterFailure
NewPatchPrefilterFailure creates a PatchPrefilterFailure with default headers values
func (*PatchPrefilterFailure) Error ¶
func (o *PatchPrefilterFailure) Error() string
type PatchPrefilterInvalidCIDR ¶
PatchPrefilterInvalidCIDR handles this case with default header values.
Invalid CIDR prefix
func NewPatchPrefilterInvalidCIDR ¶
func NewPatchPrefilterInvalidCIDR() *PatchPrefilterInvalidCIDR
NewPatchPrefilterInvalidCIDR creates a PatchPrefilterInvalidCIDR with default headers values
func (*PatchPrefilterInvalidCIDR) Error ¶
func (o *PatchPrefilterInvalidCIDR) Error() string
type PatchPrefilterOK ¶
PatchPrefilterOK handles this case with default header values.
Updated
func NewPatchPrefilterOK ¶
func NewPatchPrefilterOK() *PatchPrefilterOK
NewPatchPrefilterOK creates a PatchPrefilterOK with default headers values
func (*PatchPrefilterOK) Error ¶
func (o *PatchPrefilterOK) Error() string
type PatchPrefilterParams ¶
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 ¶
func NewPatchPrefilterParams() *PatchPrefilterParams
NewPatchPrefilterParams creates a new PatchPrefilterParams object with the default values initialized.
func NewPatchPrefilterParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *PatchPrefilterParams) SetContext(ctx context.Context)
SetContext adds the context to the patch prefilter params
func (*PatchPrefilterParams) SetHTTPClient ¶
func (o *PatchPrefilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch prefilter params
func (*PatchPrefilterParams) SetPrefilterSpec ¶
func (o *PatchPrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)
SetPrefilterSpec adds the prefilterSpec to the patch prefilter params
func (*PatchPrefilterParams) SetTimeout ¶
func (o *PatchPrefilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch prefilter params
func (*PatchPrefilterParams) WithContext ¶
func (o *PatchPrefilterParams) WithContext(ctx context.Context) *PatchPrefilterParams
WithContext adds the context to the patch prefilter params
func (*PatchPrefilterParams) WithHTTPClient ¶
func (o *PatchPrefilterParams) WithHTTPClient(client *http.Client) *PatchPrefilterParams
WithHTTPClient adds the HTTPClient to the patch prefilter params
func (*PatchPrefilterParams) WithPrefilterSpec ¶
func (o *PatchPrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *PatchPrefilterParams
WithPrefilterSpec adds the prefilterSpec to the patch prefilter params
func (*PatchPrefilterParams) WithTimeout ¶
func (o *PatchPrefilterParams) WithTimeout(timeout time.Duration) *PatchPrefilterParams
WithTimeout adds the timeout to the patch prefilter params
func (*PatchPrefilterParams) WriteToRequest ¶
func (o *PatchPrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchPrefilterReader ¶
type PatchPrefilterReader struct {
// contains filtered or unexported fields
}
PatchPrefilterReader is a Reader for the PatchPrefilter structure.
func (*PatchPrefilterReader) ReadResponse ¶
func (o *PatchPrefilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.