Documentation ¶
Index ¶
- type AdmissionWhitelistPatterns
- type AdmissionWhitelistPatternsAttributes
- func (awp AdmissionWhitelistPatternsAttributes) InternalRef() (terra.Reference, error)
- func (awp AdmissionWhitelistPatternsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (awp AdmissionWhitelistPatternsAttributes) InternalWithRef(ref terra.Reference) AdmissionWhitelistPatternsAttributes
- func (awp AdmissionWhitelistPatternsAttributes) NamePattern() terra.StringValue
- type AdmissionWhitelistPatternsState
- type Args
- type ClusterAdmissionRules
- type ClusterAdmissionRulesAttributes
- func (car ClusterAdmissionRulesAttributes) Cluster() terra.StringValue
- func (car ClusterAdmissionRulesAttributes) EnforcementMode() terra.StringValue
- func (car ClusterAdmissionRulesAttributes) EvaluationMode() terra.StringValue
- func (car ClusterAdmissionRulesAttributes) InternalRef() (terra.Reference, error)
- func (car ClusterAdmissionRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (car ClusterAdmissionRulesAttributes) InternalWithRef(ref terra.Reference) ClusterAdmissionRulesAttributes
- func (car ClusterAdmissionRulesAttributes) RequireAttestationsBy() terra.SetValue[terra.StringValue]
- type ClusterAdmissionRulesState
- type DefaultAdmissionRule
- type DefaultAdmissionRuleAttributes
- func (dar DefaultAdmissionRuleAttributes) EnforcementMode() terra.StringValue
- func (dar DefaultAdmissionRuleAttributes) EvaluationMode() terra.StringValue
- func (dar DefaultAdmissionRuleAttributes) InternalRef() (terra.Reference, error)
- func (dar DefaultAdmissionRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dar DefaultAdmissionRuleAttributes) InternalWithRef(ref terra.Reference) DefaultAdmissionRuleAttributes
- func (dar DefaultAdmissionRuleAttributes) RequireAttestationsBy() terra.SetValue[terra.StringValue]
- type DefaultAdmissionRuleState
- type Resource
- func (gbap *Resource) Attributes() googleBinaryAuthorizationPolicyAttributes
- func (gbap *Resource) Configuration() interface{}
- func (gbap *Resource) DependOn() terra.Reference
- func (gbap *Resource) Dependencies() terra.Dependencies
- func (gbap *Resource) ImportState(state io.Reader) error
- func (gbap *Resource) LifecycleManagement() *terra.Lifecycle
- func (gbap *Resource) LocalName() string
- func (gbap *Resource) State() (*googleBinaryAuthorizationPolicyState, bool)
- func (gbap *Resource) StateMust() *googleBinaryAuthorizationPolicyState
- func (gbap *Resource) Type() string
- 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 AdmissionWhitelistPatterns ¶
type AdmissionWhitelistPatterns struct { // NamePattern: string, required NamePattern terra.StringValue `hcl:"name_pattern,attr" validate:"required"` }
type AdmissionWhitelistPatternsAttributes ¶
type AdmissionWhitelistPatternsAttributes struct {
// contains filtered or unexported fields
}
func (AdmissionWhitelistPatternsAttributes) InternalRef ¶
func (awp AdmissionWhitelistPatternsAttributes) InternalRef() (terra.Reference, error)
func (AdmissionWhitelistPatternsAttributes) InternalTokens ¶
func (awp AdmissionWhitelistPatternsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AdmissionWhitelistPatternsAttributes) InternalWithRef ¶
func (awp AdmissionWhitelistPatternsAttributes) InternalWithRef(ref terra.Reference) AdmissionWhitelistPatternsAttributes
func (AdmissionWhitelistPatternsAttributes) NamePattern ¶
func (awp AdmissionWhitelistPatternsAttributes) NamePattern() terra.StringValue
type AdmissionWhitelistPatternsState ¶
type AdmissionWhitelistPatternsState struct {
NamePattern string `json:"name_pattern"`
}
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // GlobalPolicyEvaluationMode: string, optional GlobalPolicyEvaluationMode terra.StringValue `hcl:"global_policy_evaluation_mode,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // AdmissionWhitelistPatterns: min=0 AdmissionWhitelistPatterns []AdmissionWhitelistPatterns `hcl:"admission_whitelist_patterns,block" validate:"min=0"` // ClusterAdmissionRules: min=0 ClusterAdmissionRules []ClusterAdmissionRules `hcl:"cluster_admission_rules,block" validate:"min=0"` // DefaultAdmissionRule: required DefaultAdmissionRule *DefaultAdmissionRule `hcl:"default_admission_rule,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_binary_authorization_policy.
type ClusterAdmissionRules ¶
type ClusterAdmissionRules struct { // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // EnforcementMode: string, required EnforcementMode terra.StringValue `hcl:"enforcement_mode,attr" validate:"required"` // EvaluationMode: string, required EvaluationMode terra.StringValue `hcl:"evaluation_mode,attr" validate:"required"` // RequireAttestationsBy: set of string, optional RequireAttestationsBy terra.SetValue[terra.StringValue] `hcl:"require_attestations_by,attr"` }
type ClusterAdmissionRulesAttributes ¶
type ClusterAdmissionRulesAttributes struct {
// contains filtered or unexported fields
}
func (ClusterAdmissionRulesAttributes) Cluster ¶
func (car ClusterAdmissionRulesAttributes) Cluster() terra.StringValue
func (ClusterAdmissionRulesAttributes) EnforcementMode ¶
func (car ClusterAdmissionRulesAttributes) EnforcementMode() terra.StringValue
func (ClusterAdmissionRulesAttributes) EvaluationMode ¶
func (car ClusterAdmissionRulesAttributes) EvaluationMode() terra.StringValue
func (ClusterAdmissionRulesAttributes) InternalRef ¶
func (car ClusterAdmissionRulesAttributes) InternalRef() (terra.Reference, error)
func (ClusterAdmissionRulesAttributes) InternalTokens ¶
func (car ClusterAdmissionRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterAdmissionRulesAttributes) InternalWithRef ¶
func (car ClusterAdmissionRulesAttributes) InternalWithRef(ref terra.Reference) ClusterAdmissionRulesAttributes
func (ClusterAdmissionRulesAttributes) RequireAttestationsBy ¶
func (car ClusterAdmissionRulesAttributes) RequireAttestationsBy() terra.SetValue[terra.StringValue]
type DefaultAdmissionRule ¶
type DefaultAdmissionRule struct { // EnforcementMode: string, required EnforcementMode terra.StringValue `hcl:"enforcement_mode,attr" validate:"required"` // EvaluationMode: string, required EvaluationMode terra.StringValue `hcl:"evaluation_mode,attr" validate:"required"` // RequireAttestationsBy: set of string, optional RequireAttestationsBy terra.SetValue[terra.StringValue] `hcl:"require_attestations_by,attr"` }
type DefaultAdmissionRuleAttributes ¶
type DefaultAdmissionRuleAttributes struct {
// contains filtered or unexported fields
}
func (DefaultAdmissionRuleAttributes) EnforcementMode ¶
func (dar DefaultAdmissionRuleAttributes) EnforcementMode() terra.StringValue
func (DefaultAdmissionRuleAttributes) EvaluationMode ¶
func (dar DefaultAdmissionRuleAttributes) EvaluationMode() terra.StringValue
func (DefaultAdmissionRuleAttributes) InternalRef ¶
func (dar DefaultAdmissionRuleAttributes) InternalRef() (terra.Reference, error)
func (DefaultAdmissionRuleAttributes) InternalTokens ¶
func (dar DefaultAdmissionRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultAdmissionRuleAttributes) InternalWithRef ¶
func (dar DefaultAdmissionRuleAttributes) InternalWithRef(ref terra.Reference) DefaultAdmissionRuleAttributes
func (DefaultAdmissionRuleAttributes) RequireAttestationsBy ¶
func (dar DefaultAdmissionRuleAttributes) RequireAttestationsBy() terra.SetValue[terra.StringValue]
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_binary_authorization_policy.
func (*Resource) Attributes ¶
func (gbap *Resource) Attributes() googleBinaryAuthorizationPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gbap *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gbap *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 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.