Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(c *gcorecloud.ServiceClient, opts CreateOptsBuilder) (r tasks.Result)
Create accepts a CreateOpts struct and creates a new secret using the values provided.
Types ¶
type CreateOpts ¶
type CreateOpts struct { Expiration *time.Time `json:"-"` Name string `json:"name" required:"true"` Payload PayloadOpts `json:"payload" required:"true"` }
CreateOpts represents options used to create a secret.
func (CreateOpts) ToSecretCreateMap ¶
func (opts CreateOpts) ToSecretCreateMap() (map[string]interface{}, error)
ToSecretCreateMap builds a request body from CreateOpts.
type CreateOptsBuilder ¶
CreateOptsBuilder allows extensions to add additional parameters to the request.
type PayloadOpts ¶
Click to show internal directories.
Click to hide internal directories.