v1securityrules

package
v2.7.1-rc.15+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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