v1securityrules

package
v2.2.0-rc.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 2

Documentation

Index

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 v1securityrules API

func New

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

New creates a new v1securityrules API client.

func (*Client) GetPublicIps

func (a *Client) GetPublicIps(params *GetPublicIpsParams) (*GetPublicIpsOK, error)

GetPublicIps gets default public ips

Security Rules operations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetPublicIpsOK

type GetPublicIpsOK struct {
	Payload *models_cloudbreak.SecurityRulesResponse
}

GetPublicIpsOK handles this case with default header values.

successful operation

func NewGetPublicIpsOK

func NewGetPublicIpsOK() *GetPublicIpsOK

NewGetPublicIpsOK creates a GetPublicIpsOK with default headers values

func (*GetPublicIpsOK) Error

func (o *GetPublicIpsOK) Error() string

type GetPublicIpsParams

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

GetPublicIpsParams contains all the parameters to send to the API endpoint for the get public ips operation typically these are written to a http.Request

func NewGetPublicIpsParams

func NewGetPublicIpsParams() *GetPublicIpsParams

NewGetPublicIpsParams creates a new GetPublicIpsParams object with the default values initialized.

func NewGetPublicIpsParamsWithContext

func NewGetPublicIpsParamsWithContext(ctx context.Context) *GetPublicIpsParams

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

func NewGetPublicIpsParamsWithHTTPClient

func NewGetPublicIpsParamsWithHTTPClient(client *http.Client) *GetPublicIpsParams

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

func NewGetPublicIpsParamsWithTimeout

func NewGetPublicIpsParamsWithTimeout(timeout time.Duration) *GetPublicIpsParams

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

func (*GetPublicIpsParams) SetContext

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

SetContext adds the context to the get public ips params

func (*GetPublicIpsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public ips params

func (*GetPublicIpsParams) SetTimeout

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

SetTimeout adds the timeout to the get public ips params

func (*GetPublicIpsParams) WithContext

WithContext adds the context to the get public ips params

func (*GetPublicIpsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get public ips params

func (*GetPublicIpsParams) WithTimeout

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

WithTimeout adds the timeout to the get public ips params

func (*GetPublicIpsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPublicIpsReader

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

GetPublicIpsReader is a Reader for the GetPublicIps structure.

func (*GetPublicIpsReader) ReadResponse

func (o *GetPublicIpsReader) 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