Documentation ¶
Index ¶
- type AllocateFirewallDefault
- type AllocateFirewallOK
- type AllocateFirewallParams
- func NewAllocateFirewallParams() *AllocateFirewallParams
- func NewAllocateFirewallParamsWithContext(ctx context.Context) *AllocateFirewallParams
- func NewAllocateFirewallParamsWithHTTPClient(client *http.Client) *AllocateFirewallParams
- func NewAllocateFirewallParamsWithTimeout(timeout time.Duration) *AllocateFirewallParams
- func (o *AllocateFirewallParams) SetBody(body *models.V1FirewallCreateRequest)
- func (o *AllocateFirewallParams) SetContext(ctx context.Context)
- func (o *AllocateFirewallParams) SetDefaults()
- func (o *AllocateFirewallParams) SetHTTPClient(client *http.Client)
- func (o *AllocateFirewallParams) SetTimeout(timeout time.Duration)
- func (o *AllocateFirewallParams) WithBody(body *models.V1FirewallCreateRequest) *AllocateFirewallParams
- func (o *AllocateFirewallParams) WithContext(ctx context.Context) *AllocateFirewallParams
- func (o *AllocateFirewallParams) WithDefaults() *AllocateFirewallParams
- func (o *AllocateFirewallParams) WithHTTPClient(client *http.Client) *AllocateFirewallParams
- func (o *AllocateFirewallParams) WithTimeout(timeout time.Duration) *AllocateFirewallParams
- func (o *AllocateFirewallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllocateFirewallReader
- type Client
- func (a *Client) AllocateFirewall(params *AllocateFirewallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AllocateFirewallOK, error)
- func (a *Client) FindFirewall(params *FindFirewallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindFirewallOK, error)
- func (a *Client) FindFirewalls(params *FindFirewallsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindFirewallsOK, error)
- func (a *Client) ListFirewalls(params *ListFirewallsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListFirewallsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type FindFirewallDefault
- type FindFirewallOK
- type FindFirewallParams
- func (o *FindFirewallParams) SetContext(ctx context.Context)
- func (o *FindFirewallParams) SetDefaults()
- func (o *FindFirewallParams) SetHTTPClient(client *http.Client)
- func (o *FindFirewallParams) SetID(id string)
- func (o *FindFirewallParams) SetTimeout(timeout time.Duration)
- func (o *FindFirewallParams) WithContext(ctx context.Context) *FindFirewallParams
- func (o *FindFirewallParams) WithDefaults() *FindFirewallParams
- func (o *FindFirewallParams) WithHTTPClient(client *http.Client) *FindFirewallParams
- func (o *FindFirewallParams) WithID(id string) *FindFirewallParams
- func (o *FindFirewallParams) WithTimeout(timeout time.Duration) *FindFirewallParams
- func (o *FindFirewallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindFirewallReader
- type FindFirewallsDefault
- type FindFirewallsOK
- type FindFirewallsParams
- func (o *FindFirewallsParams) SetBody(body *models.V1FirewallFindRequest)
- func (o *FindFirewallsParams) SetContext(ctx context.Context)
- func (o *FindFirewallsParams) SetDefaults()
- func (o *FindFirewallsParams) SetHTTPClient(client *http.Client)
- func (o *FindFirewallsParams) SetTimeout(timeout time.Duration)
- func (o *FindFirewallsParams) WithBody(body *models.V1FirewallFindRequest) *FindFirewallsParams
- func (o *FindFirewallsParams) WithContext(ctx context.Context) *FindFirewallsParams
- func (o *FindFirewallsParams) WithDefaults() *FindFirewallsParams
- func (o *FindFirewallsParams) WithHTTPClient(client *http.Client) *FindFirewallsParams
- func (o *FindFirewallsParams) WithTimeout(timeout time.Duration) *FindFirewallsParams
- func (o *FindFirewallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindFirewallsReader
- type ListFirewallsDefault
- type ListFirewallsOK
- type ListFirewallsParams
- func (o *ListFirewallsParams) SetContext(ctx context.Context)
- func (o *ListFirewallsParams) SetDefaults()
- func (o *ListFirewallsParams) SetHTTPClient(client *http.Client)
- func (o *ListFirewallsParams) SetTimeout(timeout time.Duration)
- func (o *ListFirewallsParams) WithContext(ctx context.Context) *ListFirewallsParams
- func (o *ListFirewallsParams) WithDefaults() *ListFirewallsParams
- func (o *ListFirewallsParams) WithHTTPClient(client *http.Client) *ListFirewallsParams
- func (o *ListFirewallsParams) WithTimeout(timeout time.Duration) *ListFirewallsParams
- func (o *ListFirewallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFirewallsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocateFirewallDefault ¶
type AllocateFirewallDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
AllocateFirewallDefault describes a response with status code -1, with default header values.
Error
func NewAllocateFirewallDefault ¶
func NewAllocateFirewallDefault(code int) *AllocateFirewallDefault
NewAllocateFirewallDefault creates a AllocateFirewallDefault with default headers values
func (*AllocateFirewallDefault) Code ¶
func (o *AllocateFirewallDefault) Code() int
Code gets the status code for the allocate firewall default response
func (*AllocateFirewallDefault) Error ¶
func (o *AllocateFirewallDefault) Error() string
func (*AllocateFirewallDefault) GetPayload ¶ added in v0.11.0
func (o *AllocateFirewallDefault) GetPayload() *httperrors.HTTPErrorResponse
type AllocateFirewallOK ¶
type AllocateFirewallOK struct {
Payload *models.V1FirewallResponse
}
AllocateFirewallOK describes a response with status code 200, with default header values.
OK
func NewAllocateFirewallOK ¶
func NewAllocateFirewallOK() *AllocateFirewallOK
NewAllocateFirewallOK creates a AllocateFirewallOK with default headers values
func (*AllocateFirewallOK) Error ¶
func (o *AllocateFirewallOK) Error() string
func (*AllocateFirewallOK) GetPayload ¶ added in v0.11.0
func (o *AllocateFirewallOK) GetPayload() *models.V1FirewallResponse
type AllocateFirewallParams ¶
type AllocateFirewallParams struct { // Body. Body *models.V1FirewallCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllocateFirewallParams contains all the parameters to send to the API endpoint
for the allocate firewall operation. Typically these are written to a http.Request.
func NewAllocateFirewallParams ¶
func NewAllocateFirewallParams() *AllocateFirewallParams
NewAllocateFirewallParams creates a new AllocateFirewallParams 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 NewAllocateFirewallParamsWithContext ¶
func NewAllocateFirewallParamsWithContext(ctx context.Context) *AllocateFirewallParams
NewAllocateFirewallParamsWithContext creates a new AllocateFirewallParams object with the ability to set a context for a request.
func NewAllocateFirewallParamsWithHTTPClient ¶
func NewAllocateFirewallParamsWithHTTPClient(client *http.Client) *AllocateFirewallParams
NewAllocateFirewallParamsWithHTTPClient creates a new AllocateFirewallParams object with the ability to set a custom HTTPClient for a request.
func NewAllocateFirewallParamsWithTimeout ¶
func NewAllocateFirewallParamsWithTimeout(timeout time.Duration) *AllocateFirewallParams
NewAllocateFirewallParamsWithTimeout creates a new AllocateFirewallParams object with the ability to set a timeout on a request.
func (*AllocateFirewallParams) SetBody ¶
func (o *AllocateFirewallParams) SetBody(body *models.V1FirewallCreateRequest)
SetBody adds the body to the allocate firewall params
func (*AllocateFirewallParams) SetContext ¶
func (o *AllocateFirewallParams) SetContext(ctx context.Context)
SetContext adds the context to the allocate firewall params
func (*AllocateFirewallParams) SetDefaults ¶ added in v0.12.1
func (o *AllocateFirewallParams) SetDefaults()
SetDefaults hydrates default values in the allocate firewall params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateFirewallParams) SetHTTPClient ¶
func (o *AllocateFirewallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the allocate firewall params
func (*AllocateFirewallParams) SetTimeout ¶
func (o *AllocateFirewallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the allocate firewall params
func (*AllocateFirewallParams) WithBody ¶
func (o *AllocateFirewallParams) WithBody(body *models.V1FirewallCreateRequest) *AllocateFirewallParams
WithBody adds the body to the allocate firewall params
func (*AllocateFirewallParams) WithContext ¶
func (o *AllocateFirewallParams) WithContext(ctx context.Context) *AllocateFirewallParams
WithContext adds the context to the allocate firewall params
func (*AllocateFirewallParams) WithDefaults ¶ added in v0.12.1
func (o *AllocateFirewallParams) WithDefaults() *AllocateFirewallParams
WithDefaults hydrates default values in the allocate firewall params (not the query body).
All values with no default are reset to their zero value.
func (*AllocateFirewallParams) WithHTTPClient ¶
func (o *AllocateFirewallParams) WithHTTPClient(client *http.Client) *AllocateFirewallParams
WithHTTPClient adds the HTTPClient to the allocate firewall params
func (*AllocateFirewallParams) WithTimeout ¶
func (o *AllocateFirewallParams) WithTimeout(timeout time.Duration) *AllocateFirewallParams
WithTimeout adds the timeout to the allocate firewall params
func (*AllocateFirewallParams) WriteToRequest ¶
func (o *AllocateFirewallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllocateFirewallReader ¶
type AllocateFirewallReader struct {
// contains filtered or unexported fields
}
AllocateFirewallReader is a Reader for the AllocateFirewall structure.
func (*AllocateFirewallReader) ReadResponse ¶
func (o *AllocateFirewallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for firewall API
func (*Client) AllocateFirewall ¶
func (a *Client) AllocateFirewall(params *AllocateFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateFirewallOK, error)
AllocateFirewall allocates a firewall
func (*Client) FindFirewall ¶
func (a *Client) FindFirewall(params *FindFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindFirewallOK, error)
FindFirewall gets firewall by id
func (*Client) FindFirewalls ¶
func (a *Client) FindFirewalls(params *FindFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindFirewallsOK, error)
FindFirewalls finds firewalls by multiple criteria
func (*Client) ListFirewalls ¶
func (a *Client) ListFirewalls(params *ListFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFirewallsOK, error)
ListFirewalls gets all known firewalls
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.11.0
type ClientService interface { AllocateFirewall(params *AllocateFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateFirewallOK, error) FindFirewall(params *FindFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindFirewallOK, error) FindFirewalls(params *FindFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindFirewallsOK, error) ListFirewalls(params *ListFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFirewallsOK, 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 firewall API client.
type FindFirewallDefault ¶
type FindFirewallDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindFirewallDefault describes a response with status code -1, with default header values.
Error
func NewFindFirewallDefault ¶
func NewFindFirewallDefault(code int) *FindFirewallDefault
NewFindFirewallDefault creates a FindFirewallDefault with default headers values
func (*FindFirewallDefault) Code ¶
func (o *FindFirewallDefault) Code() int
Code gets the status code for the find firewall default response
func (*FindFirewallDefault) Error ¶
func (o *FindFirewallDefault) Error() string
func (*FindFirewallDefault) GetPayload ¶ added in v0.11.0
func (o *FindFirewallDefault) GetPayload() *httperrors.HTTPErrorResponse
type FindFirewallOK ¶
type FindFirewallOK struct {
Payload *models.V1FirewallResponse
}
FindFirewallOK describes a response with status code 200, with default header values.
OK
func NewFindFirewallOK ¶
func NewFindFirewallOK() *FindFirewallOK
NewFindFirewallOK creates a FindFirewallOK with default headers values
func (*FindFirewallOK) Error ¶
func (o *FindFirewallOK) Error() string
func (*FindFirewallOK) GetPayload ¶ added in v0.11.0
func (o *FindFirewallOK) GetPayload() *models.V1FirewallResponse
type FindFirewallParams ¶
type FindFirewallParams struct { /* ID. identifier of the firewall */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindFirewallParams contains all the parameters to send to the API endpoint
for the find firewall operation. Typically these are written to a http.Request.
func NewFindFirewallParams ¶
func NewFindFirewallParams() *FindFirewallParams
NewFindFirewallParams creates a new FindFirewallParams 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 NewFindFirewallParamsWithContext ¶
func NewFindFirewallParamsWithContext(ctx context.Context) *FindFirewallParams
NewFindFirewallParamsWithContext creates a new FindFirewallParams object with the ability to set a context for a request.
func NewFindFirewallParamsWithHTTPClient ¶
func NewFindFirewallParamsWithHTTPClient(client *http.Client) *FindFirewallParams
NewFindFirewallParamsWithHTTPClient creates a new FindFirewallParams object with the ability to set a custom HTTPClient for a request.
func NewFindFirewallParamsWithTimeout ¶
func NewFindFirewallParamsWithTimeout(timeout time.Duration) *FindFirewallParams
NewFindFirewallParamsWithTimeout creates a new FindFirewallParams object with the ability to set a timeout on a request.
func (*FindFirewallParams) SetContext ¶
func (o *FindFirewallParams) SetContext(ctx context.Context)
SetContext adds the context to the find firewall params
func (*FindFirewallParams) SetDefaults ¶ added in v0.12.1
func (o *FindFirewallParams) SetDefaults()
SetDefaults hydrates default values in the find firewall params (not the query body).
All values with no default are reset to their zero value.
func (*FindFirewallParams) SetHTTPClient ¶
func (o *FindFirewallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find firewall params
func (*FindFirewallParams) SetID ¶
func (o *FindFirewallParams) SetID(id string)
SetID adds the id to the find firewall params
func (*FindFirewallParams) SetTimeout ¶
func (o *FindFirewallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find firewall params
func (*FindFirewallParams) WithContext ¶
func (o *FindFirewallParams) WithContext(ctx context.Context) *FindFirewallParams
WithContext adds the context to the find firewall params
func (*FindFirewallParams) WithDefaults ¶ added in v0.12.1
func (o *FindFirewallParams) WithDefaults() *FindFirewallParams
WithDefaults hydrates default values in the find firewall params (not the query body).
All values with no default are reset to their zero value.
func (*FindFirewallParams) WithHTTPClient ¶
func (o *FindFirewallParams) WithHTTPClient(client *http.Client) *FindFirewallParams
WithHTTPClient adds the HTTPClient to the find firewall params
func (*FindFirewallParams) WithID ¶
func (o *FindFirewallParams) WithID(id string) *FindFirewallParams
WithID adds the id to the find firewall params
func (*FindFirewallParams) WithTimeout ¶
func (o *FindFirewallParams) WithTimeout(timeout time.Duration) *FindFirewallParams
WithTimeout adds the timeout to the find firewall params
func (*FindFirewallParams) WriteToRequest ¶
func (o *FindFirewallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindFirewallReader ¶
type FindFirewallReader struct {
// contains filtered or unexported fields
}
FindFirewallReader is a Reader for the FindFirewall structure.
func (*FindFirewallReader) ReadResponse ¶
func (o *FindFirewallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindFirewallsDefault ¶
type FindFirewallsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindFirewallsDefault describes a response with status code -1, with default header values.
Error
func NewFindFirewallsDefault ¶
func NewFindFirewallsDefault(code int) *FindFirewallsDefault
NewFindFirewallsDefault creates a FindFirewallsDefault with default headers values
func (*FindFirewallsDefault) Code ¶
func (o *FindFirewallsDefault) Code() int
Code gets the status code for the find firewalls default response
func (*FindFirewallsDefault) Error ¶
func (o *FindFirewallsDefault) Error() string
func (*FindFirewallsDefault) GetPayload ¶ added in v0.11.0
func (o *FindFirewallsDefault) GetPayload() *httperrors.HTTPErrorResponse
type FindFirewallsOK ¶
type FindFirewallsOK struct {
Payload []*models.V1FirewallResponse
}
FindFirewallsOK describes a response with status code 200, with default header values.
OK
func NewFindFirewallsOK ¶
func NewFindFirewallsOK() *FindFirewallsOK
NewFindFirewallsOK creates a FindFirewallsOK with default headers values
func (*FindFirewallsOK) Error ¶
func (o *FindFirewallsOK) Error() string
func (*FindFirewallsOK) GetPayload ¶ added in v0.11.0
func (o *FindFirewallsOK) GetPayload() []*models.V1FirewallResponse
type FindFirewallsParams ¶
type FindFirewallsParams struct { // Body. Body *models.V1FirewallFindRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindFirewallsParams contains all the parameters to send to the API endpoint
for the find firewalls operation. Typically these are written to a http.Request.
func NewFindFirewallsParams ¶
func NewFindFirewallsParams() *FindFirewallsParams
NewFindFirewallsParams creates a new FindFirewallsParams 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 NewFindFirewallsParamsWithContext ¶
func NewFindFirewallsParamsWithContext(ctx context.Context) *FindFirewallsParams
NewFindFirewallsParamsWithContext creates a new FindFirewallsParams object with the ability to set a context for a request.
func NewFindFirewallsParamsWithHTTPClient ¶
func NewFindFirewallsParamsWithHTTPClient(client *http.Client) *FindFirewallsParams
NewFindFirewallsParamsWithHTTPClient creates a new FindFirewallsParams object with the ability to set a custom HTTPClient for a request.
func NewFindFirewallsParamsWithTimeout ¶
func NewFindFirewallsParamsWithTimeout(timeout time.Duration) *FindFirewallsParams
NewFindFirewallsParamsWithTimeout creates a new FindFirewallsParams object with the ability to set a timeout on a request.
func (*FindFirewallsParams) SetBody ¶
func (o *FindFirewallsParams) SetBody(body *models.V1FirewallFindRequest)
SetBody adds the body to the find firewalls params
func (*FindFirewallsParams) SetContext ¶
func (o *FindFirewallsParams) SetContext(ctx context.Context)
SetContext adds the context to the find firewalls params
func (*FindFirewallsParams) SetDefaults ¶ added in v0.12.1
func (o *FindFirewallsParams) SetDefaults()
SetDefaults hydrates default values in the find firewalls params (not the query body).
All values with no default are reset to their zero value.
func (*FindFirewallsParams) SetHTTPClient ¶
func (o *FindFirewallsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find firewalls params
func (*FindFirewallsParams) SetTimeout ¶
func (o *FindFirewallsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find firewalls params
func (*FindFirewallsParams) WithBody ¶
func (o *FindFirewallsParams) WithBody(body *models.V1FirewallFindRequest) *FindFirewallsParams
WithBody adds the body to the find firewalls params
func (*FindFirewallsParams) WithContext ¶
func (o *FindFirewallsParams) WithContext(ctx context.Context) *FindFirewallsParams
WithContext adds the context to the find firewalls params
func (*FindFirewallsParams) WithDefaults ¶ added in v0.12.1
func (o *FindFirewallsParams) WithDefaults() *FindFirewallsParams
WithDefaults hydrates default values in the find firewalls params (not the query body).
All values with no default are reset to their zero value.
func (*FindFirewallsParams) WithHTTPClient ¶
func (o *FindFirewallsParams) WithHTTPClient(client *http.Client) *FindFirewallsParams
WithHTTPClient adds the HTTPClient to the find firewalls params
func (*FindFirewallsParams) WithTimeout ¶
func (o *FindFirewallsParams) WithTimeout(timeout time.Duration) *FindFirewallsParams
WithTimeout adds the timeout to the find firewalls params
func (*FindFirewallsParams) WriteToRequest ¶
func (o *FindFirewallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindFirewallsReader ¶
type FindFirewallsReader struct {
// contains filtered or unexported fields
}
FindFirewallsReader is a Reader for the FindFirewalls structure.
func (*FindFirewallsReader) ReadResponse ¶
func (o *FindFirewallsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFirewallsDefault ¶
type ListFirewallsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListFirewallsDefault describes a response with status code -1, with default header values.
Error
func NewListFirewallsDefault ¶
func NewListFirewallsDefault(code int) *ListFirewallsDefault
NewListFirewallsDefault creates a ListFirewallsDefault with default headers values
func (*ListFirewallsDefault) Code ¶
func (o *ListFirewallsDefault) Code() int
Code gets the status code for the list firewalls default response
func (*ListFirewallsDefault) Error ¶
func (o *ListFirewallsDefault) Error() string
func (*ListFirewallsDefault) GetPayload ¶ added in v0.11.0
func (o *ListFirewallsDefault) GetPayload() *httperrors.HTTPErrorResponse
type ListFirewallsOK ¶
type ListFirewallsOK struct {
Payload []*models.V1FirewallResponse
}
ListFirewallsOK describes a response with status code 200, with default header values.
OK
func NewListFirewallsOK ¶
func NewListFirewallsOK() *ListFirewallsOK
NewListFirewallsOK creates a ListFirewallsOK with default headers values
func (*ListFirewallsOK) Error ¶
func (o *ListFirewallsOK) Error() string
func (*ListFirewallsOK) GetPayload ¶ added in v0.11.0
func (o *ListFirewallsOK) GetPayload() []*models.V1FirewallResponse
type ListFirewallsParams ¶
type ListFirewallsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFirewallsParams contains all the parameters to send to the API endpoint
for the list firewalls operation. Typically these are written to a http.Request.
func NewListFirewallsParams ¶
func NewListFirewallsParams() *ListFirewallsParams
NewListFirewallsParams creates a new ListFirewallsParams 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 NewListFirewallsParamsWithContext ¶
func NewListFirewallsParamsWithContext(ctx context.Context) *ListFirewallsParams
NewListFirewallsParamsWithContext creates a new ListFirewallsParams object with the ability to set a context for a request.
func NewListFirewallsParamsWithHTTPClient ¶
func NewListFirewallsParamsWithHTTPClient(client *http.Client) *ListFirewallsParams
NewListFirewallsParamsWithHTTPClient creates a new ListFirewallsParams object with the ability to set a custom HTTPClient for a request.
func NewListFirewallsParamsWithTimeout ¶
func NewListFirewallsParamsWithTimeout(timeout time.Duration) *ListFirewallsParams
NewListFirewallsParamsWithTimeout creates a new ListFirewallsParams object with the ability to set a timeout on a request.
func (*ListFirewallsParams) SetContext ¶
func (o *ListFirewallsParams) SetContext(ctx context.Context)
SetContext adds the context to the list firewalls params
func (*ListFirewallsParams) SetDefaults ¶ added in v0.12.1
func (o *ListFirewallsParams) SetDefaults()
SetDefaults hydrates default values in the list firewalls params (not the query body).
All values with no default are reset to their zero value.
func (*ListFirewallsParams) SetHTTPClient ¶
func (o *ListFirewallsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list firewalls params
func (*ListFirewallsParams) SetTimeout ¶
func (o *ListFirewallsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list firewalls params
func (*ListFirewallsParams) WithContext ¶
func (o *ListFirewallsParams) WithContext(ctx context.Context) *ListFirewallsParams
WithContext adds the context to the list firewalls params
func (*ListFirewallsParams) WithDefaults ¶ added in v0.12.1
func (o *ListFirewallsParams) WithDefaults() *ListFirewallsParams
WithDefaults hydrates default values in the list firewalls params (not the query body).
All values with no default are reset to their zero value.
func (*ListFirewallsParams) WithHTTPClient ¶
func (o *ListFirewallsParams) WithHTTPClient(client *http.Client) *ListFirewallsParams
WithHTTPClient adds the HTTPClient to the list firewalls params
func (*ListFirewallsParams) WithTimeout ¶
func (o *ListFirewallsParams) WithTimeout(timeout time.Duration) *ListFirewallsParams
WithTimeout adds the timeout to the list firewalls params
func (*ListFirewallsParams) WriteToRequest ¶
func (o *ListFirewallsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFirewallsReader ¶
type ListFirewallsReader struct {
// contains filtered or unexported fields
}
ListFirewallsReader is a Reader for the ListFirewalls structure.
func (*ListFirewallsReader) ReadResponse ¶
func (o *ListFirewallsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.