Documentation ¶
Index ¶
- Variables
- func New(version string) func() provider.Provider
- func NewIdentityDataSource() datasource.DataSource
- func NewIdentityResource() resource.Resource
- func NewKeyPairResource() resource.Resource
- func NewPublicKeyDataSource() datasource.DataSource
- func NewValueDataSource() datasource.DataSource
- func NewValueResource() resource.Resource
- func NewVaultDataSource() datasource.DataSource
- func NewVaultResource() resource.Resource
- type IdentityDataSource
- func (d *IdentityDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *IdentityDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *IdentityDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *IdentityDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type IdentityDataSourceModel
- type IdentityResource
- func (r *IdentityResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *IdentityResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *IdentityResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *IdentityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *IdentityResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *IdentityResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *IdentityResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *IdentityResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type IdentityResourceModel
- type KeyPairResource
- func (r *KeyPairResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *KeyPairResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *KeyPairResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *KeyPairResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *KeyPairResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *KeyPairResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *KeyPairResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type KeyPairResourceModel
- type PublicKeyDataSource
- func (d *PublicKeyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *PublicKeyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PublicKeyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PublicKeyDataSourceModel
- type RightsResourceModel
- type ValueDataSource
- func (d *ValueDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ValueDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ValueDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ValueDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ValueDataSourceModel
- type ValueResource
- func (r *ValueResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ValueResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ValueResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ValueResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ValueResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ValueResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ValueResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ValueResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ValueResourceModel
- type VaultCloud
- func (p *VaultCloud) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *VaultCloud) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *VaultCloud) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *VaultCloud) Resources(ctx context.Context) []func() resource.Resource
- func (p *VaultCloud) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type VaultCloudProviderModel
- type VaultDataSource
- func (d *VaultDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *VaultDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *VaultDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *VaultDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VaultDataSourceModel
- type VaultResource
- func (r *VaultResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VaultResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VaultResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VaultResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VaultResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VaultResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VaultResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VaultResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VaultResourceModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ValuePatternRegex *regexp.Regexp
View Source
var ValuesPatternRegex *regexp.Regexp
Functions ¶
func NewIdentityDataSource ¶
func NewIdentityDataSource() datasource.DataSource
func NewIdentityResource ¶
func NewKeyPairResource ¶ added in v0.1.0
func NewPublicKeyDataSource ¶ added in v0.1.0
func NewPublicKeyDataSource() datasource.DataSource
func NewValueDataSource ¶
func NewValueDataSource() datasource.DataSource
func NewValueResource ¶
func NewVaultDataSource ¶
func NewVaultDataSource() datasource.DataSource
func NewVaultResource ¶
Types ¶
type IdentityDataSource ¶
type IdentityDataSource struct {
// contains filtered or unexported fields
}
func (*IdentityDataSource) Configure ¶
func (d *IdentityDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*IdentityDataSource) Metadata ¶
func (d *IdentityDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*IdentityDataSource) Read ¶
func (d *IdentityDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*IdentityDataSource) Schema ¶
func (d *IdentityDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type IdentityDataSourceModel ¶
type IdentityResource ¶
type IdentityResource struct {
// contains filtered or unexported fields
}
IdentityResource defines the resource implementation.
func (*IdentityResource) Configure ¶
func (r *IdentityResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*IdentityResource) Create ¶
func (r *IdentityResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*IdentityResource) Delete ¶
func (r *IdentityResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*IdentityResource) ImportState ¶
func (r *IdentityResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*IdentityResource) Metadata ¶
func (r *IdentityResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*IdentityResource) Read ¶
func (r *IdentityResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*IdentityResource) Schema ¶
func (r *IdentityResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*IdentityResource) Update ¶
func (r *IdentityResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type IdentityResourceModel ¶
type IdentityResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` LastUpdated types.String `tfsdk:"last_updated"` PublicKey types.String `tfsdk:"public_key"` VaultID types.String `tfsdk:"vault_id"` CreatorKey types.String `tfsdk:"creator_key"` Rights []RightsResourceModel `tfsdk:"rights"` }
ExampleResourceModel describes the resource data model.
type KeyPairResource ¶ added in v0.1.0
type KeyPairResource struct {
// contains filtered or unexported fields
}
func (*KeyPairResource) Configure ¶ added in v0.1.0
func (r *KeyPairResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*KeyPairResource) Create ¶ added in v0.1.0
func (r *KeyPairResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*KeyPairResource) Delete ¶ added in v0.1.0
func (r *KeyPairResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*KeyPairResource) Metadata ¶ added in v0.1.0
func (r *KeyPairResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*KeyPairResource) Read ¶ added in v0.1.0
func (r *KeyPairResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*KeyPairResource) Schema ¶ added in v0.1.0
func (r *KeyPairResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*KeyPairResource) Update ¶ added in v0.1.0
func (r *KeyPairResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type KeyPairResourceModel ¶ added in v0.1.0
type PublicKeyDataSource ¶ added in v0.1.0
type PublicKeyDataSource struct { }
func (*PublicKeyDataSource) Metadata ¶ added in v0.1.0
func (d *PublicKeyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PublicKeyDataSource) Read ¶ added in v0.1.0
func (d *PublicKeyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PublicKeyDataSource) Schema ¶ added in v0.1.0
func (d *PublicKeyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PublicKeyDataSourceModel ¶ added in v0.1.0
type RightsResourceModel ¶
type ValueDataSource ¶
type ValueDataSource struct {
// contains filtered or unexported fields
}
func (*ValueDataSource) Configure ¶
func (d *ValueDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ValueDataSource) Metadata ¶
func (d *ValueDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ValueDataSource) Read ¶
func (d *ValueDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ValueDataSource) Schema ¶
func (d *ValueDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ValueDataSourceModel ¶
type ValueResource ¶
type ValueResource struct {
// contains filtered or unexported fields
}
ValueResource defines the resource implementation.
func (*ValueResource) Configure ¶
func (r *ValueResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ValueResource) Create ¶
func (r *ValueResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ValueResource) Delete ¶
func (r *ValueResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ValueResource) ImportState ¶
func (r *ValueResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ValueResource) Metadata ¶
func (r *ValueResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ValueResource) Read ¶
func (r *ValueResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ValueResource) Schema ¶
func (r *ValueResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ValueResource) Update ¶
func (r *ValueResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ValueResourceModel ¶
type ValueResourceModel struct { Id types.String `tfsdk:"id"` VaultID types.String `tfsdk:"vault_id"` LastUpdated types.String `tfsdk:"last_updated"` Name types.String `tfsdk:"name"` Passframe types.String `tfsdk:"passframe"` Type types.String `tfsdk:"type"` CreatorKey types.String `tfsdk:"creator_key"` }
ExampleResourceModel describes the resource data model.
type VaultCloud ¶
type VaultCloud struct {
// contains filtered or unexported fields
}
VaultCloud defines the provider implementation.
func (*VaultCloud) Configure ¶
func (p *VaultCloud) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*VaultCloud) DataSources ¶
func (p *VaultCloud) DataSources(ctx context.Context) []func() datasource.DataSource
func (*VaultCloud) Metadata ¶
func (p *VaultCloud) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*VaultCloud) Resources ¶
func (p *VaultCloud) Resources(ctx context.Context) []func() resource.Resource
func (*VaultCloud) Schema ¶
func (p *VaultCloud) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type VaultCloudProviderModel ¶
VaultCloudProviderModel describes the provider data model.
type VaultDataSource ¶
type VaultDataSource struct {
// contains filtered or unexported fields
}
func (*VaultDataSource) Configure ¶
func (d *VaultDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VaultDataSource) Metadata ¶
func (d *VaultDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*VaultDataSource) Read ¶
func (d *VaultDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VaultDataSource) Schema ¶
func (d *VaultDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type VaultDataSourceModel ¶
type VaultResource ¶
type VaultResource struct {
// contains filtered or unexported fields
}
VaultResource defines the resource implementation.
func (*VaultResource) Configure ¶
func (r *VaultResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VaultResource) Create ¶
func (r *VaultResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VaultResource) Delete ¶
func (r *VaultResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VaultResource) ImportState ¶
func (r *VaultResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VaultResource) Metadata ¶
func (r *VaultResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VaultResource) Read ¶
func (r *VaultResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VaultResource) Schema ¶
func (r *VaultResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VaultResource) Update ¶
func (r *VaultResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VaultResourceModel ¶
type VaultResourceModel struct { Id types.String `tfsdk:"id"` Token types.String `tfsdk:"token"` Name types.String `tfsdk:"name"` LastUpdated types.String `tfsdk:"last_updated"` Operator_Id types.String `tfsdk:"operator_id"` Operator_PublicKey types.String `tfsdk:"operator_public_key"` Operator_PrivateKey types.String `tfsdk:"operator_private_key"` Operator_Name types.String `tfsdk:"operator_name"` }
ExampleResourceModel describes the resource data model.
Click to show internal directories.
Click to hide internal directories.