Documentation ¶
Index ¶
- func EncryptDataSourceSchema() schema.Schema
- func New(version string) func() provider.Provider
- func NewEncryptResource() resource.Resource
- func NewEncryptedDataSource() datasource.DataSource
- type EncryptDataSource
- func (d EncryptDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *EncryptDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *EncryptDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *EncryptDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *EncryptDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type EncryptDataSourceModel
- type EncryptResource
- func (d EncryptResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
- func (r *EncryptResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EncryptResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EncryptResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EncryptResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EncryptResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EncryptResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EncryptResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EncryptResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptDataSourceSchema ¶
func NewEncryptResource ¶
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 (d *EncryptDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*EncryptDataSource) Metadata ¶
func (d *EncryptDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*EncryptDataSource) Read ¶
func (d *EncryptDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*EncryptDataSource) Schema ¶
func (d *EncryptDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (r *EncryptResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EncryptResource) Delete ¶
func (r *EncryptResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EncryptResource) ImportState ¶
func (r *EncryptResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EncryptResource) Metadata ¶
func (r *EncryptResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EncryptResource) Read ¶
func (r *EncryptResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EncryptResource) Schema ¶
func (r *EncryptResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EncryptResource) Update ¶
func (r *EncryptResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type EncryptResourceModel ¶
type EncryptResourceModel = EncryptDataSourceModel
EncryptResourceModel describes the resource data model.
Click to show internal directories.
Click to hide internal directories.