Documentation ¶
Overview ¶
Package proto6server contains the provider server implementation compatible with protocol version 6 (tfprotov6.ProviderServer).
Index ¶
- type Server
- func (s *Server) ApplyResourceChange(ctx context.Context, proto6Req *tfprotov6.ApplyResourceChangeRequest) (*tfprotov6.ApplyResourceChangeResponse, error)
- func (s *Server) ConfigureProvider(ctx context.Context, proto6Req *tfprotov6.ConfigureProviderRequest) (*tfprotov6.ConfigureProviderResponse, error)
- func (s *Server) GetMetadata(ctx context.Context, proto6Req *tfprotov6.GetMetadataRequest) (*tfprotov6.GetMetadataResponse, error)
- func (s *Server) GetProviderSchema(ctx context.Context, proto6Req *tfprotov6.GetProviderSchemaRequest) (*tfprotov6.GetProviderSchemaResponse, error)
- func (s *Server) ImportResourceState(ctx context.Context, proto6Req *tfprotov6.ImportResourceStateRequest) (*tfprotov6.ImportResourceStateResponse, error)
- func (s *Server) PlanResourceChange(ctx context.Context, proto6Req *tfprotov6.PlanResourceChangeRequest) (*tfprotov6.PlanResourceChangeResponse, error)
- func (s *Server) ReadDataSource(ctx context.Context, proto6Req *tfprotov6.ReadDataSourceRequest) (*tfprotov6.ReadDataSourceResponse, error)
- func (s *Server) ReadResource(ctx context.Context, proto6Req *tfprotov6.ReadResourceRequest) (*tfprotov6.ReadResourceResponse, error)
- func (s *Server) StopProvider(ctx context.Context, _ *tfprotov6.StopProviderRequest) (*tfprotov6.StopProviderResponse, error)
- func (s *Server) UpgradeResourceState(ctx context.Context, proto6Req *tfprotov6.UpgradeResourceStateRequest) (*tfprotov6.UpgradeResourceStateResponse, error)
- func (s *Server) ValidateDataResourceConfig(ctx context.Context, proto6Req *tfprotov6.ValidateDataResourceConfigRequest) (*tfprotov6.ValidateDataResourceConfigResponse, error)
- func (s *Server) ValidateProviderConfig(ctx context.Context, proto6Req *tfprotov6.ValidateProviderConfigRequest) (*tfprotov6.ValidateProviderConfigResponse, error)
- func (s *Server) ValidateResourceConfig(ctx context.Context, proto6Req *tfprotov6.ValidateResourceConfigRequest) (*tfprotov6.ValidateResourceConfigResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Provider server implementation.
func (*Server) ApplyResourceChange ¶
func (s *Server) ApplyResourceChange(ctx context.Context, proto6Req *tfprotov6.ApplyResourceChangeRequest) (*tfprotov6.ApplyResourceChangeResponse, error)
ApplyResourceChange satisfies the tfprotov6.ProviderServer interface.
func (*Server) ConfigureProvider ¶
func (s *Server) ConfigureProvider(ctx context.Context, proto6Req *tfprotov6.ConfigureProviderRequest) (*tfprotov6.ConfigureProviderResponse, error)
ConfigureProvider satisfies the tfprotov6.ProviderServer interface.
func (*Server) GetMetadata ¶ added in v1.4.0
func (s *Server) GetMetadata(ctx context.Context, proto6Req *tfprotov6.GetMetadataRequest) (*tfprotov6.GetMetadataResponse, error)
GetMetadata satisfies the tfprotov6.ProviderServer interface.
func (*Server) GetProviderSchema ¶
func (s *Server) GetProviderSchema(ctx context.Context, proto6Req *tfprotov6.GetProviderSchemaRequest) (*tfprotov6.GetProviderSchemaResponse, error)
GetProviderSchema satisfies the tfprotov6.ProviderServer interface.
func (*Server) ImportResourceState ¶
func (s *Server) ImportResourceState(ctx context.Context, proto6Req *tfprotov6.ImportResourceStateRequest) (*tfprotov6.ImportResourceStateResponse, error)
ImportResourceState satisfies the tfprotov6.ProviderServer interface.
func (*Server) PlanResourceChange ¶
func (s *Server) PlanResourceChange(ctx context.Context, proto6Req *tfprotov6.PlanResourceChangeRequest) (*tfprotov6.PlanResourceChangeResponse, error)
PlanResourceChange satisfies the tfprotov6.ProviderServer interface.
func (*Server) ReadDataSource ¶
func (s *Server) ReadDataSource(ctx context.Context, proto6Req *tfprotov6.ReadDataSourceRequest) (*tfprotov6.ReadDataSourceResponse, error)
ReadDataSource satisfies the tfprotov6.ProviderServer interface.
func (*Server) ReadResource ¶
func (s *Server) ReadResource(ctx context.Context, proto6Req *tfprotov6.ReadResourceRequest) (*tfprotov6.ReadResourceResponse, error)
ReadResource satisfies the tfprotov6.ProviderServer interface.
func (*Server) StopProvider ¶
func (s *Server) StopProvider(ctx context.Context, _ *tfprotov6.StopProviderRequest) (*tfprotov6.StopProviderResponse, error)
StopProvider satisfies the tfprotov6.ProviderServer interface.
func (*Server) UpgradeResourceState ¶
func (s *Server) UpgradeResourceState(ctx context.Context, proto6Req *tfprotov6.UpgradeResourceStateRequest) (*tfprotov6.UpgradeResourceStateResponse, error)
UpgradeResourceState satisfies the tfprotov6.ProviderServer interface.
func (*Server) ValidateDataResourceConfig ¶
func (s *Server) ValidateDataResourceConfig(ctx context.Context, proto6Req *tfprotov6.ValidateDataResourceConfigRequest) (*tfprotov6.ValidateDataResourceConfigResponse, error)
ValidateDataResourceConfig satisfies the tfprotov6.ProviderServer interface.
func (*Server) ValidateProviderConfig ¶
func (s *Server) ValidateProviderConfig(ctx context.Context, proto6Req *tfprotov6.ValidateProviderConfigRequest) (*tfprotov6.ValidateProviderConfigResponse, error)
ValidateProviderConfig satisfies the tfprotov6.ProviderServer interface.
func (*Server) ValidateResourceConfig ¶
func (s *Server) ValidateResourceConfig(ctx context.Context, proto6Req *tfprotov6.ValidateResourceConfigRequest) (*tfprotov6.ValidateResourceConfigResponse, error)
ValidateResourceConfig satisfies the tfprotov6.ProviderServer interface.
Source Files ¶
- doc.go
- serve.go
- server_applyresourcechange.go
- server_configureprovider.go
- server_getmetadata.go
- server_getproviderschema.go
- server_importresourcestate.go
- server_planresourcechange.go
- server_readdatasource.go
- server_readresource.go
- server_upgraderesourcestate.go
- server_validatedataresourceconfig.go
- server_validateproviderconfig.go
- server_validateresourceconfig.go