credential

package
v1.16.9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

New returns a new configured resource

Types

type Credential

type Credential struct {
	ID                     types.String `tfsdk:"id"`
	ObjectStorageProjectID types.String `tfsdk:"object_storage_project_id"`
	CredentialsGroupID     types.String `tfsdk:"credentials_group_id"`
	Expiry                 types.String `tfsdk:"expiry"`
	DisplayName            types.String `tfsdk:"display_name"`
	AccessKey              types.String `tfsdk:"access_key"`
	SecretAccessKey        types.String `tfsdk:"secret_access_key"`
}

Credential is the schema model

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

Resource is the exported resource

func (*Resource) Configure added in v1.0.0

Configure the resource client

func (Resource) Create

Create - lifecycle function

func (Resource) Delete

Delete - lifecycle function

func (*Resource) Metadata

Metadata returns data resource metadata

func (Resource) Read

Read - lifecycle function

func (*Resource) Schema added in v1.9.0

Schema returns the terraform schema structure

func (Resource) Update

Update - lifecycle function - not used for this resource

Jump to

Keyboard shortcuts

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