Documentation ¶
Overview ¶
Package tfgrpc is a generated protocol buffer package.
It is generated from these files:
tfgrpc/terraform.proto
It has these top-level messages:
Body Id Arg Output
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTerraformServer ¶
func RegisterTerraformServer(s *grpc.Server, srv TerraformServer)
Types ¶
type Arg ¶
type Arg struct { WorkingDir string `protobuf:"bytes,1,opt,name=workingDir" json:"workingDir,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"` }
The request message containing the user's name.
func (*Arg) Descriptor ¶
func (*Arg) GetWorkingDir ¶
func (*Arg) ProtoMessage ¶
func (*Arg) ProtoMessage()
type Body ¶
type Body struct {
Zipfile []byte `protobuf:"bytes,1,opt,name=zipfile,proto3" json:"zipfile,omitempty"`
}
func (*Body) Descriptor ¶
func (*Body) GetZipfile ¶
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
type Id ¶
type Id struct {
Tmpdir string `protobuf:"bytes,1,opt,name=tmpdir" json:"tmpdir,omitempty"`
}
func (*Id) Descriptor ¶
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
type Output ¶
type Output struct { Retcode int32 `protobuf:"varint,1,opt,name=retcode" json:"retcode,omitempty"` Stdout []byte `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"` }
The response message containing the greetings
func (*Output) Descriptor ¶
func (*Output) GetRetcode ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
type TerraformClient ¶
type TerraformClient interface { Init(ctx context.Context, in *Arg, opts ...grpc.CallOption) (*Output, error) Plan(ctx context.Context, in *Arg, opts ...grpc.CallOption) (*Output, error) Apply(ctx context.Context, in *Arg, opts ...grpc.CallOption) (*Output, error) Push(ctx context.Context, opts ...grpc.CallOption) (Terraform_PushClient, error) }
func NewTerraformClient ¶
func NewTerraformClient(cc *grpc.ClientConn) TerraformClient
type TerraformServer ¶
type Terraform_PushClient ¶
type Terraform_PushServer ¶
Click to show internal directories.
Click to hide internal directories.