Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (vn *Resource) Attributes() vaultNamespaceAttributes
- func (vn *Resource) Configuration() interface{}
- func (vn *Resource) DependOn() terra.Reference
- func (vn *Resource) Dependencies() terra.Dependencies
- func (vn *Resource) ImportState(state io.Reader) error
- func (vn *Resource) LifecycleManagement() *terra.Lifecycle
- func (vn *Resource) LocalName() string
- func (vn *Resource) State() (*vaultNamespaceState, bool)
- func (vn *Resource) StateMust() *vaultNamespaceState
- func (vn *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CustomMetadata: map of string, optional CustomMetadata terra.MapValue[terra.StringValue] `hcl:"custom_metadata,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // PathFq: string, optional PathFq terra.StringValue `hcl:"path_fq,attr"` }
Args contains the configurations for vault_namespace.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` }
DataArgs contains the configurations for vault_namespace.
type DataSource ¶
DataSource represents the Terraform data resource vault_namespace.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (vn *DataSource) Attributes() dataVaultNamespaceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (vn *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (vn *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (vn *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource vault_namespace.
func (*Resource) Attributes ¶
func (vn *Resource) Attributes() vaultNamespaceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (vn *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (vn *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.