secret

package
v2.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotDeleteProtectedSecret = errors.New("cannot delete a protected secret")

Functions

func Base64Encoded

func Base64Encoded(data []byte) string

func DataSourceSecret

func DataSourceSecret() *schema.Resource

func DataSourceSecretRead

func DataSourceSecretRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceVersion

func DataSourceVersion() *schema.Resource

func NewAPIWithRegionAndID

func NewAPIWithRegionAndID(m interface{}, id string) (*secret.API, scw.Region, string, error)

NewAPIWithRegionAndID returns a Secret API with locality and ID extracted from the state

func NewVersionAPIWithRegionAndID

func NewVersionAPIWithRegionAndID(m interface{}, id string) (*secret.API, scw.Region, string, string, error)

NewVersionAPIWithRegionAndID returns a Secret API with locality and Nested ID extracted from the state

func ResourceSecret

func ResourceSecret() *schema.Resource

func ResourceSecretCreate

func ResourceSecretCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceSecretDelete

func ResourceSecretDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceSecretRead

func ResourceSecretRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceSecretUpdate

func ResourceSecretUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceVersion

func ResourceVersion() *schema.Resource

func ResourceVersionCreate

func ResourceVersionCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceVersionDelete

func ResourceVersionDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceVersionRead

func ResourceVersionRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceVersionUpdate

func ResourceVersionUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL