m_c_s_secret

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 20, 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) (*McsGenerateSecretUsingPOSTOK, error)

McsGenerateSecretUsingPOST generates m c s secret

Generate MCS Secret

func (*Client) McsGetSecretUsingGET

func (a *Client) McsGetSecretUsingGET(params *McsGetSecretUsingGETParams) (*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 ClientService

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

	McsGetSecretUsingGET(params *McsGetSecretUsingGETParams) (*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 handles this case 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 handles this case 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 values initialized.

func NewMcsGenerateSecretUsingPOSTParamsWithContext

func NewMcsGenerateSecretUsingPOSTParamsWithContext(ctx context.Context) *McsGenerateSecretUsingPOSTParams

NewMcsGenerateSecretUsingPOSTParamsWithContext creates a new McsGenerateSecretUsingPOSTParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewMcsGetSecretUsingGETParamsWithContext

func NewMcsGetSecretUsingGETParamsWithContext(ctx context.Context) *McsGetSecretUsingGETParams

NewMcsGetSecretUsingGETParamsWithContext creates a new McsGetSecretUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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