fake

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LateInitializer

type LateInitializer struct {
	Result bool
	Err    error
}

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

func (o *Observable) GetAdditionalConnectionDetails(_ map[string]any) (map[string][]byte, error)

GetAdditionalConnectionDetails is a mock

func (*Observable) GetID

func (o *Observable) GetID() string

GetID 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 Parameterizable

type Parameterizable struct {
	Parameters map[string]any
}

Parameterizable is mock Parameterizable.

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

Terraformed is a mock that implements Terraformed interface.

func (*Terraformed) DeepCopyObject

func (t *Terraformed) DeepCopyObject() runtime.Object

DeepCopyObject returns a copy of the object as runtime.Object

func (*Terraformed) GetObjectKind

func (t *Terraformed) GetObjectKind() schema.ObjectKind

GetObjectKind returns schema.ObjectKind.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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