Documentation ¶
Index ¶
- type TerraformEngine
- func (c *TerraformEngine) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, client *grpc.ClientConn) (interface{}, error)
- func (c *TerraformEngine) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
- func (c *TerraformEngine) Init(req *tgengine.InitRequest, stream tgengine.Engine_InitServer) error
- func (c *TerraformEngine) Run(req *tgengine.RunRequest, stream tgengine.Engine_RunServer) error
- func (c *TerraformEngine) Shutdown(req *tgengine.ShutdownRequest, stream tgengine.Engine_ShutdownServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerraformEngine ¶
type TerraformEngine struct {
tgengine.UnimplementedEngineServer
}
func (*TerraformEngine) GRPCClient ¶
func (c *TerraformEngine) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, client *grpc.ClientConn) (interface{}, error)
GRPCClient is used to create a client that connects to the Terraform Engine
func (*TerraformEngine) GRPCServer ¶
func (c *TerraformEngine) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
GRPCServer is used to register the Terraform Engine with the gRPC server
func (*TerraformEngine) Init ¶
func (c *TerraformEngine) Init(req *tgengine.InitRequest, stream tgengine.Engine_InitServer) error
func (*TerraformEngine) Run ¶
func (c *TerraformEngine) Run(req *tgengine.RunRequest, stream tgengine.Engine_RunServer) error
func (*TerraformEngine) Shutdown ¶
func (c *TerraformEngine) Shutdown(req *tgengine.ShutdownRequest, stream tgengine.Engine_ShutdownServer) error
Click to show internal directories.
Click to hide internal directories.