Documentation ¶
Index ¶
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type AgentClient
- type AgentServer
- type Agent_BuildAndStartDevEnvClient
- type Agent_BuildAndStartDevEnvServer
- type Agent_InitInstanceClient
- type Agent_InitInstanceServer
- type BuildAndStartDevEnvReply
- func (*BuildAndStartDevEnvReply) Descriptor() ([]byte, []int)deprecated
- func (x *BuildAndStartDevEnvReply) GetLogLine() string
- func (x *BuildAndStartDevEnvReply) GetLogLineHeader() string
- func (*BuildAndStartDevEnvReply) ProtoMessage()
- func (x *BuildAndStartDevEnvReply) ProtoReflect() protoreflect.Message
- func (x *BuildAndStartDevEnvReply) Reset()
- func (x *BuildAndStartDevEnvReply) String() string
- type BuildAndStartDevEnvRequest
- func (*BuildAndStartDevEnvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildAndStartDevEnvRequest) GetDevEnvRepoName() string
- func (x *BuildAndStartDevEnvRequest) GetDevEnvRepoOwner() string
- func (x *BuildAndStartDevEnvRequest) GetUserConfigRepoName() string
- func (x *BuildAndStartDevEnvRequest) GetUserConfigRepoOwner() string
- func (*BuildAndStartDevEnvRequest) ProtoMessage()
- func (x *BuildAndStartDevEnvRequest) ProtoReflect() protoreflect.Message
- func (x *BuildAndStartDevEnvRequest) Reset()
- func (x *BuildAndStartDevEnvRequest) String() string
- type InitInstanceReply
- func (*InitInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *InitInstanceReply) GetGithubGpgPublicKeyContent() string
- func (x *InitInstanceReply) GetGithubSshPublicKeyContent() string
- func (x *InitInstanceReply) GetLogLine() string
- func (x *InitInstanceReply) GetLogLineHeader() string
- func (*InitInstanceReply) ProtoMessage()
- func (x *InitInstanceReply) ProtoReflect() protoreflect.Message
- func (x *InitInstanceReply) Reset()
- func (x *InitInstanceReply) String() string
- type InitInstanceRequest
- func (*InitInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitInstanceRequest) GetDevEnvNameSlug() string
- func (x *InitInstanceRequest) GetGithubUserEmail() string
- func (x *InitInstanceRequest) GetUserFullName() string
- func (*InitInstanceRequest) ProtoMessage()
- func (x *InitInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *InitInstanceRequest) Reset()
- func (x *InitInstanceRequest) String() string
- type UnimplementedAgentServer
- type UnsafeAgentServer
Constants ¶
This section is empty.
Variables ¶
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "agent.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "InitInstance", Handler: _Agent_InitInstance_Handler, ServerStreams: true, }, { StreamName: "BuildAndStartDevEnv", Handler: _Agent_BuildAndStartDevEnv_Handler, ServerStreams: true, }, }, Metadata: "agent.proto", }
Agent_ServiceDesc is the grpc.ServiceDesc for Agent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_agent_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
Types ¶
type AgentClient ¶
type AgentClient interface { InitInstance(ctx context.Context, in *InitInstanceRequest, opts ...grpc.CallOption) (Agent_InitInstanceClient, error) BuildAndStartDevEnv(ctx context.Context, in *BuildAndStartDevEnvRequest, opts ...grpc.CallOption) (Agent_BuildAndStartDevEnvClient, error) }
AgentClient is the client API for Agent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentClient ¶
func NewAgentClient(cc grpc.ClientConnInterface) AgentClient
type AgentServer ¶
type AgentServer interface { InitInstance(*InitInstanceRequest, Agent_InitInstanceServer) error BuildAndStartDevEnv(*BuildAndStartDevEnvRequest, Agent_BuildAndStartDevEnvServer) error // contains filtered or unexported methods }
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility
type Agent_BuildAndStartDevEnvClient ¶
type Agent_BuildAndStartDevEnvClient interface { Recv() (*BuildAndStartDevEnvReply, error) grpc.ClientStream }
type Agent_BuildAndStartDevEnvServer ¶
type Agent_BuildAndStartDevEnvServer interface { Send(*BuildAndStartDevEnvReply) error grpc.ServerStream }
type Agent_InitInstanceClient ¶
type Agent_InitInstanceClient interface { Recv() (*InitInstanceReply, error) grpc.ClientStream }
type Agent_InitInstanceServer ¶
type Agent_InitInstanceServer interface { Send(*InitInstanceReply) error grpc.ServerStream }
type BuildAndStartDevEnvReply ¶
type BuildAndStartDevEnvReply struct { LogLineHeader string `protobuf:"bytes,1,opt,name=log_line_header,json=logLineHeader,proto3" json:"log_line_header,omitempty"` LogLine string `protobuf:"bytes,2,opt,name=log_line,json=logLine,proto3" json:"log_line,omitempty"` // contains filtered or unexported fields }
func (*BuildAndStartDevEnvReply) Descriptor
deprecated
func (*BuildAndStartDevEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use BuildAndStartDevEnvReply.ProtoReflect.Descriptor instead.
func (*BuildAndStartDevEnvReply) GetLogLine ¶
func (x *BuildAndStartDevEnvReply) GetLogLine() string
func (*BuildAndStartDevEnvReply) GetLogLineHeader ¶
func (x *BuildAndStartDevEnvReply) GetLogLineHeader() string
func (*BuildAndStartDevEnvReply) ProtoMessage ¶
func (*BuildAndStartDevEnvReply) ProtoMessage()
func (*BuildAndStartDevEnvReply) ProtoReflect ¶
func (x *BuildAndStartDevEnvReply) ProtoReflect() protoreflect.Message
func (*BuildAndStartDevEnvReply) Reset ¶
func (x *BuildAndStartDevEnvReply) Reset()
func (*BuildAndStartDevEnvReply) String ¶
func (x *BuildAndStartDevEnvReply) String() string
type BuildAndStartDevEnvRequest ¶
type BuildAndStartDevEnvRequest struct { DevEnvRepoOwner string `protobuf:"bytes,1,opt,name=dev_env_repo_owner,json=devEnvRepoOwner,proto3" json:"dev_env_repo_owner,omitempty"` DevEnvRepoName string `protobuf:"bytes,2,opt,name=dev_env_repo_name,json=devEnvRepoName,proto3" json:"dev_env_repo_name,omitempty"` UserConfigRepoOwner string `protobuf:"bytes,3,opt,name=user_config_repo_owner,json=userConfigRepoOwner,proto3" json:"user_config_repo_owner,omitempty"` UserConfigRepoName string `protobuf:"bytes,4,opt,name=user_config_repo_name,json=userConfigRepoName,proto3" json:"user_config_repo_name,omitempty"` // contains filtered or unexported fields }
func (*BuildAndStartDevEnvRequest) Descriptor
deprecated
func (*BuildAndStartDevEnvRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildAndStartDevEnvRequest.ProtoReflect.Descriptor instead.
func (*BuildAndStartDevEnvRequest) GetDevEnvRepoName ¶
func (x *BuildAndStartDevEnvRequest) GetDevEnvRepoName() string
func (*BuildAndStartDevEnvRequest) GetDevEnvRepoOwner ¶
func (x *BuildAndStartDevEnvRequest) GetDevEnvRepoOwner() string
func (*BuildAndStartDevEnvRequest) GetUserConfigRepoName ¶
func (x *BuildAndStartDevEnvRequest) GetUserConfigRepoName() string
func (*BuildAndStartDevEnvRequest) GetUserConfigRepoOwner ¶
func (x *BuildAndStartDevEnvRequest) GetUserConfigRepoOwner() string
func (*BuildAndStartDevEnvRequest) ProtoMessage ¶
func (*BuildAndStartDevEnvRequest) ProtoMessage()
func (*BuildAndStartDevEnvRequest) ProtoReflect ¶
func (x *BuildAndStartDevEnvRequest) ProtoReflect() protoreflect.Message
func (*BuildAndStartDevEnvRequest) Reset ¶
func (x *BuildAndStartDevEnvRequest) Reset()
func (*BuildAndStartDevEnvRequest) String ¶
func (x *BuildAndStartDevEnvRequest) String() string
type InitInstanceReply ¶
type InitInstanceReply struct { LogLineHeader string `protobuf:"bytes,1,opt,name=log_line_header,json=logLineHeader,proto3" json:"log_line_header,omitempty"` LogLine string `protobuf:"bytes,2,opt,name=log_line,json=logLine,proto3" json:"log_line,omitempty"` GithubSshPublicKeyContent *string `` /* 148-byte string literal not displayed */ GithubGpgPublicKeyContent *string `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InitInstanceReply) Descriptor
deprecated
func (*InitInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use InitInstanceReply.ProtoReflect.Descriptor instead.
func (*InitInstanceReply) GetGithubGpgPublicKeyContent ¶
func (x *InitInstanceReply) GetGithubGpgPublicKeyContent() string
func (*InitInstanceReply) GetGithubSshPublicKeyContent ¶
func (x *InitInstanceReply) GetGithubSshPublicKeyContent() string
func (*InitInstanceReply) GetLogLine ¶
func (x *InitInstanceReply) GetLogLine() string
func (*InitInstanceReply) GetLogLineHeader ¶
func (x *InitInstanceReply) GetLogLineHeader() string
func (*InitInstanceReply) ProtoMessage ¶
func (*InitInstanceReply) ProtoMessage()
func (*InitInstanceReply) ProtoReflect ¶
func (x *InitInstanceReply) ProtoReflect() protoreflect.Message
func (*InitInstanceReply) Reset ¶
func (x *InitInstanceReply) Reset()
func (*InitInstanceReply) String ¶
func (x *InitInstanceReply) String() string
type InitInstanceRequest ¶
type InitInstanceRequest struct { DevEnvNameSlug string `protobuf:"bytes,1,opt,name=dev_env_name_slug,json=devEnvNameSlug,proto3" json:"dev_env_name_slug,omitempty"` GithubUserEmail string `protobuf:"bytes,2,opt,name=github_user_email,json=githubUserEmail,proto3" json:"github_user_email,omitempty"` UserFullName string `protobuf:"bytes,3,opt,name=user_full_name,json=userFullName,proto3" json:"user_full_name,omitempty"` // contains filtered or unexported fields }
func (*InitInstanceRequest) Descriptor
deprecated
func (*InitInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitInstanceRequest.ProtoReflect.Descriptor instead.
func (*InitInstanceRequest) GetDevEnvNameSlug ¶
func (x *InitInstanceRequest) GetDevEnvNameSlug() string
func (*InitInstanceRequest) GetGithubUserEmail ¶
func (x *InitInstanceRequest) GetGithubUserEmail() string
func (*InitInstanceRequest) GetUserFullName ¶
func (x *InitInstanceRequest) GetUserFullName() string
func (*InitInstanceRequest) ProtoMessage ¶
func (*InitInstanceRequest) ProtoMessage()
func (*InitInstanceRequest) ProtoReflect ¶
func (x *InitInstanceRequest) ProtoReflect() protoreflect.Message
func (*InitInstanceRequest) Reset ¶
func (x *InitInstanceRequest) Reset()
func (*InitInstanceRequest) String ¶
func (x *InitInstanceRequest) String() string
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct { }
UnimplementedAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentServer) BuildAndStartDevEnv ¶
func (UnimplementedAgentServer) BuildAndStartDevEnv(*BuildAndStartDevEnvRequest, Agent_BuildAndStartDevEnvServer) error
func (UnimplementedAgentServer) InitInstance ¶
func (UnimplementedAgentServer) InitInstance(*InitInstanceRequest, Agent_InitInstanceServer) error
type UnsafeAgentServer ¶
type UnsafeAgentServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServer will result in compilation errors.