provider

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptDataSourceSchema

func EncryptDataSourceSchema() schema.Schema

func New

func New(version string) func() provider.Provider

func NewEncryptResource

func NewEncryptResource() resource.Resource

func NewEncryptedDataSource

func NewEncryptedDataSource() datasource.DataSource

Types

type EncryptDataSource

type EncryptDataSource struct{}

func (EncryptDataSource) ConfigValidators

func (d EncryptDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator

func (*EncryptDataSource) Configure

func (*EncryptDataSource) Metadata

func (*EncryptDataSource) Read

func (*EncryptDataSource) Schema

type EncryptDataSourceModel

type EncryptDataSourceModel struct {
	Id              types.String `tfsdk:"id"`
	PublicKeyBase64 types.String `tfsdk:"public_key_base64"`
	Value           types.String `tfsdk:"value"`
	ValueBase64     types.String `tfsdk:"value_base64"`
	EncryptedBase64 types.String `tfsdk:"encrypted_base64"`
	Encrypted       types.String `tfsdk:"encrypted"`
	Base64Encode    types.Bool   `tfsdk:"base64_encode"`
}

func (*EncryptDataSourceModel) Encrypt

func (d *EncryptDataSourceModel) Encrypt() (err error)

func (*EncryptDataSourceModel) SetDefaults

func (d *EncryptDataSourceModel) SetDefaults(ctx context.Context) (err error)

type EncryptResource

type EncryptResource EncryptDataSourceModel

EncryptResource defines the resource implementation.

func (EncryptResource) ConfigValidators

func (d EncryptResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*EncryptResource) Create

func (*EncryptResource) Delete

func (*EncryptResource) ImportState

func (*EncryptResource) Metadata

func (*EncryptResource) Read

func (*EncryptResource) Schema

func (*EncryptResource) Update

type EncryptResourceModel

type EncryptResourceModel = EncryptDataSourceModel

EncryptResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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