security_group_rule

package
v0.0.0-...-8b4fbd1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSecurityGroupRuleBadRequest

type AddSecurityGroupRuleBadRequest struct {
	Payload *vproxy_client_model.Error400
}

AddSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.

invalid input parameters

func NewAddSecurityGroupRuleBadRequest

func NewAddSecurityGroupRuleBadRequest() *AddSecurityGroupRuleBadRequest

NewAddSecurityGroupRuleBadRequest creates a AddSecurityGroupRuleBadRequest with default headers values

func (*AddSecurityGroupRuleBadRequest) Code

Code gets the status code for the add security group rule bad request response

func (*AddSecurityGroupRuleBadRequest) Error

func (*AddSecurityGroupRuleBadRequest) GetPayload

func (*AddSecurityGroupRuleBadRequest) IsClientError

func (o *AddSecurityGroupRuleBadRequest) IsClientError() bool

IsClientError returns true when this add security group rule bad request response has a 4xx status code

func (*AddSecurityGroupRuleBadRequest) IsCode

func (o *AddSecurityGroupRuleBadRequest) IsCode(code int) bool

IsCode returns true when this add security group rule bad request response a status code equal to that given

func (*AddSecurityGroupRuleBadRequest) IsRedirect

func (o *AddSecurityGroupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this add security group rule bad request response has a 3xx status code

func (*AddSecurityGroupRuleBadRequest) IsServerError

func (o *AddSecurityGroupRuleBadRequest) IsServerError() bool

IsServerError returns true when this add security group rule bad request response has a 5xx status code

func (*AddSecurityGroupRuleBadRequest) IsSuccess

func (o *AddSecurityGroupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this add security group rule bad request response has a 2xx status code

func (*AddSecurityGroupRuleBadRequest) String

type AddSecurityGroupRuleConflict

type AddSecurityGroupRuleConflict struct {
	Payload *vproxy_client_model.Error409
}

AddSecurityGroupRuleConflict describes a response with status code 409, with default header values.

conflict

func NewAddSecurityGroupRuleConflict

func NewAddSecurityGroupRuleConflict() *AddSecurityGroupRuleConflict

NewAddSecurityGroupRuleConflict creates a AddSecurityGroupRuleConflict with default headers values

func (*AddSecurityGroupRuleConflict) Code

Code gets the status code for the add security group rule conflict response

func (*AddSecurityGroupRuleConflict) Error

func (*AddSecurityGroupRuleConflict) GetPayload

func (*AddSecurityGroupRuleConflict) IsClientError

func (o *AddSecurityGroupRuleConflict) IsClientError() bool

IsClientError returns true when this add security group rule conflict response has a 4xx status code

func (*AddSecurityGroupRuleConflict) IsCode

func (o *AddSecurityGroupRuleConflict) IsCode(code int) bool

IsCode returns true when this add security group rule conflict response a status code equal to that given

func (*AddSecurityGroupRuleConflict) IsRedirect

func (o *AddSecurityGroupRuleConflict) IsRedirect() bool

IsRedirect returns true when this add security group rule conflict response has a 3xx status code

func (*AddSecurityGroupRuleConflict) IsServerError

func (o *AddSecurityGroupRuleConflict) IsServerError() bool

IsServerError returns true when this add security group rule conflict response has a 5xx status code

func (*AddSecurityGroupRuleConflict) IsSuccess

func (o *AddSecurityGroupRuleConflict) IsSuccess() bool

IsSuccess returns true when this add security group rule conflict response has a 2xx status code

func (*AddSecurityGroupRuleConflict) String

type AddSecurityGroupRuleInternalServerError

type AddSecurityGroupRuleInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

AddSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.

internal error

func NewAddSecurityGroupRuleInternalServerError

func NewAddSecurityGroupRuleInternalServerError() *AddSecurityGroupRuleInternalServerError

NewAddSecurityGroupRuleInternalServerError creates a AddSecurityGroupRuleInternalServerError with default headers values

func (*AddSecurityGroupRuleInternalServerError) Code

Code gets the status code for the add security group rule internal server error response

func (*AddSecurityGroupRuleInternalServerError) Error

func (*AddSecurityGroupRuleInternalServerError) GetPayload

func (*AddSecurityGroupRuleInternalServerError) IsClientError

func (o *AddSecurityGroupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this add security group rule internal server error response has a 4xx status code

func (*AddSecurityGroupRuleInternalServerError) IsCode

IsCode returns true when this add security group rule internal server error response a status code equal to that given

func (*AddSecurityGroupRuleInternalServerError) IsRedirect

IsRedirect returns true when this add security group rule internal server error response has a 3xx status code

func (*AddSecurityGroupRuleInternalServerError) IsServerError

func (o *AddSecurityGroupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this add security group rule internal server error response has a 5xx status code

func (*AddSecurityGroupRuleInternalServerError) IsSuccess

IsSuccess returns true when this add security group rule internal server error response has a 2xx status code

func (*AddSecurityGroupRuleInternalServerError) String

type AddSecurityGroupRuleNoContent

type AddSecurityGroupRuleNoContent struct {
}

AddSecurityGroupRuleNoContent describes a response with status code 204, with default header values.

ok

func NewAddSecurityGroupRuleNoContent

func NewAddSecurityGroupRuleNoContent() *AddSecurityGroupRuleNoContent

NewAddSecurityGroupRuleNoContent creates a AddSecurityGroupRuleNoContent with default headers values

func (*AddSecurityGroupRuleNoContent) Code

Code gets the status code for the add security group rule no content response

func (*AddSecurityGroupRuleNoContent) Error

func (*AddSecurityGroupRuleNoContent) IsClientError

func (o *AddSecurityGroupRuleNoContent) IsClientError() bool

IsClientError returns true when this add security group rule no content response has a 4xx status code

func (*AddSecurityGroupRuleNoContent) IsCode

func (o *AddSecurityGroupRuleNoContent) IsCode(code int) bool

IsCode returns true when this add security group rule no content response a status code equal to that given

func (*AddSecurityGroupRuleNoContent) IsRedirect

func (o *AddSecurityGroupRuleNoContent) IsRedirect() bool

IsRedirect returns true when this add security group rule no content response has a 3xx status code

func (*AddSecurityGroupRuleNoContent) IsServerError

func (o *AddSecurityGroupRuleNoContent) IsServerError() bool

IsServerError returns true when this add security group rule no content response has a 5xx status code

func (*AddSecurityGroupRuleNoContent) IsSuccess

func (o *AddSecurityGroupRuleNoContent) IsSuccess() bool

IsSuccess returns true when this add security group rule no content response has a 2xx status code

func (*AddSecurityGroupRuleNoContent) String

type AddSecurityGroupRuleNotFound

type AddSecurityGroupRuleNotFound struct {
	Payload *vproxy_client_model.Error404
}

AddSecurityGroupRuleNotFound describes a response with status code 404, with default header values.

resource not found

func NewAddSecurityGroupRuleNotFound

func NewAddSecurityGroupRuleNotFound() *AddSecurityGroupRuleNotFound

NewAddSecurityGroupRuleNotFound creates a AddSecurityGroupRuleNotFound with default headers values

func (*AddSecurityGroupRuleNotFound) Code

Code gets the status code for the add security group rule not found response

func (*AddSecurityGroupRuleNotFound) Error

func (*AddSecurityGroupRuleNotFound) GetPayload

func (*AddSecurityGroupRuleNotFound) IsClientError

func (o *AddSecurityGroupRuleNotFound) IsClientError() bool

IsClientError returns true when this add security group rule not found response has a 4xx status code

func (*AddSecurityGroupRuleNotFound) IsCode

func (o *AddSecurityGroupRuleNotFound) IsCode(code int) bool

IsCode returns true when this add security group rule not found response a status code equal to that given

func (*AddSecurityGroupRuleNotFound) IsRedirect

func (o *AddSecurityGroupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this add security group rule not found response has a 3xx status code

func (*AddSecurityGroupRuleNotFound) IsServerError

func (o *AddSecurityGroupRuleNotFound) IsServerError() bool

IsServerError returns true when this add security group rule not found response has a 5xx status code

func (*AddSecurityGroupRuleNotFound) IsSuccess

func (o *AddSecurityGroupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this add security group rule not found response has a 2xx status code

func (*AddSecurityGroupRuleNotFound) String

type AddSecurityGroupRuleParams

type AddSecurityGroupRuleParams struct {

	// Body.
	Body *vproxy_client_model.SecurityGroupRuleCreate

	/* Secg.

	   name of the security-group
	*/
	Secg string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddSecurityGroupRuleParams contains all the parameters to send to the API endpoint

for the add security group rule operation.

Typically these are written to a http.Request.

func NewAddSecurityGroupRuleParams

func NewAddSecurityGroupRuleParams() *AddSecurityGroupRuleParams

NewAddSecurityGroupRuleParams creates a new AddSecurityGroupRuleParams 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 NewAddSecurityGroupRuleParamsWithContext

func NewAddSecurityGroupRuleParamsWithContext(ctx context.Context) *AddSecurityGroupRuleParams

NewAddSecurityGroupRuleParamsWithContext creates a new AddSecurityGroupRuleParams object with the ability to set a context for a request.

func NewAddSecurityGroupRuleParamsWithHTTPClient

func NewAddSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *AddSecurityGroupRuleParams

NewAddSecurityGroupRuleParamsWithHTTPClient creates a new AddSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewAddSecurityGroupRuleParamsWithTimeout

func NewAddSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *AddSecurityGroupRuleParams

NewAddSecurityGroupRuleParamsWithTimeout creates a new AddSecurityGroupRuleParams object with the ability to set a timeout on a request.

func (*AddSecurityGroupRuleParams) SetBody

SetBody adds the body to the add security group rule params

func (*AddSecurityGroupRuleParams) SetContext

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

SetContext adds the context to the add security group rule params

func (*AddSecurityGroupRuleParams) SetDefaults

func (o *AddSecurityGroupRuleParams) SetDefaults()

SetDefaults hydrates default values in the add security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*AddSecurityGroupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add security group rule params

func (*AddSecurityGroupRuleParams) SetSecg

func (o *AddSecurityGroupRuleParams) SetSecg(secg string)

SetSecg adds the secg to the add security group rule params

func (*AddSecurityGroupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the add security group rule params

func (*AddSecurityGroupRuleParams) WithBody

WithBody adds the body to the add security group rule params

func (*AddSecurityGroupRuleParams) WithContext

WithContext adds the context to the add security group rule params

func (*AddSecurityGroupRuleParams) WithDefaults

WithDefaults hydrates default values in the add security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*AddSecurityGroupRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add security group rule params

func (*AddSecurityGroupRuleParams) WithSecg

WithSecg adds the secg to the add security group rule params

func (*AddSecurityGroupRuleParams) WithTimeout

WithTimeout adds the timeout to the add security group rule params

func (*AddSecurityGroupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddSecurityGroupRuleReader

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

AddSecurityGroupRuleReader is a Reader for the AddSecurityGroupRule structure.

func (*AddSecurityGroupRuleReader) ReadResponse

func (o *AddSecurityGroupRuleReader) 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 security group rule API

func (*Client) AddSecurityGroupRule

func (a *Client) AddSecurityGroupRule(params *AddSecurityGroupRuleParams, opts ...ClientOption) (*AddSecurityGroupRuleNoContent, error)

AddSecurityGroupRule adds security group rule into security group

func (*Client) DescribeSecurityGroupRule

func (a *Client) DescribeSecurityGroupRule(params *DescribeSecurityGroupRuleParams, opts ...ClientOption) (*DescribeSecurityGroupRuleOK, error)

DescribeSecurityGroupRule gets detailed info of one security group rule in security group

func (*Client) GetSecurityGroupRule

func (a *Client) GetSecurityGroupRule(params *GetSecurityGroupRuleParams, opts ...ClientOption) (*GetSecurityGroupRuleOK, error)

GetSecurityGroupRule gets security group rule in security group

func (*Client) ListSecurityGroupRule

func (a *Client) ListSecurityGroupRule(params *ListSecurityGroupRuleParams, opts ...ClientOption) (*ListSecurityGroupRuleOK, error)

ListSecurityGroupRule retrieves security group rule list from security group

func (*Client) RemoveSecurityGroupRule

func (a *Client) RemoveSecurityGroupRule(params *RemoveSecurityGroupRuleParams, opts ...ClientOption) (*RemoveSecurityGroupRuleNoContent, error)

RemoveSecurityGroupRule removes security group rule from security group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddSecurityGroupRule(params *AddSecurityGroupRuleParams, opts ...ClientOption) (*AddSecurityGroupRuleNoContent, error)

	DescribeSecurityGroupRule(params *DescribeSecurityGroupRuleParams, opts ...ClientOption) (*DescribeSecurityGroupRuleOK, error)

	GetSecurityGroupRule(params *GetSecurityGroupRuleParams, opts ...ClientOption) (*GetSecurityGroupRuleOK, error)

	ListSecurityGroupRule(params *ListSecurityGroupRuleParams, opts ...ClientOption) (*ListSecurityGroupRuleOK, error)

	RemoveSecurityGroupRule(params *RemoveSecurityGroupRuleParams, opts ...ClientOption) (*RemoveSecurityGroupRuleNoContent, 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 security group rule API client.

type DescribeSecurityGroupRuleBadRequest

type DescribeSecurityGroupRuleBadRequest struct {
	Payload *vproxy_client_model.Error400
}

DescribeSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.

invalid input parameters

func NewDescribeSecurityGroupRuleBadRequest

func NewDescribeSecurityGroupRuleBadRequest() *DescribeSecurityGroupRuleBadRequest

NewDescribeSecurityGroupRuleBadRequest creates a DescribeSecurityGroupRuleBadRequest with default headers values

func (*DescribeSecurityGroupRuleBadRequest) Code

Code gets the status code for the describe security group rule bad request response

func (*DescribeSecurityGroupRuleBadRequest) Error

func (*DescribeSecurityGroupRuleBadRequest) GetPayload

func (*DescribeSecurityGroupRuleBadRequest) IsClientError

func (o *DescribeSecurityGroupRuleBadRequest) IsClientError() bool

IsClientError returns true when this describe security group rule bad request response has a 4xx status code

func (*DescribeSecurityGroupRuleBadRequest) IsCode

IsCode returns true when this describe security group rule bad request response a status code equal to that given

func (*DescribeSecurityGroupRuleBadRequest) IsRedirect

func (o *DescribeSecurityGroupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this describe security group rule bad request response has a 3xx status code

func (*DescribeSecurityGroupRuleBadRequest) IsServerError

func (o *DescribeSecurityGroupRuleBadRequest) IsServerError() bool

IsServerError returns true when this describe security group rule bad request response has a 5xx status code

func (*DescribeSecurityGroupRuleBadRequest) IsSuccess

IsSuccess returns true when this describe security group rule bad request response has a 2xx status code

func (*DescribeSecurityGroupRuleBadRequest) String

type DescribeSecurityGroupRuleConflict

type DescribeSecurityGroupRuleConflict struct {
	Payload *vproxy_client_model.Error409
}

DescribeSecurityGroupRuleConflict describes a response with status code 409, with default header values.

conflict

func NewDescribeSecurityGroupRuleConflict

func NewDescribeSecurityGroupRuleConflict() *DescribeSecurityGroupRuleConflict

NewDescribeSecurityGroupRuleConflict creates a DescribeSecurityGroupRuleConflict with default headers values

func (*DescribeSecurityGroupRuleConflict) Code

Code gets the status code for the describe security group rule conflict response

func (*DescribeSecurityGroupRuleConflict) Error

func (*DescribeSecurityGroupRuleConflict) GetPayload

func (*DescribeSecurityGroupRuleConflict) IsClientError

func (o *DescribeSecurityGroupRuleConflict) IsClientError() bool

IsClientError returns true when this describe security group rule conflict response has a 4xx status code

func (*DescribeSecurityGroupRuleConflict) IsCode

func (o *DescribeSecurityGroupRuleConflict) IsCode(code int) bool

IsCode returns true when this describe security group rule conflict response a status code equal to that given

func (*DescribeSecurityGroupRuleConflict) IsRedirect

func (o *DescribeSecurityGroupRuleConflict) IsRedirect() bool

IsRedirect returns true when this describe security group rule conflict response has a 3xx status code

func (*DescribeSecurityGroupRuleConflict) IsServerError

func (o *DescribeSecurityGroupRuleConflict) IsServerError() bool

IsServerError returns true when this describe security group rule conflict response has a 5xx status code

func (*DescribeSecurityGroupRuleConflict) IsSuccess

func (o *DescribeSecurityGroupRuleConflict) IsSuccess() bool

IsSuccess returns true when this describe security group rule conflict response has a 2xx status code

func (*DescribeSecurityGroupRuleConflict) String

type DescribeSecurityGroupRuleInternalServerError

type DescribeSecurityGroupRuleInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

DescribeSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.

internal error

func NewDescribeSecurityGroupRuleInternalServerError

func NewDescribeSecurityGroupRuleInternalServerError() *DescribeSecurityGroupRuleInternalServerError

NewDescribeSecurityGroupRuleInternalServerError creates a DescribeSecurityGroupRuleInternalServerError with default headers values

func (*DescribeSecurityGroupRuleInternalServerError) Code

Code gets the status code for the describe security group rule internal server error response

func (*DescribeSecurityGroupRuleInternalServerError) Error

func (*DescribeSecurityGroupRuleInternalServerError) GetPayload

func (*DescribeSecurityGroupRuleInternalServerError) IsClientError

IsClientError returns true when this describe security group rule internal server error response has a 4xx status code

func (*DescribeSecurityGroupRuleInternalServerError) IsCode

IsCode returns true when this describe security group rule internal server error response a status code equal to that given

func (*DescribeSecurityGroupRuleInternalServerError) IsRedirect

IsRedirect returns true when this describe security group rule internal server error response has a 3xx status code

func (*DescribeSecurityGroupRuleInternalServerError) IsServerError

IsServerError returns true when this describe security group rule internal server error response has a 5xx status code

func (*DescribeSecurityGroupRuleInternalServerError) IsSuccess

IsSuccess returns true when this describe security group rule internal server error response has a 2xx status code

func (*DescribeSecurityGroupRuleInternalServerError) String

type DescribeSecurityGroupRuleNotFound

type DescribeSecurityGroupRuleNotFound struct {
	Payload *vproxy_client_model.Error404
}

DescribeSecurityGroupRuleNotFound describes a response with status code 404, with default header values.

resource not found

func NewDescribeSecurityGroupRuleNotFound

func NewDescribeSecurityGroupRuleNotFound() *DescribeSecurityGroupRuleNotFound

NewDescribeSecurityGroupRuleNotFound creates a DescribeSecurityGroupRuleNotFound with default headers values

func (*DescribeSecurityGroupRuleNotFound) Code

Code gets the status code for the describe security group rule not found response

func (*DescribeSecurityGroupRuleNotFound) Error

func (*DescribeSecurityGroupRuleNotFound) GetPayload

func (*DescribeSecurityGroupRuleNotFound) IsClientError

func (o *DescribeSecurityGroupRuleNotFound) IsClientError() bool

IsClientError returns true when this describe security group rule not found response has a 4xx status code

func (*DescribeSecurityGroupRuleNotFound) IsCode

func (o *DescribeSecurityGroupRuleNotFound) IsCode(code int) bool

IsCode returns true when this describe security group rule not found response a status code equal to that given

func (*DescribeSecurityGroupRuleNotFound) IsRedirect

func (o *DescribeSecurityGroupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this describe security group rule not found response has a 3xx status code

func (*DescribeSecurityGroupRuleNotFound) IsServerError

func (o *DescribeSecurityGroupRuleNotFound) IsServerError() bool

IsServerError returns true when this describe security group rule not found response has a 5xx status code

func (*DescribeSecurityGroupRuleNotFound) IsSuccess

func (o *DescribeSecurityGroupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this describe security group rule not found response has a 2xx status code

func (*DescribeSecurityGroupRuleNotFound) String

type DescribeSecurityGroupRuleOK

type DescribeSecurityGroupRuleOK struct {
	Payload *vproxy_client_model.SecurityGroupRuleDetail
}

DescribeSecurityGroupRuleOK describes a response with status code 200, with default header values.

ok

func NewDescribeSecurityGroupRuleOK

func NewDescribeSecurityGroupRuleOK() *DescribeSecurityGroupRuleOK

NewDescribeSecurityGroupRuleOK creates a DescribeSecurityGroupRuleOK with default headers values

func (*DescribeSecurityGroupRuleOK) Code

func (o *DescribeSecurityGroupRuleOK) Code() int

Code gets the status code for the describe security group rule o k response

func (*DescribeSecurityGroupRuleOK) Error

func (*DescribeSecurityGroupRuleOK) GetPayload

func (*DescribeSecurityGroupRuleOK) IsClientError

func (o *DescribeSecurityGroupRuleOK) IsClientError() bool

IsClientError returns true when this describe security group rule o k response has a 4xx status code

func (*DescribeSecurityGroupRuleOK) IsCode

func (o *DescribeSecurityGroupRuleOK) IsCode(code int) bool

IsCode returns true when this describe security group rule o k response a status code equal to that given

func (*DescribeSecurityGroupRuleOK) IsRedirect

func (o *DescribeSecurityGroupRuleOK) IsRedirect() bool

IsRedirect returns true when this describe security group rule o k response has a 3xx status code

func (*DescribeSecurityGroupRuleOK) IsServerError

func (o *DescribeSecurityGroupRuleOK) IsServerError() bool

IsServerError returns true when this describe security group rule o k response has a 5xx status code

func (*DescribeSecurityGroupRuleOK) IsSuccess

func (o *DescribeSecurityGroupRuleOK) IsSuccess() bool

IsSuccess returns true when this describe security group rule o k response has a 2xx status code

func (*DescribeSecurityGroupRuleOK) String

func (o *DescribeSecurityGroupRuleOK) String() string

type DescribeSecurityGroupRuleParams

type DescribeSecurityGroupRuleParams struct {

	/* Secg.

	   name of the security-group
	*/
	Secg string

	/* Secgr.

	   name of the security-group-rule
	*/
	Secgr string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeSecurityGroupRuleParams contains all the parameters to send to the API endpoint

for the describe security group rule operation.

Typically these are written to a http.Request.

func NewDescribeSecurityGroupRuleParams

func NewDescribeSecurityGroupRuleParams() *DescribeSecurityGroupRuleParams

NewDescribeSecurityGroupRuleParams creates a new DescribeSecurityGroupRuleParams 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 NewDescribeSecurityGroupRuleParamsWithContext

func NewDescribeSecurityGroupRuleParamsWithContext(ctx context.Context) *DescribeSecurityGroupRuleParams

NewDescribeSecurityGroupRuleParamsWithContext creates a new DescribeSecurityGroupRuleParams object with the ability to set a context for a request.

func NewDescribeSecurityGroupRuleParamsWithHTTPClient

func NewDescribeSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *DescribeSecurityGroupRuleParams

NewDescribeSecurityGroupRuleParamsWithHTTPClient creates a new DescribeSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeSecurityGroupRuleParamsWithTimeout

func NewDescribeSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *DescribeSecurityGroupRuleParams

NewDescribeSecurityGroupRuleParamsWithTimeout creates a new DescribeSecurityGroupRuleParams object with the ability to set a timeout on a request.

func (*DescribeSecurityGroupRuleParams) SetContext

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

SetContext adds the context to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) SetDefaults

func (o *DescribeSecurityGroupRuleParams) SetDefaults()

SetDefaults hydrates default values in the describe security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*DescribeSecurityGroupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) SetSecg

func (o *DescribeSecurityGroupRuleParams) SetSecg(secg string)

SetSecg adds the secg to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) SetSecgr

func (o *DescribeSecurityGroupRuleParams) SetSecgr(secgr string)

SetSecgr adds the secgr to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WithContext

WithContext adds the context to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WithDefaults

WithDefaults hydrates default values in the describe security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*DescribeSecurityGroupRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WithSecg

WithSecg adds the secg to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WithSecgr

WithSecgr adds the secgr to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WithTimeout

WithTimeout adds the timeout to the describe security group rule params

func (*DescribeSecurityGroupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeSecurityGroupRuleReader

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

DescribeSecurityGroupRuleReader is a Reader for the DescribeSecurityGroupRule structure.

func (*DescribeSecurityGroupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityGroupRuleBadRequest

type GetSecurityGroupRuleBadRequest struct {
	Payload *vproxy_client_model.Error400
}

GetSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.

invalid input parameters

func NewGetSecurityGroupRuleBadRequest

func NewGetSecurityGroupRuleBadRequest() *GetSecurityGroupRuleBadRequest

NewGetSecurityGroupRuleBadRequest creates a GetSecurityGroupRuleBadRequest with default headers values

func (*GetSecurityGroupRuleBadRequest) Code

Code gets the status code for the get security group rule bad request response

func (*GetSecurityGroupRuleBadRequest) Error

func (*GetSecurityGroupRuleBadRequest) GetPayload

func (*GetSecurityGroupRuleBadRequest) IsClientError

func (o *GetSecurityGroupRuleBadRequest) IsClientError() bool

IsClientError returns true when this get security group rule bad request response has a 4xx status code

func (*GetSecurityGroupRuleBadRequest) IsCode

func (o *GetSecurityGroupRuleBadRequest) IsCode(code int) bool

IsCode returns true when this get security group rule bad request response a status code equal to that given

func (*GetSecurityGroupRuleBadRequest) IsRedirect

func (o *GetSecurityGroupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this get security group rule bad request response has a 3xx status code

func (*GetSecurityGroupRuleBadRequest) IsServerError

func (o *GetSecurityGroupRuleBadRequest) IsServerError() bool

IsServerError returns true when this get security group rule bad request response has a 5xx status code

func (*GetSecurityGroupRuleBadRequest) IsSuccess

func (o *GetSecurityGroupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this get security group rule bad request response has a 2xx status code

func (*GetSecurityGroupRuleBadRequest) String

type GetSecurityGroupRuleConflict

type GetSecurityGroupRuleConflict struct {
	Payload *vproxy_client_model.Error409
}

GetSecurityGroupRuleConflict describes a response with status code 409, with default header values.

conflict

func NewGetSecurityGroupRuleConflict

func NewGetSecurityGroupRuleConflict() *GetSecurityGroupRuleConflict

NewGetSecurityGroupRuleConflict creates a GetSecurityGroupRuleConflict with default headers values

func (*GetSecurityGroupRuleConflict) Code

Code gets the status code for the get security group rule conflict response

func (*GetSecurityGroupRuleConflict) Error

func (*GetSecurityGroupRuleConflict) GetPayload

func (*GetSecurityGroupRuleConflict) IsClientError

func (o *GetSecurityGroupRuleConflict) IsClientError() bool

IsClientError returns true when this get security group rule conflict response has a 4xx status code

func (*GetSecurityGroupRuleConflict) IsCode

func (o *GetSecurityGroupRuleConflict) IsCode(code int) bool

IsCode returns true when this get security group rule conflict response a status code equal to that given

func (*GetSecurityGroupRuleConflict) IsRedirect

func (o *GetSecurityGroupRuleConflict) IsRedirect() bool

IsRedirect returns true when this get security group rule conflict response has a 3xx status code

func (*GetSecurityGroupRuleConflict) IsServerError

func (o *GetSecurityGroupRuleConflict) IsServerError() bool

IsServerError returns true when this get security group rule conflict response has a 5xx status code

func (*GetSecurityGroupRuleConflict) IsSuccess

func (o *GetSecurityGroupRuleConflict) IsSuccess() bool

IsSuccess returns true when this get security group rule conflict response has a 2xx status code

func (*GetSecurityGroupRuleConflict) String

type GetSecurityGroupRuleInternalServerError

type GetSecurityGroupRuleInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

GetSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetSecurityGroupRuleInternalServerError

func NewGetSecurityGroupRuleInternalServerError() *GetSecurityGroupRuleInternalServerError

NewGetSecurityGroupRuleInternalServerError creates a GetSecurityGroupRuleInternalServerError with default headers values

func (*GetSecurityGroupRuleInternalServerError) Code

Code gets the status code for the get security group rule internal server error response

func (*GetSecurityGroupRuleInternalServerError) Error

func (*GetSecurityGroupRuleInternalServerError) GetPayload

func (*GetSecurityGroupRuleInternalServerError) IsClientError

func (o *GetSecurityGroupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this get security group rule internal server error response has a 4xx status code

func (*GetSecurityGroupRuleInternalServerError) IsCode

IsCode returns true when this get security group rule internal server error response a status code equal to that given

func (*GetSecurityGroupRuleInternalServerError) IsRedirect

IsRedirect returns true when this get security group rule internal server error response has a 3xx status code

func (*GetSecurityGroupRuleInternalServerError) IsServerError

func (o *GetSecurityGroupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this get security group rule internal server error response has a 5xx status code

func (*GetSecurityGroupRuleInternalServerError) IsSuccess

IsSuccess returns true when this get security group rule internal server error response has a 2xx status code

func (*GetSecurityGroupRuleInternalServerError) String

type GetSecurityGroupRuleNotFound

type GetSecurityGroupRuleNotFound struct {
	Payload *vproxy_client_model.Error404
}

GetSecurityGroupRuleNotFound describes a response with status code 404, with default header values.

resource not found

func NewGetSecurityGroupRuleNotFound

func NewGetSecurityGroupRuleNotFound() *GetSecurityGroupRuleNotFound

NewGetSecurityGroupRuleNotFound creates a GetSecurityGroupRuleNotFound with default headers values

func (*GetSecurityGroupRuleNotFound) Code

Code gets the status code for the get security group rule not found response

func (*GetSecurityGroupRuleNotFound) Error

func (*GetSecurityGroupRuleNotFound) GetPayload

func (*GetSecurityGroupRuleNotFound) IsClientError

func (o *GetSecurityGroupRuleNotFound) IsClientError() bool

IsClientError returns true when this get security group rule not found response has a 4xx status code

func (*GetSecurityGroupRuleNotFound) IsCode

func (o *GetSecurityGroupRuleNotFound) IsCode(code int) bool

IsCode returns true when this get security group rule not found response a status code equal to that given

func (*GetSecurityGroupRuleNotFound) IsRedirect

func (o *GetSecurityGroupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this get security group rule not found response has a 3xx status code

func (*GetSecurityGroupRuleNotFound) IsServerError

func (o *GetSecurityGroupRuleNotFound) IsServerError() bool

IsServerError returns true when this get security group rule not found response has a 5xx status code

func (*GetSecurityGroupRuleNotFound) IsSuccess

func (o *GetSecurityGroupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this get security group rule not found response has a 2xx status code

func (*GetSecurityGroupRuleNotFound) String

type GetSecurityGroupRuleOK

type GetSecurityGroupRuleOK struct {
	Payload *vproxy_client_model.SecurityGroupRule
}

GetSecurityGroupRuleOK describes a response with status code 200, with default header values.

ok

func NewGetSecurityGroupRuleOK

func NewGetSecurityGroupRuleOK() *GetSecurityGroupRuleOK

NewGetSecurityGroupRuleOK creates a GetSecurityGroupRuleOK with default headers values

func (*GetSecurityGroupRuleOK) Code

func (o *GetSecurityGroupRuleOK) Code() int

Code gets the status code for the get security group rule o k response

func (*GetSecurityGroupRuleOK) Error

func (o *GetSecurityGroupRuleOK) Error() string

func (*GetSecurityGroupRuleOK) GetPayload

func (*GetSecurityGroupRuleOK) IsClientError

func (o *GetSecurityGroupRuleOK) IsClientError() bool

IsClientError returns true when this get security group rule o k response has a 4xx status code

func (*GetSecurityGroupRuleOK) IsCode

func (o *GetSecurityGroupRuleOK) IsCode(code int) bool

IsCode returns true when this get security group rule o k response a status code equal to that given

func (*GetSecurityGroupRuleOK) IsRedirect

func (o *GetSecurityGroupRuleOK) IsRedirect() bool

IsRedirect returns true when this get security group rule o k response has a 3xx status code

func (*GetSecurityGroupRuleOK) IsServerError

func (o *GetSecurityGroupRuleOK) IsServerError() bool

IsServerError returns true when this get security group rule o k response has a 5xx status code

func (*GetSecurityGroupRuleOK) IsSuccess

func (o *GetSecurityGroupRuleOK) IsSuccess() bool

IsSuccess returns true when this get security group rule o k response has a 2xx status code

func (*GetSecurityGroupRuleOK) String

func (o *GetSecurityGroupRuleOK) String() string

type GetSecurityGroupRuleParams

type GetSecurityGroupRuleParams struct {

	/* Secg.

	   name of the security-group
	*/
	Secg string

	/* Secgr.

	   name of the security-group-rule
	*/
	Secgr string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSecurityGroupRuleParams contains all the parameters to send to the API endpoint

for the get security group rule operation.

Typically these are written to a http.Request.

func NewGetSecurityGroupRuleParams

func NewGetSecurityGroupRuleParams() *GetSecurityGroupRuleParams

NewGetSecurityGroupRuleParams creates a new GetSecurityGroupRuleParams 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 NewGetSecurityGroupRuleParamsWithContext

func NewGetSecurityGroupRuleParamsWithContext(ctx context.Context) *GetSecurityGroupRuleParams

NewGetSecurityGroupRuleParamsWithContext creates a new GetSecurityGroupRuleParams object with the ability to set a context for a request.

func NewGetSecurityGroupRuleParamsWithHTTPClient

func NewGetSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *GetSecurityGroupRuleParams

NewGetSecurityGroupRuleParamsWithHTTPClient creates a new GetSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecurityGroupRuleParamsWithTimeout

func NewGetSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *GetSecurityGroupRuleParams

NewGetSecurityGroupRuleParamsWithTimeout creates a new GetSecurityGroupRuleParams object with the ability to set a timeout on a request.

func (*GetSecurityGroupRuleParams) SetContext

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

SetContext adds the context to the get security group rule params

func (*GetSecurityGroupRuleParams) SetDefaults

func (o *GetSecurityGroupRuleParams) SetDefaults()

SetDefaults hydrates default values in the get security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetSecurityGroupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security group rule params

func (*GetSecurityGroupRuleParams) SetSecg

func (o *GetSecurityGroupRuleParams) SetSecg(secg string)

SetSecg adds the secg to the get security group rule params

func (*GetSecurityGroupRuleParams) SetSecgr

func (o *GetSecurityGroupRuleParams) SetSecgr(secgr string)

SetSecgr adds the secgr to the get security group rule params

func (*GetSecurityGroupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the get security group rule params

func (*GetSecurityGroupRuleParams) WithContext

WithContext adds the context to the get security group rule params

func (*GetSecurityGroupRuleParams) WithDefaults

WithDefaults hydrates default values in the get security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetSecurityGroupRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get security group rule params

func (*GetSecurityGroupRuleParams) WithSecg

WithSecg adds the secg to the get security group rule params

func (*GetSecurityGroupRuleParams) WithSecgr

WithSecgr adds the secgr to the get security group rule params

func (*GetSecurityGroupRuleParams) WithTimeout

WithTimeout adds the timeout to the get security group rule params

func (*GetSecurityGroupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityGroupRuleReader

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

GetSecurityGroupRuleReader is a Reader for the GetSecurityGroupRule structure.

func (*GetSecurityGroupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSecurityGroupRuleBadRequest

type ListSecurityGroupRuleBadRequest struct {
	Payload *vproxy_client_model.Error400
}

ListSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.

invalid input parameters

func NewListSecurityGroupRuleBadRequest

func NewListSecurityGroupRuleBadRequest() *ListSecurityGroupRuleBadRequest

NewListSecurityGroupRuleBadRequest creates a ListSecurityGroupRuleBadRequest with default headers values

func (*ListSecurityGroupRuleBadRequest) Code

Code gets the status code for the list security group rule bad request response

func (*ListSecurityGroupRuleBadRequest) Error

func (*ListSecurityGroupRuleBadRequest) GetPayload

func (*ListSecurityGroupRuleBadRequest) IsClientError

func (o *ListSecurityGroupRuleBadRequest) IsClientError() bool

IsClientError returns true when this list security group rule bad request response has a 4xx status code

func (*ListSecurityGroupRuleBadRequest) IsCode

func (o *ListSecurityGroupRuleBadRequest) IsCode(code int) bool

IsCode returns true when this list security group rule bad request response a status code equal to that given

func (*ListSecurityGroupRuleBadRequest) IsRedirect

func (o *ListSecurityGroupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this list security group rule bad request response has a 3xx status code

func (*ListSecurityGroupRuleBadRequest) IsServerError

func (o *ListSecurityGroupRuleBadRequest) IsServerError() bool

IsServerError returns true when this list security group rule bad request response has a 5xx status code

func (*ListSecurityGroupRuleBadRequest) IsSuccess

func (o *ListSecurityGroupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this list security group rule bad request response has a 2xx status code

func (*ListSecurityGroupRuleBadRequest) String

type ListSecurityGroupRuleConflict

type ListSecurityGroupRuleConflict struct {
	Payload *vproxy_client_model.Error409
}

ListSecurityGroupRuleConflict describes a response with status code 409, with default header values.

conflict

func NewListSecurityGroupRuleConflict

func NewListSecurityGroupRuleConflict() *ListSecurityGroupRuleConflict

NewListSecurityGroupRuleConflict creates a ListSecurityGroupRuleConflict with default headers values

func (*ListSecurityGroupRuleConflict) Code

Code gets the status code for the list security group rule conflict response

func (*ListSecurityGroupRuleConflict) Error

func (*ListSecurityGroupRuleConflict) GetPayload

func (*ListSecurityGroupRuleConflict) IsClientError

func (o *ListSecurityGroupRuleConflict) IsClientError() bool

IsClientError returns true when this list security group rule conflict response has a 4xx status code

func (*ListSecurityGroupRuleConflict) IsCode

func (o *ListSecurityGroupRuleConflict) IsCode(code int) bool

IsCode returns true when this list security group rule conflict response a status code equal to that given

func (*ListSecurityGroupRuleConflict) IsRedirect

func (o *ListSecurityGroupRuleConflict) IsRedirect() bool

IsRedirect returns true when this list security group rule conflict response has a 3xx status code

func (*ListSecurityGroupRuleConflict) IsServerError

func (o *ListSecurityGroupRuleConflict) IsServerError() bool

IsServerError returns true when this list security group rule conflict response has a 5xx status code

func (*ListSecurityGroupRuleConflict) IsSuccess

func (o *ListSecurityGroupRuleConflict) IsSuccess() bool

IsSuccess returns true when this list security group rule conflict response has a 2xx status code

func (*ListSecurityGroupRuleConflict) String

type ListSecurityGroupRuleInternalServerError

type ListSecurityGroupRuleInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

ListSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListSecurityGroupRuleInternalServerError

func NewListSecurityGroupRuleInternalServerError() *ListSecurityGroupRuleInternalServerError

NewListSecurityGroupRuleInternalServerError creates a ListSecurityGroupRuleInternalServerError with default headers values

func (*ListSecurityGroupRuleInternalServerError) Code

Code gets the status code for the list security group rule internal server error response

func (*ListSecurityGroupRuleInternalServerError) Error

func (*ListSecurityGroupRuleInternalServerError) GetPayload

func (*ListSecurityGroupRuleInternalServerError) IsClientError

IsClientError returns true when this list security group rule internal server error response has a 4xx status code

func (*ListSecurityGroupRuleInternalServerError) IsCode

IsCode returns true when this list security group rule internal server error response a status code equal to that given

func (*ListSecurityGroupRuleInternalServerError) IsRedirect

IsRedirect returns true when this list security group rule internal server error response has a 3xx status code

func (*ListSecurityGroupRuleInternalServerError) IsServerError

IsServerError returns true when this list security group rule internal server error response has a 5xx status code

func (*ListSecurityGroupRuleInternalServerError) IsSuccess

IsSuccess returns true when this list security group rule internal server error response has a 2xx status code

func (*ListSecurityGroupRuleInternalServerError) String

type ListSecurityGroupRuleOK

type ListSecurityGroupRuleOK struct {
	Payload []*vproxy_client_model.SecurityGroupRule
}

ListSecurityGroupRuleOK describes a response with status code 200, with default header values.

ok

func NewListSecurityGroupRuleOK

func NewListSecurityGroupRuleOK() *ListSecurityGroupRuleOK

NewListSecurityGroupRuleOK creates a ListSecurityGroupRuleOK with default headers values

func (*ListSecurityGroupRuleOK) Code

func (o *ListSecurityGroupRuleOK) Code() int

Code gets the status code for the list security group rule o k response

func (*ListSecurityGroupRuleOK) Error

func (o *ListSecurityGroupRuleOK) Error() string

func (*ListSecurityGroupRuleOK) GetPayload

func (*ListSecurityGroupRuleOK) IsClientError

func (o *ListSecurityGroupRuleOK) IsClientError() bool

IsClientError returns true when this list security group rule o k response has a 4xx status code

func (*ListSecurityGroupRuleOK) IsCode

func (o *ListSecurityGroupRuleOK) IsCode(code int) bool

IsCode returns true when this list security group rule o k response a status code equal to that given

func (*ListSecurityGroupRuleOK) IsRedirect

func (o *ListSecurityGroupRuleOK) IsRedirect() bool

IsRedirect returns true when this list security group rule o k response has a 3xx status code

func (*ListSecurityGroupRuleOK) IsServerError

func (o *ListSecurityGroupRuleOK) IsServerError() bool

IsServerError returns true when this list security group rule o k response has a 5xx status code

func (*ListSecurityGroupRuleOK) IsSuccess

func (o *ListSecurityGroupRuleOK) IsSuccess() bool

IsSuccess returns true when this list security group rule o k response has a 2xx status code

func (*ListSecurityGroupRuleOK) String

func (o *ListSecurityGroupRuleOK) String() string

type ListSecurityGroupRuleParams

type ListSecurityGroupRuleParams struct {

	/* Secg.

	   name of the security-group
	*/
	Secg string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListSecurityGroupRuleParams contains all the parameters to send to the API endpoint

for the list security group rule operation.

Typically these are written to a http.Request.

func NewListSecurityGroupRuleParams

func NewListSecurityGroupRuleParams() *ListSecurityGroupRuleParams

NewListSecurityGroupRuleParams creates a new ListSecurityGroupRuleParams 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 NewListSecurityGroupRuleParamsWithContext

func NewListSecurityGroupRuleParamsWithContext(ctx context.Context) *ListSecurityGroupRuleParams

NewListSecurityGroupRuleParamsWithContext creates a new ListSecurityGroupRuleParams object with the ability to set a context for a request.

func NewListSecurityGroupRuleParamsWithHTTPClient

func NewListSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *ListSecurityGroupRuleParams

NewListSecurityGroupRuleParamsWithHTTPClient creates a new ListSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewListSecurityGroupRuleParamsWithTimeout

func NewListSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *ListSecurityGroupRuleParams

NewListSecurityGroupRuleParamsWithTimeout creates a new ListSecurityGroupRuleParams object with the ability to set a timeout on a request.

func (*ListSecurityGroupRuleParams) SetContext

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

SetContext adds the context to the list security group rule params

func (*ListSecurityGroupRuleParams) SetDefaults

func (o *ListSecurityGroupRuleParams) SetDefaults()

SetDefaults hydrates default values in the list security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*ListSecurityGroupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list security group rule params

func (*ListSecurityGroupRuleParams) SetSecg

func (o *ListSecurityGroupRuleParams) SetSecg(secg string)

SetSecg adds the secg to the list security group rule params

func (*ListSecurityGroupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the list security group rule params

func (*ListSecurityGroupRuleParams) WithContext

WithContext adds the context to the list security group rule params

func (*ListSecurityGroupRuleParams) WithDefaults

WithDefaults hydrates default values in the list security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*ListSecurityGroupRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list security group rule params

func (*ListSecurityGroupRuleParams) WithSecg

WithSecg adds the secg to the list security group rule params

func (*ListSecurityGroupRuleParams) WithTimeout

WithTimeout adds the timeout to the list security group rule params

func (*ListSecurityGroupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSecurityGroupRuleReader

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

ListSecurityGroupRuleReader is a Reader for the ListSecurityGroupRule structure.

func (*ListSecurityGroupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveSecurityGroupRuleBadRequest

type RemoveSecurityGroupRuleBadRequest struct {
	Payload *vproxy_client_model.Error400
}

RemoveSecurityGroupRuleBadRequest describes a response with status code 400, with default header values.

invalid input parameters

func NewRemoveSecurityGroupRuleBadRequest

func NewRemoveSecurityGroupRuleBadRequest() *RemoveSecurityGroupRuleBadRequest

NewRemoveSecurityGroupRuleBadRequest creates a RemoveSecurityGroupRuleBadRequest with default headers values

func (*RemoveSecurityGroupRuleBadRequest) Code

Code gets the status code for the remove security group rule bad request response

func (*RemoveSecurityGroupRuleBadRequest) Error

func (*RemoveSecurityGroupRuleBadRequest) GetPayload

func (*RemoveSecurityGroupRuleBadRequest) IsClientError

func (o *RemoveSecurityGroupRuleBadRequest) IsClientError() bool

IsClientError returns true when this remove security group rule bad request response has a 4xx status code

func (*RemoveSecurityGroupRuleBadRequest) IsCode

func (o *RemoveSecurityGroupRuleBadRequest) IsCode(code int) bool

IsCode returns true when this remove security group rule bad request response a status code equal to that given

func (*RemoveSecurityGroupRuleBadRequest) IsRedirect

func (o *RemoveSecurityGroupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this remove security group rule bad request response has a 3xx status code

func (*RemoveSecurityGroupRuleBadRequest) IsServerError

func (o *RemoveSecurityGroupRuleBadRequest) IsServerError() bool

IsServerError returns true when this remove security group rule bad request response has a 5xx status code

func (*RemoveSecurityGroupRuleBadRequest) IsSuccess

func (o *RemoveSecurityGroupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this remove security group rule bad request response has a 2xx status code

func (*RemoveSecurityGroupRuleBadRequest) String

type RemoveSecurityGroupRuleConflict

type RemoveSecurityGroupRuleConflict struct {
	Payload *vproxy_client_model.Error409
}

RemoveSecurityGroupRuleConflict describes a response with status code 409, with default header values.

conflict

func NewRemoveSecurityGroupRuleConflict

func NewRemoveSecurityGroupRuleConflict() *RemoveSecurityGroupRuleConflict

NewRemoveSecurityGroupRuleConflict creates a RemoveSecurityGroupRuleConflict with default headers values

func (*RemoveSecurityGroupRuleConflict) Code

Code gets the status code for the remove security group rule conflict response

func (*RemoveSecurityGroupRuleConflict) Error

func (*RemoveSecurityGroupRuleConflict) GetPayload

func (*RemoveSecurityGroupRuleConflict) IsClientError

func (o *RemoveSecurityGroupRuleConflict) IsClientError() bool

IsClientError returns true when this remove security group rule conflict response has a 4xx status code

func (*RemoveSecurityGroupRuleConflict) IsCode

func (o *RemoveSecurityGroupRuleConflict) IsCode(code int) bool

IsCode returns true when this remove security group rule conflict response a status code equal to that given

func (*RemoveSecurityGroupRuleConflict) IsRedirect

func (o *RemoveSecurityGroupRuleConflict) IsRedirect() bool

IsRedirect returns true when this remove security group rule conflict response has a 3xx status code

func (*RemoveSecurityGroupRuleConflict) IsServerError

func (o *RemoveSecurityGroupRuleConflict) IsServerError() bool

IsServerError returns true when this remove security group rule conflict response has a 5xx status code

func (*RemoveSecurityGroupRuleConflict) IsSuccess

func (o *RemoveSecurityGroupRuleConflict) IsSuccess() bool

IsSuccess returns true when this remove security group rule conflict response has a 2xx status code

func (*RemoveSecurityGroupRuleConflict) String

type RemoveSecurityGroupRuleInternalServerError

type RemoveSecurityGroupRuleInternalServerError struct {
	Payload *vproxy_client_model.Error500
}

RemoveSecurityGroupRuleInternalServerError describes a response with status code 500, with default header values.

internal error

func NewRemoveSecurityGroupRuleInternalServerError

func NewRemoveSecurityGroupRuleInternalServerError() *RemoveSecurityGroupRuleInternalServerError

NewRemoveSecurityGroupRuleInternalServerError creates a RemoveSecurityGroupRuleInternalServerError with default headers values

func (*RemoveSecurityGroupRuleInternalServerError) Code

Code gets the status code for the remove security group rule internal server error response

func (*RemoveSecurityGroupRuleInternalServerError) Error

func (*RemoveSecurityGroupRuleInternalServerError) GetPayload

func (*RemoveSecurityGroupRuleInternalServerError) IsClientError

IsClientError returns true when this remove security group rule internal server error response has a 4xx status code

func (*RemoveSecurityGroupRuleInternalServerError) IsCode

IsCode returns true when this remove security group rule internal server error response a status code equal to that given

func (*RemoveSecurityGroupRuleInternalServerError) IsRedirect

IsRedirect returns true when this remove security group rule internal server error response has a 3xx status code

func (*RemoveSecurityGroupRuleInternalServerError) IsServerError

IsServerError returns true when this remove security group rule internal server error response has a 5xx status code

func (*RemoveSecurityGroupRuleInternalServerError) IsSuccess

IsSuccess returns true when this remove security group rule internal server error response has a 2xx status code

func (*RemoveSecurityGroupRuleInternalServerError) String

type RemoveSecurityGroupRuleNoContent

type RemoveSecurityGroupRuleNoContent struct {
}

RemoveSecurityGroupRuleNoContent describes a response with status code 204, with default header values.

ok

func NewRemoveSecurityGroupRuleNoContent

func NewRemoveSecurityGroupRuleNoContent() *RemoveSecurityGroupRuleNoContent

NewRemoveSecurityGroupRuleNoContent creates a RemoveSecurityGroupRuleNoContent with default headers values

func (*RemoveSecurityGroupRuleNoContent) Code

Code gets the status code for the remove security group rule no content response

func (*RemoveSecurityGroupRuleNoContent) Error

func (*RemoveSecurityGroupRuleNoContent) IsClientError

func (o *RemoveSecurityGroupRuleNoContent) IsClientError() bool

IsClientError returns true when this remove security group rule no content response has a 4xx status code

func (*RemoveSecurityGroupRuleNoContent) IsCode

func (o *RemoveSecurityGroupRuleNoContent) IsCode(code int) bool

IsCode returns true when this remove security group rule no content response a status code equal to that given

func (*RemoveSecurityGroupRuleNoContent) IsRedirect

func (o *RemoveSecurityGroupRuleNoContent) IsRedirect() bool

IsRedirect returns true when this remove security group rule no content response has a 3xx status code

func (*RemoveSecurityGroupRuleNoContent) IsServerError

func (o *RemoveSecurityGroupRuleNoContent) IsServerError() bool

IsServerError returns true when this remove security group rule no content response has a 5xx status code

func (*RemoveSecurityGroupRuleNoContent) IsSuccess

func (o *RemoveSecurityGroupRuleNoContent) IsSuccess() bool

IsSuccess returns true when this remove security group rule no content response has a 2xx status code

func (*RemoveSecurityGroupRuleNoContent) String

type RemoveSecurityGroupRuleNotFound

type RemoveSecurityGroupRuleNotFound struct {
	Payload *vproxy_client_model.Error404
}

RemoveSecurityGroupRuleNotFound describes a response with status code 404, with default header values.

resource not found

func NewRemoveSecurityGroupRuleNotFound

func NewRemoveSecurityGroupRuleNotFound() *RemoveSecurityGroupRuleNotFound

NewRemoveSecurityGroupRuleNotFound creates a RemoveSecurityGroupRuleNotFound with default headers values

func (*RemoveSecurityGroupRuleNotFound) Code

Code gets the status code for the remove security group rule not found response

func (*RemoveSecurityGroupRuleNotFound) Error

func (*RemoveSecurityGroupRuleNotFound) GetPayload

func (*RemoveSecurityGroupRuleNotFound) IsClientError

func (o *RemoveSecurityGroupRuleNotFound) IsClientError() bool

IsClientError returns true when this remove security group rule not found response has a 4xx status code

func (*RemoveSecurityGroupRuleNotFound) IsCode

func (o *RemoveSecurityGroupRuleNotFound) IsCode(code int) bool

IsCode returns true when this remove security group rule not found response a status code equal to that given

func (*RemoveSecurityGroupRuleNotFound) IsRedirect

func (o *RemoveSecurityGroupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this remove security group rule not found response has a 3xx status code

func (*RemoveSecurityGroupRuleNotFound) IsServerError

func (o *RemoveSecurityGroupRuleNotFound) IsServerError() bool

IsServerError returns true when this remove security group rule not found response has a 5xx status code

func (*RemoveSecurityGroupRuleNotFound) IsSuccess

func (o *RemoveSecurityGroupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this remove security group rule not found response has a 2xx status code

func (*RemoveSecurityGroupRuleNotFound) String

type RemoveSecurityGroupRuleParams

type RemoveSecurityGroupRuleParams struct {

	/* Secg.

	   name of the security-group
	*/
	Secg string

	/* Secgr.

	   name of the security-group-rule
	*/
	Secgr string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveSecurityGroupRuleParams contains all the parameters to send to the API endpoint

for the remove security group rule operation.

Typically these are written to a http.Request.

func NewRemoveSecurityGroupRuleParams

func NewRemoveSecurityGroupRuleParams() *RemoveSecurityGroupRuleParams

NewRemoveSecurityGroupRuleParams creates a new RemoveSecurityGroupRuleParams 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 NewRemoveSecurityGroupRuleParamsWithContext

func NewRemoveSecurityGroupRuleParamsWithContext(ctx context.Context) *RemoveSecurityGroupRuleParams

NewRemoveSecurityGroupRuleParamsWithContext creates a new RemoveSecurityGroupRuleParams object with the ability to set a context for a request.

func NewRemoveSecurityGroupRuleParamsWithHTTPClient

func NewRemoveSecurityGroupRuleParamsWithHTTPClient(client *http.Client) *RemoveSecurityGroupRuleParams

NewRemoveSecurityGroupRuleParamsWithHTTPClient creates a new RemoveSecurityGroupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveSecurityGroupRuleParamsWithTimeout

func NewRemoveSecurityGroupRuleParamsWithTimeout(timeout time.Duration) *RemoveSecurityGroupRuleParams

NewRemoveSecurityGroupRuleParamsWithTimeout creates a new RemoveSecurityGroupRuleParams object with the ability to set a timeout on a request.

func (*RemoveSecurityGroupRuleParams) SetContext

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

SetContext adds the context to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) SetDefaults

func (o *RemoveSecurityGroupRuleParams) SetDefaults()

SetDefaults hydrates default values in the remove security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveSecurityGroupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) SetSecg

func (o *RemoveSecurityGroupRuleParams) SetSecg(secg string)

SetSecg adds the secg to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) SetSecgr

func (o *RemoveSecurityGroupRuleParams) SetSecgr(secgr string)

SetSecgr adds the secgr to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WithContext

WithContext adds the context to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WithDefaults

WithDefaults hydrates default values in the remove security group rule params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveSecurityGroupRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WithSecg

WithSecg adds the secg to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WithSecgr

WithSecgr adds the secgr to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WithTimeout

WithTimeout adds the timeout to the remove security group rule params

func (*RemoveSecurityGroupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveSecurityGroupRuleReader

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

RemoveSecurityGroupRuleReader is a Reader for the RemoveSecurityGroupRule structure.

func (*RemoveSecurityGroupRuleReader) ReadResponse

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