securitygroups

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 8 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 securitygroups API

func New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new securitygroups API client.

func (*Client) DeleteSecuritygroupsAccountName

func (a *Client) DeleteSecuritygroupsAccountName(params *DeleteSecuritygroupsAccountNameParams) error

DeleteSecuritygroupsAccountName 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) DeleteSecuritygroupsID

func (a *Client) DeleteSecuritygroupsID(params *DeleteSecuritygroupsIDParams) error

DeleteSecuritygroupsID 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) DeleteSecuritygroupsUserName

func (a *Client) DeleteSecuritygroupsUserName(params *DeleteSecuritygroupsUserNameParams) error

DeleteSecuritygroupsUserName 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) GetSecuritygroupsAccount

func (a *Client) GetSecuritygroupsAccount(params *GetSecuritygroupsAccountParams) (*GetSecuritygroupsAccountOK, error)

GetSecuritygroupsAccount 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) GetSecuritygroupsAccountName

func (a *Client) GetSecuritygroupsAccountName(params *GetSecuritygroupsAccountNameParams) (*GetSecuritygroupsAccountNameOK, error)

GetSecuritygroupsAccountName 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) GetSecuritygroupsID

func (a *Client) GetSecuritygroupsID(params *GetSecuritygroupsIDParams) (*GetSecuritygroupsIDOK, error)

GetSecuritygroupsID 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) GetSecuritygroupsUser

func (a *Client) GetSecuritygroupsUser(params *GetSecuritygroupsUserParams) (*GetSecuritygroupsUserOK, error)

GetSecuritygroupsUser 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) GetSecuritygroupsUserName

func (a *Client) GetSecuritygroupsUserName(params *GetSecuritygroupsUserNameParams) (*GetSecuritygroupsUserNameOK, error)

GetSecuritygroupsUserName 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) PostSecuritygroupsAccount

func (a *Client) PostSecuritygroupsAccount(params *PostSecuritygroupsAccountParams) (*PostSecuritygroupsAccountOK, error)

PostSecuritygroupsAccount 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) PostSecuritygroupsUser

func (a *Client) PostSecuritygroupsUser(params *PostSecuritygroupsUserParams) (*PostSecuritygroupsUserOK, error)

PostSecuritygroupsUser 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) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type DeleteSecuritygroupsAccountNameDefault

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

DeleteSecuritygroupsAccountNameDefault handles this case with default header values.

successful operation

func NewDeleteSecuritygroupsAccountNameDefault

func NewDeleteSecuritygroupsAccountNameDefault(code int) *DeleteSecuritygroupsAccountNameDefault

NewDeleteSecuritygroupsAccountNameDefault creates a DeleteSecuritygroupsAccountNameDefault with default headers values

func (*DeleteSecuritygroupsAccountNameDefault) Code

Code gets the status code for the delete securitygroups account name default response

func (*DeleteSecuritygroupsAccountNameDefault) Error

type DeleteSecuritygroupsAccountNameParams

type DeleteSecuritygroupsAccountNameParams struct {

	/*Name*/
	Name string
}

DeleteSecuritygroupsAccountNameParams contains all the parameters to send to the API endpoint for the delete securitygroups account name operation typically these are written to a http.Request

func NewDeleteSecuritygroupsAccountNameParams

func NewDeleteSecuritygroupsAccountNameParams() *DeleteSecuritygroupsAccountNameParams

NewDeleteSecuritygroupsAccountNameParams creates a new DeleteSecuritygroupsAccountNameParams object with the default values initialized.

func (*DeleteSecuritygroupsAccountNameParams) WithName

WithName adds the name to the delete securitygroups account name params

func (*DeleteSecuritygroupsAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSecuritygroupsAccountNameReader

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

DeleteSecuritygroupsAccountNameReader is a Reader for the DeleteSecuritygroupsAccountName structure.

func (*DeleteSecuritygroupsAccountNameReader) ReadResponse

func (o *DeleteSecuritygroupsAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteSecuritygroupsIDDefault

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

DeleteSecuritygroupsIDDefault handles this case with default header values.

successful operation

func NewDeleteSecuritygroupsIDDefault

func NewDeleteSecuritygroupsIDDefault(code int) *DeleteSecuritygroupsIDDefault

NewDeleteSecuritygroupsIDDefault creates a DeleteSecuritygroupsIDDefault with default headers values

func (*DeleteSecuritygroupsIDDefault) Code

Code gets the status code for the delete securitygroups ID default response

func (*DeleteSecuritygroupsIDDefault) Error

type DeleteSecuritygroupsIDParams

type DeleteSecuritygroupsIDParams struct {

	/*ID*/
	ID int64
}

DeleteSecuritygroupsIDParams contains all the parameters to send to the API endpoint for the delete securitygroups ID operation typically these are written to a http.Request

func NewDeleteSecuritygroupsIDParams

func NewDeleteSecuritygroupsIDParams() *DeleteSecuritygroupsIDParams

NewDeleteSecuritygroupsIDParams creates a new DeleteSecuritygroupsIDParams object with the default values initialized.

func (*DeleteSecuritygroupsIDParams) WithID

WithID adds the id to the delete securitygroups ID params

func (*DeleteSecuritygroupsIDParams) WriteToRequest

func (o *DeleteSecuritygroupsIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteSecuritygroupsIDReader

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

DeleteSecuritygroupsIDReader is a Reader for the DeleteSecuritygroupsID structure.

func (*DeleteSecuritygroupsIDReader) ReadResponse

func (o *DeleteSecuritygroupsIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteSecuritygroupsUserNameDefault

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

DeleteSecuritygroupsUserNameDefault handles this case with default header values.

successful operation

func NewDeleteSecuritygroupsUserNameDefault

func NewDeleteSecuritygroupsUserNameDefault(code int) *DeleteSecuritygroupsUserNameDefault

NewDeleteSecuritygroupsUserNameDefault creates a DeleteSecuritygroupsUserNameDefault with default headers values

func (*DeleteSecuritygroupsUserNameDefault) Code

Code gets the status code for the delete securitygroups user name default response

func (*DeleteSecuritygroupsUserNameDefault) Error

type DeleteSecuritygroupsUserNameParams

type DeleteSecuritygroupsUserNameParams struct {

	/*Name*/
	Name string
}

DeleteSecuritygroupsUserNameParams contains all the parameters to send to the API endpoint for the delete securitygroups user name operation typically these are written to a http.Request

func NewDeleteSecuritygroupsUserNameParams

func NewDeleteSecuritygroupsUserNameParams() *DeleteSecuritygroupsUserNameParams

NewDeleteSecuritygroupsUserNameParams creates a new DeleteSecuritygroupsUserNameParams object with the default values initialized.

func (*DeleteSecuritygroupsUserNameParams) WithName

WithName adds the name to the delete securitygroups user name params

func (*DeleteSecuritygroupsUserNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSecuritygroupsUserNameReader

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

DeleteSecuritygroupsUserNameReader is a Reader for the DeleteSecuritygroupsUserName structure.

func (*DeleteSecuritygroupsUserNameReader) ReadResponse

func (o *DeleteSecuritygroupsUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetSecuritygroupsAccountNameOK

type GetSecuritygroupsAccountNameOK struct {
	Payload *models.SecurityGroupJSON
}

GetSecuritygroupsAccountNameOK handles this case with default header values.

successful operation

func NewGetSecuritygroupsAccountNameOK

func NewGetSecuritygroupsAccountNameOK() *GetSecuritygroupsAccountNameOK

NewGetSecuritygroupsAccountNameOK creates a GetSecuritygroupsAccountNameOK with default headers values

func (*GetSecuritygroupsAccountNameOK) Error

type GetSecuritygroupsAccountNameParams

type GetSecuritygroupsAccountNameParams struct {

	/*Name*/
	Name string
}

GetSecuritygroupsAccountNameParams contains all the parameters to send to the API endpoint for the get securitygroups account name operation typically these are written to a http.Request

func NewGetSecuritygroupsAccountNameParams

func NewGetSecuritygroupsAccountNameParams() *GetSecuritygroupsAccountNameParams

NewGetSecuritygroupsAccountNameParams creates a new GetSecuritygroupsAccountNameParams object with the default values initialized.

func (*GetSecuritygroupsAccountNameParams) WithName

WithName adds the name to the get securitygroups account name params

func (*GetSecuritygroupsAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecuritygroupsAccountNameReader

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

GetSecuritygroupsAccountNameReader is a Reader for the GetSecuritygroupsAccountName structure.

func (*GetSecuritygroupsAccountNameReader) ReadResponse

func (o *GetSecuritygroupsAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetSecuritygroupsAccountOK

type GetSecuritygroupsAccountOK struct {
	Payload []*models.SecurityGroupJSON
}

GetSecuritygroupsAccountOK handles this case with default header values.

successful operation

func NewGetSecuritygroupsAccountOK

func NewGetSecuritygroupsAccountOK() *GetSecuritygroupsAccountOK

NewGetSecuritygroupsAccountOK creates a GetSecuritygroupsAccountOK with default headers values

func (*GetSecuritygroupsAccountOK) Error

type GetSecuritygroupsAccountParams

type GetSecuritygroupsAccountParams struct {
}

GetSecuritygroupsAccountParams contains all the parameters to send to the API endpoint for the get securitygroups account operation typically these are written to a http.Request

func NewGetSecuritygroupsAccountParams

func NewGetSecuritygroupsAccountParams() *GetSecuritygroupsAccountParams

NewGetSecuritygroupsAccountParams creates a new GetSecuritygroupsAccountParams object with the default values initialized.

func (*GetSecuritygroupsAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecuritygroupsAccountReader

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

GetSecuritygroupsAccountReader is a Reader for the GetSecuritygroupsAccount structure.

func (*GetSecuritygroupsAccountReader) ReadResponse

func (o *GetSecuritygroupsAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetSecuritygroupsIDOK

type GetSecuritygroupsIDOK struct {
	Payload *models.SecurityGroupJSON
}

GetSecuritygroupsIDOK handles this case with default header values.

successful operation

func NewGetSecuritygroupsIDOK

func NewGetSecuritygroupsIDOK() *GetSecuritygroupsIDOK

NewGetSecuritygroupsIDOK creates a GetSecuritygroupsIDOK with default headers values

func (*GetSecuritygroupsIDOK) Error

func (o *GetSecuritygroupsIDOK) Error() string

type GetSecuritygroupsIDParams

type GetSecuritygroupsIDParams struct {

	/*ID*/
	ID int64
}

GetSecuritygroupsIDParams contains all the parameters to send to the API endpoint for the get securitygroups ID operation typically these are written to a http.Request

func NewGetSecuritygroupsIDParams

func NewGetSecuritygroupsIDParams() *GetSecuritygroupsIDParams

NewGetSecuritygroupsIDParams creates a new GetSecuritygroupsIDParams object with the default values initialized.

func (*GetSecuritygroupsIDParams) WithID

WithID adds the id to the get securitygroups ID params

func (*GetSecuritygroupsIDParams) WriteToRequest

func (o *GetSecuritygroupsIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSecuritygroupsIDReader

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

GetSecuritygroupsIDReader is a Reader for the GetSecuritygroupsID structure.

func (*GetSecuritygroupsIDReader) ReadResponse

func (o *GetSecuritygroupsIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetSecuritygroupsUserNameOK

type GetSecuritygroupsUserNameOK struct {
	Payload *models.SecurityGroupJSON
}

GetSecuritygroupsUserNameOK handles this case with default header values.

successful operation

func NewGetSecuritygroupsUserNameOK

func NewGetSecuritygroupsUserNameOK() *GetSecuritygroupsUserNameOK

NewGetSecuritygroupsUserNameOK creates a GetSecuritygroupsUserNameOK with default headers values

func (*GetSecuritygroupsUserNameOK) Error

type GetSecuritygroupsUserNameParams

type GetSecuritygroupsUserNameParams struct {

	/*Name*/
	Name string
}

GetSecuritygroupsUserNameParams contains all the parameters to send to the API endpoint for the get securitygroups user name operation typically these are written to a http.Request

func NewGetSecuritygroupsUserNameParams

func NewGetSecuritygroupsUserNameParams() *GetSecuritygroupsUserNameParams

NewGetSecuritygroupsUserNameParams creates a new GetSecuritygroupsUserNameParams object with the default values initialized.

func (*GetSecuritygroupsUserNameParams) WithName

WithName adds the name to the get securitygroups user name params

func (*GetSecuritygroupsUserNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecuritygroupsUserNameReader

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

GetSecuritygroupsUserNameReader is a Reader for the GetSecuritygroupsUserName structure.

func (*GetSecuritygroupsUserNameReader) ReadResponse

func (o *GetSecuritygroupsUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetSecuritygroupsUserOK

type GetSecuritygroupsUserOK struct {
	Payload []*models.SecurityGroupJSON
}

GetSecuritygroupsUserOK handles this case with default header values.

successful operation

func NewGetSecuritygroupsUserOK

func NewGetSecuritygroupsUserOK() *GetSecuritygroupsUserOK

NewGetSecuritygroupsUserOK creates a GetSecuritygroupsUserOK with default headers values

func (*GetSecuritygroupsUserOK) Error

func (o *GetSecuritygroupsUserOK) Error() string

type GetSecuritygroupsUserParams

type GetSecuritygroupsUserParams struct {
}

GetSecuritygroupsUserParams contains all the parameters to send to the API endpoint for the get securitygroups user operation typically these are written to a http.Request

func NewGetSecuritygroupsUserParams

func NewGetSecuritygroupsUserParams() *GetSecuritygroupsUserParams

NewGetSecuritygroupsUserParams creates a new GetSecuritygroupsUserParams object with the default values initialized.

func (*GetSecuritygroupsUserParams) WriteToRequest

func (o *GetSecuritygroupsUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSecuritygroupsUserReader

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

GetSecuritygroupsUserReader is a Reader for the GetSecuritygroupsUser structure.

func (*GetSecuritygroupsUserReader) ReadResponse

func (o *GetSecuritygroupsUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostSecuritygroupsAccountOK

type PostSecuritygroupsAccountOK struct {
	Payload *models.ID
}

PostSecuritygroupsAccountOK handles this case with default header values.

successful operation

func NewPostSecuritygroupsAccountOK

func NewPostSecuritygroupsAccountOK() *PostSecuritygroupsAccountOK

NewPostSecuritygroupsAccountOK creates a PostSecuritygroupsAccountOK with default headers values

func (*PostSecuritygroupsAccountOK) Error

type PostSecuritygroupsAccountParams

type PostSecuritygroupsAccountParams struct {

	/*Body*/
	Body *models.SecurityGroupJSON
}

PostSecuritygroupsAccountParams contains all the parameters to send to the API endpoint for the post securitygroups account operation typically these are written to a http.Request

func NewPostSecuritygroupsAccountParams

func NewPostSecuritygroupsAccountParams() *PostSecuritygroupsAccountParams

NewPostSecuritygroupsAccountParams creates a new PostSecuritygroupsAccountParams object with the default values initialized.

func (*PostSecuritygroupsAccountParams) WithBody

WithBody adds the body to the post securitygroups account params

func (*PostSecuritygroupsAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostSecuritygroupsAccountReader

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

PostSecuritygroupsAccountReader is a Reader for the PostSecuritygroupsAccount structure.

func (*PostSecuritygroupsAccountReader) ReadResponse

func (o *PostSecuritygroupsAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostSecuritygroupsUserOK

type PostSecuritygroupsUserOK struct {
	Payload *models.ID
}

PostSecuritygroupsUserOK handles this case with default header values.

successful operation

func NewPostSecuritygroupsUserOK

func NewPostSecuritygroupsUserOK() *PostSecuritygroupsUserOK

NewPostSecuritygroupsUserOK creates a PostSecuritygroupsUserOK with default headers values

func (*PostSecuritygroupsUserOK) Error

func (o *PostSecuritygroupsUserOK) Error() string

type PostSecuritygroupsUserParams

type PostSecuritygroupsUserParams struct {

	/*Body*/
	Body *models.SecurityGroupJSON
}

PostSecuritygroupsUserParams contains all the parameters to send to the API endpoint for the post securitygroups user operation typically these are written to a http.Request

func NewPostSecuritygroupsUserParams

func NewPostSecuritygroupsUserParams() *PostSecuritygroupsUserParams

NewPostSecuritygroupsUserParams creates a new PostSecuritygroupsUserParams object with the default values initialized.

func (*PostSecuritygroupsUserParams) WithBody

WithBody adds the body to the post securitygroups user params

func (*PostSecuritygroupsUserParams) WriteToRequest

func (o *PostSecuritygroupsUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostSecuritygroupsUserReader

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

PostSecuritygroupsUserReader is a Reader for the PostSecuritygroupsUser structure.

func (*PostSecuritygroupsUserReader) ReadResponse

func (o *PostSecuritygroupsUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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