Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(params GetParams) (*models.KeystoreContents, error)
Get returns the specified deployment template.
func Update ¶
func Update(params UpdateParams) (*models.KeystoreContents, error)
Update changes the contents of the specified deployment's elasticsearch keystore by using the PATCH method, the payload is a partial payload where any ignored current keystore items, are not removed, unless the secrets are set to "null": {"secrets": {"my-secret": null}}.
Types ¶
type GetParams ¶
type GetParams struct { *api.API DeploymentID string // Optional RefID, when not specified, an API call will be issued to auto- // discover the resource's RefID. RefID string }
GetParams is consumed by the Get function.
type UpdateParams ¶
type UpdateParams struct { *api.API DeploymentID string Contents *models.KeystoreContents // Optional RefID, whne not specified, an API call will be issued to auto- // discover the resource's RefID. RefID string }
UpdateParams is consumed by the Update function.
func (UpdateParams) Validate ¶
func (params UpdateParams) Validate() error
Validate ensures the parameters are usable by Update.
Click to show internal directories.
Click to hide internal directories.