Documentation ¶
Index ¶
- Variables
- func Base64Encoded(data []byte) string
- func DataSourceSecret() *schema.Resource
- func DataSourceSecretRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceVersion() *schema.Resource
- func NewAPIWithRegionAndID(m interface{}, id string) (*secret.API, scw.Region, string, error)
- func NewVersionAPIWithRegionAndID(m interface{}, id string) (*secret.API, scw.Region, string, string, error)
- func ResourceSecret() *schema.Resource
- func ResourceSecretCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSecretDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSecretRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSecretUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceVersion() *schema.Resource
- func ResourceVersionCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceVersionDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceVersionRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceVersionUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotDeleteProtectedSecret = errors.New("cannot delete a protected secret")
Functions ¶
func Base64Encoded ¶
func DataSourceSecret ¶
func DataSourceSecretRead ¶
func DataSourceSecretRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func DataSourceVersion ¶
func NewAPIWithRegionAndID ¶
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 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 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.