firewall

package
v0.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocateFirewallDefault

type AllocateFirewallDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

AllocateFirewallDefault handles this case 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

type AllocateFirewallOK

type AllocateFirewallOK struct {
	Payload *models.V1FirewallResponse
}

AllocateFirewallOK handles this case 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

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 values initialized.

func NewAllocateFirewallParamsWithContext

func NewAllocateFirewallParamsWithContext(ctx context.Context) *AllocateFirewallParams

NewAllocateFirewallParamsWithContext creates a new AllocateFirewallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*AllocateFirewallParams) SetBody

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) 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

WithBody adds the body to the allocate firewall params

func (*AllocateFirewallParams) WithContext

WithContext adds the context to the allocate firewall params

func (*AllocateFirewallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the allocate firewall params

func (*AllocateFirewallParams) WithTimeout

WithTimeout adds the timeout to the allocate firewall params

func (*AllocateFirewallParams) WriteToRequest

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 New

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

New creates a new firewall API client.

func (*Client) AllocateFirewall

func (a *Client) AllocateFirewall(params *AllocateFirewallParams, authInfo runtime.ClientAuthInfoWriter) (*AllocateFirewallOK, error)

AllocateFirewall allocates a firewall

func (*Client) FindFirewall

func (a *Client) FindFirewall(params *FindFirewallParams, authInfo runtime.ClientAuthInfoWriter) (*FindFirewallOK, error)

FindFirewall gets firewall by id

func (*Client) FindFirewalls

func (a *Client) FindFirewalls(params *FindFirewallsParams, authInfo runtime.ClientAuthInfoWriter) (*FindFirewallsOK, error)

FindFirewalls finds firewalls by multiple criteria

func (*Client) ListFirewalls

func (a *Client) ListFirewalls(params *ListFirewallsParams, authInfo runtime.ClientAuthInfoWriter) (*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 FindFirewallDefault

type FindFirewallDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindFirewallDefault handles this case 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

type FindFirewallOK

type FindFirewallOK struct {
	Payload *models.V1FirewallResponse
}

FindFirewallOK handles this case 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

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 values initialized.

func NewFindFirewallParamsWithContext

func NewFindFirewallParamsWithContext(ctx context.Context) *FindFirewallParams

NewFindFirewallParamsWithContext creates a new FindFirewallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the find firewall params

func (*FindFirewallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find firewall params

func (*FindFirewallParams) WithID

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindFirewallsDefault handles this case 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

type FindFirewallsOK

type FindFirewallsOK struct {
	Payload []*models.V1FirewallResponse
}

FindFirewallsOK handles this case 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

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 values initialized.

func NewFindFirewallsParamsWithContext

func NewFindFirewallsParamsWithContext(ctx context.Context) *FindFirewallsParams

NewFindFirewallsParamsWithContext creates a new FindFirewallsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*FindFirewallsParams) SetBody

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) 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

WithBody adds the body to the find firewalls params

func (*FindFirewallsParams) WithContext

WithContext adds the context to the find firewalls params

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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ListFirewallsDefault handles this case 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

type ListFirewallsOK

type ListFirewallsOK struct {
	Payload []*models.V1FirewallResponse
}

ListFirewallsOK handles this case 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

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 values initialized.

func NewListFirewallsParamsWithContext

func NewListFirewallsParamsWithContext(ctx context.Context) *ListFirewallsParams

NewListFirewallsParamsWithContext creates a new ListFirewallsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the list firewalls params

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL