Documentation
¶
Index ¶
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type AgentClient
- type AgentServer
- type Agent_InitClient
- type Agent_InitServer
- type InitReply
- func (*InitReply) Descriptor() ([]byte, []int)deprecated
- func (x *InitReply) GetGithubGpgPublicKeyContent() string
- func (x *InitReply) GetGithubSshPublicKeyContent() string
- func (x *InitReply) GetLogLine() string
- func (x *InitReply) GetLogLineHeader() string
- func (*InitReply) ProtoMessage()
- func (x *InitReply) ProtoReflect() protoreflect.Message
- func (x *InitReply) Reset()
- func (x *InitReply) String() string
- type InitRequest
- func (*InitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitRequest) GetEnvRepoLanguagesUsed() []string
- func (x *InitRequest) GetEnvRepoName() string
- func (x *InitRequest) GetEnvRepoOwner() string
- func (x *InitRequest) GetGithubUserEmail() string
- func (x *InitRequest) GetUserFullName() string
- func (*InitRequest) ProtoMessage()
- func (x *InitRequest) ProtoReflect() protoreflect.Message
- func (x *InitRequest) Reset()
- func (x *InitRequest) String() string
- type UnimplementedAgentServer
- type UnsafeAgentServer
Constants ¶
This section is empty.
Variables ¶
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yolo.agent_container.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Init", Handler: _Agent_Init_Handler, ServerStreams: true, }, }, Metadata: "agent_container.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_container_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
Types ¶
type AgentClient ¶
type AgentClient interface {
Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (Agent_InitClient, 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 {
Init(*InitRequest, Agent_InitServer) error
// contains filtered or unexported methods
}
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility
type Agent_InitClient ¶
type Agent_InitClient interface {
Recv() (*InitReply, error)
grpc.ClientStream
}
type Agent_InitServer ¶
type Agent_InitServer interface {
Send(*InitReply) error
grpc.ServerStream
}
type InitReply ¶
type InitReply 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 (*InitReply) Descriptor
deprecated
func (*InitReply) GetGithubGpgPublicKeyContent ¶
func (*InitReply) GetGithubSshPublicKeyContent ¶
func (*InitReply) GetLogLine ¶
func (*InitReply) GetLogLineHeader ¶
func (*InitReply) ProtoMessage ¶
func (*InitReply) ProtoMessage()
func (*InitReply) ProtoReflect ¶
func (x *InitReply) ProtoReflect() protoreflect.Message
type InitRequest ¶
type InitRequest struct {
EnvRepoOwner string `protobuf:"bytes,1,opt,name=env_repo_owner,json=envRepoOwner,proto3" json:"env_repo_owner,omitempty"`
EnvRepoName string `protobuf:"bytes,2,opt,name=env_repo_name,json=envRepoName,proto3" json:"env_repo_name,omitempty"`
EnvRepoLanguagesUsed []string `protobuf:"bytes,3,rep,name=env_repo_languages_used,json=envRepoLanguagesUsed,proto3" json:"env_repo_languages_used,omitempty"`
GithubUserEmail string `protobuf:"bytes,4,opt,name=github_user_email,json=githubUserEmail,proto3" json:"github_user_email,omitempty"`
UserFullName string `protobuf:"bytes,5,opt,name=user_full_name,json=userFullName,proto3" json:"user_full_name,omitempty"`
// contains filtered or unexported fields
}
func (*InitRequest) Descriptor
deprecated
func (*InitRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.
func (*InitRequest) GetEnvRepoLanguagesUsed ¶
func (x *InitRequest) GetEnvRepoLanguagesUsed() []string
func (*InitRequest) GetEnvRepoName ¶
func (x *InitRequest) GetEnvRepoName() string
func (*InitRequest) GetEnvRepoOwner ¶
func (x *InitRequest) GetEnvRepoOwner() string
func (*InitRequest) GetGithubUserEmail ¶
func (x *InitRequest) GetGithubUserEmail() string
func (*InitRequest) GetUserFullName ¶
func (x *InitRequest) GetUserFullName() string
func (*InitRequest) ProtoMessage ¶
func (*InitRequest) ProtoMessage()
func (*InitRequest) ProtoReflect ¶
func (x *InitRequest) ProtoReflect() protoreflect.Message
func (*InitRequest) Reset ¶
func (x *InitRequest) Reset()
func (*InitRequest) String ¶
func (x *InitRequest) String() string
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct {
}
UnimplementedAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentServer) Init ¶
func (UnimplementedAgentServer) Init(*InitRequest, Agent_InitServer) 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.