Documentation ¶
Index ¶
- type Client
- type GetDefaultSecurityRulesOK
- type GetDefaultSecurityRulesParams
- func NewGetDefaultSecurityRulesParams() *GetDefaultSecurityRulesParams
- func NewGetDefaultSecurityRulesParamsWithContext(ctx context.Context) *GetDefaultSecurityRulesParams
- func NewGetDefaultSecurityRulesParamsWithHTTPClient(client *http.Client) *GetDefaultSecurityRulesParams
- func NewGetDefaultSecurityRulesParamsWithTimeout(timeout time.Duration) *GetDefaultSecurityRulesParams
- func (o *GetDefaultSecurityRulesParams) SetContext(ctx context.Context)
- func (o *GetDefaultSecurityRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultSecurityRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultSecurityRulesParams) WithContext(ctx context.Context) *GetDefaultSecurityRulesParams
- func (o *GetDefaultSecurityRulesParams) WithHTTPClient(client *http.Client) *GetDefaultSecurityRulesParams
- func (o *GetDefaultSecurityRulesParams) WithTimeout(timeout time.Duration) *GetDefaultSecurityRulesParams
- func (o *GetDefaultSecurityRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultSecurityRulesReader
- type GetPublicIpsOK
- type GetPublicIpsParams
- func (o *GetPublicIpsParams) SetContext(ctx context.Context)
- func (o *GetPublicIpsParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicIpsParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicIpsParams) WithContext(ctx context.Context) *GetPublicIpsParams
- func (o *GetPublicIpsParams) WithHTTPClient(client *http.Client) *GetPublicIpsParams
- func (o *GetPublicIpsParams) WithTimeout(timeout time.Duration) *GetPublicIpsParams
- func (o *GetPublicIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicIpsReader
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 v1securityrules API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1securityrules API client.
func (*Client) GetDefaultSecurityRules ¶
func (a *Client) GetDefaultSecurityRules(params *GetDefaultSecurityRulesParams) (*GetDefaultSecurityRulesOK, error)
GetDefaultSecurityRules gets default security rules
Security Rules operations
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetDefaultSecurityRulesOK ¶
type GetDefaultSecurityRulesOK struct {
Payload *models_cloudbreak.SecurityRulesResponse
}
GetDefaultSecurityRulesOK handles this case with default header values.
successful operation
func NewGetDefaultSecurityRulesOK ¶
func NewGetDefaultSecurityRulesOK() *GetDefaultSecurityRulesOK
NewGetDefaultSecurityRulesOK creates a GetDefaultSecurityRulesOK with default headers values
func (*GetDefaultSecurityRulesOK) Error ¶
func (o *GetDefaultSecurityRulesOK) Error() string
type GetDefaultSecurityRulesParams ¶
type GetDefaultSecurityRulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultSecurityRulesParams contains all the parameters to send to the API endpoint for the get default security rules operation typically these are written to a http.Request
func NewGetDefaultSecurityRulesParams ¶
func NewGetDefaultSecurityRulesParams() *GetDefaultSecurityRulesParams
NewGetDefaultSecurityRulesParams creates a new GetDefaultSecurityRulesParams object with the default values initialized.
func NewGetDefaultSecurityRulesParamsWithContext ¶
func NewGetDefaultSecurityRulesParamsWithContext(ctx context.Context) *GetDefaultSecurityRulesParams
NewGetDefaultSecurityRulesParamsWithContext creates a new GetDefaultSecurityRulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetDefaultSecurityRulesParamsWithHTTPClient ¶
func NewGetDefaultSecurityRulesParamsWithHTTPClient(client *http.Client) *GetDefaultSecurityRulesParams
NewGetDefaultSecurityRulesParamsWithHTTPClient creates a new GetDefaultSecurityRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDefaultSecurityRulesParamsWithTimeout ¶
func NewGetDefaultSecurityRulesParamsWithTimeout(timeout time.Duration) *GetDefaultSecurityRulesParams
NewGetDefaultSecurityRulesParamsWithTimeout creates a new GetDefaultSecurityRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDefaultSecurityRulesParams) SetContext ¶
func (o *GetDefaultSecurityRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get default security rules params
func (*GetDefaultSecurityRulesParams) SetHTTPClient ¶
func (o *GetDefaultSecurityRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get default security rules params
func (*GetDefaultSecurityRulesParams) SetTimeout ¶
func (o *GetDefaultSecurityRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get default security rules params
func (*GetDefaultSecurityRulesParams) WithContext ¶
func (o *GetDefaultSecurityRulesParams) WithContext(ctx context.Context) *GetDefaultSecurityRulesParams
WithContext adds the context to the get default security rules params
func (*GetDefaultSecurityRulesParams) WithHTTPClient ¶
func (o *GetDefaultSecurityRulesParams) WithHTTPClient(client *http.Client) *GetDefaultSecurityRulesParams
WithHTTPClient adds the HTTPClient to the get default security rules params
func (*GetDefaultSecurityRulesParams) WithTimeout ¶
func (o *GetDefaultSecurityRulesParams) WithTimeout(timeout time.Duration) *GetDefaultSecurityRulesParams
WithTimeout adds the timeout to the get default security rules params
func (*GetDefaultSecurityRulesParams) WriteToRequest ¶
func (o *GetDefaultSecurityRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultSecurityRulesReader ¶
type GetDefaultSecurityRulesReader struct {
// contains filtered or unexported fields
}
GetDefaultSecurityRulesReader is a Reader for the GetDefaultSecurityRules structure.
func (*GetDefaultSecurityRulesReader) ReadResponse ¶
func (o *GetDefaultSecurityRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicIpsOK ¶
type GetPublicIpsOK struct {
Payload *models_cloudbreak.SecurityRulesResponse
}
GetPublicIpsOK handles this case with default header values.
successful operation
func NewGetPublicIpsOK ¶
func NewGetPublicIpsOK() *GetPublicIpsOK
NewGetPublicIpsOK creates a GetPublicIpsOK with default headers values
func (*GetPublicIpsOK) Error ¶
func (o *GetPublicIpsOK) Error() string
type GetPublicIpsParams ¶
type GetPublicIpsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicIpsParams contains all the parameters to send to the API endpoint for the get public ips operation typically these are written to a http.Request
func NewGetPublicIpsParams ¶
func NewGetPublicIpsParams() *GetPublicIpsParams
NewGetPublicIpsParams creates a new GetPublicIpsParams object with the default values initialized.
func NewGetPublicIpsParamsWithContext ¶
func NewGetPublicIpsParamsWithContext(ctx context.Context) *GetPublicIpsParams
NewGetPublicIpsParamsWithContext creates a new GetPublicIpsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicIpsParamsWithHTTPClient ¶
func NewGetPublicIpsParamsWithHTTPClient(client *http.Client) *GetPublicIpsParams
NewGetPublicIpsParamsWithHTTPClient creates a new GetPublicIpsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicIpsParamsWithTimeout ¶
func NewGetPublicIpsParamsWithTimeout(timeout time.Duration) *GetPublicIpsParams
NewGetPublicIpsParamsWithTimeout creates a new GetPublicIpsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicIpsParams) SetContext ¶
func (o *GetPublicIpsParams) SetContext(ctx context.Context)
SetContext adds the context to the get public ips params
func (*GetPublicIpsParams) SetHTTPClient ¶
func (o *GetPublicIpsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public ips params
func (*GetPublicIpsParams) SetTimeout ¶
func (o *GetPublicIpsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public ips params
func (*GetPublicIpsParams) WithContext ¶
func (o *GetPublicIpsParams) WithContext(ctx context.Context) *GetPublicIpsParams
WithContext adds the context to the get public ips params
func (*GetPublicIpsParams) WithHTTPClient ¶
func (o *GetPublicIpsParams) WithHTTPClient(client *http.Client) *GetPublicIpsParams
WithHTTPClient adds the HTTPClient to the get public ips params
func (*GetPublicIpsParams) WithTimeout ¶
func (o *GetPublicIpsParams) WithTimeout(timeout time.Duration) *GetPublicIpsParams
WithTimeout adds the timeout to the get public ips params
func (*GetPublicIpsParams) WriteToRequest ¶
func (o *GetPublicIpsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicIpsReader ¶
type GetPublicIpsReader struct {
// contains filtered or unexported fields
}
GetPublicIpsReader is a Reader for the GetPublicIps structure.
func (*GetPublicIpsReader) ReadResponse ¶
func (o *GetPublicIpsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.