Documentation ¶
Index ¶
- type Args
- type Resource
- func (ggbrp *Resource) Attributes() googleGkeBackupRestorePlanAttributes
- func (ggbrp *Resource) Configuration() interface{}
- func (ggbrp *Resource) DependOn() terra.Reference
- func (ggbrp *Resource) Dependencies() terra.Dependencies
- func (ggbrp *Resource) ImportState(state io.Reader) error
- func (ggbrp *Resource) LifecycleManagement() *terra.Lifecycle
- func (ggbrp *Resource) LocalName() string
- func (ggbrp *Resource) State() (*googleGkeBackupRestorePlanState, bool)
- func (ggbrp *Resource) StateMust() *googleGkeBackupRestorePlanState
- func (ggbrp *Resource) Type() string
- type RestoreConfig
- type RestoreConfigAttributes
- func (rc RestoreConfigAttributes) AllNamespaces() terra.BoolValue
- func (rc RestoreConfigAttributes) ClusterResourceConflictPolicy() terra.StringValue
- func (rc RestoreConfigAttributes) ClusterResourceRestoreScope() terra.ListValue[RestoreConfigClusterResourceRestoreScopeAttributes]
- func (rc RestoreConfigAttributes) ExcludedNamespaces() terra.ListValue[RestoreConfigExcludedNamespacesAttributes]
- func (rc RestoreConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc RestoreConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RestoreConfigAttributes) InternalWithRef(ref terra.Reference) RestoreConfigAttributes
- func (rc RestoreConfigAttributes) NamespacedResourceRestoreMode() terra.StringValue
- func (rc RestoreConfigAttributes) NoNamespaces() terra.BoolValue
- func (rc RestoreConfigAttributes) SelectedApplications() terra.ListValue[RestoreConfigSelectedApplicationsAttributes]
- func (rc RestoreConfigAttributes) SelectedNamespaces() terra.ListValue[RestoreConfigSelectedNamespacesAttributes]
- func (rc RestoreConfigAttributes) TransformationRules() terra.ListValue[RestoreConfigTransformationRulesAttributes]
- func (rc RestoreConfigAttributes) VolumeDataRestorePolicy() terra.StringValue
- type RestoreConfigClusterResourceRestoreScope
- type RestoreConfigClusterResourceRestoreScopeAttributes
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) AllGroupKinds() terra.BoolValue
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) ExcludedGroupKinds() ...
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalRef() (terra.Reference, error)
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalWithRef(ref terra.Reference) RestoreConfigClusterResourceRestoreScopeAttributes
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) NoGroupKinds() terra.BoolValue
- func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) SelectedGroupKinds() ...
- type RestoreConfigClusterResourceRestoreScopeExcludedGroupKinds
- type RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes
- func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalRef() (terra.Reference, error)
- func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes
- func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceGroup() terra.StringValue
- func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceKind() terra.StringValue
- type RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsState
- type RestoreConfigClusterResourceRestoreScopeSelectedGroupKinds
- type RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes
- func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalRef() (terra.Reference, error)
- func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes
- func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceGroup() terra.StringValue
- func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceKind() terra.StringValue
- type RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsState
- type RestoreConfigClusterResourceRestoreScopeState
- type RestoreConfigExcludedNamespaces
- type RestoreConfigExcludedNamespacesAttributes
- func (en RestoreConfigExcludedNamespacesAttributes) InternalRef() (terra.Reference, error)
- func (en RestoreConfigExcludedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (en RestoreConfigExcludedNamespacesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigExcludedNamespacesAttributes
- func (en RestoreConfigExcludedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
- type RestoreConfigExcludedNamespacesState
- type RestoreConfigSelectedApplications
- type RestoreConfigSelectedApplicationsAttributes
- func (sa RestoreConfigSelectedApplicationsAttributes) InternalRef() (terra.Reference, error)
- func (sa RestoreConfigSelectedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa RestoreConfigSelectedApplicationsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedApplicationsAttributes
- func (sa RestoreConfigSelectedApplicationsAttributes) NamespacedNames() terra.ListValue[RestoreConfigSelectedApplicationsNamespacedNamesAttributes]
- type RestoreConfigSelectedApplicationsNamespacedNames
- type RestoreConfigSelectedApplicationsNamespacedNamesAttributes
- func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef() (terra.Reference, error)
- func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedApplicationsNamespacedNamesAttributes
- func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Name() terra.StringValue
- func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Namespace() terra.StringValue
- type RestoreConfigSelectedApplicationsNamespacedNamesState
- type RestoreConfigSelectedApplicationsState
- type RestoreConfigSelectedNamespaces
- type RestoreConfigSelectedNamespacesAttributes
- func (sn RestoreConfigSelectedNamespacesAttributes) InternalRef() (terra.Reference, error)
- func (sn RestoreConfigSelectedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sn RestoreConfigSelectedNamespacesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedNamespacesAttributes
- func (sn RestoreConfigSelectedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
- type RestoreConfigSelectedNamespacesState
- type RestoreConfigState
- type RestoreConfigTransformationRules
- type RestoreConfigTransformationRulesAttributes
- func (tr RestoreConfigTransformationRulesAttributes) Description() terra.StringValue
- func (tr RestoreConfigTransformationRulesAttributes) FieldActions() terra.ListValue[RestoreConfigTransformationRulesFieldActionsAttributes]
- func (tr RestoreConfigTransformationRulesAttributes) InternalRef() (terra.Reference, error)
- func (tr RestoreConfigTransformationRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr RestoreConfigTransformationRulesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesAttributes
- func (tr RestoreConfigTransformationRulesAttributes) ResourceFilter() terra.ListValue[RestoreConfigTransformationRulesResourceFilterAttributes]
- type RestoreConfigTransformationRulesFieldActions
- type RestoreConfigTransformationRulesFieldActionsAttributes
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) FromPath() terra.StringValue
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalRef() (terra.Reference, error)
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesFieldActionsAttributes
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) Op() terra.StringValue
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) Path() terra.StringValue
- func (fa RestoreConfigTransformationRulesFieldActionsAttributes) Value() terra.StringValue
- type RestoreConfigTransformationRulesFieldActionsState
- type RestoreConfigTransformationRulesResourceFilter
- type RestoreConfigTransformationRulesResourceFilterAttributes
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) GroupKinds() ...
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalRef() (terra.Reference, error)
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesResourceFilterAttributes
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) JsonPath() terra.StringValue
- func (rf RestoreConfigTransformationRulesResourceFilterAttributes) Namespaces() terra.ListValue[terra.StringValue]
- type RestoreConfigTransformationRulesResourceFilterGroupKinds
- type RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes
- func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalRef() (terra.Reference, error)
- func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes
- func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceGroup() terra.StringValue
- func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceKind() terra.StringValue
- type RestoreConfigTransformationRulesResourceFilterGroupKindsState
- type RestoreConfigTransformationRulesResourceFilterState
- type RestoreConfigTransformationRulesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BackupPlan: string, required BackupPlan terra.StringValue `hcl:"backup_plan,attr" validate:"required"` // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // RestoreConfig: required RestoreConfig *RestoreConfig `hcl:"restore_config,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_gke_backup_restore_plan.
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 google_gke_backup_restore_plan.
func (*Resource) Attributes ¶
func (ggbrp *Resource) Attributes() googleGkeBackupRestorePlanAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ggbrp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ggbrp *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.
type RestoreConfig ¶
type RestoreConfig struct { // AllNamespaces: bool, optional AllNamespaces terra.BoolValue `hcl:"all_namespaces,attr"` // ClusterResourceConflictPolicy: string, optional ClusterResourceConflictPolicy terra.StringValue `hcl:"cluster_resource_conflict_policy,attr"` // NamespacedResourceRestoreMode: string, optional NamespacedResourceRestoreMode terra.StringValue `hcl:"namespaced_resource_restore_mode,attr"` // NoNamespaces: bool, optional NoNamespaces terra.BoolValue `hcl:"no_namespaces,attr"` // VolumeDataRestorePolicy: string, optional VolumeDataRestorePolicy terra.StringValue `hcl:"volume_data_restore_policy,attr"` // RestoreConfigClusterResourceRestoreScope: optional ClusterResourceRestoreScope *RestoreConfigClusterResourceRestoreScope `hcl:"cluster_resource_restore_scope,block"` // RestoreConfigExcludedNamespaces: optional ExcludedNamespaces *RestoreConfigExcludedNamespaces `hcl:"excluded_namespaces,block"` // RestoreConfigSelectedApplications: optional SelectedApplications *RestoreConfigSelectedApplications `hcl:"selected_applications,block"` // RestoreConfigSelectedNamespaces: optional SelectedNamespaces *RestoreConfigSelectedNamespaces `hcl:"selected_namespaces,block"` // RestoreConfigTransformationRules: min=0 TransformationRules []RestoreConfigTransformationRules `hcl:"transformation_rules,block" validate:"min=0"` }
type RestoreConfigAttributes ¶
type RestoreConfigAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigAttributes) AllNamespaces ¶
func (rc RestoreConfigAttributes) AllNamespaces() terra.BoolValue
func (RestoreConfigAttributes) ClusterResourceConflictPolicy ¶
func (rc RestoreConfigAttributes) ClusterResourceConflictPolicy() terra.StringValue
func (RestoreConfigAttributes) ClusterResourceRestoreScope ¶
func (rc RestoreConfigAttributes) ClusterResourceRestoreScope() terra.ListValue[RestoreConfigClusterResourceRestoreScopeAttributes]
func (RestoreConfigAttributes) ExcludedNamespaces ¶
func (rc RestoreConfigAttributes) ExcludedNamespaces() terra.ListValue[RestoreConfigExcludedNamespacesAttributes]
func (RestoreConfigAttributes) InternalRef ¶
func (rc RestoreConfigAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigAttributes) InternalTokens ¶
func (rc RestoreConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigAttributes) InternalWithRef ¶
func (rc RestoreConfigAttributes) InternalWithRef(ref terra.Reference) RestoreConfigAttributes
func (RestoreConfigAttributes) NamespacedResourceRestoreMode ¶
func (rc RestoreConfigAttributes) NamespacedResourceRestoreMode() terra.StringValue
func (RestoreConfigAttributes) NoNamespaces ¶
func (rc RestoreConfigAttributes) NoNamespaces() terra.BoolValue
func (RestoreConfigAttributes) SelectedApplications ¶
func (rc RestoreConfigAttributes) SelectedApplications() terra.ListValue[RestoreConfigSelectedApplicationsAttributes]
func (RestoreConfigAttributes) SelectedNamespaces ¶
func (rc RestoreConfigAttributes) SelectedNamespaces() terra.ListValue[RestoreConfigSelectedNamespacesAttributes]
func (RestoreConfigAttributes) TransformationRules ¶
func (rc RestoreConfigAttributes) TransformationRules() terra.ListValue[RestoreConfigTransformationRulesAttributes]
func (RestoreConfigAttributes) VolumeDataRestorePolicy ¶
func (rc RestoreConfigAttributes) VolumeDataRestorePolicy() terra.StringValue
type RestoreConfigClusterResourceRestoreScope ¶
type RestoreConfigClusterResourceRestoreScope struct { // AllGroupKinds: bool, optional AllGroupKinds terra.BoolValue `hcl:"all_group_kinds,attr"` // NoGroupKinds: bool, optional NoGroupKinds terra.BoolValue `hcl:"no_group_kinds,attr"` // RestoreConfigClusterResourceRestoreScopeExcludedGroupKinds: min=0 ExcludedGroupKinds []RestoreConfigClusterResourceRestoreScopeExcludedGroupKinds `hcl:"excluded_group_kinds,block" validate:"min=0"` // RestoreConfigClusterResourceRestoreScopeSelectedGroupKinds: min=0 SelectedGroupKinds []RestoreConfigClusterResourceRestoreScopeSelectedGroupKinds `hcl:"selected_group_kinds,block" validate:"min=0"` }
type RestoreConfigClusterResourceRestoreScopeAttributes ¶
type RestoreConfigClusterResourceRestoreScopeAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigClusterResourceRestoreScopeAttributes) AllGroupKinds ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) AllGroupKinds() terra.BoolValue
func (RestoreConfigClusterResourceRestoreScopeAttributes) ExcludedGroupKinds ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) ExcludedGroupKinds() terra.ListValue[RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes]
func (RestoreConfigClusterResourceRestoreScopeAttributes) InternalRef ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigClusterResourceRestoreScopeAttributes) InternalTokens ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigClusterResourceRestoreScopeAttributes) InternalWithRef ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) InternalWithRef(ref terra.Reference) RestoreConfigClusterResourceRestoreScopeAttributes
func (RestoreConfigClusterResourceRestoreScopeAttributes) NoGroupKinds ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) NoGroupKinds() terra.BoolValue
func (RestoreConfigClusterResourceRestoreScopeAttributes) SelectedGroupKinds ¶
func (crrs RestoreConfigClusterResourceRestoreScopeAttributes) SelectedGroupKinds() terra.ListValue[RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes]
type RestoreConfigClusterResourceRestoreScopeExcludedGroupKinds ¶
type RestoreConfigClusterResourceRestoreScopeExcludedGroupKinds struct { // ResourceGroup: string, optional ResourceGroup terra.StringValue `hcl:"resource_group,attr"` // ResourceKind: string, optional ResourceKind terra.StringValue `hcl:"resource_kind,attr"` }
type RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes ¶
type RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalRef ¶
func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalTokens ¶
func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) InternalWithRef ¶
func (RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceGroup ¶
func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceGroup() terra.StringValue
func (RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceKind ¶
func (egk RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsAttributes) ResourceKind() terra.StringValue
type RestoreConfigClusterResourceRestoreScopeSelectedGroupKinds ¶
type RestoreConfigClusterResourceRestoreScopeSelectedGroupKinds struct { // ResourceGroup: string, optional ResourceGroup terra.StringValue `hcl:"resource_group,attr"` // ResourceKind: string, optional ResourceKind terra.StringValue `hcl:"resource_kind,attr"` }
type RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes ¶
type RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalRef ¶
func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalTokens ¶
func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) InternalWithRef ¶
func (RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceGroup ¶
func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceGroup() terra.StringValue
func (RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceKind ¶
func (sgk RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsAttributes) ResourceKind() terra.StringValue
type RestoreConfigClusterResourceRestoreScopeState ¶
type RestoreConfigClusterResourceRestoreScopeState struct { AllGroupKinds bool `json:"all_group_kinds"` NoGroupKinds bool `json:"no_group_kinds"` ExcludedGroupKinds []RestoreConfigClusterResourceRestoreScopeExcludedGroupKindsState `json:"excluded_group_kinds"` SelectedGroupKinds []RestoreConfigClusterResourceRestoreScopeSelectedGroupKindsState `json:"selected_group_kinds"` }
type RestoreConfigExcludedNamespaces ¶
type RestoreConfigExcludedNamespaces struct { // Namespaces: list of string, required Namespaces terra.ListValue[terra.StringValue] `hcl:"namespaces,attr" validate:"required"` }
type RestoreConfigExcludedNamespacesAttributes ¶
type RestoreConfigExcludedNamespacesAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigExcludedNamespacesAttributes) InternalRef ¶
func (en RestoreConfigExcludedNamespacesAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigExcludedNamespacesAttributes) InternalTokens ¶
func (en RestoreConfigExcludedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigExcludedNamespacesAttributes) InternalWithRef ¶
func (en RestoreConfigExcludedNamespacesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigExcludedNamespacesAttributes
func (RestoreConfigExcludedNamespacesAttributes) Namespaces ¶
func (en RestoreConfigExcludedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
type RestoreConfigExcludedNamespacesState ¶
type RestoreConfigExcludedNamespacesState struct {
Namespaces []string `json:"namespaces"`
}
type RestoreConfigSelectedApplications ¶
type RestoreConfigSelectedApplications struct { // RestoreConfigSelectedApplicationsNamespacedNames: min=1 NamespacedNames []RestoreConfigSelectedApplicationsNamespacedNames `hcl:"namespaced_names,block" validate:"min=1"` }
type RestoreConfigSelectedApplicationsAttributes ¶
type RestoreConfigSelectedApplicationsAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigSelectedApplicationsAttributes) InternalRef ¶
func (sa RestoreConfigSelectedApplicationsAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigSelectedApplicationsAttributes) InternalTokens ¶
func (sa RestoreConfigSelectedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigSelectedApplicationsAttributes) InternalWithRef ¶
func (sa RestoreConfigSelectedApplicationsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedApplicationsAttributes
func (RestoreConfigSelectedApplicationsAttributes) NamespacedNames ¶
func (sa RestoreConfigSelectedApplicationsAttributes) NamespacedNames() terra.ListValue[RestoreConfigSelectedApplicationsNamespacedNamesAttributes]
type RestoreConfigSelectedApplicationsNamespacedNames ¶
type RestoreConfigSelectedApplicationsNamespacedNames struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` }
type RestoreConfigSelectedApplicationsNamespacedNamesAttributes ¶
type RestoreConfigSelectedApplicationsNamespacedNamesAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef ¶
func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens ¶
func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef ¶
func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedApplicationsNamespacedNamesAttributes
func (RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Name ¶
func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Name() terra.StringValue
func (RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Namespace ¶
func (nn RestoreConfigSelectedApplicationsNamespacedNamesAttributes) Namespace() terra.StringValue
type RestoreConfigSelectedApplicationsState ¶
type RestoreConfigSelectedApplicationsState struct {
NamespacedNames []RestoreConfigSelectedApplicationsNamespacedNamesState `json:"namespaced_names"`
}
type RestoreConfigSelectedNamespaces ¶
type RestoreConfigSelectedNamespaces struct { // Namespaces: list of string, required Namespaces terra.ListValue[terra.StringValue] `hcl:"namespaces,attr" validate:"required"` }
type RestoreConfigSelectedNamespacesAttributes ¶
type RestoreConfigSelectedNamespacesAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigSelectedNamespacesAttributes) InternalRef ¶
func (sn RestoreConfigSelectedNamespacesAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigSelectedNamespacesAttributes) InternalTokens ¶
func (sn RestoreConfigSelectedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigSelectedNamespacesAttributes) InternalWithRef ¶
func (sn RestoreConfigSelectedNamespacesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigSelectedNamespacesAttributes
func (RestoreConfigSelectedNamespacesAttributes) Namespaces ¶
func (sn RestoreConfigSelectedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
type RestoreConfigSelectedNamespacesState ¶
type RestoreConfigSelectedNamespacesState struct {
Namespaces []string `json:"namespaces"`
}
type RestoreConfigState ¶
type RestoreConfigState struct { AllNamespaces bool `json:"all_namespaces"` ClusterResourceConflictPolicy string `json:"cluster_resource_conflict_policy"` NamespacedResourceRestoreMode string `json:"namespaced_resource_restore_mode"` NoNamespaces bool `json:"no_namespaces"` VolumeDataRestorePolicy string `json:"volume_data_restore_policy"` ClusterResourceRestoreScope []RestoreConfigClusterResourceRestoreScopeState `json:"cluster_resource_restore_scope"` ExcludedNamespaces []RestoreConfigExcludedNamespacesState `json:"excluded_namespaces"` SelectedApplications []RestoreConfigSelectedApplicationsState `json:"selected_applications"` SelectedNamespaces []RestoreConfigSelectedNamespacesState `json:"selected_namespaces"` TransformationRules []RestoreConfigTransformationRulesState `json:"transformation_rules"` }
type RestoreConfigTransformationRules ¶
type RestoreConfigTransformationRules struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // RestoreConfigTransformationRulesFieldActions: min=1 FieldActions []RestoreConfigTransformationRulesFieldActions `hcl:"field_actions,block" validate:"min=1"` // RestoreConfigTransformationRulesResourceFilter: optional ResourceFilter *RestoreConfigTransformationRulesResourceFilter `hcl:"resource_filter,block"` }
type RestoreConfigTransformationRulesAttributes ¶
type RestoreConfigTransformationRulesAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigTransformationRulesAttributes) Description ¶
func (tr RestoreConfigTransformationRulesAttributes) Description() terra.StringValue
func (RestoreConfigTransformationRulesAttributes) FieldActions ¶
func (tr RestoreConfigTransformationRulesAttributes) FieldActions() terra.ListValue[RestoreConfigTransformationRulesFieldActionsAttributes]
func (RestoreConfigTransformationRulesAttributes) InternalRef ¶
func (tr RestoreConfigTransformationRulesAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigTransformationRulesAttributes) InternalTokens ¶
func (tr RestoreConfigTransformationRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigTransformationRulesAttributes) InternalWithRef ¶
func (tr RestoreConfigTransformationRulesAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesAttributes
func (RestoreConfigTransformationRulesAttributes) ResourceFilter ¶
func (tr RestoreConfigTransformationRulesAttributes) ResourceFilter() terra.ListValue[RestoreConfigTransformationRulesResourceFilterAttributes]
type RestoreConfigTransformationRulesFieldActions ¶
type RestoreConfigTransformationRulesFieldActions struct { // FromPath: string, optional FromPath terra.StringValue `hcl:"from_path,attr"` // Op: string, required Op terra.StringValue `hcl:"op,attr" validate:"required"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type RestoreConfigTransformationRulesFieldActionsAttributes ¶
type RestoreConfigTransformationRulesFieldActionsAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigTransformationRulesFieldActionsAttributes) FromPath ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) FromPath() terra.StringValue
func (RestoreConfigTransformationRulesFieldActionsAttributes) InternalRef ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigTransformationRulesFieldActionsAttributes) InternalTokens ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigTransformationRulesFieldActionsAttributes) InternalWithRef ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesFieldActionsAttributes
func (RestoreConfigTransformationRulesFieldActionsAttributes) Path ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) Path() terra.StringValue
func (RestoreConfigTransformationRulesFieldActionsAttributes) Value ¶
func (fa RestoreConfigTransformationRulesFieldActionsAttributes) Value() terra.StringValue
type RestoreConfigTransformationRulesResourceFilter ¶
type RestoreConfigTransformationRulesResourceFilter struct { // JsonPath: string, optional JsonPath terra.StringValue `hcl:"json_path,attr"` // Namespaces: list of string, optional Namespaces terra.ListValue[terra.StringValue] `hcl:"namespaces,attr"` // RestoreConfigTransformationRulesResourceFilterGroupKinds: min=0 GroupKinds []RestoreConfigTransformationRulesResourceFilterGroupKinds `hcl:"group_kinds,block" validate:"min=0"` }
type RestoreConfigTransformationRulesResourceFilterAttributes ¶
type RestoreConfigTransformationRulesResourceFilterAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigTransformationRulesResourceFilterAttributes) GroupKinds ¶
func (RestoreConfigTransformationRulesResourceFilterAttributes) InternalRef ¶
func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigTransformationRulesResourceFilterAttributes) InternalTokens ¶
func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigTransformationRulesResourceFilterAttributes) InternalWithRef ¶
func (rf RestoreConfigTransformationRulesResourceFilterAttributes) InternalWithRef(ref terra.Reference) RestoreConfigTransformationRulesResourceFilterAttributes
func (RestoreConfigTransformationRulesResourceFilterAttributes) JsonPath ¶
func (rf RestoreConfigTransformationRulesResourceFilterAttributes) JsonPath() terra.StringValue
func (RestoreConfigTransformationRulesResourceFilterAttributes) Namespaces ¶
func (rf RestoreConfigTransformationRulesResourceFilterAttributes) Namespaces() terra.ListValue[terra.StringValue]
type RestoreConfigTransformationRulesResourceFilterGroupKinds ¶
type RestoreConfigTransformationRulesResourceFilterGroupKinds struct { // ResourceGroup: string, optional ResourceGroup terra.StringValue `hcl:"resource_group,attr"` // ResourceKind: string, optional ResourceKind terra.StringValue `hcl:"resource_kind,attr"` }
type RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes ¶
type RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes struct {
// contains filtered or unexported fields
}
func (RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalRef ¶
func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalRef() (terra.Reference, error)
func (RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalTokens ¶
func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) InternalWithRef ¶
func (RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceGroup ¶
func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceGroup() terra.StringValue
func (RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceKind ¶
func (gk RestoreConfigTransformationRulesResourceFilterGroupKindsAttributes) ResourceKind() terra.StringValue
type RestoreConfigTransformationRulesResourceFilterState ¶
type RestoreConfigTransformationRulesResourceFilterState struct { JsonPath string `json:"json_path"` Namespaces []string `json:"namespaces"` GroupKinds []RestoreConfigTransformationRulesResourceFilterGroupKindsState `json:"group_kinds"` }
type RestoreConfigTransformationRulesState ¶
type RestoreConfigTransformationRulesState struct { Description string `json:"description"` FieldActions []RestoreConfigTransformationRulesFieldActionsState `json:"field_actions"` ResourceFilter []RestoreConfigTransformationRulesResourceFilterState `json:"resource_filter"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.