Documentation
¶
Index ¶
- func GetUUIDFromSecretRef(ref string) string
- func GetUUIDfromContainerRef(ref string) string
- func NewContainerDataSource() datasource.DataSource
- func NewSecretDataSource() datasource.DataSource
- func ResourceKeyManagerContainer() *schema.Resource
- func ResourceKeyManagerSecret() *schema.Resource
- type ContainerDataSource
- func (d *ContainerDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ContainerDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ContainerDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ContainerDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ContainerDataSourceACLModel
- type ContainerDataSourceACLOperationModel
- type ContainerDataSourceConsumerModel
- type ContainerDataSourceModel
- type ContainerDataSourceSecretRefModel
- type SecretDataSource
- func (d *SecretDataSource) ACLSchemas() map[string]schema.Attribute
- func (d *SecretDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SecretDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SecretDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SecretDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SecretDataSourceACLModel
- type SecretDataSourceACLOperationModel
- type SecretDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUUIDFromSecretRef ¶ added in v0.4.0
func GetUUIDFromSecretRef(ref string) string
func GetUUIDfromContainerRef ¶ added in v0.4.0
func GetUUIDfromContainerRef(ref string) string
func NewContainerDataSource ¶ added in v0.4.0
func NewContainerDataSource() datasource.DataSource
func NewSecretDataSource ¶ added in v0.4.0
func NewSecretDataSource() datasource.DataSource
func ResourceKeyManagerContainer ¶
func ResourceKeyManagerContainer() *schema.Resource
func ResourceKeyManagerSecret ¶
func ResourceKeyManagerSecret() *schema.Resource
Types ¶
type ContainerDataSource ¶ added in v0.4.0
type ContainerDataSource struct {
// contains filtered or unexported fields
}
func (*ContainerDataSource) Configure ¶ added in v0.4.0
func (d *ContainerDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ContainerDataSource) Metadata ¶ added in v0.4.0
func (d *ContainerDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
type ContainerDataSourceACLModel ¶ added in v0.4.0
type ContainerDataSourceACLModel struct {
Read []ContainerDataSourceACLOperationModel `tfsdk:"read"`
}
type ContainerDataSourceACLOperationModel ¶ added in v0.4.0
type ContainerDataSourceACLOperationModel struct {
CreatedAt types.String `tfsdk:"created_at"`
ProjectAccess types.Bool `tfsdk:"project_access"`
UpdatedAt types.String `tfsdk:"updated_at"`
Users types.Set `tfsdk:"users"`
}
type ContainerDataSourceConsumerModel ¶ added in v0.4.0
type ContainerDataSourceConsumerModel struct {
Name types.String `tfsdk:"name"`
URL types.String `tfsdk:"url"`
}
type ContainerDataSourceModel ¶ added in v0.4.0
type ContainerDataSourceModel struct {
ID types.String `tfsdk:"id"`
Region types.String `tfsdk:"region"`
ACL []ContainerDataSourceACLModel `tfsdk:"acl"`
Consumers []ContainerDataSourceConsumerModel `tfsdk:"consumers"`
ContainerRef types.String `tfsdk:"container_ref"`
CreatedAt types.String `tfsdk:"created_at"`
CreatorID types.String `tfsdk:"creator_id"`
Name types.String `tfsdk:"name"`
SecretRefs []ContainerDataSourceSecretRefModel `tfsdk:"secret_refs"`
Status types.String `tfsdk:"status"`
Type types.String `tfsdk:"type"`
UpdatedAt types.String `tfsdk:"updated_at"`
}
type ContainerDataSourceSecretRefModel ¶ added in v0.4.0
type ContainerDataSourceSecretRefModel struct {
Name types.String `tfsdk:"name"`
SecretRef types.String `tfsdk:"secret_ref"`
}
type SecretDataSource ¶ added in v0.4.0
type SecretDataSource struct {
// contains filtered or unexported fields
}
func (*SecretDataSource) ACLSchemas ¶ added in v0.4.0
func (d *SecretDataSource) ACLSchemas() map[string]schema.Attribute
func (*SecretDataSource) Configure ¶ added in v0.4.0
func (d *SecretDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SecretDataSource) Metadata ¶ added in v0.4.0
func (d *SecretDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
type SecretDataSourceACLModel ¶ added in v0.4.0
type SecretDataSourceACLModel struct {
Read []SecretDataSourceACLOperationModel `tfsdk:"read"`
}
type SecretDataSourceACLOperationModel ¶ added in v0.4.0
type SecretDataSourceACLOperationModel struct {
CreatedAt types.String `tfsdk:"created_at"`
ProjectAccess types.Bool `tfsdk:"project_access"`
UpdatedAt types.String `tfsdk:"updated_at"`
Users types.Set `tfsdk:"users"`
}
type SecretDataSourceModel ¶ added in v0.4.0
type SecretDataSourceModel struct {
ID types.String `tfsdk:"id"`
Region types.String `tfsdk:"region"`
ACL []SecretDataSourceACLModel `tfsdk:"acl"`
ACLOnly types.Bool `tfsdk:"acl_only"`
Algorithm types.String `tfsdk:"algorithm"`
BitLength types.Int64 `tfsdk:"bit_length"`
ContentTypes types.Map `tfsdk:"content_types"`
CreatedAt types.String `tfsdk:"created_at"`
CreatedAtFilter types.String `tfsdk:"created_at_filter"`
CreatorID types.String `tfsdk:"creator_id"`
Expiration types.String `tfsdk:"expiration"`
ExpirationFilter types.String `tfsdk:"expiration_filter"`
Metadata types.Map `tfsdk:"metadata"`
Mode types.String `tfsdk:"mode"`
Name types.String `tfsdk:"name"`
Payload types.String `tfsdk:"payload"`
PayloadContentEncoding types.String `tfsdk:"payload_content_encoding"`
PayloadContentType types.String `tfsdk:"payload_content_type"`
SecretRef types.String `tfsdk:"secret_ref"`
SecretType types.String `tfsdk:"secret_type"`
Status types.String `tfsdk:"status"`
UpdatedAt types.String `tfsdk:"updated_at"`
UpdatedAtFilter types.String `tfsdk:"updated_at_filter"`
}
Click to show internal directories.
Click to hide internal directories.