v1securityrules

package
v2.3.0-dev.26+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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) GetDefaultSecurityRules

func (a *Client) GetDefaultSecurityRules(params *GetDefaultSecurityRulesParams) (*GetDefaultSecurityRulesOK, error)

GetDefaultSecurityRules gets default security rules

Security Rules operations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetDefaultSecurityRulesOK

type GetDefaultSecurityRulesOK struct {
	Payload *models_cloudbreak.SecurityRulesResponse
}

GetDefaultSecurityRulesOK handles this case with default header values.

successful operation

func NewGetDefaultSecurityRulesOK

func NewGetDefaultSecurityRulesOK() *GetDefaultSecurityRulesOK

NewGetDefaultSecurityRulesOK creates a GetDefaultSecurityRulesOK with default headers values

func (*GetDefaultSecurityRulesOK) Error

func (o *GetDefaultSecurityRulesOK) Error() string

type GetDefaultSecurityRulesParams

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

GetDefaultSecurityRulesParams contains all the parameters to send to the API endpoint for the get default security rules operation typically these are written to a http.Request

func NewGetDefaultSecurityRulesParams

func NewGetDefaultSecurityRulesParams() *GetDefaultSecurityRulesParams

NewGetDefaultSecurityRulesParams creates a new GetDefaultSecurityRulesParams object with the default values initialized.

func NewGetDefaultSecurityRulesParamsWithContext

func NewGetDefaultSecurityRulesParamsWithContext(ctx context.Context) *GetDefaultSecurityRulesParams

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

func NewGetDefaultSecurityRulesParamsWithHTTPClient

func NewGetDefaultSecurityRulesParamsWithHTTPClient(client *http.Client) *GetDefaultSecurityRulesParams

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

func NewGetDefaultSecurityRulesParamsWithTimeout

func NewGetDefaultSecurityRulesParamsWithTimeout(timeout time.Duration) *GetDefaultSecurityRulesParams

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

func (*GetDefaultSecurityRulesParams) SetContext

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

SetContext adds the context to the get default security rules params

func (*GetDefaultSecurityRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get default security rules params

func (*GetDefaultSecurityRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get default security rules params

func (*GetDefaultSecurityRulesParams) WithContext

WithContext adds the context to the get default security rules params

func (*GetDefaultSecurityRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get default security rules params

func (*GetDefaultSecurityRulesParams) WithTimeout

WithTimeout adds the timeout to the get default security rules params

func (*GetDefaultSecurityRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDefaultSecurityRulesReader

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

GetDefaultSecurityRulesReader is a Reader for the GetDefaultSecurityRules structure.

func (*GetDefaultSecurityRulesReader) ReadResponse

func (o *GetDefaultSecurityRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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