Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateMetadataOptsBuilder interface + ToMetadataCreateMap func() (map[string]any, error) + type CreateMetadatumOptsBuilder interface + ToMetadatumCreateMap func() (map[string]any, error) + type CreateOpts struct + Algorithm string + BitLength int + Expiration *time.Time + Mode string + Name string + Payload string + PayloadContentEncoding string + PayloadContentType string + SecretType SecretType + func (opts CreateOpts) ToSecretCreateMap() (map[string]any, error) + type CreateOptsBuilder interface + ToSecretCreateMap func() (map[string]any, error) + type CreateResult struct + func Create(ctx context.Context, client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Secret, error) + type DateFilter string + const DateFilterGT + const DateFilterGTE + const DateFilterLT + const DateFilterLTE + type DateQuery struct + Date time.Time + Filter DateFilter + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetPayloadOpts struct + PayloadContentType string + func (opts GetPayloadOpts) ToSecretPayloadGetParams() (map[string]string, error) + type GetPayloadOptsBuilder interface + ToSecretPayloadGetParams func() (map[string]string, error) + type GetResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Secret, error) + type ListOpts struct + ACLOnly *bool + Alg string + Bits int + CreatedQuery *DateQuery + ExpirationQuery *DateQuery + Limit int + Mode string + Name string + Offset int + SecretType SecretType + Sort string + UpdatedQuery *DateQuery + func (opts ListOpts) ToSecretListQuery() (string, error) + type ListOptsBuilder interface + ToSecretListQuery func() (string, error) + type MetadataCreateResult struct + func CreateMetadata(ctx context.Context, client *gophercloud.ServiceClient, secretID string, ...) (r MetadataCreateResult) + func (r MetadataCreateResult) Extract() (map[string]string, error) + type MetadataOpts map[string]string + func (opts MetadataOpts) ToMetadataCreateMap() (map[string]any, error) + type MetadataResult struct + func GetMetadata(ctx context.Context, client *gophercloud.ServiceClient, secretID string) (r MetadataResult) + func (r MetadataResult) Extract() (map[string]string, error) + type Metadatum struct + Key string + Value string + type MetadatumCreateResult struct + func CreateMetadatum(ctx context.Context, client *gophercloud.ServiceClient, secretID string, ...) (r MetadatumCreateResult) + type MetadatumDeleteResult struct + func DeleteMetadatum(ctx context.Context, client *gophercloud.ServiceClient, secretID string, ...) (r MetadatumDeleteResult) + type MetadatumOpts struct + Key string + Value string + func (opts MetadatumOpts) ToMetadatumCreateMap() (map[string]any, error) + func (opts MetadatumOpts) ToMetadatumUpdateMap() (map[string]any, string, error) + type MetadatumResult struct + func GetMetadatum(ctx context.Context, client *gophercloud.ServiceClient, secretID string, ...) (r MetadatumResult) + func UpdateMetadatum(ctx context.Context, client *gophercloud.ServiceClient, secretID string, ...) (r MetadatumResult) + func (r MetadatumResult) Extract() (*Metadatum, error) + type PayloadResult struct + Body io.ReadCloser + func GetPayload(ctx context.Context, client *gophercloud.ServiceClient, id string, ...) (r PayloadResult) + func (r PayloadResult) Extract() ([]byte, error) + type Secret struct + Algorithm string + BitLength int + ContentTypes map[string]string + Created time.Time + CreatorID string + Expiration time.Time + Mode string + Name string + SecretRef string + SecretType string + Status string + Updated time.Time + func ExtractSecrets(r pagination.Page) ([]Secret, error) + func (r *Secret) UnmarshalJSON(b []byte) error + type SecretPage struct + func (r SecretPage) IsEmpty() (bool, error) + func (r SecretPage) NextPageURL() (string, error) + type SecretType string + const CertificateSecret + const OpaqueSecret + const PassphraseSecret + const PrivateSecret + const PublicSecret + const SymmetricSecret + type UpdateMetadatumOptsBuilder interface + ToMetadatumUpdateMap func() (map[string]any, string, error) + type UpdateOpts struct + ContentEncoding string + ContentType string + Payload string + func (opts UpdateOpts) ToSecretUpdateRequest() (string, map[string]string, error) + type UpdateOptsBuilder interface + ToSecretUpdateRequest func() (string, map[string]string, error) + type UpdateResult struct + func Update(ctx context.Context, client *gophercloud.ServiceClient, id string, ...) (r UpdateResult)