m_c_s_secret

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 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 m c s secret API

func (*Client) McsGenerateSecretUsingPOST

func (a *Client) McsGenerateSecretUsingPOST(params *McsGenerateSecretUsingPOSTParams, opts ...ClientOption) (*McsGenerateSecretUsingPOSTOK, error)

McsGenerateSecretUsingPOST generates m c s secret

Generate MCS Secret

func (*Client) McsGetSecretUsingGET

func (a *Client) McsGetSecretUsingGET(params *McsGetSecretUsingGETParams, opts ...ClientOption) (*McsGetSecretUsingGETOK, error)

McsGetSecretUsingGET gets m c s secret

Get MCS secret

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	McsGenerateSecretUsingPOST(params *McsGenerateSecretUsingPOSTParams, opts ...ClientOption) (*McsGenerateSecretUsingPOSTOK, error)

	McsGetSecretUsingGET(params *McsGetSecretUsingGETParams, opts ...ClientOption) (*McsGetSecretUsingGETOK, 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 m c s secret API client.

type McsGenerateSecretUsingPOSTBadRequest

type McsGenerateSecretUsingPOSTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
McsGenerateSecretUsingPOSTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewMcsGenerateSecretUsingPOSTBadRequest

func NewMcsGenerateSecretUsingPOSTBadRequest() *McsGenerateSecretUsingPOSTBadRequest

NewMcsGenerateSecretUsingPOSTBadRequest creates a McsGenerateSecretUsingPOSTBadRequest with default headers values

func (*McsGenerateSecretUsingPOSTBadRequest) Error

func (*McsGenerateSecretUsingPOSTBadRequest) GetPayload

type McsGenerateSecretUsingPOSTOK

type McsGenerateSecretUsingPOSTOK struct {
	Payload *models.McsSecretGenerateResponse
}
McsGenerateSecretUsingPOSTOK describes a response with status code 200, with default header values.

Request has been completed successfully

func NewMcsGenerateSecretUsingPOSTOK

func NewMcsGenerateSecretUsingPOSTOK() *McsGenerateSecretUsingPOSTOK

NewMcsGenerateSecretUsingPOSTOK creates a McsGenerateSecretUsingPOSTOK with default headers values

func (*McsGenerateSecretUsingPOSTOK) Error

func (*McsGenerateSecretUsingPOSTOK) GetPayload

type McsGenerateSecretUsingPOSTParams

type McsGenerateSecretUsingPOSTParams struct {

	/* McsSecret.

	   mcsSecret
	*/
	McsSecret *models.McsSecret

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

McsGenerateSecretUsingPOSTParams contains all the parameters to send to the API endpoint

for the mcs generate secret using p o s t operation.

Typically these are written to a http.Request.

func NewMcsGenerateSecretUsingPOSTParams

func NewMcsGenerateSecretUsingPOSTParams() *McsGenerateSecretUsingPOSTParams

NewMcsGenerateSecretUsingPOSTParams creates a new McsGenerateSecretUsingPOSTParams 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 NewMcsGenerateSecretUsingPOSTParamsWithContext

func NewMcsGenerateSecretUsingPOSTParamsWithContext(ctx context.Context) *McsGenerateSecretUsingPOSTParams

NewMcsGenerateSecretUsingPOSTParamsWithContext creates a new McsGenerateSecretUsingPOSTParams object with the ability to set a context for a request.

func NewMcsGenerateSecretUsingPOSTParamsWithHTTPClient

func NewMcsGenerateSecretUsingPOSTParamsWithHTTPClient(client *http.Client) *McsGenerateSecretUsingPOSTParams

NewMcsGenerateSecretUsingPOSTParamsWithHTTPClient creates a new McsGenerateSecretUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewMcsGenerateSecretUsingPOSTParamsWithTimeout

func NewMcsGenerateSecretUsingPOSTParamsWithTimeout(timeout time.Duration) *McsGenerateSecretUsingPOSTParams

NewMcsGenerateSecretUsingPOSTParamsWithTimeout creates a new McsGenerateSecretUsingPOSTParams object with the ability to set a timeout on a request.

func (*McsGenerateSecretUsingPOSTParams) SetContext

SetContext adds the context to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) SetDefaults added in v1.2.4

func (o *McsGenerateSecretUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the mcs generate secret using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*McsGenerateSecretUsingPOSTParams) SetHTTPClient

func (o *McsGenerateSecretUsingPOSTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) SetMcsSecret

func (o *McsGenerateSecretUsingPOSTParams) SetMcsSecret(mcsSecret *models.McsSecret)

SetMcsSecret adds the mcsSecret to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) SetTimeout

func (o *McsGenerateSecretUsingPOSTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) WithContext

WithContext adds the context to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the mcs generate secret using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*McsGenerateSecretUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) WithMcsSecret

WithMcsSecret adds the mcsSecret to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the mcs generate secret using p o s t params

func (*McsGenerateSecretUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type McsGenerateSecretUsingPOSTReader

type McsGenerateSecretUsingPOSTReader struct {
	// contains filtered or unexported fields
}

McsGenerateSecretUsingPOSTReader is a Reader for the McsGenerateSecretUsingPOST structure.

func (*McsGenerateSecretUsingPOSTReader) ReadResponse

func (o *McsGenerateSecretUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type McsGetSecretUsingGETBadRequest

type McsGetSecretUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
McsGetSecretUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewMcsGetSecretUsingGETBadRequest

func NewMcsGetSecretUsingGETBadRequest() *McsGetSecretUsingGETBadRequest

NewMcsGetSecretUsingGETBadRequest creates a McsGetSecretUsingGETBadRequest with default headers values

func (*McsGetSecretUsingGETBadRequest) Error

func (*McsGetSecretUsingGETBadRequest) GetPayload

type McsGetSecretUsingGETOK

type McsGetSecretUsingGETOK struct {
	Payload *models.McsSecretGetResponse
}
McsGetSecretUsingGETOK describes a response with status code 200, with default header values.

OK

func NewMcsGetSecretUsingGETOK

func NewMcsGetSecretUsingGETOK() *McsGetSecretUsingGETOK

NewMcsGetSecretUsingGETOK creates a McsGetSecretUsingGETOK with default headers values

func (*McsGetSecretUsingGETOK) Error

func (o *McsGetSecretUsingGETOK) Error() string

func (*McsGetSecretUsingGETOK) GetPayload

type McsGetSecretUsingGETParams

type McsGetSecretUsingGETParams struct {

	/* Username.

	   username
	*/
	Username string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

McsGetSecretUsingGETParams contains all the parameters to send to the API endpoint

for the mcs get secret using g e t operation.

Typically these are written to a http.Request.

func NewMcsGetSecretUsingGETParams

func NewMcsGetSecretUsingGETParams() *McsGetSecretUsingGETParams

NewMcsGetSecretUsingGETParams creates a new McsGetSecretUsingGETParams 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 NewMcsGetSecretUsingGETParamsWithContext

func NewMcsGetSecretUsingGETParamsWithContext(ctx context.Context) *McsGetSecretUsingGETParams

NewMcsGetSecretUsingGETParamsWithContext creates a new McsGetSecretUsingGETParams object with the ability to set a context for a request.

func NewMcsGetSecretUsingGETParamsWithHTTPClient

func NewMcsGetSecretUsingGETParamsWithHTTPClient(client *http.Client) *McsGetSecretUsingGETParams

NewMcsGetSecretUsingGETParamsWithHTTPClient creates a new McsGetSecretUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewMcsGetSecretUsingGETParamsWithTimeout

func NewMcsGetSecretUsingGETParamsWithTimeout(timeout time.Duration) *McsGetSecretUsingGETParams

NewMcsGetSecretUsingGETParamsWithTimeout creates a new McsGetSecretUsingGETParams object with the ability to set a timeout on a request.

func (*McsGetSecretUsingGETParams) SetContext

func (o *McsGetSecretUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) SetDefaults added in v1.2.4

func (o *McsGetSecretUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the mcs get secret using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*McsGetSecretUsingGETParams) SetHTTPClient

func (o *McsGetSecretUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) SetTimeout

func (o *McsGetSecretUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) SetUsername

func (o *McsGetSecretUsingGETParams) SetUsername(username string)

SetUsername adds the username to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) WithContext

WithContext adds the context to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the mcs get secret using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*McsGetSecretUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) WithTimeout

WithTimeout adds the timeout to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) WithUsername

WithUsername adds the username to the mcs get secret using g e t params

func (*McsGetSecretUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type McsGetSecretUsingGETReader

type McsGetSecretUsingGETReader struct {
	// contains filtered or unexported fields
}

McsGetSecretUsingGETReader is a Reader for the McsGetSecretUsingGET structure.

func (*McsGetSecretUsingGETReader) ReadResponse

func (o *McsGetSecretUsingGETReader) 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