Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LateInitializer ¶
LateInitializer is mock LateInitializer.
func (*LateInitializer) LateInitialize ¶
func (li *LateInitializer) LateInitialize(_ []byte) (bool, error)
LateInitialize is a mock.
type MetadataProvider ¶
type MetadataProvider struct { Type string SchemaVersion int ConnectionDetailsMapping map[string]string }
MetadataProvider is mock MetadataProvider.
func (*MetadataProvider) GetConnectionDetailsMapping ¶
func (mp *MetadataProvider) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping is a mock.
func (*MetadataProvider) GetTerraformResourceType ¶
func (mp *MetadataProvider) GetTerraformResourceType() string
GetTerraformResourceType is a mock.
func (*MetadataProvider) GetTerraformSchemaVersion ¶
func (mp *MetadataProvider) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion is a mock.
type Observable ¶
type Observable struct { Observation map[string]any AdditionalConnectionDetails map[string][]byte ID string }
Observable is mock Observable.
func (*Observable) GetAdditionalConnectionDetails ¶
GetAdditionalConnectionDetails is a mock
func (*Observable) GetObservation ¶
func (o *Observable) GetObservation() (map[string]any, error)
GetObservation is a mock.
func (*Observable) SetObservation ¶
func (o *Observable) SetObservation(data map[string]any) error
SetObservation is a mock.
type Option ¶
type Option func(terraformed *Terraformed)
Option is an option to modify the properties of a Terraformed object.
func WithParameters ¶
WithParameters sets the parameters of a Terraformed.
type Parameterizable ¶
Parameterizable is mock Parameterizable.
func (*Parameterizable) GetInitParameters ¶
func (p *Parameterizable) GetInitParameters() (map[string]any, error)
GetInitParameters is a mock.
func (*Parameterizable) GetParameters ¶
func (p *Parameterizable) GetParameters() (map[string]any, error)
GetParameters is a mock.
func (*Parameterizable) SetParameters ¶
func (p *Parameterizable) SetParameters(data map[string]any) error
SetParameters is a mock.
type Terraformed ¶
type Terraformed struct { fake.Managed Observable Parameterizable MetadataProvider LateInitializer }
Terraformed is a mock that implements Terraformed interface.
func NewTerraformed ¶
func NewTerraformed(opts ...Option) *Terraformed
NewTerraformed initializes a new Terraformed with the given options.
func (*Terraformed) DeepCopyObject ¶
func (t *Terraformed) DeepCopyObject() runtime.Object
DeepCopyObject returns a copy of the object as runtime.Object
func (*Terraformed) GetMergedParameters ¶
func (t *Terraformed) GetMergedParameters(_ bool) (map[string]any, error)
func (*Terraformed) GetObjectKind ¶
func (t *Terraformed) GetObjectKind() schema.ObjectKind
GetObjectKind returns schema.ObjectKind.