Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePrefilter(params *DeletePrefilterParams, opts ...ClientOption) (*DeletePrefilterOK, error)
- func (a *Client) GetPrefilter(params *GetPrefilterParams, opts ...ClientOption) (*GetPrefilterOK, error)
- func (a *Client) PatchPrefilter(params *PatchPrefilterParams, opts ...ClientOption) (*PatchPrefilterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeletePrefilterFailure
- func (o *DeletePrefilterFailure) Error() string
- func (o *DeletePrefilterFailure) GetPayload() models.Error
- func (o *DeletePrefilterFailure) IsClientError() bool
- func (o *DeletePrefilterFailure) IsCode(code int) bool
- func (o *DeletePrefilterFailure) IsRedirect() bool
- func (o *DeletePrefilterFailure) IsServerError() bool
- func (o *DeletePrefilterFailure) IsSuccess() bool
- func (o *DeletePrefilterFailure) String() string
- type DeletePrefilterInvalidCIDR
- func (o *DeletePrefilterInvalidCIDR) Error() string
- func (o *DeletePrefilterInvalidCIDR) GetPayload() models.Error
- func (o *DeletePrefilterInvalidCIDR) IsClientError() bool
- func (o *DeletePrefilterInvalidCIDR) IsCode(code int) bool
- func (o *DeletePrefilterInvalidCIDR) IsRedirect() bool
- func (o *DeletePrefilterInvalidCIDR) IsServerError() bool
- func (o *DeletePrefilterInvalidCIDR) IsSuccess() bool
- func (o *DeletePrefilterInvalidCIDR) String() string
- type DeletePrefilterOK
- func (o *DeletePrefilterOK) Error() string
- func (o *DeletePrefilterOK) GetPayload() *models.Prefilter
- func (o *DeletePrefilterOK) IsClientError() bool
- func (o *DeletePrefilterOK) IsCode(code int) bool
- func (o *DeletePrefilterOK) IsRedirect() bool
- func (o *DeletePrefilterOK) IsServerError() bool
- func (o *DeletePrefilterOK) IsSuccess() bool
- func (o *DeletePrefilterOK) String() string
- type DeletePrefilterParams
- func NewDeletePrefilterParams() *DeletePrefilterParams
- func NewDeletePrefilterParamsWithContext(ctx context.Context) *DeletePrefilterParams
- func NewDeletePrefilterParamsWithHTTPClient(client *http.Client) *DeletePrefilterParams
- func NewDeletePrefilterParamsWithTimeout(timeout time.Duration) *DeletePrefilterParams
- func (o *DeletePrefilterParams) SetContext(ctx context.Context)
- func (o *DeletePrefilterParams) SetDefaults()
- func (o *DeletePrefilterParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)
- func (o *DeletePrefilterParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrefilterParams) WithContext(ctx context.Context) *DeletePrefilterParams
- func (o *DeletePrefilterParams) WithDefaults() *DeletePrefilterParams
- func (o *DeletePrefilterParams) WithHTTPClient(client *http.Client) *DeletePrefilterParams
- func (o *DeletePrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *DeletePrefilterParams
- func (o *DeletePrefilterParams) WithTimeout(timeout time.Duration) *DeletePrefilterParams
- func (o *DeletePrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrefilterReader
- type GetPrefilterFailure
- func (o *GetPrefilterFailure) Error() string
- func (o *GetPrefilterFailure) GetPayload() models.Error
- func (o *GetPrefilterFailure) IsClientError() bool
- func (o *GetPrefilterFailure) IsCode(code int) bool
- func (o *GetPrefilterFailure) IsRedirect() bool
- func (o *GetPrefilterFailure) IsServerError() bool
- func (o *GetPrefilterFailure) IsSuccess() bool
- func (o *GetPrefilterFailure) String() string
- type GetPrefilterOK
- func (o *GetPrefilterOK) Error() string
- func (o *GetPrefilterOK) GetPayload() *models.Prefilter
- func (o *GetPrefilterOK) IsClientError() bool
- func (o *GetPrefilterOK) IsCode(code int) bool
- func (o *GetPrefilterOK) IsRedirect() bool
- func (o *GetPrefilterOK) IsServerError() bool
- func (o *GetPrefilterOK) IsSuccess() bool
- func (o *GetPrefilterOK) String() string
- type GetPrefilterParams
- func (o *GetPrefilterParams) SetContext(ctx context.Context)
- func (o *GetPrefilterParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *PatchPrefilterFailure) Error() string
- func (o *PatchPrefilterFailure) GetPayload() models.Error
- func (o *PatchPrefilterFailure) IsClientError() bool
- func (o *PatchPrefilterFailure) IsCode(code int) bool
- func (o *PatchPrefilterFailure) IsRedirect() bool
- func (o *PatchPrefilterFailure) IsServerError() bool
- func (o *PatchPrefilterFailure) IsSuccess() bool
- func (o *PatchPrefilterFailure) String() string
- type PatchPrefilterInvalidCIDR
- func (o *PatchPrefilterInvalidCIDR) Error() string
- func (o *PatchPrefilterInvalidCIDR) GetPayload() models.Error
- func (o *PatchPrefilterInvalidCIDR) IsClientError() bool
- func (o *PatchPrefilterInvalidCIDR) IsCode(code int) bool
- func (o *PatchPrefilterInvalidCIDR) IsRedirect() bool
- func (o *PatchPrefilterInvalidCIDR) IsServerError() bool
- func (o *PatchPrefilterInvalidCIDR) IsSuccess() bool
- func (o *PatchPrefilterInvalidCIDR) String() string
- type PatchPrefilterOK
- func (o *PatchPrefilterOK) Error() string
- func (o *PatchPrefilterOK) GetPayload() *models.Prefilter
- func (o *PatchPrefilterOK) IsClientError() bool
- func (o *PatchPrefilterOK) IsCode(code int) bool
- func (o *PatchPrefilterOK) IsRedirect() bool
- func (o *PatchPrefilterOK) IsServerError() bool
- func (o *PatchPrefilterOK) IsSuccess() bool
- func (o *PatchPrefilterOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 (*Client) DeletePrefilter ¶
func (a *Client) DeletePrefilter(params *DeletePrefilterParams, opts ...ClientOption) (*DeletePrefilterOK, error)
DeletePrefilter deletes list of c ID rs
func (*Client) GetPrefilter ¶
func (a *Client) GetPrefilter(params *GetPrefilterParams, opts ...ClientOption) (*GetPrefilterOK, error)
GetPrefilter retrieves list of c ID rs
func (*Client) PatchPrefilter ¶
func (a *Client) PatchPrefilter(params *PatchPrefilterParams, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeletePrefilter(params *DeletePrefilterParams, opts ...ClientOption) (*DeletePrefilterOK, error) GetPrefilter(params *GetPrefilterParams, opts ...ClientOption) (*GetPrefilterOK, error) PatchPrefilter(params *PatchPrefilterParams, opts ...ClientOption) (*PatchPrefilterOK, 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 prefilter API client.
type DeletePrefilterFailure ¶
DeletePrefilterFailure describes a response with status code 500, with default header values.
Prefilter delete failed
func NewDeletePrefilterFailure ¶
func NewDeletePrefilterFailure() *DeletePrefilterFailure
NewDeletePrefilterFailure creates a DeletePrefilterFailure with default headers values
func (*DeletePrefilterFailure) Error ¶
func (o *DeletePrefilterFailure) Error() string
func (*DeletePrefilterFailure) GetPayload ¶
func (o *DeletePrefilterFailure) GetPayload() models.Error
func (*DeletePrefilterFailure) IsClientError ¶
func (o *DeletePrefilterFailure) IsClientError() bool
IsClientError returns true when this delete prefilter failure response has a 4xx status code
func (*DeletePrefilterFailure) IsCode ¶
func (o *DeletePrefilterFailure) IsCode(code int) bool
IsCode returns true when this delete prefilter failure response a status code equal to that given
func (*DeletePrefilterFailure) IsRedirect ¶
func (o *DeletePrefilterFailure) IsRedirect() bool
IsRedirect returns true when this delete prefilter failure response has a 3xx status code
func (*DeletePrefilterFailure) IsServerError ¶
func (o *DeletePrefilterFailure) IsServerError() bool
IsServerError returns true when this delete prefilter failure response has a 5xx status code
func (*DeletePrefilterFailure) IsSuccess ¶
func (o *DeletePrefilterFailure) IsSuccess() bool
IsSuccess returns true when this delete prefilter failure response has a 2xx status code
func (*DeletePrefilterFailure) String ¶
func (o *DeletePrefilterFailure) String() string
type DeletePrefilterInvalidCIDR ¶
DeletePrefilterInvalidCIDR describes a response with status code 461, with default header values.
Invalid CIDR prefix
func NewDeletePrefilterInvalidCIDR ¶
func NewDeletePrefilterInvalidCIDR() *DeletePrefilterInvalidCIDR
NewDeletePrefilterInvalidCIDR creates a DeletePrefilterInvalidCIDR with default headers values
func (*DeletePrefilterInvalidCIDR) Error ¶
func (o *DeletePrefilterInvalidCIDR) Error() string
func (*DeletePrefilterInvalidCIDR) GetPayload ¶
func (o *DeletePrefilterInvalidCIDR) GetPayload() models.Error
func (*DeletePrefilterInvalidCIDR) IsClientError ¶
func (o *DeletePrefilterInvalidCIDR) IsClientError() bool
IsClientError returns true when this delete prefilter invalid c Id r response has a 4xx status code
func (*DeletePrefilterInvalidCIDR) IsCode ¶
func (o *DeletePrefilterInvalidCIDR) IsCode(code int) bool
IsCode returns true when this delete prefilter invalid c Id r response a status code equal to that given
func (*DeletePrefilterInvalidCIDR) IsRedirect ¶
func (o *DeletePrefilterInvalidCIDR) IsRedirect() bool
IsRedirect returns true when this delete prefilter invalid c Id r response has a 3xx status code
func (*DeletePrefilterInvalidCIDR) IsServerError ¶
func (o *DeletePrefilterInvalidCIDR) IsServerError() bool
IsServerError returns true when this delete prefilter invalid c Id r response has a 5xx status code
func (*DeletePrefilterInvalidCIDR) IsSuccess ¶
func (o *DeletePrefilterInvalidCIDR) IsSuccess() bool
IsSuccess returns true when this delete prefilter invalid c Id r response has a 2xx status code
func (*DeletePrefilterInvalidCIDR) String ¶
func (o *DeletePrefilterInvalidCIDR) String() string
type DeletePrefilterOK ¶
DeletePrefilterOK describes a response with status code 200, with default header values.
Deleted
func NewDeletePrefilterOK ¶
func NewDeletePrefilterOK() *DeletePrefilterOK
NewDeletePrefilterOK creates a DeletePrefilterOK with default headers values
func (*DeletePrefilterOK) Error ¶
func (o *DeletePrefilterOK) Error() string
func (*DeletePrefilterOK) GetPayload ¶
func (o *DeletePrefilterOK) GetPayload() *models.Prefilter
func (*DeletePrefilterOK) IsClientError ¶
func (o *DeletePrefilterOK) IsClientError() bool
IsClientError returns true when this delete prefilter o k response has a 4xx status code
func (*DeletePrefilterOK) IsCode ¶
func (o *DeletePrefilterOK) IsCode(code int) bool
IsCode returns true when this delete prefilter o k response a status code equal to that given
func (*DeletePrefilterOK) IsRedirect ¶
func (o *DeletePrefilterOK) IsRedirect() bool
IsRedirect returns true when this delete prefilter o k response has a 3xx status code
func (*DeletePrefilterOK) IsServerError ¶
func (o *DeletePrefilterOK) IsServerError() bool
IsServerError returns true when this delete prefilter o k response has a 5xx status code
func (*DeletePrefilterOK) IsSuccess ¶
func (o *DeletePrefilterOK) IsSuccess() bool
IsSuccess returns true when this delete prefilter o k response has a 2xx status code
func (*DeletePrefilterOK) String ¶
func (o *DeletePrefilterOK) String() string
type DeletePrefilterParams ¶
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 ¶
func NewDeletePrefilterParams() *DeletePrefilterParams
NewDeletePrefilterParams creates a new DeletePrefilterParams 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 NewDeletePrefilterParamsWithContext ¶
func NewDeletePrefilterParamsWithContext(ctx context.Context) *DeletePrefilterParams
NewDeletePrefilterParamsWithContext creates a new DeletePrefilterParams object with the ability to set a context for a request.
func NewDeletePrefilterParamsWithHTTPClient ¶
func NewDeletePrefilterParamsWithHTTPClient(client *http.Client) *DeletePrefilterParams
NewDeletePrefilterParamsWithHTTPClient creates a new DeletePrefilterParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePrefilterParamsWithTimeout ¶
func NewDeletePrefilterParamsWithTimeout(timeout time.Duration) *DeletePrefilterParams
NewDeletePrefilterParamsWithTimeout creates a new DeletePrefilterParams object with the ability to set a timeout on a request.
func (*DeletePrefilterParams) SetContext ¶
func (o *DeletePrefilterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete prefilter params
func (*DeletePrefilterParams) SetDefaults ¶
func (o *DeletePrefilterParams) SetDefaults()
SetDefaults hydrates default values in the delete prefilter params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrefilterParams) SetHTTPClient ¶
func (o *DeletePrefilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete prefilter params
func (*DeletePrefilterParams) SetPrefilterSpec ¶
func (o *DeletePrefilterParams) SetPrefilterSpec(prefilterSpec *models.PrefilterSpec)
SetPrefilterSpec adds the prefilterSpec to the delete prefilter params
func (*DeletePrefilterParams) SetTimeout ¶
func (o *DeletePrefilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete prefilter params
func (*DeletePrefilterParams) WithContext ¶
func (o *DeletePrefilterParams) WithContext(ctx context.Context) *DeletePrefilterParams
WithContext adds the context to the delete prefilter params
func (*DeletePrefilterParams) WithDefaults ¶
func (o *DeletePrefilterParams) WithDefaults() *DeletePrefilterParams
WithDefaults hydrates default values in the delete prefilter params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePrefilterParams) WithHTTPClient ¶
func (o *DeletePrefilterParams) WithHTTPClient(client *http.Client) *DeletePrefilterParams
WithHTTPClient adds the HTTPClient to the delete prefilter params
func (*DeletePrefilterParams) WithPrefilterSpec ¶
func (o *DeletePrefilterParams) WithPrefilterSpec(prefilterSpec *models.PrefilterSpec) *DeletePrefilterParams
WithPrefilterSpec adds the prefilterSpec to the delete prefilter params
func (*DeletePrefilterParams) WithTimeout ¶
func (o *DeletePrefilterParams) WithTimeout(timeout time.Duration) *DeletePrefilterParams
WithTimeout adds the timeout to the delete prefilter params
func (*DeletePrefilterParams) WriteToRequest ¶
func (o *DeletePrefilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrefilterReader ¶
type DeletePrefilterReader struct {
// contains filtered or unexported fields
}
DeletePrefilterReader is a Reader for the DeletePrefilter structure.
func (*DeletePrefilterReader) ReadResponse ¶
func (o *DeletePrefilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrefilterFailure ¶
GetPrefilterFailure describes a response with status code 500, 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
func (*GetPrefilterFailure) GetPayload ¶
func (o *GetPrefilterFailure) GetPayload() models.Error
func (*GetPrefilterFailure) IsClientError ¶
func (o *GetPrefilterFailure) IsClientError() bool
IsClientError returns true when this get prefilter failure response has a 4xx status code
func (*GetPrefilterFailure) IsCode ¶
func (o *GetPrefilterFailure) IsCode(code int) bool
IsCode returns true when this get prefilter failure response a status code equal to that given
func (*GetPrefilterFailure) IsRedirect ¶
func (o *GetPrefilterFailure) IsRedirect() bool
IsRedirect returns true when this get prefilter failure response has a 3xx status code
func (*GetPrefilterFailure) IsServerError ¶
func (o *GetPrefilterFailure) IsServerError() bool
IsServerError returns true when this get prefilter failure response has a 5xx status code
func (*GetPrefilterFailure) IsSuccess ¶
func (o *GetPrefilterFailure) IsSuccess() bool
IsSuccess returns true when this get prefilter failure response has a 2xx status code
func (*GetPrefilterFailure) String ¶
func (o *GetPrefilterFailure) String() string
type GetPrefilterOK ¶
GetPrefilterOK describes a response with status code 200, 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
func (*GetPrefilterOK) GetPayload ¶
func (o *GetPrefilterOK) GetPayload() *models.Prefilter
func (*GetPrefilterOK) IsClientError ¶
func (o *GetPrefilterOK) IsClientError() bool
IsClientError returns true when this get prefilter o k response has a 4xx status code
func (*GetPrefilterOK) IsCode ¶
func (o *GetPrefilterOK) IsCode(code int) bool
IsCode returns true when this get prefilter o k response a status code equal to that given
func (*GetPrefilterOK) IsRedirect ¶
func (o *GetPrefilterOK) IsRedirect() bool
IsRedirect returns true when this get prefilter o k response has a 3xx status code
func (*GetPrefilterOK) IsServerError ¶
func (o *GetPrefilterOK) IsServerError() bool
IsServerError returns true when this get prefilter o k response has a 5xx status code
func (*GetPrefilterOK) IsSuccess ¶
func (o *GetPrefilterOK) IsSuccess() bool
IsSuccess returns true when this get prefilter o k response has a 2xx status code
func (*GetPrefilterOK) String ¶
func (o *GetPrefilterOK) String() 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 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 NewGetPrefilterParamsWithContext ¶
func NewGetPrefilterParamsWithContext(ctx context.Context) *GetPrefilterParams
NewGetPrefilterParamsWithContext creates a new GetPrefilterParams object with 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 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 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) SetDefaults ¶
func (o *GetPrefilterParams) SetDefaults()
SetDefaults hydrates default values in the get prefilter params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPrefilterParams) WithDefaults() *GetPrefilterParams
WithDefaults hydrates default values in the get prefilter params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 500, 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
func (*PatchPrefilterFailure) GetPayload ¶
func (o *PatchPrefilterFailure) GetPayload() models.Error
func (*PatchPrefilterFailure) IsClientError ¶
func (o *PatchPrefilterFailure) IsClientError() bool
IsClientError returns true when this patch prefilter failure response has a 4xx status code
func (*PatchPrefilterFailure) IsCode ¶
func (o *PatchPrefilterFailure) IsCode(code int) bool
IsCode returns true when this patch prefilter failure response a status code equal to that given
func (*PatchPrefilterFailure) IsRedirect ¶
func (o *PatchPrefilterFailure) IsRedirect() bool
IsRedirect returns true when this patch prefilter failure response has a 3xx status code
func (*PatchPrefilterFailure) IsServerError ¶
func (o *PatchPrefilterFailure) IsServerError() bool
IsServerError returns true when this patch prefilter failure response has a 5xx status code
func (*PatchPrefilterFailure) IsSuccess ¶
func (o *PatchPrefilterFailure) IsSuccess() bool
IsSuccess returns true when this patch prefilter failure response has a 2xx status code
func (*PatchPrefilterFailure) String ¶
func (o *PatchPrefilterFailure) String() string
type PatchPrefilterInvalidCIDR ¶
PatchPrefilterInvalidCIDR describes a response with status code 461, 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
func (*PatchPrefilterInvalidCIDR) GetPayload ¶
func (o *PatchPrefilterInvalidCIDR) GetPayload() models.Error
func (*PatchPrefilterInvalidCIDR) IsClientError ¶
func (o *PatchPrefilterInvalidCIDR) IsClientError() bool
IsClientError returns true when this patch prefilter invalid c Id r response has a 4xx status code
func (*PatchPrefilterInvalidCIDR) IsCode ¶
func (o *PatchPrefilterInvalidCIDR) IsCode(code int) bool
IsCode returns true when this patch prefilter invalid c Id r response a status code equal to that given
func (*PatchPrefilterInvalidCIDR) IsRedirect ¶
func (o *PatchPrefilterInvalidCIDR) IsRedirect() bool
IsRedirect returns true when this patch prefilter invalid c Id r response has a 3xx status code
func (*PatchPrefilterInvalidCIDR) IsServerError ¶
func (o *PatchPrefilterInvalidCIDR) IsServerError() bool
IsServerError returns true when this patch prefilter invalid c Id r response has a 5xx status code
func (*PatchPrefilterInvalidCIDR) IsSuccess ¶
func (o *PatchPrefilterInvalidCIDR) IsSuccess() bool
IsSuccess returns true when this patch prefilter invalid c Id r response has a 2xx status code
func (*PatchPrefilterInvalidCIDR) String ¶
func (o *PatchPrefilterInvalidCIDR) String() string
type PatchPrefilterOK ¶
PatchPrefilterOK describes a response with status code 200, 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
func (*PatchPrefilterOK) GetPayload ¶
func (o *PatchPrefilterOK) GetPayload() *models.Prefilter
func (*PatchPrefilterOK) IsClientError ¶
func (o *PatchPrefilterOK) IsClientError() bool
IsClientError returns true when this patch prefilter o k response has a 4xx status code
func (*PatchPrefilterOK) IsCode ¶
func (o *PatchPrefilterOK) IsCode(code int) bool
IsCode returns true when this patch prefilter o k response a status code equal to that given
func (*PatchPrefilterOK) IsRedirect ¶
func (o *PatchPrefilterOK) IsRedirect() bool
IsRedirect returns true when this patch prefilter o k response has a 3xx status code
func (*PatchPrefilterOK) IsServerError ¶
func (o *PatchPrefilterOK) IsServerError() bool
IsServerError returns true when this patch prefilter o k response has a 5xx status code
func (*PatchPrefilterOK) IsSuccess ¶
func (o *PatchPrefilterOK) IsSuccess() bool
IsSuccess returns true when this patch prefilter o k response has a 2xx status code
func (*PatchPrefilterOK) String ¶
func (o *PatchPrefilterOK) String() 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 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 NewPatchPrefilterParamsWithContext ¶
func NewPatchPrefilterParamsWithContext(ctx context.Context) *PatchPrefilterParams
NewPatchPrefilterParamsWithContext creates a new PatchPrefilterParams object with 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 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 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) SetDefaults ¶
func (o *PatchPrefilterParams) SetDefaults()
SetDefaults hydrates default values in the patch prefilter params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *PatchPrefilterParams) WithDefaults() *PatchPrefilterParams
WithDefaults hydrates default values in the patch prefilter params (not the query body).
All values with no default are reset to their zero value.
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.