prop

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoEntriesToImport = errors.New("no entries to import")
View Source
var ErrNoMoreResourceType = errors.New("no more linked resource type")
View Source
var ErrUnknownResourceType = errors.New("unknown linked resource type")

Functions

This section is empty.

Types

type ACLResource

type ACLResource struct {
	ServiceResource TFBlock
	ID              string
	Name            string
	No              int
}

func NewACLResource

func NewACLResource(id, name string, sr TFBlock) *ACLResource

func (*ACLResource) GetID

func (a *ACLResource) GetID() string

func (*ACLResource) GetIDforTFImport

func (a *ACLResource) GetIDforTFImport() string

func (*ACLResource) GetName

func (a *ACLResource) GetName() string

func (*ACLResource) GetNormalizedName

func (a *ACLResource) GetNormalizedName() string

func (*ACLResource) GetRef

func (a *ACLResource) GetRef() string

func (*ACLResource) GetType

func (a *ACLResource) GetType() string

type ComputeServiceResource added in v0.4.0

type ComputeServiceResource struct {
	ID            string
	Name          string
	TargetVersion int
}

func NewComputeServiceResource added in v0.4.0

func NewComputeServiceResource(id, name string, targetVersion int) *ComputeServiceResource

func (*ComputeServiceResource) GetID added in v0.4.0

func (c *ComputeServiceResource) GetID() string

func (*ComputeServiceResource) GetIDforTFImport added in v0.4.0

func (c *ComputeServiceResource) GetIDforTFImport() string

func (*ComputeServiceResource) GetName added in v0.4.0

func (c *ComputeServiceResource) GetName() string

func (*ComputeServiceResource) GetNormalizedName added in v0.4.0

func (c *ComputeServiceResource) GetNormalizedName() string

func (*ComputeServiceResource) GetRef added in v0.4.0

func (c *ComputeServiceResource) GetRef() string

func (*ComputeServiceResource) GetType added in v0.4.0

func (c *ComputeServiceResource) GetType() string

type DictionaryResource

type DictionaryResource struct {
	ServiceResource TFBlock
	ID              string
	Name            string
}

func NewDictionaryResource

func NewDictionaryResource(id, name string, sr TFBlock) *DictionaryResource

func (*DictionaryResource) GetID

func (d *DictionaryResource) GetID() string

func (*DictionaryResource) GetIDforTFImport

func (d *DictionaryResource) GetIDforTFImport() string

func (*DictionaryResource) GetName

func (d *DictionaryResource) GetName() string

func (*DictionaryResource) GetNormalizedName

func (d *DictionaryResource) GetNormalizedName() string

func (*DictionaryResource) GetRef

func (d *DictionaryResource) GetRef() string

func (*DictionaryResource) GetType

func (d *DictionaryResource) GetType() string

type DynamicSnippetResource

type DynamicSnippetResource struct {
	ServiceResource TFBlock
	ID              string
	Name            string
}

func NewDynamicSnippetResource

func NewDynamicSnippetResource(id, name string, sr TFBlock) *DynamicSnippetResource

func (*DynamicSnippetResource) GetID

func (ds *DynamicSnippetResource) GetID() string

func (*DynamicSnippetResource) GetIDforTFImport

func (ds *DynamicSnippetResource) GetIDforTFImport() string

func (*DynamicSnippetResource) GetName

func (ds *DynamicSnippetResource) GetName() string

func (*DynamicSnippetResource) GetNormalizedName

func (ds *DynamicSnippetResource) GetNormalizedName() string

func (*DynamicSnippetResource) GetRef

func (ds *DynamicSnippetResource) GetRef() string

func (*DynamicSnippetResource) GetType

func (ds *DynamicSnippetResource) GetType() string

type LinkedResource added in v0.6.0

type LinkedResource struct {
	ServiceResource TFBlock
	ID              string
	Name            string
	Type            string
}

func NewLinkedResource added in v0.6.0

func NewLinkedResource(id, name string, sr TFBlock) *LinkedResource

func (*LinkedResource) CloneForEntriesImport added in v0.6.0

func (l *LinkedResource) CloneForEntriesImport() (*LinkedResource, error)

func (*LinkedResource) GetID added in v0.6.0

func (l *LinkedResource) GetID() string

func (*LinkedResource) GetIDforTFImport added in v0.6.0

func (l *LinkedResource) GetIDforTFImport() string

func (*LinkedResource) GetName added in v0.6.0

func (l *LinkedResource) GetName() string

func (*LinkedResource) GetNormalizedName added in v0.6.0

func (l *LinkedResource) GetNormalizedName() string

func (*LinkedResource) GetRef added in v0.6.0

func (l *LinkedResource) GetRef() string

func (*LinkedResource) GetType added in v0.6.0

func (l *LinkedResource) GetType() string

func (*LinkedResource) MutateType added in v0.6.0

func (l *LinkedResource) MutateType() error

func (*LinkedResource) SetDataStoreType added in v0.6.1

func (l *LinkedResource) SetDataStoreType(t string)

type MutatableTfBlock added in v0.6.0

type MutatableTfBlock interface {
	TFBlock
	MutateType() error
}

type TFBlock

type TFBlock interface {
	GetType() string
	GetID() string
	GetIDforTFImport() string
	GetName() string
	GetNormalizedName() string
	GetRef() string
}

type VCLServiceResource

type VCLServiceResource struct {
	ID            string
	Name          string
	TargetVersion int
}

func NewVCLServiceResource

func NewVCLServiceResource(id, name string, targetversion int) *VCLServiceResource

func (*VCLServiceResource) GetID

func (v *VCLServiceResource) GetID() string

func (*VCLServiceResource) GetIDforTFImport

func (v *VCLServiceResource) GetIDforTFImport() string

func (*VCLServiceResource) GetName

func (v *VCLServiceResource) GetName() string

func (*VCLServiceResource) GetNormalizedName

func (v *VCLServiceResource) GetNormalizedName() string

func (*VCLServiceResource) GetRef

func (v *VCLServiceResource) GetRef() string

func (*VCLServiceResource) GetType

func (v *VCLServiceResource) GetType() string

type WAFResource

type WAFResource struct {
	ServiceResource TFBlock
	ID              string
	Name            string
}

func NewWAFResource

func NewWAFResource(id string, sr TFBlock) *WAFResource

func (*WAFResource) GetID

func (w *WAFResource) GetID() string

func (*WAFResource) GetIDforTFImport

func (w *WAFResource) GetIDforTFImport() string

func (*WAFResource) GetName

func (w *WAFResource) GetName() string

func (*WAFResource) GetNormalizedName

func (w *WAFResource) GetNormalizedName() string

func (*WAFResource) GetRef

func (w *WAFResource) GetRef() string

func (*WAFResource) GetType

func (w *WAFResource) GetType() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL