Documentation ¶
Index ¶
- func NewSchemaMap(pf pfutils.Schema) shim.SchemaMap
- func ShimSchemaOnlyProvider(ctx context.Context, provider pfprovider.Provider) shim.Provider
- type SchemaOnlyProvider
- func (p *SchemaOnlyProvider) Apply(context.Context, string, shim.InstanceState, shim.InstanceDiff) (shim.InstanceState, error)
- func (p *SchemaOnlyProvider) Config(ctx context.Context) (tftypes.Object, error)
- func (p *SchemaOnlyProvider) Configure(ctx context.Context, c shim.ResourceConfig) error
- func (p *SchemaOnlyProvider) DataSources(ctx context.Context) (runtypes.DataSources, error)
- func (p *SchemaOnlyProvider) DataSourcesMap() shim.ResourceMap
- func (p *SchemaOnlyProvider) Diff(context.Context, string, shim.InstanceState, shim.ResourceConfig, ...) (shim.InstanceDiff, error)
- func (p *SchemaOnlyProvider) InitLogging(context.Context)
- func (p *SchemaOnlyProvider) InternalValidate() error
- func (p *SchemaOnlyProvider) IsSet(context.Context, interface{}) ([]interface{}, bool)
- func (p *SchemaOnlyProvider) Meta(context.Context) interface{}
- func (p *SchemaOnlyProvider) NewDestroyDiff(context.Context, string, shim.TimeoutOptions) shim.InstanceDiff
- func (p *SchemaOnlyProvider) NewProviderConfig(context.Context, map[string]interface{}) shim.ResourceConfig
- func (p *SchemaOnlyProvider) NewResourceConfig(context.Context, map[string]interface{}) shim.ResourceConfig
- func (p *SchemaOnlyProvider) ReadDataApply(context.Context, string, shim.InstanceDiff) (shim.InstanceState, error)
- func (p *SchemaOnlyProvider) ReadDataDiff(context.Context, string, shim.ResourceConfig) (shim.InstanceDiff, error)
- func (p *SchemaOnlyProvider) Refresh(context.Context, string, shim.InstanceState, shim.ResourceConfig) (shim.InstanceState, error)
- func (p *SchemaOnlyProvider) Resources(ctx context.Context) (runtypes.Resources, error)
- func (p *SchemaOnlyProvider) ResourcesMap() shim.ResourceMap
- func (p *SchemaOnlyProvider) Schema() shim.SchemaMap
- func (p *SchemaOnlyProvider) Server(ctx context.Context) (tfprotov6.ProviderServer, error)
- func (p *SchemaOnlyProvider) Stop(context.Context) error
- func (p *SchemaOnlyProvider) SupportsUnknownCollections() bool
- func (p *SchemaOnlyProvider) Validate(context.Context, shim.ResourceConfig) ([]string, []error)
- func (p *SchemaOnlyProvider) ValidateDataSource(context.Context, string, shim.ResourceConfig) ([]string, []error)
- func (p *SchemaOnlyProvider) ValidateResource(context.Context, string, shim.ResourceConfig) ([]string, []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShimSchemaOnlyProvider ¶
Types ¶
type SchemaOnlyProvider ¶
type SchemaOnlyProvider struct {
// contains filtered or unexported fields
}
func (*SchemaOnlyProvider) Apply ¶
func (p *SchemaOnlyProvider) Apply( context.Context, string, shim.InstanceState, shim.InstanceDiff, ) (shim.InstanceState, error)
func (*SchemaOnlyProvider) Configure ¶
func (p *SchemaOnlyProvider) Configure(ctx context.Context, c shim.ResourceConfig) error
func (*SchemaOnlyProvider) DataSources ¶
func (p *SchemaOnlyProvider) DataSources(ctx context.Context) (runtypes.DataSources, error)
func (*SchemaOnlyProvider) DataSourcesMap ¶
func (p *SchemaOnlyProvider) DataSourcesMap() shim.ResourceMap
func (*SchemaOnlyProvider) Diff ¶
func (p *SchemaOnlyProvider) Diff( context.Context, string, shim.InstanceState, shim.ResourceConfig, shim.DiffOptions, ) (shim.InstanceDiff, error)
func (*SchemaOnlyProvider) InitLogging ¶
func (p *SchemaOnlyProvider) InitLogging(context.Context)
func (*SchemaOnlyProvider) InternalValidate ¶
func (p *SchemaOnlyProvider) InternalValidate() error
func (*SchemaOnlyProvider) IsSet ¶
func (p *SchemaOnlyProvider) IsSet(context.Context, interface{}) ([]interface{}, bool)
func (*SchemaOnlyProvider) Meta ¶
func (p *SchemaOnlyProvider) Meta(context.Context) interface{}
func (*SchemaOnlyProvider) NewDestroyDiff ¶
func (p *SchemaOnlyProvider) NewDestroyDiff(context.Context, string, shim.TimeoutOptions) shim.InstanceDiff
func (*SchemaOnlyProvider) NewProviderConfig ¶
func (p *SchemaOnlyProvider) NewProviderConfig(context.Context, map[string]interface{}) shim.ResourceConfig
func (*SchemaOnlyProvider) NewResourceConfig ¶
func (p *SchemaOnlyProvider) NewResourceConfig(context.Context, map[string]interface{}) shim.ResourceConfig
func (*SchemaOnlyProvider) ReadDataApply ¶
func (p *SchemaOnlyProvider) ReadDataApply( context.Context, string, shim.InstanceDiff, ) (shim.InstanceState, error)
func (*SchemaOnlyProvider) ReadDataDiff ¶
func (p *SchemaOnlyProvider) ReadDataDiff( context.Context, string, shim.ResourceConfig, ) (shim.InstanceDiff, error)
func (*SchemaOnlyProvider) Refresh ¶
func (p *SchemaOnlyProvider) Refresh( context.Context, string, shim.InstanceState, shim.ResourceConfig, ) (shim.InstanceState, error)
func (*SchemaOnlyProvider) ResourcesMap ¶
func (p *SchemaOnlyProvider) ResourcesMap() shim.ResourceMap
func (*SchemaOnlyProvider) Schema ¶
func (p *SchemaOnlyProvider) Schema() shim.SchemaMap
func (*SchemaOnlyProvider) Server ¶
func (p *SchemaOnlyProvider) Server(ctx context.Context) (tfprotov6.ProviderServer, error)
func (*SchemaOnlyProvider) SupportsUnknownCollections ¶
func (p *SchemaOnlyProvider) SupportsUnknownCollections() bool
func (*SchemaOnlyProvider) Validate ¶
func (p *SchemaOnlyProvider) Validate(context.Context, shim.ResourceConfig) ([]string, []error)
func (*SchemaOnlyProvider) ValidateDataSource ¶
func (p *SchemaOnlyProvider) ValidateDataSource( context.Context, string, shim.ResourceConfig) ([]string, []error)
func (*SchemaOnlyProvider) ValidateResource ¶
func (p *SchemaOnlyProvider) ValidateResource( context.Context, string, shim.ResourceConfig, ) ([]string, []error)
Click to show internal directories.
Click to hide internal directories.