security_group

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

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 security group API

func New

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

New creates a new security group API client.

func (*Client) GetSecurityGroup

func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams) (*GetSecurityGroupOK, error)

GetSecurityGroup gets security group

Get security group with a given id

func (*Client) GetSecurityGroups

func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams) (*GetSecurityGroupsOK, error)

GetSecurityGroups gets security groups

Get all security groups

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetSecurityGroupForbidden

type GetSecurityGroupForbidden struct {
}

GetSecurityGroupForbidden handles this case with default header values.

Forbidden

func NewGetSecurityGroupForbidden

func NewGetSecurityGroupForbidden() *GetSecurityGroupForbidden

NewGetSecurityGroupForbidden creates a GetSecurityGroupForbidden with default headers values

func (*GetSecurityGroupForbidden) Error

func (o *GetSecurityGroupForbidden) Error() string

type GetSecurityGroupNotFound

type GetSecurityGroupNotFound struct {
}

GetSecurityGroupNotFound handles this case with default header values.

Not Found

func NewGetSecurityGroupNotFound

func NewGetSecurityGroupNotFound() *GetSecurityGroupNotFound

NewGetSecurityGroupNotFound creates a GetSecurityGroupNotFound with default headers values

func (*GetSecurityGroupNotFound) Error

func (o *GetSecurityGroupNotFound) Error() string

type GetSecurityGroupOK

type GetSecurityGroupOK struct {
	Payload *models.SecurityGroup
}

GetSecurityGroupOK handles this case with default header values.

successful operation

func NewGetSecurityGroupOK

func NewGetSecurityGroupOK() *GetSecurityGroupOK

NewGetSecurityGroupOK creates a GetSecurityGroupOK with default headers values

func (*GetSecurityGroupOK) Error

func (o *GetSecurityGroupOK) Error() string

func (*GetSecurityGroupOK) GetPayload

func (o *GetSecurityGroupOK) GetPayload() *models.SecurityGroup

type GetSecurityGroupParams

type GetSecurityGroupParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the security group.

	*/
	ID string

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

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

func NewGetSecurityGroupParams

func NewGetSecurityGroupParams() *GetSecurityGroupParams

NewGetSecurityGroupParams creates a new GetSecurityGroupParams object with the default values initialized.

func NewGetSecurityGroupParamsWithContext

func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams

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

func NewGetSecurityGroupParamsWithHTTPClient

func NewGetSecurityGroupParamsWithHTTPClient(client *http.Client) *GetSecurityGroupParams

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

func NewGetSecurityGroupParamsWithTimeout

func NewGetSecurityGroupParamsWithTimeout(timeout time.Duration) *GetSecurityGroupParams

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

func (*GetSecurityGroupParams) SetAPIVersion

func (o *GetSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get security group params

func (*GetSecurityGroupParams) SetContext

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

SetContext adds the context to the get security group params

func (*GetSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security group params

func (*GetSecurityGroupParams) SetID

func (o *GetSecurityGroupParams) SetID(id string)

SetID adds the id to the get security group params

func (*GetSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get security group params

func (*GetSecurityGroupParams) WithAPIVersion

func (o *GetSecurityGroupParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupParams

WithAPIVersion adds the aPIVersion to the get security group params

func (*GetSecurityGroupParams) WithContext

WithContext adds the context to the get security group params

func (*GetSecurityGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get security group params

func (*GetSecurityGroupParams) WithID

WithID adds the id to the get security group params

func (*GetSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get security group params

func (*GetSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityGroupReader

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

GetSecurityGroupReader is a Reader for the GetSecurityGroup structure.

func (*GetSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityGroupsForbidden

type GetSecurityGroupsForbidden struct {
}

GetSecurityGroupsForbidden handles this case with default header values.

Forbidden

func NewGetSecurityGroupsForbidden

func NewGetSecurityGroupsForbidden() *GetSecurityGroupsForbidden

NewGetSecurityGroupsForbidden creates a GetSecurityGroupsForbidden with default headers values

func (*GetSecurityGroupsForbidden) Error

type GetSecurityGroupsOK

type GetSecurityGroupsOK struct {
	Payload *models.SecurityGroupResult
}

GetSecurityGroupsOK handles this case with default header values.

successful operation

func NewGetSecurityGroupsOK

func NewGetSecurityGroupsOK() *GetSecurityGroupsOK

NewGetSecurityGroupsOK creates a GetSecurityGroupsOK with default headers values

func (*GetSecurityGroupsOK) Error

func (o *GetSecurityGroupsOK) Error() string

func (*GetSecurityGroupsOK) GetPayload

type GetSecurityGroupsParams

type GetSecurityGroupsParams struct {

	/*DollarFilter
	  Add a filter to return limited results

	*/
	DollarFilter *string
	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string

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

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

func NewGetSecurityGroupsParams

func NewGetSecurityGroupsParams() *GetSecurityGroupsParams

NewGetSecurityGroupsParams creates a new GetSecurityGroupsParams object with the default values initialized.

func NewGetSecurityGroupsParamsWithContext

func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams

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

func NewGetSecurityGroupsParamsWithHTTPClient

func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams

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

func NewGetSecurityGroupsParamsWithTimeout

func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams

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

func (*GetSecurityGroupsParams) SetAPIVersion

func (o *GetSecurityGroupsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get security groups params

func (*GetSecurityGroupsParams) SetContext

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

SetContext adds the context to the get security groups params

func (*GetSecurityGroupsParams) SetDollarFilter

func (o *GetSecurityGroupsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get security groups params

func (*GetSecurityGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security groups params

func (*GetSecurityGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get security groups params

func (*GetSecurityGroupsParams) WithAPIVersion

func (o *GetSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupsParams

WithAPIVersion adds the aPIVersion to the get security groups params

func (*GetSecurityGroupsParams) WithContext

WithContext adds the context to the get security groups params

func (*GetSecurityGroupsParams) WithDollarFilter

func (o *GetSecurityGroupsParams) WithDollarFilter(dollarFilter *string) *GetSecurityGroupsParams

WithDollarFilter adds the dollarFilter to the get security groups params

func (*GetSecurityGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get security groups params

func (*GetSecurityGroupsParams) WithTimeout

WithTimeout adds the timeout to the get security groups params

func (*GetSecurityGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityGroupsReader

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

GetSecurityGroupsReader is a Reader for the GetSecurityGroups structure.

func (*GetSecurityGroupsReader) ReadResponse

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