util

package
v3.0.0-...-18a6489 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilteringProvider

type FilteringProvider struct {
	Provider         shim.Provider
	ResourceFilter   func(token string) bool
	DataSourceFilter func(token string) bool
}

func (*FilteringProvider) Apply

func (*FilteringProvider) Configure

func (p *FilteringProvider) Configure(c shim.ResourceConfig) error

func (*FilteringProvider) DataSourcesMap

func (p *FilteringProvider) DataSourcesMap() shim.ResourceMap

func (*FilteringProvider) Diff

func (*FilteringProvider) InitLogging

func (p *FilteringProvider) InitLogging()

func (*FilteringProvider) IsSet

func (p *FilteringProvider) IsSet(v interface{}) ([]interface{}, bool)

func (*FilteringProvider) Meta

func (p *FilteringProvider) Meta() interface{}

func (*FilteringProvider) NewDestroyDiff

func (p *FilteringProvider) NewDestroyDiff() shim.InstanceDiff

func (*FilteringProvider) NewResourceConfig

func (p *FilteringProvider) NewResourceConfig(object map[string]interface{}) shim.ResourceConfig

func (*FilteringProvider) ReadDataApply

func (p *FilteringProvider) ReadDataApply(t string, d shim.InstanceDiff) (shim.InstanceState, error)

func (*FilteringProvider) ReadDataDiff

func (*FilteringProvider) Refresh

func (*FilteringProvider) ResourcesMap

func (p *FilteringProvider) ResourcesMap() shim.ResourceMap

func (*FilteringProvider) Schema

func (p *FilteringProvider) Schema() shim.SchemaMap

func (*FilteringProvider) Stop

func (p *FilteringProvider) Stop() error

func (*FilteringProvider) Validate

func (p *FilteringProvider) Validate(c shim.ResourceConfig) ([]string, []error)

func (*FilteringProvider) ValidateDataSource

func (p *FilteringProvider) ValidateDataSource(t string, c shim.ResourceConfig) ([]string, []error)

func (*FilteringProvider) ValidateResource

func (p *FilteringProvider) ValidateResource(t string, c shim.ResourceConfig) ([]string, []error)

type UnimplementedProvider

type UnimplementedProvider struct{}

An embed-able unimplemented Provider for use in testing.

func (UnimplementedProvider) Apply

func (UnimplementedProvider) Configure

func (UnimplementedProvider) DataSourcesMap

func (UnimplementedProvider) DataSourcesMap() shim.ResourceMap

func (UnimplementedProvider) Diff

func (UnimplementedProvider) InitLogging

func (UnimplementedProvider) InitLogging()

func (UnimplementedProvider) IsSet

func (UnimplementedProvider) IsSet(v interface{}) ([]interface{}, bool)

func (UnimplementedProvider) Meta

func (UnimplementedProvider) Meta() interface{}

func (UnimplementedProvider) NewDestroyDiff

func (UnimplementedProvider) NewDestroyDiff() shim.InstanceDiff

func (UnimplementedProvider) NewResourceConfig

func (UnimplementedProvider) NewResourceConfig(object map[string]interface{}) shim.ResourceConfig

func (UnimplementedProvider) ReadDataApply

func (UnimplementedProvider) ReadDataDiff

func (UnimplementedProvider) Refresh

func (UnimplementedProvider) ResourcesMap

func (UnimplementedProvider) ResourcesMap() shim.ResourceMap

func (UnimplementedProvider) Schema

func (UnimplementedProvider) Stop

func (UnimplementedProvider) Validate

func (UnimplementedProvider) ValidateDataSource

func (UnimplementedProvider) ValidateDataSource(t string, c shim.ResourceConfig) ([]string, []error)

func (UnimplementedProvider) ValidateResource

func (UnimplementedProvider) ValidateResource(t string, c shim.ResourceConfig) ([]string, []error)

Jump to

Keyboard shortcuts

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