Documentation
¶
Index ¶
- type Client
- type ClientService
- type McsGenerateSecretUsingPOSTBadRequest
- type McsGenerateSecretUsingPOSTOK
- type McsGenerateSecretUsingPOSTParams
- func NewMcsGenerateSecretUsingPOSTParams() *McsGenerateSecretUsingPOSTParams
- func NewMcsGenerateSecretUsingPOSTParamsWithContext(ctx context.Context) *McsGenerateSecretUsingPOSTParams
- func NewMcsGenerateSecretUsingPOSTParamsWithHTTPClient(client *http.Client) *McsGenerateSecretUsingPOSTParams
- func NewMcsGenerateSecretUsingPOSTParamsWithTimeout(timeout time.Duration) *McsGenerateSecretUsingPOSTParams
- func (o *McsGenerateSecretUsingPOSTParams) SetContext(ctx context.Context)
- func (o *McsGenerateSecretUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *McsGenerateSecretUsingPOSTParams) SetMcsSecret(mcsSecret *models.McsSecret)
- func (o *McsGenerateSecretUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *McsGenerateSecretUsingPOSTParams) WithContext(ctx context.Context) *McsGenerateSecretUsingPOSTParams
- func (o *McsGenerateSecretUsingPOSTParams) WithHTTPClient(client *http.Client) *McsGenerateSecretUsingPOSTParams
- func (o *McsGenerateSecretUsingPOSTParams) WithMcsSecret(mcsSecret *models.McsSecret) *McsGenerateSecretUsingPOSTParams
- func (o *McsGenerateSecretUsingPOSTParams) WithTimeout(timeout time.Duration) *McsGenerateSecretUsingPOSTParams
- func (o *McsGenerateSecretUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type McsGenerateSecretUsingPOSTReader
- type McsGetSecretUsingGETBadRequest
- type McsGetSecretUsingGETOK
- type McsGetSecretUsingGETParams
- func NewMcsGetSecretUsingGETParams() *McsGetSecretUsingGETParams
- func NewMcsGetSecretUsingGETParamsWithContext(ctx context.Context) *McsGetSecretUsingGETParams
- func NewMcsGetSecretUsingGETParamsWithHTTPClient(client *http.Client) *McsGetSecretUsingGETParams
- func NewMcsGetSecretUsingGETParamsWithTimeout(timeout time.Duration) *McsGetSecretUsingGETParams
- func (o *McsGetSecretUsingGETParams) SetContext(ctx context.Context)
- func (o *McsGetSecretUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *McsGetSecretUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *McsGetSecretUsingGETParams) SetUsername(username string)
- func (o *McsGetSecretUsingGETParams) WithContext(ctx context.Context) *McsGetSecretUsingGETParams
- func (o *McsGetSecretUsingGETParams) WithHTTPClient(client *http.Client) *McsGetSecretUsingGETParams
- func (o *McsGetSecretUsingGETParams) WithTimeout(timeout time.Duration) *McsGetSecretUsingGETParams
- func (o *McsGetSecretUsingGETParams) WithUsername(username string) *McsGetSecretUsingGETParams
- func (o *McsGetSecretUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type McsGetSecretUsingGETReader
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 (o *McsGenerateSecretUsingPOSTBadRequest) Error() string
func (*McsGenerateSecretUsingPOSTBadRequest) GetPayload ¶
func (o *McsGenerateSecretUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *McsGenerateSecretUsingPOSTOK) Error() string
func (*McsGenerateSecretUsingPOSTOK) GetPayload ¶
func (o *McsGenerateSecretUsingPOSTOK) GetPayload() *models.McsSecretGenerateResponse
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 ¶
func (o *McsGenerateSecretUsingPOSTParams) SetContext(ctx context.Context)
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 ¶
func (o *McsGenerateSecretUsingPOSTParams) WithContext(ctx context.Context) *McsGenerateSecretUsingPOSTParams
WithContext adds the context to the mcs generate secret using p o s t params
func (*McsGenerateSecretUsingPOSTParams) WithHTTPClient ¶
func (o *McsGenerateSecretUsingPOSTParams) WithHTTPClient(client *http.Client) *McsGenerateSecretUsingPOSTParams
WithHTTPClient adds the HTTPClient to the mcs generate secret using p o s t params
func (*McsGenerateSecretUsingPOSTParams) WithMcsSecret ¶
func (o *McsGenerateSecretUsingPOSTParams) WithMcsSecret(mcsSecret *models.McsSecret) *McsGenerateSecretUsingPOSTParams
WithMcsSecret adds the mcsSecret to the mcs generate secret using p o s t params
func (*McsGenerateSecretUsingPOSTParams) WithTimeout ¶
func (o *McsGenerateSecretUsingPOSTParams) WithTimeout(timeout time.Duration) *McsGenerateSecretUsingPOSTParams
WithTimeout adds the timeout to the mcs generate secret using p o s t params
func (*McsGenerateSecretUsingPOSTParams) WriteToRequest ¶
func (o *McsGenerateSecretUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *McsGetSecretUsingGETBadRequest) Error() string
func (*McsGetSecretUsingGETBadRequest) GetPayload ¶
func (o *McsGetSecretUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *McsGetSecretUsingGETOK) GetPayload() *models.McsSecretGetResponse
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 ¶
func (o *McsGetSecretUsingGETParams) WithContext(ctx context.Context) *McsGetSecretUsingGETParams
WithContext adds the context to the mcs get secret using g e t params
func (*McsGetSecretUsingGETParams) WithHTTPClient ¶
func (o *McsGetSecretUsingGETParams) WithHTTPClient(client *http.Client) *McsGetSecretUsingGETParams
WithHTTPClient adds the HTTPClient to the mcs get secret using g e t params
func (*McsGetSecretUsingGETParams) WithTimeout ¶
func (o *McsGetSecretUsingGETParams) WithTimeout(timeout time.Duration) *McsGetSecretUsingGETParams
WithTimeout adds the timeout to the mcs get secret using g e t params
func (*McsGetSecretUsingGETParams) WithUsername ¶
func (o *McsGetSecretUsingGETParams) WithUsername(username string) *McsGetSecretUsingGETParams
WithUsername adds the username to the mcs get secret using g e t params
func (*McsGetSecretUsingGETParams) WriteToRequest ¶
func (o *McsGetSecretUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.