Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetSecretForbidden
- type GetSecretNotFound
- type GetSecretParams
- func (o *GetSecretParams) SetContext(ctx context.Context)
- func (o *GetSecretParams) SetDefaults()
- func (o *GetSecretParams) SetHTTPClient(client *http.Client)
- func (o *GetSecretParams) SetTimeout(timeout time.Duration)
- func (o *GetSecretParams) WithContext(ctx context.Context) *GetSecretParams
- func (o *GetSecretParams) WithDefaults() *GetSecretParams
- func (o *GetSecretParams) WithHTTPClient(client *http.Client) *GetSecretParams
- func (o *GetSecretParams) WithTimeout(timeout time.Duration) *GetSecretParams
- func (o *GetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecretReader
- type GetSecretUnauthorized
- type ResetSecretForbidden
- type ResetSecretParams
- func (o *ResetSecretParams) SetContext(ctx context.Context)
- func (o *ResetSecretParams) SetDefaults()
- func (o *ResetSecretParams) SetHTTPClient(client *http.Client)
- func (o *ResetSecretParams) SetTimeout(timeout time.Duration)
- func (o *ResetSecretParams) WithContext(ctx context.Context) *ResetSecretParams
- func (o *ResetSecretParams) WithDefaults() *ResetSecretParams
- func (o *ResetSecretParams) WithHTTPClient(client *http.Client) *ResetSecretParams
- func (o *ResetSecretParams) WithTimeout(timeout time.Duration) *ResetSecretParams
- func (o *ResetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetSecretReader
- type ResetSecretUnauthorized
- type UpdateSecretForbidden
- type UpdateSecretParams
- func (o *UpdateSecretParams) SetBody(body string)
- func (o *UpdateSecretParams) SetContext(ctx context.Context)
- func (o *UpdateSecretParams) SetDefaults()
- func (o *UpdateSecretParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSecretParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSecretParams) WithBody(body string) *UpdateSecretParams
- func (o *UpdateSecretParams) WithContext(ctx context.Context) *UpdateSecretParams
- func (o *UpdateSecretParams) WithDefaults() *UpdateSecretParams
- func (o *UpdateSecretParams) WithHTTPClient(client *http.Client) *UpdateSecretParams
- func (o *UpdateSecretParams) WithTimeout(timeout time.Duration) *UpdateSecretParams
- func (o *UpdateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSecretReader
- type UpdateSecretUnauthorized
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 security management j w t API
func (*Client) ResetSecret ¶
func (a *Client) ResetSecret(params *ResetSecretParams, opts ...ClientOption) error
ResetSecret resets j w t secret note that session will be expired for the all logged in users
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 { ResetSecret(params *ResetSecretParams, opts ...ClientOption) 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 security management j w t API client.
type GetSecretForbidden ¶
type GetSecretForbidden struct { }
GetSecretForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewGetSecretForbidden ¶
func NewGetSecretForbidden() *GetSecretForbidden
NewGetSecretForbidden creates a GetSecretForbidden with default headers values
func (*GetSecretForbidden) Error ¶
func (o *GetSecretForbidden) Error() string
type GetSecretNotFound ¶
type GetSecretNotFound struct { }
GetSecretNotFound describes a response with status code 404, with default header values.
Secret is not found
func NewGetSecretNotFound ¶
func NewGetSecretNotFound() *GetSecretNotFound
NewGetSecretNotFound creates a GetSecretNotFound with default headers values
func (*GetSecretNotFound) Error ¶
func (o *GetSecretNotFound) Error() string
type GetSecretParams ¶
type GetSecretParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecretParams contains all the parameters to send to the API endpoint
for the get secret operation. Typically these are written to a http.Request.
func NewGetSecretParams ¶
func NewGetSecretParams() *GetSecretParams
NewGetSecretParams creates a new GetSecretParams 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 NewGetSecretParamsWithContext ¶
func NewGetSecretParamsWithContext(ctx context.Context) *GetSecretParams
NewGetSecretParamsWithContext creates a new GetSecretParams object with the ability to set a context for a request.
func NewGetSecretParamsWithHTTPClient ¶
func NewGetSecretParamsWithHTTPClient(client *http.Client) *GetSecretParams
NewGetSecretParamsWithHTTPClient creates a new GetSecretParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecretParamsWithTimeout ¶
func NewGetSecretParamsWithTimeout(timeout time.Duration) *GetSecretParams
NewGetSecretParamsWithTimeout creates a new GetSecretParams object with the ability to set a timeout on a request.
func (*GetSecretParams) SetContext ¶
func (o *GetSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the get secret params
func (*GetSecretParams) SetDefaults ¶
func (o *GetSecretParams) SetDefaults()
SetDefaults hydrates default values in the get secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretParams) SetHTTPClient ¶
func (o *GetSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get secret params
func (*GetSecretParams) SetTimeout ¶
func (o *GetSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get secret params
func (*GetSecretParams) WithContext ¶
func (o *GetSecretParams) WithContext(ctx context.Context) *GetSecretParams
WithContext adds the context to the get secret params
func (*GetSecretParams) WithDefaults ¶
func (o *GetSecretParams) WithDefaults() *GetSecretParams
WithDefaults hydrates default values in the get secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecretParams) WithHTTPClient ¶
func (o *GetSecretParams) WithHTTPClient(client *http.Client) *GetSecretParams
WithHTTPClient adds the HTTPClient to the get secret params
func (*GetSecretParams) WithTimeout ¶
func (o *GetSecretParams) WithTimeout(timeout time.Duration) *GetSecretParams
WithTimeout adds the timeout to the get secret params
func (*GetSecretParams) WriteToRequest ¶
func (o *GetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecretReader ¶
type GetSecretReader struct {
// contains filtered or unexported fields
}
GetSecretReader is a Reader for the GetSecret structure.
func (*GetSecretReader) ReadResponse ¶
func (o *GetSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecretUnauthorized ¶
type GetSecretUnauthorized struct { }
GetSecretUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewGetSecretUnauthorized ¶
func NewGetSecretUnauthorized() *GetSecretUnauthorized
NewGetSecretUnauthorized creates a GetSecretUnauthorized with default headers values
func (*GetSecretUnauthorized) Error ¶
func (o *GetSecretUnauthorized) Error() string
type ResetSecretForbidden ¶
type ResetSecretForbidden struct { }
ResetSecretForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewResetSecretForbidden ¶
func NewResetSecretForbidden() *ResetSecretForbidden
NewResetSecretForbidden creates a ResetSecretForbidden with default headers values
func (*ResetSecretForbidden) Error ¶
func (o *ResetSecretForbidden) Error() string
type ResetSecretParams ¶
type ResetSecretParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetSecretParams contains all the parameters to send to the API endpoint
for the reset secret operation. Typically these are written to a http.Request.
func NewResetSecretParams ¶
func NewResetSecretParams() *ResetSecretParams
NewResetSecretParams creates a new ResetSecretParams 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 NewResetSecretParamsWithContext ¶
func NewResetSecretParamsWithContext(ctx context.Context) *ResetSecretParams
NewResetSecretParamsWithContext creates a new ResetSecretParams object with the ability to set a context for a request.
func NewResetSecretParamsWithHTTPClient ¶
func NewResetSecretParamsWithHTTPClient(client *http.Client) *ResetSecretParams
NewResetSecretParamsWithHTTPClient creates a new ResetSecretParams object with the ability to set a custom HTTPClient for a request.
func NewResetSecretParamsWithTimeout ¶
func NewResetSecretParamsWithTimeout(timeout time.Duration) *ResetSecretParams
NewResetSecretParamsWithTimeout creates a new ResetSecretParams object with the ability to set a timeout on a request.
func (*ResetSecretParams) SetContext ¶
func (o *ResetSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the reset secret params
func (*ResetSecretParams) SetDefaults ¶
func (o *ResetSecretParams) SetDefaults()
SetDefaults hydrates default values in the reset secret params (not the query body).
All values with no default are reset to their zero value.
func (*ResetSecretParams) SetHTTPClient ¶
func (o *ResetSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset secret params
func (*ResetSecretParams) SetTimeout ¶
func (o *ResetSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset secret params
func (*ResetSecretParams) WithContext ¶
func (o *ResetSecretParams) WithContext(ctx context.Context) *ResetSecretParams
WithContext adds the context to the reset secret params
func (*ResetSecretParams) WithDefaults ¶
func (o *ResetSecretParams) WithDefaults() *ResetSecretParams
WithDefaults hydrates default values in the reset secret params (not the query body).
All values with no default are reset to their zero value.
func (*ResetSecretParams) WithHTTPClient ¶
func (o *ResetSecretParams) WithHTTPClient(client *http.Client) *ResetSecretParams
WithHTTPClient adds the HTTPClient to the reset secret params
func (*ResetSecretParams) WithTimeout ¶
func (o *ResetSecretParams) WithTimeout(timeout time.Duration) *ResetSecretParams
WithTimeout adds the timeout to the reset secret params
func (*ResetSecretParams) WriteToRequest ¶
func (o *ResetSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetSecretReader ¶
type ResetSecretReader struct {
// contains filtered or unexported fields
}
ResetSecretReader is a Reader for the ResetSecret structure.
func (*ResetSecretReader) ReadResponse ¶
func (o *ResetSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetSecretUnauthorized ¶
type ResetSecretUnauthorized struct { }
ResetSecretUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewResetSecretUnauthorized ¶
func NewResetSecretUnauthorized() *ResetSecretUnauthorized
NewResetSecretUnauthorized creates a ResetSecretUnauthorized with default headers values
func (*ResetSecretUnauthorized) Error ¶
func (o *ResetSecretUnauthorized) Error() string
type UpdateSecretForbidden ¶
type UpdateSecretForbidden struct { }
UpdateSecretForbidden describes a response with status code 403, with default header values.
Insufficient permissions
func NewUpdateSecretForbidden ¶
func NewUpdateSecretForbidden() *UpdateSecretForbidden
NewUpdateSecretForbidden creates a UpdateSecretForbidden with default headers values
func (*UpdateSecretForbidden) Error ¶
func (o *UpdateSecretForbidden) Error() string
type UpdateSecretParams ¶
type UpdateSecretParams struct { // Body. Body string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSecretParams contains all the parameters to send to the API endpoint
for the update secret operation. Typically these are written to a http.Request.
func NewUpdateSecretParams ¶
func NewUpdateSecretParams() *UpdateSecretParams
NewUpdateSecretParams creates a new UpdateSecretParams 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 NewUpdateSecretParamsWithContext ¶
func NewUpdateSecretParamsWithContext(ctx context.Context) *UpdateSecretParams
NewUpdateSecretParamsWithContext creates a new UpdateSecretParams object with the ability to set a context for a request.
func NewUpdateSecretParamsWithHTTPClient ¶
func NewUpdateSecretParamsWithHTTPClient(client *http.Client) *UpdateSecretParams
NewUpdateSecretParamsWithHTTPClient creates a new UpdateSecretParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSecretParamsWithTimeout ¶
func NewUpdateSecretParamsWithTimeout(timeout time.Duration) *UpdateSecretParams
NewUpdateSecretParamsWithTimeout creates a new UpdateSecretParams object with the ability to set a timeout on a request.
func (*UpdateSecretParams) SetBody ¶
func (o *UpdateSecretParams) SetBody(body string)
SetBody adds the body to the update secret params
func (*UpdateSecretParams) SetContext ¶
func (o *UpdateSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the update secret params
func (*UpdateSecretParams) SetDefaults ¶
func (o *UpdateSecretParams) SetDefaults()
SetDefaults hydrates default values in the update secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecretParams) SetHTTPClient ¶
func (o *UpdateSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update secret params
func (*UpdateSecretParams) SetTimeout ¶
func (o *UpdateSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update secret params
func (*UpdateSecretParams) WithBody ¶
func (o *UpdateSecretParams) WithBody(body string) *UpdateSecretParams
WithBody adds the body to the update secret params
func (*UpdateSecretParams) WithContext ¶
func (o *UpdateSecretParams) WithContext(ctx context.Context) *UpdateSecretParams
WithContext adds the context to the update secret params
func (*UpdateSecretParams) WithDefaults ¶
func (o *UpdateSecretParams) WithDefaults() *UpdateSecretParams
WithDefaults hydrates default values in the update secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecretParams) WithHTTPClient ¶
func (o *UpdateSecretParams) WithHTTPClient(client *http.Client) *UpdateSecretParams
WithHTTPClient adds the HTTPClient to the update secret params
func (*UpdateSecretParams) WithTimeout ¶
func (o *UpdateSecretParams) WithTimeout(timeout time.Duration) *UpdateSecretParams
WithTimeout adds the timeout to the update secret params
func (*UpdateSecretParams) WriteToRequest ¶
func (o *UpdateSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSecretReader ¶
type UpdateSecretReader struct {
// contains filtered or unexported fields
}
UpdateSecretReader is a Reader for the UpdateSecret structure.
func (*UpdateSecretReader) ReadResponse ¶
func (o *UpdateSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSecretUnauthorized ¶
type UpdateSecretUnauthorized struct { }
UpdateSecretUnauthorized describes a response with status code 401, with default header values.
Authentication required
func NewUpdateSecretUnauthorized ¶
func NewUpdateSecretUnauthorized() *UpdateSecretUnauthorized
NewUpdateSecretUnauthorized creates a UpdateSecretUnauthorized with default headers values
func (*UpdateSecretUnauthorized) Error ¶
func (o *UpdateSecretUnauthorized) Error() string