Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePrivateSecurityGroup(params *DeletePrivateSecurityGroupParams) error
- func (a *Client) DeletePublicSecurityGroup(params *DeletePublicSecurityGroupParams) error
- func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams) error
- func (a *Client) GetPrivateSecurityGroup(params *GetPrivateSecurityGroupParams) (*GetPrivateSecurityGroupOK, error)
- func (a *Client) GetPrivatesSecurityGroup(params *GetPrivatesSecurityGroupParams) (*GetPrivatesSecurityGroupOK, error)
- func (a *Client) GetPublicSecurityGroup(params *GetPublicSecurityGroupParams) (*GetPublicSecurityGroupOK, error)
- func (a *Client) GetPublicsSecurityGroup(params *GetPublicsSecurityGroupParams) (*GetPublicsSecurityGroupOK, error)
- func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams) (*GetSecurityGroupOK, error)
- func (a *Client) PostPrivateSecurityGroup(params *PostPrivateSecurityGroupParams) (*PostPrivateSecurityGroupOK, error)
- func (a *Client) PostPublicSecurityGroup(params *PostPublicSecurityGroupParams) (*PostPublicSecurityGroupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeletePrivateSecurityGroupDefault
- type DeletePrivateSecurityGroupParams
- func NewDeletePrivateSecurityGroupParams() *DeletePrivateSecurityGroupParams
- func NewDeletePrivateSecurityGroupParamsWithContext(ctx context.Context) *DeletePrivateSecurityGroupParams
- func NewDeletePrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *DeletePrivateSecurityGroupParams
- func NewDeletePrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *DeletePrivateSecurityGroupParams
- func (o *DeletePrivateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *DeletePrivateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateSecurityGroupParams) SetName(name string)
- func (o *DeletePrivateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateSecurityGroupParams) WithContext(ctx context.Context) *DeletePrivateSecurityGroupParams
- func (o *DeletePrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *DeletePrivateSecurityGroupParams
- func (o *DeletePrivateSecurityGroupParams) WithName(name string) *DeletePrivateSecurityGroupParams
- func (o *DeletePrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *DeletePrivateSecurityGroupParams
- func (o *DeletePrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateSecurityGroupReader
- type DeletePublicSecurityGroupDefault
- type DeletePublicSecurityGroupParams
- func NewDeletePublicSecurityGroupParams() *DeletePublicSecurityGroupParams
- func NewDeletePublicSecurityGroupParamsWithContext(ctx context.Context) *DeletePublicSecurityGroupParams
- func NewDeletePublicSecurityGroupParamsWithHTTPClient(client *http.Client) *DeletePublicSecurityGroupParams
- func NewDeletePublicSecurityGroupParamsWithTimeout(timeout time.Duration) *DeletePublicSecurityGroupParams
- func (o *DeletePublicSecurityGroupParams) SetContext(ctx context.Context)
- func (o *DeletePublicSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicSecurityGroupParams) SetName(name string)
- func (o *DeletePublicSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicSecurityGroupParams) WithContext(ctx context.Context) *DeletePublicSecurityGroupParams
- func (o *DeletePublicSecurityGroupParams) WithHTTPClient(client *http.Client) *DeletePublicSecurityGroupParams
- func (o *DeletePublicSecurityGroupParams) WithName(name string) *DeletePublicSecurityGroupParams
- func (o *DeletePublicSecurityGroupParams) WithTimeout(timeout time.Duration) *DeletePublicSecurityGroupParams
- func (o *DeletePublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicSecurityGroupReader
- type DeleteSecurityGroupDefault
- type DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) SetContext(ctx context.Context)
- func (o *DeleteSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSecurityGroupParams) SetID(id int64)
- func (o *DeleteSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithID(id int64) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSecurityGroupReader
- type GetPrivateSecurityGroupOK
- type GetPrivateSecurityGroupParams
- func NewGetPrivateSecurityGroupParams() *GetPrivateSecurityGroupParams
- func NewGetPrivateSecurityGroupParamsWithContext(ctx context.Context) *GetPrivateSecurityGroupParams
- func NewGetPrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPrivateSecurityGroupParams
- func NewGetPrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPrivateSecurityGroupParams
- func (o *GetPrivateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetPrivateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateSecurityGroupParams) SetName(name string)
- func (o *GetPrivateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateSecurityGroupParams) WithContext(ctx context.Context) *GetPrivateSecurityGroupParams
- func (o *GetPrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPrivateSecurityGroupParams
- func (o *GetPrivateSecurityGroupParams) WithName(name string) *GetPrivateSecurityGroupParams
- func (o *GetPrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPrivateSecurityGroupParams
- func (o *GetPrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateSecurityGroupReader
- type GetPrivatesSecurityGroupOK
- type GetPrivatesSecurityGroupParams
- func NewGetPrivatesSecurityGroupParams() *GetPrivatesSecurityGroupParams
- func NewGetPrivatesSecurityGroupParamsWithContext(ctx context.Context) *GetPrivatesSecurityGroupParams
- func NewGetPrivatesSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPrivatesSecurityGroupParams
- func NewGetPrivatesSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPrivatesSecurityGroupParams
- func (o *GetPrivatesSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetPrivatesSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesSecurityGroupParams) WithContext(ctx context.Context) *GetPrivatesSecurityGroupParams
- func (o *GetPrivatesSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPrivatesSecurityGroupParams
- func (o *GetPrivatesSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPrivatesSecurityGroupParams
- func (o *GetPrivatesSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesSecurityGroupReader
- type GetPublicSecurityGroupOK
- type GetPublicSecurityGroupParams
- func NewGetPublicSecurityGroupParams() *GetPublicSecurityGroupParams
- func NewGetPublicSecurityGroupParamsWithContext(ctx context.Context) *GetPublicSecurityGroupParams
- func NewGetPublicSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPublicSecurityGroupParams
- func NewGetPublicSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPublicSecurityGroupParams
- func (o *GetPublicSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetPublicSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicSecurityGroupParams) SetName(name string)
- func (o *GetPublicSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicSecurityGroupParams) WithContext(ctx context.Context) *GetPublicSecurityGroupParams
- func (o *GetPublicSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPublicSecurityGroupParams
- func (o *GetPublicSecurityGroupParams) WithName(name string) *GetPublicSecurityGroupParams
- func (o *GetPublicSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPublicSecurityGroupParams
- func (o *GetPublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicSecurityGroupReader
- type GetPublicsSecurityGroupOK
- type GetPublicsSecurityGroupParams
- func NewGetPublicsSecurityGroupParams() *GetPublicsSecurityGroupParams
- func NewGetPublicsSecurityGroupParamsWithContext(ctx context.Context) *GetPublicsSecurityGroupParams
- func NewGetPublicsSecurityGroupParamsWithHTTPClient(client *http.Client) *GetPublicsSecurityGroupParams
- func NewGetPublicsSecurityGroupParamsWithTimeout(timeout time.Duration) *GetPublicsSecurityGroupParams
- func (o *GetPublicsSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetPublicsSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsSecurityGroupParams) WithContext(ctx context.Context) *GetPublicsSecurityGroupParams
- func (o *GetPublicsSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPublicsSecurityGroupParams
- func (o *GetPublicsSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPublicsSecurityGroupParams
- func (o *GetPublicsSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsSecurityGroupReader
- type GetSecurityGroupOK
- type GetSecurityGroupParams
- func NewGetSecurityGroupParams() *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithHTTPClient(client *http.Client) *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithTimeout(timeout time.Duration) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupParams) SetID(id int64)
- func (o *GetSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupParams) WithContext(ctx context.Context) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithHTTPClient(client *http.Client) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithID(id int64) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithTimeout(timeout time.Duration) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupReader
- type PostPrivateSecurityGroupOK
- type PostPrivateSecurityGroupParams
- func NewPostPrivateSecurityGroupParams() *PostPrivateSecurityGroupParams
- func NewPostPrivateSecurityGroupParamsWithContext(ctx context.Context) *PostPrivateSecurityGroupParams
- func NewPostPrivateSecurityGroupParamsWithHTTPClient(client *http.Client) *PostPrivateSecurityGroupParams
- func NewPostPrivateSecurityGroupParamsWithTimeout(timeout time.Duration) *PostPrivateSecurityGroupParams
- func (o *PostPrivateSecurityGroupParams) SetBody(body *models_cloudbreak.SecurityGroupRequest)
- func (o *PostPrivateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *PostPrivateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateSecurityGroupParams) WithBody(body *models_cloudbreak.SecurityGroupRequest) *PostPrivateSecurityGroupParams
- func (o *PostPrivateSecurityGroupParams) WithContext(ctx context.Context) *PostPrivateSecurityGroupParams
- func (o *PostPrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *PostPrivateSecurityGroupParams
- func (o *PostPrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *PostPrivateSecurityGroupParams
- func (o *PostPrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateSecurityGroupReader
- type PostPublicSecurityGroupOK
- type PostPublicSecurityGroupParams
- func NewPostPublicSecurityGroupParams() *PostPublicSecurityGroupParams
- func NewPostPublicSecurityGroupParamsWithContext(ctx context.Context) *PostPublicSecurityGroupParams
- func NewPostPublicSecurityGroupParamsWithHTTPClient(client *http.Client) *PostPublicSecurityGroupParams
- func NewPostPublicSecurityGroupParamsWithTimeout(timeout time.Duration) *PostPublicSecurityGroupParams
- func (o *PostPublicSecurityGroupParams) SetBody(body *models_cloudbreak.SecurityGroupRequest)
- func (o *PostPublicSecurityGroupParams) SetContext(ctx context.Context)
- func (o *PostPublicSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicSecurityGroupParams) WithBody(body *models_cloudbreak.SecurityGroupRequest) *PostPublicSecurityGroupParams
- func (o *PostPublicSecurityGroupParams) WithContext(ctx context.Context) *PostPublicSecurityGroupParams
- func (o *PostPublicSecurityGroupParams) WithHTTPClient(client *http.Client) *PostPublicSecurityGroupParams
- func (o *PostPublicSecurityGroupParams) WithTimeout(timeout time.Duration) *PostPublicSecurityGroupParams
- func (o *PostPublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicSecurityGroupReader
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 ¶
func (o *DeletePrivateSecurityGroupDefault) Code() int
Code gets the status code for the delete private security group default response
func (*DeletePrivateSecurityGroupDefault) Error ¶
func (o *DeletePrivateSecurityGroupDefault) Error() string
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 ¶
func (o *DeletePrivateSecurityGroupParams) SetContext(ctx context.Context)
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 ¶
func (o *DeletePrivateSecurityGroupParams) WithContext(ctx context.Context) *DeletePrivateSecurityGroupParams
WithContext adds the context to the delete private security group params
func (*DeletePrivateSecurityGroupParams) WithHTTPClient ¶
func (o *DeletePrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *DeletePrivateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the delete private security group params
func (*DeletePrivateSecurityGroupParams) WithName ¶
func (o *DeletePrivateSecurityGroupParams) WithName(name string) *DeletePrivateSecurityGroupParams
WithName adds the name to the delete private security group params
func (*DeletePrivateSecurityGroupParams) WithTimeout ¶
func (o *DeletePrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *DeletePrivateSecurityGroupParams
WithTimeout adds the timeout to the delete private security group params
func (*DeletePrivateSecurityGroupParams) WriteToRequest ¶
func (o *DeletePrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePublicSecurityGroupDefault) Code() int
Code gets the status code for the delete public security group default response
func (*DeletePublicSecurityGroupDefault) Error ¶
func (o *DeletePublicSecurityGroupDefault) Error() string
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 ¶
func (o *DeletePublicSecurityGroupParams) WithContext(ctx context.Context) *DeletePublicSecurityGroupParams
WithContext adds the context to the delete public security group params
func (*DeletePublicSecurityGroupParams) WithHTTPClient ¶
func (o *DeletePublicSecurityGroupParams) WithHTTPClient(client *http.Client) *DeletePublicSecurityGroupParams
WithHTTPClient adds the HTTPClient to the delete public security group params
func (*DeletePublicSecurityGroupParams) WithName ¶
func (o *DeletePublicSecurityGroupParams) WithName(name string) *DeletePublicSecurityGroupParams
WithName adds the name to the delete public security group params
func (*DeletePublicSecurityGroupParams) WithTimeout ¶
func (o *DeletePublicSecurityGroupParams) WithTimeout(timeout time.Duration) *DeletePublicSecurityGroupParams
WithTimeout adds the timeout to the delete public security group params
func (*DeletePublicSecurityGroupParams) WriteToRequest ¶
func (o *DeletePublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteSecurityGroupDefault) Error() string
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 ¶
func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
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 ¶
func (o *DeleteSecurityGroupParams) WithID(id int64) *DeleteSecurityGroupParams
WithID adds the id to the delete security group params
func (*DeleteSecurityGroupParams) WithTimeout ¶
func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
WithTimeout adds the timeout to the delete security group params
func (*DeleteSecurityGroupParams) WriteToRequest ¶
func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivateSecurityGroupParams) WithContext(ctx context.Context) *GetPrivateSecurityGroupParams
WithContext adds the context to the get private security group params
func (*GetPrivateSecurityGroupParams) WithHTTPClient ¶
func (o *GetPrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPrivateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the get private security group params
func (*GetPrivateSecurityGroupParams) WithName ¶
func (o *GetPrivateSecurityGroupParams) WithName(name string) *GetPrivateSecurityGroupParams
WithName adds the name to the get private security group params
func (*GetPrivateSecurityGroupParams) WithTimeout ¶
func (o *GetPrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPrivateSecurityGroupParams
WithTimeout adds the timeout to the get private security group params
func (*GetPrivateSecurityGroupParams) WriteToRequest ¶
func (o *GetPrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivatesSecurityGroupOK) Error() string
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 ¶
func (o *GetPrivatesSecurityGroupParams) WithContext(ctx context.Context) *GetPrivatesSecurityGroupParams
WithContext adds the context to the get privates security group params
func (*GetPrivatesSecurityGroupParams) WithHTTPClient ¶
func (o *GetPrivatesSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPrivatesSecurityGroupParams
WithHTTPClient adds the HTTPClient to the get privates security group params
func (*GetPrivatesSecurityGroupParams) WithTimeout ¶
func (o *GetPrivatesSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPrivatesSecurityGroupParams
WithTimeout adds the timeout to the get privates security group params
func (*GetPrivatesSecurityGroupParams) WriteToRequest ¶
func (o *GetPrivatesSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicSecurityGroupParams) WithContext(ctx context.Context) *GetPublicSecurityGroupParams
WithContext adds the context to the get public security group params
func (*GetPublicSecurityGroupParams) WithHTTPClient ¶
func (o *GetPublicSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPublicSecurityGroupParams
WithHTTPClient adds the HTTPClient to the get public security group params
func (*GetPublicSecurityGroupParams) WithName ¶
func (o *GetPublicSecurityGroupParams) WithName(name string) *GetPublicSecurityGroupParams
WithName adds the name to the get public security group params
func (*GetPublicSecurityGroupParams) WithTimeout ¶
func (o *GetPublicSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPublicSecurityGroupParams
WithTimeout adds the timeout to the get public security group params
func (*GetPublicSecurityGroupParams) WriteToRequest ¶
func (o *GetPublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicsSecurityGroupParams) WithContext(ctx context.Context) *GetPublicsSecurityGroupParams
WithContext adds the context to the get publics security group params
func (*GetPublicsSecurityGroupParams) WithHTTPClient ¶
func (o *GetPublicsSecurityGroupParams) WithHTTPClient(client *http.Client) *GetPublicsSecurityGroupParams
WithHTTPClient adds the HTTPClient to the get publics security group params
func (*GetPublicsSecurityGroupParams) WithTimeout ¶
func (o *GetPublicsSecurityGroupParams) WithTimeout(timeout time.Duration) *GetPublicsSecurityGroupParams
WithTimeout adds the timeout to the get publics security group params
func (*GetPublicsSecurityGroupParams) WriteToRequest ¶
func (o *GetPublicsSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSecurityGroupParams) WithContext(ctx context.Context) *GetSecurityGroupParams
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 ¶
func (o *GetSecurityGroupParams) WithID(id int64) *GetSecurityGroupParams
WithID adds the id to the get security group params
func (*GetSecurityGroupParams) WithTimeout ¶
func (o *GetSecurityGroupParams) WithTimeout(timeout time.Duration) *GetSecurityGroupParams
WithTimeout adds the timeout to the get security group params
func (*GetSecurityGroupParams) WriteToRequest ¶
func (o *GetSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPrivateSecurityGroupOK) Error() string
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 ¶
func (o *PostPrivateSecurityGroupParams) SetBody(body *models_cloudbreak.SecurityGroupRequest)
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 ¶
func (o *PostPrivateSecurityGroupParams) WithBody(body *models_cloudbreak.SecurityGroupRequest) *PostPrivateSecurityGroupParams
WithBody adds the body to the post private security group params
func (*PostPrivateSecurityGroupParams) WithContext ¶
func (o *PostPrivateSecurityGroupParams) WithContext(ctx context.Context) *PostPrivateSecurityGroupParams
WithContext adds the context to the post private security group params
func (*PostPrivateSecurityGroupParams) WithHTTPClient ¶
func (o *PostPrivateSecurityGroupParams) WithHTTPClient(client *http.Client) *PostPrivateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the post private security group params
func (*PostPrivateSecurityGroupParams) WithTimeout ¶
func (o *PostPrivateSecurityGroupParams) WithTimeout(timeout time.Duration) *PostPrivateSecurityGroupParams
WithTimeout adds the timeout to the post private security group params
func (*PostPrivateSecurityGroupParams) WriteToRequest ¶
func (o *PostPrivateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPublicSecurityGroupParams) SetBody(body *models_cloudbreak.SecurityGroupRequest)
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 ¶
func (o *PostPublicSecurityGroupParams) WithBody(body *models_cloudbreak.SecurityGroupRequest) *PostPublicSecurityGroupParams
WithBody adds the body to the post public security group params
func (*PostPublicSecurityGroupParams) WithContext ¶
func (o *PostPublicSecurityGroupParams) WithContext(ctx context.Context) *PostPublicSecurityGroupParams
WithContext adds the context to the post public security group params
func (*PostPublicSecurityGroupParams) WithHTTPClient ¶
func (o *PostPublicSecurityGroupParams) WithHTTPClient(client *http.Client) *PostPublicSecurityGroupParams
WithHTTPClient adds the HTTPClient to the post public security group params
func (*PostPublicSecurityGroupParams) WithTimeout ¶
func (o *PostPublicSecurityGroupParams) WithTimeout(timeout time.Duration) *PostPublicSecurityGroupParams
WithTimeout adds the timeout to the post public security group params
func (*PostPublicSecurityGroupParams) WriteToRequest ¶
func (o *PostPublicSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_private_security_group_parameters.go
- delete_private_security_group_responses.go
- delete_public_security_group_parameters.go
- delete_public_security_group_responses.go
- delete_security_group_parameters.go
- delete_security_group_responses.go
- get_private_security_group_parameters.go
- get_private_security_group_responses.go
- get_privates_security_group_parameters.go
- get_privates_security_group_responses.go
- get_public_security_group_parameters.go
- get_public_security_group_responses.go
- get_publics_security_group_parameters.go
- get_publics_security_group_responses.go
- get_security_group_parameters.go
- get_security_group_responses.go
- post_private_security_group_parameters.go
- post_private_security_group_responses.go
- post_public_security_group_parameters.go
- post_public_security_group_responses.go
- v1securitygroups_client.go