Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetSecurityConfigInternalServerError
- func (o *GetSecurityConfigInternalServerError) Error() string
- func (o *GetSecurityConfigInternalServerError) IsClientError() bool
- func (o *GetSecurityConfigInternalServerError) IsCode(code int) bool
- func (o *GetSecurityConfigInternalServerError) IsRedirect() bool
- func (o *GetSecurityConfigInternalServerError) IsServerError() bool
- func (o *GetSecurityConfigInternalServerError) IsSuccess() bool
- func (o *GetSecurityConfigInternalServerError) String() string
- type GetSecurityConfigOK
- func (o *GetSecurityConfigOK) Error() string
- func (o *GetSecurityConfigOK) GetPayload() *models.FIPS
- func (o *GetSecurityConfigOK) IsClientError() bool
- func (o *GetSecurityConfigOK) IsCode(code int) bool
- func (o *GetSecurityConfigOK) IsRedirect() bool
- func (o *GetSecurityConfigOK) IsServerError() bool
- func (o *GetSecurityConfigOK) IsSuccess() bool
- func (o *GetSecurityConfigOK) String() string
- type GetSecurityConfigParams
- func NewGetSecurityConfigParams() *GetSecurityConfigParams
- func NewGetSecurityConfigParamsWithContext(ctx context.Context) *GetSecurityConfigParams
- func NewGetSecurityConfigParamsWithHTTPClient(client *http.Client) *GetSecurityConfigParams
- func NewGetSecurityConfigParamsWithTimeout(timeout time.Duration) *GetSecurityConfigParams
- func (o *GetSecurityConfigParams) SetContext(ctx context.Context)
- func (o *GetSecurityConfigParams) SetDefaults()
- func (o *GetSecurityConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityConfigParams) WithContext(ctx context.Context) *GetSecurityConfigParams
- func (o *GetSecurityConfigParams) WithDefaults() *GetSecurityConfigParams
- func (o *GetSecurityConfigParams) WithHTTPClient(client *http.Client) *GetSecurityConfigParams
- func (o *GetSecurityConfigParams) WithTimeout(timeout time.Duration) *GetSecurityConfigParams
- func (o *GetSecurityConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityConfigReader
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 fips mode details API
func (*Client) GetSecurityConfig ¶ added in v0.1.1
func (a *Client) GetSecurityConfig(params *GetSecurityConfigParams, opts ...ClientOption) (*GetSecurityConfigOK, error)
GetSecurityConfig gets v c f security configuration
Retrieve VCF security FIPS mode.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetSecurityConfig(params *GetSecurityConfigParams, opts ...ClientOption) (*GetSecurityConfigOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new fips mode details API client.
type GetSecurityConfigInternalServerError ¶ added in v0.1.1
type GetSecurityConfigInternalServerError struct { }
GetSecurityConfigInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSecurityConfigInternalServerError ¶ added in v0.1.1
func NewGetSecurityConfigInternalServerError() *GetSecurityConfigInternalServerError
NewGetSecurityConfigInternalServerError creates a GetSecurityConfigInternalServerError with default headers values
func (*GetSecurityConfigInternalServerError) Error ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) Error() string
func (*GetSecurityConfigInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) IsClientError() bool
IsClientError returns true when this get security config internal server error response has a 4xx status code
func (*GetSecurityConfigInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this get security config internal server error response a status code equal to that given
func (*GetSecurityConfigInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this get security config internal server error response has a 3xx status code
func (*GetSecurityConfigInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) IsServerError() bool
IsServerError returns true when this get security config internal server error response has a 5xx status code
func (*GetSecurityConfigInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this get security config internal server error response has a 2xx status code
func (*GetSecurityConfigInternalServerError) String ¶ added in v0.1.1
func (o *GetSecurityConfigInternalServerError) String() string
type GetSecurityConfigOK ¶ added in v0.1.1
GetSecurityConfigOK describes a response with status code 200, with default header values.
OK
func NewGetSecurityConfigOK ¶ added in v0.1.1
func NewGetSecurityConfigOK() *GetSecurityConfigOK
NewGetSecurityConfigOK creates a GetSecurityConfigOK with default headers values
func (*GetSecurityConfigOK) Error ¶ added in v0.1.1
func (o *GetSecurityConfigOK) Error() string
func (*GetSecurityConfigOK) GetPayload ¶ added in v0.1.1
func (o *GetSecurityConfigOK) GetPayload() *models.FIPS
func (*GetSecurityConfigOK) IsClientError ¶ added in v0.1.1
func (o *GetSecurityConfigOK) IsClientError() bool
IsClientError returns true when this get security config o k response has a 4xx status code
func (*GetSecurityConfigOK) IsCode ¶ added in v0.1.1
func (o *GetSecurityConfigOK) IsCode(code int) bool
IsCode returns true when this get security config o k response a status code equal to that given
func (*GetSecurityConfigOK) IsRedirect ¶ added in v0.1.1
func (o *GetSecurityConfigOK) IsRedirect() bool
IsRedirect returns true when this get security config o k response has a 3xx status code
func (*GetSecurityConfigOK) IsServerError ¶ added in v0.1.1
func (o *GetSecurityConfigOK) IsServerError() bool
IsServerError returns true when this get security config o k response has a 5xx status code
func (*GetSecurityConfigOK) IsSuccess ¶ added in v0.1.1
func (o *GetSecurityConfigOK) IsSuccess() bool
IsSuccess returns true when this get security config o k response has a 2xx status code
func (*GetSecurityConfigOK) String ¶ added in v0.1.1
func (o *GetSecurityConfigOK) String() string
type GetSecurityConfigParams ¶ added in v0.1.1
type GetSecurityConfigParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityConfigParams contains all the parameters to send to the API endpoint
for the get security config operation. Typically these are written to a http.Request.
func NewGetSecurityConfigParams ¶ added in v0.1.1
func NewGetSecurityConfigParams() *GetSecurityConfigParams
NewGetSecurityConfigParams creates a new GetSecurityConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecurityConfigParamsWithContext ¶ added in v0.1.1
func NewGetSecurityConfigParamsWithContext(ctx context.Context) *GetSecurityConfigParams
NewGetSecurityConfigParamsWithContext creates a new GetSecurityConfigParams object with the ability to set a context for a request.
func NewGetSecurityConfigParamsWithHTTPClient ¶ added in v0.1.1
func NewGetSecurityConfigParamsWithHTTPClient(client *http.Client) *GetSecurityConfigParams
NewGetSecurityConfigParamsWithHTTPClient creates a new GetSecurityConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityConfigParamsWithTimeout ¶ added in v0.1.1
func NewGetSecurityConfigParamsWithTimeout(timeout time.Duration) *GetSecurityConfigParams
NewGetSecurityConfigParamsWithTimeout creates a new GetSecurityConfigParams object with the ability to set a timeout on a request.
func (*GetSecurityConfigParams) SetContext ¶ added in v0.1.1
func (o *GetSecurityConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get security config params
func (*GetSecurityConfigParams) SetDefaults ¶ added in v0.1.1
func (o *GetSecurityConfigParams) SetDefaults()
SetDefaults hydrates default values in the get security config params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityConfigParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetSecurityConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security config params
func (*GetSecurityConfigParams) SetTimeout ¶ added in v0.1.1
func (o *GetSecurityConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security config params
func (*GetSecurityConfigParams) WithContext ¶ added in v0.1.1
func (o *GetSecurityConfigParams) WithContext(ctx context.Context) *GetSecurityConfigParams
WithContext adds the context to the get security config params
func (*GetSecurityConfigParams) WithDefaults ¶ added in v0.1.1
func (o *GetSecurityConfigParams) WithDefaults() *GetSecurityConfigParams
WithDefaults hydrates default values in the get security config params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityConfigParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetSecurityConfigParams) WithHTTPClient(client *http.Client) *GetSecurityConfigParams
WithHTTPClient adds the HTTPClient to the get security config params
func (*GetSecurityConfigParams) WithTimeout ¶ added in v0.1.1
func (o *GetSecurityConfigParams) WithTimeout(timeout time.Duration) *GetSecurityConfigParams
WithTimeout adds the timeout to the get security config params
func (*GetSecurityConfigParams) WriteToRequest ¶ added in v0.1.1
func (o *GetSecurityConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityConfigReader ¶ added in v0.1.1
type GetSecurityConfigReader struct {
// contains filtered or unexported fields
}
GetSecurityConfigReader is a Reader for the GetSecurityConfig structure.
func (*GetSecurityConfigReader) ReadResponse ¶ added in v0.1.1
func (o *GetSecurityConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.