fips_mode_details

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 10 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 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 (*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

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

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

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

type GetSecurityConfigOK added in v0.1.1

type GetSecurityConfigOK struct {
	Payload *models.FIPS
}

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

WithContext adds the context to the get security config params

func (*GetSecurityConfigParams) WithDefaults added in v0.1.1

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

WithTimeout adds the timeout to the get security config params

func (*GetSecurityConfigParams) WriteToRequest added in v0.1.1

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.

Jump to

Keyboard shortcuts

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