Documentation ¶
Index ¶
- func GetProviderResourceSchema() map[string]*tfprotov6.Schema
- func GetResourceType(name string) (tftypes.Type, error)
- func Provider() func() tfprotov6.ProviderServer
- type RawProviderServer
- func (s *RawProviderServer) ApplyResourceChange(ctx context.Context, request *tfprotov6.ApplyResourceChangeRequest) (*tfprotov6.ApplyResourceChangeResponse, error)
- func (s *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov6.ConfigureProviderRequest) (*tfprotov6.ConfigureProviderResponse, error)
- func (s *RawProviderServer) GetProviderSchema(ctx context.Context, req *tfprotov6.GetProviderSchemaRequest) (*tfprotov6.GetProviderSchemaResponse, error)
- func (s *RawProviderServer) ImportResourceState(ctx context.Context, req *tfprotov6.ImportResourceStateRequest) (*tfprotov6.ImportResourceStateResponse, error)
- func (s *RawProviderServer) PlanResourceChange(ctx context.Context, request *tfprotov6.PlanResourceChangeRequest) (*tfprotov6.PlanResourceChangeResponse, error)
- func (s *RawProviderServer) ReadDataSource(ctx context.Context, req *tfprotov6.ReadDataSourceRequest) (*tfprotov6.ReadDataSourceResponse, error)
- func (s *RawProviderServer) ReadResource(ctx context.Context, req *tfprotov6.ReadResourceRequest) (*tfprotov6.ReadResourceResponse, error)
- func (s *RawProviderServer) StopProvider(ctx context.Context, req *tfprotov6.StopProviderRequest) (*tfprotov6.StopProviderResponse, error)
- func (s *RawProviderServer) UpgradeResourceState(ctx context.Context, req *tfprotov6.UpgradeResourceStateRequest) (*tfprotov6.UpgradeResourceStateResponse, error)
- func (s *RawProviderServer) ValidateDataResourceConfig(ctx context.Context, req *tfprotov6.ValidateDataResourceConfigRequest) (*tfprotov6.ValidateDataResourceConfigResponse, error)
- func (s *RawProviderServer) ValidateProviderConfig(ctx context.Context, req *tfprotov6.ValidateProviderConfigRequest) (*tfprotov6.ValidateProviderConfigResponse, error)
- func (s *RawProviderServer) ValidateResourceConfig(ctx context.Context, req *tfprotov6.ValidateResourceConfigRequest) (*tfprotov6.ValidateResourceConfigResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviderResourceSchema ¶
GetProviderResourceSchema contains the definitions of all supported resources
func GetResourceType ¶
GetResourceType returns the tftypes.Type of a resource of type 'name'
Types ¶
type RawProviderServer ¶
type RawProviderServer struct {
// contains filtered or unexported fields
}
RawProviderServer implements the ProviderServer interface as exported from ProtoBuf.
func (*RawProviderServer) ApplyResourceChange ¶
func (s *RawProviderServer) ApplyResourceChange(ctx context.Context, request *tfprotov6.ApplyResourceChangeRequest) (*tfprotov6.ApplyResourceChangeResponse, error)
ApplyResourceChange function
func (*RawProviderServer) ConfigureProvider ¶
func (s *RawProviderServer) ConfigureProvider(ctx context.Context, req *tfprotov6.ConfigureProviderRequest) (*tfprotov6.ConfigureProviderResponse, error)
ConfigureProvider function
func (*RawProviderServer) GetProviderSchema ¶
func (s *RawProviderServer) GetProviderSchema(ctx context.Context, req *tfprotov6.GetProviderSchemaRequest) (*tfprotov6.GetProviderSchemaResponse, error)
GetProviderSchema function
func (*RawProviderServer) ImportResourceState ¶
func (s *RawProviderServer) ImportResourceState(ctx context.Context, req *tfprotov6.ImportResourceStateRequest) (*tfprotov6.ImportResourceStateResponse, error)
ImportResourceState function
func (*RawProviderServer) PlanResourceChange ¶
func (s *RawProviderServer) PlanResourceChange(ctx context.Context, request *tfprotov6.PlanResourceChangeRequest) (*tfprotov6.PlanResourceChangeResponse, error)
PlanResourceChange function
func (*RawProviderServer) ReadDataSource ¶
func (s *RawProviderServer) ReadDataSource(ctx context.Context, req *tfprotov6.ReadDataSourceRequest) (*tfprotov6.ReadDataSourceResponse, error)
ReadDataSource function
func (*RawProviderServer) ReadResource ¶
func (s *RawProviderServer) ReadResource(ctx context.Context, req *tfprotov6.ReadResourceRequest) (*tfprotov6.ReadResourceResponse, error)
ReadResource function
func (*RawProviderServer) StopProvider ¶
func (s *RawProviderServer) StopProvider(ctx context.Context, req *tfprotov6.StopProviderRequest) (*tfprotov6.StopProviderResponse, error)
StopProvider function
func (*RawProviderServer) UpgradeResourceState ¶
func (s *RawProviderServer) UpgradeResourceState(ctx context.Context, req *tfprotov6.UpgradeResourceStateRequest) (*tfprotov6.UpgradeResourceStateResponse, error)
UpgradeResourceState isn't really useful in this provider, but we have to loop the state back through to keep Terraform happy.
func (*RawProviderServer) ValidateDataResourceConfig ¶ added in v0.4.0
func (s *RawProviderServer) ValidateDataResourceConfig(ctx context.Context, req *tfprotov6.ValidateDataResourceConfigRequest) (*tfprotov6.ValidateDataResourceConfigResponse, error)
ValidateDataResourceConfig function
func (*RawProviderServer) ValidateProviderConfig ¶ added in v0.4.0
func (s *RawProviderServer) ValidateProviderConfig(ctx context.Context, req *tfprotov6.ValidateProviderConfigRequest) (*tfprotov6.ValidateProviderConfigResponse, error)
ValidateProviderConfig function
func (*RawProviderServer) ValidateResourceConfig ¶ added in v0.4.0
func (s *RawProviderServer) ValidateResourceConfig(ctx context.Context, req *tfprotov6.ValidateResourceConfigRequest) (*tfprotov6.ValidateResourceConfigResponse, error)
ValidateResourceConfig function