Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteKey(params *DeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteKeyOK, error)
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConfigOK, error)
- func (a *Client) GetConfigurationKey(params *GetConfigurationKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConfigurationKeyOK, error)
- func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListKeysOK, error)
- func (a *Client) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListScopesOK, error)
- func (a *Client) SetKey(params *SetKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetKeyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteKeyOK
- type DeleteKeyParams
- func (o *DeleteKeyParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteKeyParams) SetContext(ctx context.Context)
- func (o *DeleteKeyParams) SetDefaults()
- func (o *DeleteKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteKeyParams) SetKey(key string)
- func (o *DeleteKeyParams) SetScope(scope strfmt.UUID)
- func (o *DeleteKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteKeyParams) WithCUUID(cUUID strfmt.UUID) *DeleteKeyParams
- func (o *DeleteKeyParams) WithContext(ctx context.Context) *DeleteKeyParams
- func (o *DeleteKeyParams) WithDefaults() *DeleteKeyParams
- func (o *DeleteKeyParams) WithHTTPClient(client *http.Client) *DeleteKeyParams
- func (o *DeleteKeyParams) WithKey(key string) *DeleteKeyParams
- func (o *DeleteKeyParams) WithScope(scope strfmt.UUID) *DeleteKeyParams
- func (o *DeleteKeyParams) WithTimeout(timeout time.Duration) *DeleteKeyParams
- func (o *DeleteKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteKeyReader
- type GetConfigOK
- type GetConfigParams
- func (o *GetConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetDefaults()
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetIncludeInherited(includeInherited *bool)
- func (o *GetConfigParams) SetScope(scope strfmt.UUID)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithCUUID(cUUID strfmt.UUID) *GetConfigParams
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithDefaults() *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithIncludeInherited(includeInherited *bool) *GetConfigParams
- func (o *GetConfigParams) WithScope(scope strfmt.UUID) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type GetConfigurationKeyOK
- type GetConfigurationKeyParams
- func NewGetConfigurationKeyParams() *GetConfigurationKeyParams
- func NewGetConfigurationKeyParamsWithContext(ctx context.Context) *GetConfigurationKeyParams
- func NewGetConfigurationKeyParamsWithHTTPClient(client *http.Client) *GetConfigurationKeyParams
- func NewGetConfigurationKeyParamsWithTimeout(timeout time.Duration) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetConfigurationKeyParams) SetContext(ctx context.Context)
- func (o *GetConfigurationKeyParams) SetDefaults()
- func (o *GetConfigurationKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigurationKeyParams) SetKey(key string)
- func (o *GetConfigurationKeyParams) SetScope(scope strfmt.UUID)
- func (o *GetConfigurationKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigurationKeyParams) WithCUUID(cUUID strfmt.UUID) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithContext(ctx context.Context) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithDefaults() *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithHTTPClient(client *http.Client) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithKey(key string) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithScope(scope strfmt.UUID) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WithTimeout(timeout time.Duration) *GetConfigurationKeyParams
- func (o *GetConfigurationKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigurationKeyReader
- type ListKeysOK
- type ListKeysParams
- func (o *ListKeysParams) SetContext(ctx context.Context)
- func (o *ListKeysParams) SetDefaults()
- func (o *ListKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListKeysParams) WithContext(ctx context.Context) *ListKeysParams
- func (o *ListKeysParams) WithDefaults() *ListKeysParams
- func (o *ListKeysParams) WithHTTPClient(client *http.Client) *ListKeysParams
- func (o *ListKeysParams) WithTimeout(timeout time.Duration) *ListKeysParams
- func (o *ListKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKeysReader
- type ListScopesOK
- type ListScopesParams
- func (o *ListScopesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *ListScopesParams) SetContext(ctx context.Context)
- func (o *ListScopesParams) SetDefaults()
- func (o *ListScopesParams) SetHTTPClient(client *http.Client)
- func (o *ListScopesParams) SetTimeout(timeout time.Duration)
- func (o *ListScopesParams) WithCUUID(cUUID strfmt.UUID) *ListScopesParams
- func (o *ListScopesParams) WithContext(ctx context.Context) *ListScopesParams
- func (o *ListScopesParams) WithDefaults() *ListScopesParams
- func (o *ListScopesParams) WithHTTPClient(client *http.Client) *ListScopesParams
- func (o *ListScopesParams) WithTimeout(timeout time.Duration) *ListScopesParams
- func (o *ListScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScopesReader
- type SetKeyOK
- type SetKeyParams
- func (o *SetKeyParams) SetCUUID(cUUID strfmt.UUID)
- func (o *SetKeyParams) SetContext(ctx context.Context)
- func (o *SetKeyParams) SetDefaults()
- func (o *SetKeyParams) SetHTTPClient(client *http.Client)
- func (o *SetKeyParams) SetKey(key string)
- func (o *SetKeyParams) SetNewValue(newValue string)
- func (o *SetKeyParams) SetScope(scope strfmt.UUID)
- func (o *SetKeyParams) SetTimeout(timeout time.Duration)
- func (o *SetKeyParams) WithCUUID(cUUID strfmt.UUID) *SetKeyParams
- func (o *SetKeyParams) WithContext(ctx context.Context) *SetKeyParams
- func (o *SetKeyParams) WithDefaults() *SetKeyParams
- func (o *SetKeyParams) WithHTTPClient(client *http.Client) *SetKeyParams
- func (o *SetKeyParams) WithKey(key string) *SetKeyParams
- func (o *SetKeyParams) WithNewValue(newValue string) *SetKeyParams
- func (o *SetKeyParams) WithScope(scope strfmt.UUID) *SetKeyParams
- func (o *SetKeyParams) WithTimeout(timeout time.Duration) *SetKeyParams
- func (o *SetKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetKeyReader
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 runtime configuration API
func (*Client) DeleteKey ¶
func (a *Client) DeleteKey(params *DeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKeyOK, error)
DeleteKey deletes a configuration key
func (*Client) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error)
GetConfig lists configuration entries for a scope
Lists all runtime config entries for a given scope for current customer.
func (*Client) GetConfigurationKey ¶
func (a *Client) GetConfigurationKey(params *GetConfigurationKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationKeyOK, error)
GetConfigurationKey gets a configuration key
func (*Client) ListKeys ¶
func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKeysOK, error)
ListKeys lists mutable keys
List all the mutable runtime config keys
func (*Client) ListScopes ¶
func (a *Client) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesOK, error)
ListScopes lists configuration scopes
Lists all (including empty scopes) runtime config scopes for current customer. List includes the Global scope that spans multiple customers, scope for customer specific overrides for current customer and one scope each for each universe and provider.
func (*Client) SetKey ¶
func (a *Client) SetKey(params *SetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetKeyOK, error)
SetKey updates a configuration key
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 { DeleteKey(params *DeleteKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteKeyOK, error) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error) GetConfigurationKey(params *GetConfigurationKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigurationKeyOK, error) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKeysOK, error) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesOK, error) SetKey(params *SetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetKeyOK, 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 runtime configuration API client.
type DeleteKeyOK ¶
type DeleteKeyOK struct {
Payload *models.YBPSuccess
}
DeleteKeyOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteKeyOK ¶
func NewDeleteKeyOK() *DeleteKeyOK
NewDeleteKeyOK creates a DeleteKeyOK with default headers values
func (*DeleteKeyOK) Error ¶
func (o *DeleteKeyOK) Error() string
func (*DeleteKeyOK) GetPayload ¶
func (o *DeleteKeyOK) GetPayload() *models.YBPSuccess
type DeleteKeyParams ¶
type DeleteKeyParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // Key. Key string // Scope. // // Format: uuid Scope strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteKeyParams contains all the parameters to send to the API endpoint
for the delete key operation. Typically these are written to a http.Request.
func NewDeleteKeyParams ¶
func NewDeleteKeyParams() *DeleteKeyParams
NewDeleteKeyParams creates a new DeleteKeyParams 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 NewDeleteKeyParamsWithContext ¶
func NewDeleteKeyParamsWithContext(ctx context.Context) *DeleteKeyParams
NewDeleteKeyParamsWithContext creates a new DeleteKeyParams object with the ability to set a context for a request.
func NewDeleteKeyParamsWithHTTPClient ¶
func NewDeleteKeyParamsWithHTTPClient(client *http.Client) *DeleteKeyParams
NewDeleteKeyParamsWithHTTPClient creates a new DeleteKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteKeyParamsWithTimeout ¶
func NewDeleteKeyParamsWithTimeout(timeout time.Duration) *DeleteKeyParams
NewDeleteKeyParamsWithTimeout creates a new DeleteKeyParams object with the ability to set a timeout on a request.
func (*DeleteKeyParams) SetCUUID ¶
func (o *DeleteKeyParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete key params
func (*DeleteKeyParams) SetContext ¶
func (o *DeleteKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete key params
func (*DeleteKeyParams) SetDefaults ¶
func (o *DeleteKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKeyParams) SetHTTPClient ¶
func (o *DeleteKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete key params
func (*DeleteKeyParams) SetKey ¶
func (o *DeleteKeyParams) SetKey(key string)
SetKey adds the key to the delete key params
func (*DeleteKeyParams) SetScope ¶
func (o *DeleteKeyParams) SetScope(scope strfmt.UUID)
SetScope adds the scope to the delete key params
func (*DeleteKeyParams) SetTimeout ¶
func (o *DeleteKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete key params
func (*DeleteKeyParams) WithCUUID ¶
func (o *DeleteKeyParams) WithCUUID(cUUID strfmt.UUID) *DeleteKeyParams
WithCUUID adds the cUUID to the delete key params
func (*DeleteKeyParams) WithContext ¶
func (o *DeleteKeyParams) WithContext(ctx context.Context) *DeleteKeyParams
WithContext adds the context to the delete key params
func (*DeleteKeyParams) WithDefaults ¶
func (o *DeleteKeyParams) WithDefaults() *DeleteKeyParams
WithDefaults hydrates default values in the delete key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteKeyParams) WithHTTPClient ¶
func (o *DeleteKeyParams) WithHTTPClient(client *http.Client) *DeleteKeyParams
WithHTTPClient adds the HTTPClient to the delete key params
func (*DeleteKeyParams) WithKey ¶
func (o *DeleteKeyParams) WithKey(key string) *DeleteKeyParams
WithKey adds the key to the delete key params
func (*DeleteKeyParams) WithScope ¶
func (o *DeleteKeyParams) WithScope(scope strfmt.UUID) *DeleteKeyParams
WithScope adds the scope to the delete key params
func (*DeleteKeyParams) WithTimeout ¶
func (o *DeleteKeyParams) WithTimeout(timeout time.Duration) *DeleteKeyParams
WithTimeout adds the timeout to the delete key params
func (*DeleteKeyParams) WriteToRequest ¶
func (o *DeleteKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteKeyReader ¶
type DeleteKeyReader struct {
// contains filtered or unexported fields
}
DeleteKeyReader is a Reader for the DeleteKey structure.
func (*DeleteKeyReader) ReadResponse ¶
func (o *DeleteKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigOK ¶
type GetConfigOK struct {
Payload *models.RuntimeConfigData
}
GetConfigOK describes a response with status code 200, with default header values.
successful operation
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *models.RuntimeConfigData
type GetConfigParams ¶
type GetConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // IncludeInherited. IncludeInherited *bool // Scope. // // Format: uuid Scope strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigParams contains all the parameters to send to the API endpoint
for the get config operation. Typically these are written to a http.Request.
func NewGetConfigParams ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams 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 NewGetConfigParamsWithContext ¶
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the ability to set a context for a request.
func NewGetConfigParamsWithHTTPClient ¶
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigParamsWithTimeout ¶
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the ability to set a timeout on a request.
func (*GetConfigParams) SetCUUID ¶
func (o *GetConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get config params
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetDefaults ¶
func (o *GetConfigParams) SetDefaults()
SetDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetIncludeInherited ¶
func (o *GetConfigParams) SetIncludeInherited(includeInherited *bool)
SetIncludeInherited adds the includeInherited to the get config params
func (*GetConfigParams) SetScope ¶
func (o *GetConfigParams) SetScope(scope strfmt.UUID)
SetScope adds the scope to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithCUUID ¶
func (o *GetConfigParams) WithCUUID(cUUID strfmt.UUID) *GetConfigParams
WithCUUID adds the cUUID to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithDefaults ¶
func (o *GetConfigParams) WithDefaults() *GetConfigParams
WithDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithIncludeInherited ¶
func (o *GetConfigParams) WithIncludeInherited(includeInherited *bool) *GetConfigParams
WithIncludeInherited adds the includeInherited to the get config params
func (*GetConfigParams) WithScope ¶
func (o *GetConfigParams) WithScope(scope strfmt.UUID) *GetConfigParams
WithScope adds the scope to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigurationKeyOK ¶
type GetConfigurationKeyOK struct {
Payload string
}
GetConfigurationKeyOK describes a response with status code 200, with default header values.
successful operation
func NewGetConfigurationKeyOK ¶
func NewGetConfigurationKeyOK() *GetConfigurationKeyOK
NewGetConfigurationKeyOK creates a GetConfigurationKeyOK with default headers values
func (*GetConfigurationKeyOK) Error ¶
func (o *GetConfigurationKeyOK) Error() string
func (*GetConfigurationKeyOK) GetPayload ¶
func (o *GetConfigurationKeyOK) GetPayload() string
type GetConfigurationKeyParams ¶
type GetConfigurationKeyParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // Key. Key string // Scope. // // Format: uuid Scope strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigurationKeyParams contains all the parameters to send to the API endpoint
for the get configuration key operation. Typically these are written to a http.Request.
func NewGetConfigurationKeyParams ¶
func NewGetConfigurationKeyParams() *GetConfigurationKeyParams
NewGetConfigurationKeyParams creates a new GetConfigurationKeyParams 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 NewGetConfigurationKeyParamsWithContext ¶
func NewGetConfigurationKeyParamsWithContext(ctx context.Context) *GetConfigurationKeyParams
NewGetConfigurationKeyParamsWithContext creates a new GetConfigurationKeyParams object with the ability to set a context for a request.
func NewGetConfigurationKeyParamsWithHTTPClient ¶
func NewGetConfigurationKeyParamsWithHTTPClient(client *http.Client) *GetConfigurationKeyParams
NewGetConfigurationKeyParamsWithHTTPClient creates a new GetConfigurationKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigurationKeyParamsWithTimeout ¶
func NewGetConfigurationKeyParamsWithTimeout(timeout time.Duration) *GetConfigurationKeyParams
NewGetConfigurationKeyParamsWithTimeout creates a new GetConfigurationKeyParams object with the ability to set a timeout on a request.
func (*GetConfigurationKeyParams) SetCUUID ¶
func (o *GetConfigurationKeyParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get configuration key params
func (*GetConfigurationKeyParams) SetContext ¶
func (o *GetConfigurationKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get configuration key params
func (*GetConfigurationKeyParams) SetDefaults ¶
func (o *GetConfigurationKeyParams) SetDefaults()
SetDefaults hydrates default values in the get configuration key params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationKeyParams) SetHTTPClient ¶
func (o *GetConfigurationKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get configuration key params
func (*GetConfigurationKeyParams) SetKey ¶
func (o *GetConfigurationKeyParams) SetKey(key string)
SetKey adds the key to the get configuration key params
func (*GetConfigurationKeyParams) SetScope ¶
func (o *GetConfigurationKeyParams) SetScope(scope strfmt.UUID)
SetScope adds the scope to the get configuration key params
func (*GetConfigurationKeyParams) SetTimeout ¶
func (o *GetConfigurationKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get configuration key params
func (*GetConfigurationKeyParams) WithCUUID ¶
func (o *GetConfigurationKeyParams) WithCUUID(cUUID strfmt.UUID) *GetConfigurationKeyParams
WithCUUID adds the cUUID to the get configuration key params
func (*GetConfigurationKeyParams) WithContext ¶
func (o *GetConfigurationKeyParams) WithContext(ctx context.Context) *GetConfigurationKeyParams
WithContext adds the context to the get configuration key params
func (*GetConfigurationKeyParams) WithDefaults ¶
func (o *GetConfigurationKeyParams) WithDefaults() *GetConfigurationKeyParams
WithDefaults hydrates default values in the get configuration key params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationKeyParams) WithHTTPClient ¶
func (o *GetConfigurationKeyParams) WithHTTPClient(client *http.Client) *GetConfigurationKeyParams
WithHTTPClient adds the HTTPClient to the get configuration key params
func (*GetConfigurationKeyParams) WithKey ¶
func (o *GetConfigurationKeyParams) WithKey(key string) *GetConfigurationKeyParams
WithKey adds the key to the get configuration key params
func (*GetConfigurationKeyParams) WithScope ¶
func (o *GetConfigurationKeyParams) WithScope(scope strfmt.UUID) *GetConfigurationKeyParams
WithScope adds the scope to the get configuration key params
func (*GetConfigurationKeyParams) WithTimeout ¶
func (o *GetConfigurationKeyParams) WithTimeout(timeout time.Duration) *GetConfigurationKeyParams
WithTimeout adds the timeout to the get configuration key params
func (*GetConfigurationKeyParams) WriteToRequest ¶
func (o *GetConfigurationKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigurationKeyReader ¶
type GetConfigurationKeyReader struct {
// contains filtered or unexported fields
}
GetConfigurationKeyReader is a Reader for the GetConfigurationKey structure.
func (*GetConfigurationKeyReader) ReadResponse ¶
func (o *GetConfigurationKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKeysOK ¶
type ListKeysOK struct {
Payload []string
}
ListKeysOK describes a response with status code 200, with default header values.
successful operation
func NewListKeysOK ¶
func NewListKeysOK() *ListKeysOK
NewListKeysOK creates a ListKeysOK with default headers values
func (*ListKeysOK) Error ¶
func (o *ListKeysOK) Error() string
func (*ListKeysOK) GetPayload ¶
func (o *ListKeysOK) GetPayload() []string
type ListKeysParams ¶
type ListKeysParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKeysParams contains all the parameters to send to the API endpoint
for the list keys operation. Typically these are written to a http.Request.
func NewListKeysParams ¶
func NewListKeysParams() *ListKeysParams
NewListKeysParams creates a new ListKeysParams 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 NewListKeysParamsWithContext ¶
func NewListKeysParamsWithContext(ctx context.Context) *ListKeysParams
NewListKeysParamsWithContext creates a new ListKeysParams object with the ability to set a context for a request.
func NewListKeysParamsWithHTTPClient ¶
func NewListKeysParamsWithHTTPClient(client *http.Client) *ListKeysParams
NewListKeysParamsWithHTTPClient creates a new ListKeysParams object with the ability to set a custom HTTPClient for a request.
func NewListKeysParamsWithTimeout ¶
func NewListKeysParamsWithTimeout(timeout time.Duration) *ListKeysParams
NewListKeysParamsWithTimeout creates a new ListKeysParams object with the ability to set a timeout on a request.
func (*ListKeysParams) SetContext ¶
func (o *ListKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list keys params
func (*ListKeysParams) SetDefaults ¶
func (o *ListKeysParams) SetDefaults()
SetDefaults hydrates default values in the list keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListKeysParams) SetHTTPClient ¶
func (o *ListKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list keys params
func (*ListKeysParams) SetTimeout ¶
func (o *ListKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list keys params
func (*ListKeysParams) WithContext ¶
func (o *ListKeysParams) WithContext(ctx context.Context) *ListKeysParams
WithContext adds the context to the list keys params
func (*ListKeysParams) WithDefaults ¶
func (o *ListKeysParams) WithDefaults() *ListKeysParams
WithDefaults hydrates default values in the list keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListKeysParams) WithHTTPClient ¶
func (o *ListKeysParams) WithHTTPClient(client *http.Client) *ListKeysParams
WithHTTPClient adds the HTTPClient to the list keys params
func (*ListKeysParams) WithTimeout ¶
func (o *ListKeysParams) WithTimeout(timeout time.Duration) *ListKeysParams
WithTimeout adds the timeout to the list keys params
func (*ListKeysParams) WriteToRequest ¶
func (o *ListKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKeysReader ¶
type ListKeysReader struct {
// contains filtered or unexported fields
}
ListKeysReader is a Reader for the ListKeys structure.
func (*ListKeysReader) ReadResponse ¶
func (o *ListKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScopesOK ¶
type ListScopesOK struct {
Payload *models.RuntimeConfigData
}
ListScopesOK describes a response with status code 200, with default header values.
successful operation
func NewListScopesOK ¶
func NewListScopesOK() *ListScopesOK
NewListScopesOK creates a ListScopesOK with default headers values
func (*ListScopesOK) Error ¶
func (o *ListScopesOK) Error() string
func (*ListScopesOK) GetPayload ¶
func (o *ListScopesOK) GetPayload() *models.RuntimeConfigData
type ListScopesParams ¶
type ListScopesParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScopesParams contains all the parameters to send to the API endpoint
for the list scopes operation. Typically these are written to a http.Request.
func NewListScopesParams ¶
func NewListScopesParams() *ListScopesParams
NewListScopesParams creates a new ListScopesParams 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 NewListScopesParamsWithContext ¶
func NewListScopesParamsWithContext(ctx context.Context) *ListScopesParams
NewListScopesParamsWithContext creates a new ListScopesParams object with the ability to set a context for a request.
func NewListScopesParamsWithHTTPClient ¶
func NewListScopesParamsWithHTTPClient(client *http.Client) *ListScopesParams
NewListScopesParamsWithHTTPClient creates a new ListScopesParams object with the ability to set a custom HTTPClient for a request.
func NewListScopesParamsWithTimeout ¶
func NewListScopesParamsWithTimeout(timeout time.Duration) *ListScopesParams
NewListScopesParamsWithTimeout creates a new ListScopesParams object with the ability to set a timeout on a request.
func (*ListScopesParams) SetCUUID ¶
func (o *ListScopesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list scopes params
func (*ListScopesParams) SetContext ¶
func (o *ListScopesParams) SetContext(ctx context.Context)
SetContext adds the context to the list scopes params
func (*ListScopesParams) SetDefaults ¶
func (o *ListScopesParams) SetDefaults()
SetDefaults hydrates default values in the list scopes params (not the query body).
All values with no default are reset to their zero value.
func (*ListScopesParams) SetHTTPClient ¶
func (o *ListScopesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scopes params
func (*ListScopesParams) SetTimeout ¶
func (o *ListScopesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scopes params
func (*ListScopesParams) WithCUUID ¶
func (o *ListScopesParams) WithCUUID(cUUID strfmt.UUID) *ListScopesParams
WithCUUID adds the cUUID to the list scopes params
func (*ListScopesParams) WithContext ¶
func (o *ListScopesParams) WithContext(ctx context.Context) *ListScopesParams
WithContext adds the context to the list scopes params
func (*ListScopesParams) WithDefaults ¶
func (o *ListScopesParams) WithDefaults() *ListScopesParams
WithDefaults hydrates default values in the list scopes params (not the query body).
All values with no default are reset to their zero value.
func (*ListScopesParams) WithHTTPClient ¶
func (o *ListScopesParams) WithHTTPClient(client *http.Client) *ListScopesParams
WithHTTPClient adds the HTTPClient to the list scopes params
func (*ListScopesParams) WithTimeout ¶
func (o *ListScopesParams) WithTimeout(timeout time.Duration) *ListScopesParams
WithTimeout adds the timeout to the list scopes params
func (*ListScopesParams) WriteToRequest ¶
func (o *ListScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScopesReader ¶
type ListScopesReader struct {
// contains filtered or unexported fields
}
ListScopesReader is a Reader for the ListScopes structure.
func (*ListScopesReader) ReadResponse ¶
func (o *ListScopesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetKeyOK ¶
type SetKeyOK struct {
Payload *models.YBPSuccess
}
SetKeyOK describes a response with status code 200, with default header values.
successful operation
func NewSetKeyOK ¶
func NewSetKeyOK() *SetKeyOK
NewSetKeyOK creates a SetKeyOK with default headers values
func (*SetKeyOK) GetPayload ¶
func (o *SetKeyOK) GetPayload() *models.YBPSuccess
type SetKeyParams ¶
type SetKeyParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // Key. Key string /* NewValue. New value for config key */ NewValue string // Scope. // // Format: uuid Scope strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetKeyParams contains all the parameters to send to the API endpoint
for the set key operation. Typically these are written to a http.Request.
func NewSetKeyParams ¶
func NewSetKeyParams() *SetKeyParams
NewSetKeyParams creates a new SetKeyParams 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 NewSetKeyParamsWithContext ¶
func NewSetKeyParamsWithContext(ctx context.Context) *SetKeyParams
NewSetKeyParamsWithContext creates a new SetKeyParams object with the ability to set a context for a request.
func NewSetKeyParamsWithHTTPClient ¶
func NewSetKeyParamsWithHTTPClient(client *http.Client) *SetKeyParams
NewSetKeyParamsWithHTTPClient creates a new SetKeyParams object with the ability to set a custom HTTPClient for a request.
func NewSetKeyParamsWithTimeout ¶
func NewSetKeyParamsWithTimeout(timeout time.Duration) *SetKeyParams
NewSetKeyParamsWithTimeout creates a new SetKeyParams object with the ability to set a timeout on a request.
func (*SetKeyParams) SetCUUID ¶
func (o *SetKeyParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the set key params
func (*SetKeyParams) SetContext ¶
func (o *SetKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the set key params
func (*SetKeyParams) SetDefaults ¶
func (o *SetKeyParams) SetDefaults()
SetDefaults hydrates default values in the set key params (not the query body).
All values with no default are reset to their zero value.
func (*SetKeyParams) SetHTTPClient ¶
func (o *SetKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set key params
func (*SetKeyParams) SetKey ¶
func (o *SetKeyParams) SetKey(key string)
SetKey adds the key to the set key params
func (*SetKeyParams) SetNewValue ¶
func (o *SetKeyParams) SetNewValue(newValue string)
SetNewValue adds the newValue to the set key params
func (*SetKeyParams) SetScope ¶
func (o *SetKeyParams) SetScope(scope strfmt.UUID)
SetScope adds the scope to the set key params
func (*SetKeyParams) SetTimeout ¶
func (o *SetKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set key params
func (*SetKeyParams) WithCUUID ¶
func (o *SetKeyParams) WithCUUID(cUUID strfmt.UUID) *SetKeyParams
WithCUUID adds the cUUID to the set key params
func (*SetKeyParams) WithContext ¶
func (o *SetKeyParams) WithContext(ctx context.Context) *SetKeyParams
WithContext adds the context to the set key params
func (*SetKeyParams) WithDefaults ¶
func (o *SetKeyParams) WithDefaults() *SetKeyParams
WithDefaults hydrates default values in the set key params (not the query body).
All values with no default are reset to their zero value.
func (*SetKeyParams) WithHTTPClient ¶
func (o *SetKeyParams) WithHTTPClient(client *http.Client) *SetKeyParams
WithHTTPClient adds the HTTPClient to the set key params
func (*SetKeyParams) WithKey ¶
func (o *SetKeyParams) WithKey(key string) *SetKeyParams
WithKey adds the key to the set key params
func (*SetKeyParams) WithNewValue ¶
func (o *SetKeyParams) WithNewValue(newValue string) *SetKeyParams
WithNewValue adds the newValue to the set key params
func (*SetKeyParams) WithScope ¶
func (o *SetKeyParams) WithScope(scope strfmt.UUID) *SetKeyParams
WithScope adds the scope to the set key params
func (*SetKeyParams) WithTimeout ¶
func (o *SetKeyParams) WithTimeout(timeout time.Duration) *SetKeyParams
WithTimeout adds the timeout to the set key params
func (*SetKeyParams) WriteToRequest ¶
func (o *SetKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetKeyReader ¶
type SetKeyReader struct {
// contains filtered or unexported fields
}
SetKeyReader is a Reader for the SetKey structure.
func (*SetKeyReader) ReadResponse ¶
func (o *SetKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_key_parameters.go
- delete_key_responses.go
- get_config_parameters.go
- get_config_responses.go
- get_configuration_key_parameters.go
- get_configuration_key_responses.go
- list_keys_parameters.go
- list_keys_responses.go
- list_scopes_parameters.go
- list_scopes_responses.go
- runtime_configuration_client.go
- set_key_parameters.go
- set_key_responses.go