v1securitygroups

package
v2.7.0-dev.49+incompat... Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 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 v1securitygroups API

func New

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

New creates a new v1securitygroups API client.

func (*Client) DeletePrivateSecurityGroup

func (a *Client) DeletePrivateSecurityGroup(params *DeletePrivateSecurityGroupParams) error

DeletePrivateSecurityGroup deletes private security group by name

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) DeletePublicSecurityGroup

func (a *Client) DeletePublicSecurityGroup(params *DeletePublicSecurityGroupParams) error

DeletePublicSecurityGroup deletes public owned or private security group by name

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) DeleteSecurityGroup

func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams) error

DeleteSecurityGroup deletes security group by id

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) GetPrivateSecurityGroup

func (a *Client) GetPrivateSecurityGroup(params *GetPrivateSecurityGroupParams) (*GetPrivateSecurityGroupOK, error)

GetPrivateSecurityGroup retrieves a private security group by name

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) GetPrivatesSecurityGroup

func (a *Client) GetPrivatesSecurityGroup(params *GetPrivatesSecurityGroupParams) (*GetPrivatesSecurityGroupOK, error)

GetPrivatesSecurityGroup retrieves private security groups

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) GetPublicSecurityGroup

func (a *Client) GetPublicSecurityGroup(params *GetPublicSecurityGroupParams) (*GetPublicSecurityGroupOK, error)

GetPublicSecurityGroup retrieves a public or private owned security group by name

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) GetPublicsSecurityGroup

func (a *Client) GetPublicsSecurityGroup(params *GetPublicsSecurityGroupParams) (*GetPublicsSecurityGroupOK, error)

GetPublicsSecurityGroup retrieves public and private owned security groups

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) GetSecurityGroup

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

GetSecurityGroup retrieves security group by id

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) PostPrivateSecurityGroup

func (a *Client) PostPrivateSecurityGroup(params *PostPrivateSecurityGroupParams) (*PostPrivateSecurityGroupOK, error)

PostPrivateSecurityGroup creates security group as private resource

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) PostPublicSecurityGroup

func (a *Client) PostPublicSecurityGroup(params *PostPublicSecurityGroupParams) (*PostPublicSecurityGroupOK, error)

PostPublicSecurityGroup creates security group as public resource

Different inbound security rules(group) could be configured by using SecurityGroup resources and a group could be assigned to any Stack(cluster).

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeletePrivateSecurityGroupDefault

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

DeletePrivateSecurityGroupDefault handles this case with default header values.

successful operation

func NewDeletePrivateSecurityGroupDefault

func NewDeletePrivateSecurityGroupDefault(code int) *DeletePrivateSecurityGroupDefault

NewDeletePrivateSecurityGroupDefault creates a DeletePrivateSecurityGroupDefault with default headers values

func (*DeletePrivateSecurityGroupDefault) Code

Code gets the status code for the delete private security group default response

func (*DeletePrivateSecurityGroupDefault) Error

type DeletePrivateSecurityGroupParams

type DeletePrivateSecurityGroupParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePrivateSecurityGroupParams

func NewDeletePrivateSecurityGroupParams() *DeletePrivateSecurityGroupParams

NewDeletePrivateSecurityGroupParams creates a new DeletePrivateSecurityGroupParams object with the default values initialized.

func NewDeletePrivateSecurityGroupParamsWithContext

func NewDeletePrivateSecurityGroupParamsWithContext(ctx context.Context) *DeletePrivateSecurityGroupParams

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

func NewDeletePrivateSecurityGroupParamsWithHTTPClient

func NewDeletePrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *DeletePrivateSecurityGroupParams

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

func NewDeletePrivateSecurityGroupParamsWithTimeout

func NewDeletePrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *DeletePrivateSecurityGroupParams

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

func (*DeletePrivateSecurityGroupParams) SetContext

SetContext adds the context to the delete private security group params

func (*DeletePrivateSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private security group params

func (*DeletePrivateSecurityGroupParams) SetName

func (o *DeletePrivateSecurityGroupParams) SetName(name string)

SetName adds the name to the delete private security group params

func (*DeletePrivateSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete private security group params

func (*DeletePrivateSecurityGroupParams) WithContext

WithContext adds the context to the delete private security group params

func (*DeletePrivateSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private security group params

func (*DeletePrivateSecurityGroupParams) WithName

WithName adds the name to the delete private security group params

func (*DeletePrivateSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the delete private security group params

func (*DeletePrivateSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateSecurityGroupReader

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

DeletePrivateSecurityGroupReader is a Reader for the DeletePrivateSecurityGroup structure.

func (*DeletePrivateSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicSecurityGroupDefault

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

DeletePublicSecurityGroupDefault handles this case with default header values.

successful operation

func NewDeletePublicSecurityGroupDefault

func NewDeletePublicSecurityGroupDefault(code int) *DeletePublicSecurityGroupDefault

NewDeletePublicSecurityGroupDefault creates a DeletePublicSecurityGroupDefault with default headers values

func (*DeletePublicSecurityGroupDefault) Code

Code gets the status code for the delete public security group default response

func (*DeletePublicSecurityGroupDefault) Error

type DeletePublicSecurityGroupParams

type DeletePublicSecurityGroupParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePublicSecurityGroupParams

func NewDeletePublicSecurityGroupParams() *DeletePublicSecurityGroupParams

NewDeletePublicSecurityGroupParams creates a new DeletePublicSecurityGroupParams object with the default values initialized.

func NewDeletePublicSecurityGroupParamsWithContext

func NewDeletePublicSecurityGroupParamsWithContext(ctx context.Context) *DeletePublicSecurityGroupParams

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

func NewDeletePublicSecurityGroupParamsWithHTTPClient

func NewDeletePublicSecurityGroupParamsWithHTTPClient(client *http.Client) *DeletePublicSecurityGroupParams

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

func NewDeletePublicSecurityGroupParamsWithTimeout

func NewDeletePublicSecurityGroupParamsWithTimeout(timeout time.Duration) *DeletePublicSecurityGroupParams

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

func (*DeletePublicSecurityGroupParams) SetContext

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

SetContext adds the context to the delete public security group params

func (*DeletePublicSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public security group params

func (*DeletePublicSecurityGroupParams) SetName

func (o *DeletePublicSecurityGroupParams) SetName(name string)

SetName adds the name to the delete public security group params

func (*DeletePublicSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete public security group params

func (*DeletePublicSecurityGroupParams) WithContext

WithContext adds the context to the delete public security group params

func (*DeletePublicSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public security group params

func (*DeletePublicSecurityGroupParams) WithName

WithName adds the name to the delete public security group params

func (*DeletePublicSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the delete public security group params

func (*DeletePublicSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicSecurityGroupReader

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

DeletePublicSecurityGroupReader is a Reader for the DeletePublicSecurityGroup structure.

func (*DeletePublicSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSecurityGroupDefault

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

DeleteSecurityGroupDefault handles this case with default header values.

successful operation

func NewDeleteSecurityGroupDefault

func NewDeleteSecurityGroupDefault(code int) *DeleteSecurityGroupDefault

NewDeleteSecurityGroupDefault creates a DeleteSecurityGroupDefault with default headers values

func (*DeleteSecurityGroupDefault) Code

func (o *DeleteSecurityGroupDefault) Code() int

Code gets the status code for the delete security group default response

func (*DeleteSecurityGroupDefault) Error

type DeleteSecurityGroupParams

type DeleteSecurityGroupParams struct {

	/*ID*/
	ID int64

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

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

func NewDeleteSecurityGroupParams

func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams

NewDeleteSecurityGroupParams creates a new DeleteSecurityGroupParams object with the default values initialized.

func NewDeleteSecurityGroupParamsWithContext

func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams

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

func NewDeleteSecurityGroupParamsWithHTTPClient

func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams

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

func NewDeleteSecurityGroupParamsWithTimeout

func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams

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

func (*DeleteSecurityGroupParams) SetContext

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

SetContext adds the context to the delete security group params

func (*DeleteSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete security group params

func (*DeleteSecurityGroupParams) SetID

func (o *DeleteSecurityGroupParams) SetID(id int64)

SetID adds the id to the delete security group params

func (*DeleteSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete security group params

func (*DeleteSecurityGroupParams) WithContext

WithContext adds the context to the delete security group params

func (*DeleteSecurityGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete security group params

func (*DeleteSecurityGroupParams) WithID

WithID adds the id to the delete security group params

func (*DeleteSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the delete security group params

func (*DeleteSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSecurityGroupReader

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

DeleteSecurityGroupReader is a Reader for the DeleteSecurityGroup structure.

func (*DeleteSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateSecurityGroupOK

type GetPrivateSecurityGroupOK struct {
	Payload *models_cloudbreak.SecurityGroupResponse
}

GetPrivateSecurityGroupOK handles this case with default header values.

successful operation

func NewGetPrivateSecurityGroupOK

func NewGetPrivateSecurityGroupOK() *GetPrivateSecurityGroupOK

NewGetPrivateSecurityGroupOK creates a GetPrivateSecurityGroupOK with default headers values

func (*GetPrivateSecurityGroupOK) Error

func (o *GetPrivateSecurityGroupOK) Error() string

type GetPrivateSecurityGroupParams

type GetPrivateSecurityGroupParams struct {

	/*Name*/
	Name string

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

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

func NewGetPrivateSecurityGroupParams

func NewGetPrivateSecurityGroupParams() *GetPrivateSecurityGroupParams

NewGetPrivateSecurityGroupParams creates a new GetPrivateSecurityGroupParams object with the default values initialized.

func NewGetPrivateSecurityGroupParamsWithContext

func NewGetPrivateSecurityGroupParamsWithContext(ctx context.Context) *GetPrivateSecurityGroupParams

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

func NewGetPrivateSecurityGroupParamsWithHTTPClient

func NewGetPrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPrivateSecurityGroupParams

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

func NewGetPrivateSecurityGroupParamsWithTimeout

func NewGetPrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPrivateSecurityGroupParams

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

func (*GetPrivateSecurityGroupParams) SetContext

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

SetContext adds the context to the get private security group params

func (*GetPrivateSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private security group params

func (*GetPrivateSecurityGroupParams) SetName

func (o *GetPrivateSecurityGroupParams) SetName(name string)

SetName adds the name to the get private security group params

func (*GetPrivateSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get private security group params

func (*GetPrivateSecurityGroupParams) WithContext

WithContext adds the context to the get private security group params

func (*GetPrivateSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private security group params

func (*GetPrivateSecurityGroupParams) WithName

WithName adds the name to the get private security group params

func (*GetPrivateSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get private security group params

func (*GetPrivateSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSecurityGroupReader

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

GetPrivateSecurityGroupReader is a Reader for the GetPrivateSecurityGroup structure.

func (*GetPrivateSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivatesSecurityGroupOK

type GetPrivatesSecurityGroupOK struct {
	Payload []*models_cloudbreak.SecurityGroupResponse
}

GetPrivatesSecurityGroupOK handles this case with default header values.

successful operation

func NewGetPrivatesSecurityGroupOK

func NewGetPrivatesSecurityGroupOK() *GetPrivatesSecurityGroupOK

NewGetPrivatesSecurityGroupOK creates a GetPrivatesSecurityGroupOK with default headers values

func (*GetPrivatesSecurityGroupOK) Error

type GetPrivatesSecurityGroupParams

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

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

func NewGetPrivatesSecurityGroupParams

func NewGetPrivatesSecurityGroupParams() *GetPrivatesSecurityGroupParams

NewGetPrivatesSecurityGroupParams creates a new GetPrivatesSecurityGroupParams object with the default values initialized.

func NewGetPrivatesSecurityGroupParamsWithContext

func NewGetPrivatesSecurityGroupParamsWithContext(ctx context.Context) *GetPrivatesSecurityGroupParams

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

func NewGetPrivatesSecurityGroupParamsWithHTTPClient

func NewGetPrivatesSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPrivatesSecurityGroupParams

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

func NewGetPrivatesSecurityGroupParamsWithTimeout

func NewGetPrivatesSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPrivatesSecurityGroupParams

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

func (*GetPrivatesSecurityGroupParams) SetContext

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

SetContext adds the context to the get privates security group params

func (*GetPrivatesSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get privates security group params

func (*GetPrivatesSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get privates security group params

func (*GetPrivatesSecurityGroupParams) WithContext

WithContext adds the context to the get privates security group params

func (*GetPrivatesSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get privates security group params

func (*GetPrivatesSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get privates security group params

func (*GetPrivatesSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivatesSecurityGroupReader

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

GetPrivatesSecurityGroupReader is a Reader for the GetPrivatesSecurityGroup structure.

func (*GetPrivatesSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicSecurityGroupOK

type GetPublicSecurityGroupOK struct {
	Payload *models_cloudbreak.SecurityGroupResponse
}

GetPublicSecurityGroupOK handles this case with default header values.

successful operation

func NewGetPublicSecurityGroupOK

func NewGetPublicSecurityGroupOK() *GetPublicSecurityGroupOK

NewGetPublicSecurityGroupOK creates a GetPublicSecurityGroupOK with default headers values

func (*GetPublicSecurityGroupOK) Error

func (o *GetPublicSecurityGroupOK) Error() string

type GetPublicSecurityGroupParams

type GetPublicSecurityGroupParams struct {

	/*Name*/
	Name string

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

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

func NewGetPublicSecurityGroupParams

func NewGetPublicSecurityGroupParams() *GetPublicSecurityGroupParams

NewGetPublicSecurityGroupParams creates a new GetPublicSecurityGroupParams object with the default values initialized.

func NewGetPublicSecurityGroupParamsWithContext

func NewGetPublicSecurityGroupParamsWithContext(ctx context.Context) *GetPublicSecurityGroupParams

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

func NewGetPublicSecurityGroupParamsWithHTTPClient

func NewGetPublicSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPublicSecurityGroupParams

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

func NewGetPublicSecurityGroupParamsWithTimeout

func NewGetPublicSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPublicSecurityGroupParams

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

func (*GetPublicSecurityGroupParams) SetContext

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

SetContext adds the context to the get public security group params

func (*GetPublicSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public security group params

func (*GetPublicSecurityGroupParams) SetName

func (o *GetPublicSecurityGroupParams) SetName(name string)

SetName adds the name to the get public security group params

func (*GetPublicSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get public security group params

func (*GetPublicSecurityGroupParams) WithContext

WithContext adds the context to the get public security group params

func (*GetPublicSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public security group params

func (*GetPublicSecurityGroupParams) WithName

WithName adds the name to the get public security group params

func (*GetPublicSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get public security group params

func (*GetPublicSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicSecurityGroupReader

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

GetPublicSecurityGroupReader is a Reader for the GetPublicSecurityGroup structure.

func (*GetPublicSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicsSecurityGroupOK

type GetPublicsSecurityGroupOK struct {
	Payload []*models_cloudbreak.SecurityGroupResponse
}

GetPublicsSecurityGroupOK handles this case with default header values.

successful operation

func NewGetPublicsSecurityGroupOK

func NewGetPublicsSecurityGroupOK() *GetPublicsSecurityGroupOK

NewGetPublicsSecurityGroupOK creates a GetPublicsSecurityGroupOK with default headers values

func (*GetPublicsSecurityGroupOK) Error

func (o *GetPublicsSecurityGroupOK) Error() string

type GetPublicsSecurityGroupParams

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

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

func NewGetPublicsSecurityGroupParams

func NewGetPublicsSecurityGroupParams() *GetPublicsSecurityGroupParams

NewGetPublicsSecurityGroupParams creates a new GetPublicsSecurityGroupParams object with the default values initialized.

func NewGetPublicsSecurityGroupParamsWithContext

func NewGetPublicsSecurityGroupParamsWithContext(ctx context.Context) *GetPublicsSecurityGroupParams

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

func NewGetPublicsSecurityGroupParamsWithHTTPClient

func NewGetPublicsSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPublicsSecurityGroupParams

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

func NewGetPublicsSecurityGroupParamsWithTimeout

func NewGetPublicsSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPublicsSecurityGroupParams

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

func (*GetPublicsSecurityGroupParams) SetContext

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

SetContext adds the context to the get publics security group params

func (*GetPublicsSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get publics security group params

func (*GetPublicsSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get publics security group params

func (*GetPublicsSecurityGroupParams) WithContext

WithContext adds the context to the get publics security group params

func (*GetPublicsSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get publics security group params

func (*GetPublicsSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get publics security group params

func (*GetPublicsSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicsSecurityGroupReader

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

GetPublicsSecurityGroupReader is a Reader for the GetPublicsSecurityGroup structure.

func (*GetPublicsSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityGroupOK

type GetSecurityGroupOK struct {
	Payload *models_cloudbreak.SecurityGroupResponse
}

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

type GetSecurityGroupParams

type GetSecurityGroupParams struct {

	/*ID*/
	ID int64

	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) 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 int64)

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) 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 PostPrivateSecurityGroupOK

type PostPrivateSecurityGroupOK struct {
	Payload *models_cloudbreak.SecurityGroupResponse
}

PostPrivateSecurityGroupOK handles this case with default header values.

successful operation

func NewPostPrivateSecurityGroupOK

func NewPostPrivateSecurityGroupOK() *PostPrivateSecurityGroupOK

NewPostPrivateSecurityGroupOK creates a PostPrivateSecurityGroupOK with default headers values

func (*PostPrivateSecurityGroupOK) Error

type PostPrivateSecurityGroupParams

type PostPrivateSecurityGroupParams struct {

	/*Body*/
	Body *models_cloudbreak.SecurityGroupRequest

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

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

func NewPostPrivateSecurityGroupParams

func NewPostPrivateSecurityGroupParams() *PostPrivateSecurityGroupParams

NewPostPrivateSecurityGroupParams creates a new PostPrivateSecurityGroupParams object with the default values initialized.

func NewPostPrivateSecurityGroupParamsWithContext

func NewPostPrivateSecurityGroupParamsWithContext(ctx context.Context) *PostPrivateSecurityGroupParams

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

func NewPostPrivateSecurityGroupParamsWithHTTPClient

func NewPostPrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *PostPrivateSecurityGroupParams

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

func NewPostPrivateSecurityGroupParamsWithTimeout

func NewPostPrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *PostPrivateSecurityGroupParams

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

func (*PostPrivateSecurityGroupParams) SetBody

SetBody adds the body to the post private security group params

func (*PostPrivateSecurityGroupParams) SetContext

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

SetContext adds the context to the post private security group params

func (*PostPrivateSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private security group params

func (*PostPrivateSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the post private security group params

func (*PostPrivateSecurityGroupParams) WithBody

WithBody adds the body to the post private security group params

func (*PostPrivateSecurityGroupParams) WithContext

WithContext adds the context to the post private security group params

func (*PostPrivateSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post private security group params

func (*PostPrivateSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the post private security group params

func (*PostPrivateSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateSecurityGroupReader

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

PostPrivateSecurityGroupReader is a Reader for the PostPrivateSecurityGroup structure.

func (*PostPrivateSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicSecurityGroupOK

type PostPublicSecurityGroupOK struct {
	Payload *models_cloudbreak.SecurityGroupResponse
}

PostPublicSecurityGroupOK handles this case with default header values.

successful operation

func NewPostPublicSecurityGroupOK

func NewPostPublicSecurityGroupOK() *PostPublicSecurityGroupOK

NewPostPublicSecurityGroupOK creates a PostPublicSecurityGroupOK with default headers values

func (*PostPublicSecurityGroupOK) Error

func (o *PostPublicSecurityGroupOK) Error() string

type PostPublicSecurityGroupParams

type PostPublicSecurityGroupParams struct {

	/*Body*/
	Body *models_cloudbreak.SecurityGroupRequest

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

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

func NewPostPublicSecurityGroupParams

func NewPostPublicSecurityGroupParams() *PostPublicSecurityGroupParams

NewPostPublicSecurityGroupParams creates a new PostPublicSecurityGroupParams object with the default values initialized.

func NewPostPublicSecurityGroupParamsWithContext

func NewPostPublicSecurityGroupParamsWithContext(ctx context.Context) *PostPublicSecurityGroupParams

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

func NewPostPublicSecurityGroupParamsWithHTTPClient

func NewPostPublicSecurityGroupParamsWithHTTPClient(client *http.Client) *PostPublicSecurityGroupParams

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

func NewPostPublicSecurityGroupParamsWithTimeout

func NewPostPublicSecurityGroupParamsWithTimeout(timeout time.Duration) *PostPublicSecurityGroupParams

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

func (*PostPublicSecurityGroupParams) SetBody

SetBody adds the body to the post public security group params

func (*PostPublicSecurityGroupParams) SetContext

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

SetContext adds the context to the post public security group params

func (*PostPublicSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public security group params

func (*PostPublicSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the post public security group params

func (*PostPublicSecurityGroupParams) WithBody

WithBody adds the body to the post public security group params

func (*PostPublicSecurityGroupParams) WithContext

WithContext adds the context to the post public security group params

func (*PostPublicSecurityGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post public security group params

func (*PostPublicSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the post public security group params

func (*PostPublicSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicSecurityGroupReader

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

PostPublicSecurityGroupReader is a Reader for the PostPublicSecurityGroup structure.

func (*PostPublicSecurityGroupReader) ReadResponse

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