Documentation ¶
Index ¶
- type Args
- type MetadataAttributes
- type MetadataState
- type Resource
- func (gfr *Resource) Attributes() googleFirebaserulesRulesetAttributes
- func (gfr *Resource) Configuration() interface{}
- func (gfr *Resource) DependOn() terra.Reference
- func (gfr *Resource) Dependencies() terra.Dependencies
- func (gfr *Resource) ImportState(state io.Reader) error
- func (gfr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gfr *Resource) LocalName() string
- func (gfr *Resource) State() (*googleFirebaserulesRulesetState, bool)
- func (gfr *Resource) StateMust() *googleFirebaserulesRulesetState
- func (gfr *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) Files() terra.ListValue[SourceFilesAttributes]
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) Language() terra.StringValue
- type SourceFiles
- type SourceFilesAttributes
- func (f SourceFilesAttributes) Content() terra.StringValue
- func (f SourceFilesAttributes) Fingerprint() terra.StringValue
- func (f SourceFilesAttributes) InternalRef() (terra.Reference, error)
- func (f SourceFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f SourceFilesAttributes) InternalWithRef(ref terra.Reference) SourceFilesAttributes
- func (f SourceFilesAttributes) Name() terra.StringValue
- type SourceFilesState
- type SourceState
- 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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Source: required Source *Source `hcl:"source,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_firebaserules_ruleset.
type MetadataAttributes ¶
type MetadataAttributes struct {
// contains filtered or unexported fields
}
func (MetadataAttributes) InternalRef ¶
func (m MetadataAttributes) InternalRef() (terra.Reference, error)
func (MetadataAttributes) InternalTokens ¶
func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataAttributes) InternalWithRef ¶
func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
func (MetadataAttributes) Services ¶
func (m MetadataAttributes) Services() terra.ListValue[terra.StringValue]
type MetadataState ¶
type MetadataState struct {
Services []string `json:"services"`
}
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_firebaserules_ruleset.
func (*Resource) Attributes ¶
func (gfr *Resource) Attributes() googleFirebaserulesRulesetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gfr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gfr *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 Source ¶
type Source struct { // Language: string, optional Language terra.StringValue `hcl:"language,attr"` // SourceFiles: min=1 Files []SourceFiles `hcl:"files,block" validate:"min=1"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Files ¶
func (s SourceAttributes) Files() terra.ListValue[SourceFilesAttributes]
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
func (SourceAttributes) Language ¶
func (s SourceAttributes) Language() terra.StringValue
type SourceFiles ¶
type SourceFiles struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // Fingerprint: string, optional Fingerprint terra.StringValue `hcl:"fingerprint,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SourceFilesAttributes ¶
type SourceFilesAttributes struct {
// contains filtered or unexported fields
}
func (SourceFilesAttributes) Content ¶
func (f SourceFilesAttributes) Content() terra.StringValue
func (SourceFilesAttributes) Fingerprint ¶
func (f SourceFilesAttributes) Fingerprint() terra.StringValue
func (SourceFilesAttributes) InternalRef ¶
func (f SourceFilesAttributes) InternalRef() (terra.Reference, error)
func (SourceFilesAttributes) InternalTokens ¶
func (f SourceFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceFilesAttributes) InternalWithRef ¶
func (f SourceFilesAttributes) InternalWithRef(ref terra.Reference) SourceFilesAttributes
func (SourceFilesAttributes) Name ¶
func (f SourceFilesAttributes) Name() terra.StringValue
type SourceFilesState ¶
type SourceState ¶
type SourceState struct { Language string `json:"language"` Files []SourceFilesState `json:"files"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.