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
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.