Documentation ¶
Index ¶
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type AgentClient
- type AgentServer
- type ApplicationDeleteRequest
- func (*ApplicationDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationDeleteRequest) GetClusterName() string
- func (x *ApplicationDeleteRequest) GetNamespace() string
- func (x *ApplicationDeleteRequest) GetPluginName() string
- func (x *ApplicationDeleteRequest) GetReleaseName() string
- func (x *ApplicationDeleteRequest) GetTimeout() uint32
- func (*ApplicationDeleteRequest) ProtoMessage()
- func (x *ApplicationDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ApplicationDeleteRequest) Reset()
- func (x *ApplicationDeleteRequest) String() string
- type ApplicationInstallRequest
- func (*ApplicationInstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationInstallRequest) GetChartName() string
- func (x *ApplicationInstallRequest) GetClusterName() string
- func (x *ApplicationInstallRequest) GetNamespace() string
- func (x *ApplicationInstallRequest) GetPluginName() string
- func (x *ApplicationInstallRequest) GetReleaseName() string
- func (x *ApplicationInstallRequest) GetRepoName() string
- func (x *ApplicationInstallRequest) GetRepoUrl() string
- func (x *ApplicationInstallRequest) GetTimeout() uint32
- func (x *ApplicationInstallRequest) GetVersion() string
- func (*ApplicationInstallRequest) ProtoMessage()
- func (x *ApplicationInstallRequest) ProtoReflect() protoreflect.Message
- func (x *ApplicationInstallRequest) Reset()
- func (x *ApplicationInstallRequest) String() string
- type ClimonDeleteRequest
- func (*ClimonDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClimonDeleteRequest) GetClusterName() string
- func (x *ClimonDeleteRequest) GetNamespace() string
- func (x *ClimonDeleteRequest) GetPluginName() string
- func (x *ClimonDeleteRequest) GetReleaseName() string
- func (x *ClimonDeleteRequest) GetTimeout() uint32
- func (*ClimonDeleteRequest) ProtoMessage()
- func (x *ClimonDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ClimonDeleteRequest) Reset()
- func (x *ClimonDeleteRequest) String() string
- type ClimonInstallRequest
- func (*ClimonInstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClimonInstallRequest) GetChartName() string
- func (x *ClimonInstallRequest) GetClusterName() string
- func (x *ClimonInstallRequest) GetNamespace() string
- func (x *ClimonInstallRequest) GetPluginName() string
- func (x *ClimonInstallRequest) GetReleaseName() string
- func (x *ClimonInstallRequest) GetRepoName() string
- func (x *ClimonInstallRequest) GetRepoUrl() string
- func (x *ClimonInstallRequest) GetTimeout() uint32
- func (x *ClimonInstallRequest) GetVersion() string
- func (*ClimonInstallRequest) ProtoMessage()
- func (x *ClimonInstallRequest) ProtoReflect() protoreflect.Message
- func (x *ClimonInstallRequest) Reset()
- func (x *ClimonInstallRequest) String() string
- type ClusterRequest
- func (*ClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterRequest) GetClusterName() string
- func (x *ClusterRequest) GetPluginName() string
- func (*ClusterRequest) ProtoMessage()
- func (x *ClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ClusterRequest) Reset()
- func (x *ClusterRequest) String() string
- type JobRequest
- func (*JobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JobRequest) GetOperation() string
- func (x *JobRequest) GetPayload() *anypb.Any
- func (*JobRequest) ProtoMessage()
- func (x *JobRequest) ProtoReflect() protoreflect.Message
- func (x *JobRequest) Reset()
- func (x *JobRequest) String() string
- type JobResponse
- func (*JobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JobResponse) GetId() string
- func (x *JobResponse) GetRunID() string
- func (x *JobResponse) GetWorkflowName() string
- func (*JobResponse) ProtoMessage()
- func (x *JobResponse) ProtoReflect() protoreflect.Message
- func (x *JobResponse) Reset()
- func (x *JobResponse) String() string
- type ProjectAddRequest
- func (*ProjectAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectAddRequest) GetPluginName() string
- func (x *ProjectAddRequest) GetProjectName() string
- func (*ProjectAddRequest) ProtoMessage()
- func (x *ProjectAddRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectAddRequest) Reset()
- func (x *ProjectAddRequest) String() string
- type ProjectDeleteRequest
- func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDeleteRequest) GetPluginName() string
- func (x *ProjectDeleteRequest) GetProjectName() string
- func (*ProjectDeleteRequest) ProtoMessage()
- func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectDeleteRequest) Reset()
- func (x *ProjectDeleteRequest) String() string
- type RepositoryAddRequest
- func (*RepositoryAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryAddRequest) GetPluginName() string
- func (x *RepositoryAddRequest) GetRepoName() string
- func (x *RepositoryAddRequest) GetRepoUrl() string
- func (*RepositoryAddRequest) ProtoMessage()
- func (x *RepositoryAddRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryAddRequest) Reset()
- func (x *RepositoryAddRequest) String() string
- type RepositoryDeleteRequest
- func (*RepositoryDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryDeleteRequest) GetPluginName() string
- func (x *RepositoryDeleteRequest) GetRepoName() string
- func (*RepositoryDeleteRequest) ProtoMessage()
- func (x *RepositoryDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryDeleteRequest) Reset()
- func (x *RepositoryDeleteRequest) String() string
- type StoreCredRequest
- func (*StoreCredRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreCredRequest) GetCredname() string
- func (x *StoreCredRequest) GetPassword() string
- func (x *StoreCredRequest) GetUsername() string
- func (*StoreCredRequest) ProtoMessage()
- func (x *StoreCredRequest) ProtoReflect() protoreflect.Message
- func (x *StoreCredRequest) Reset()
- func (x *StoreCredRequest) String() string
- type StoreCredResponse
- type UnimplementedAgentServer
- func (UnimplementedAgentServer) ClimonAppDelete(context.Context, *ClimonDeleteRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) ClimonAppInstall(context.Context, *ClimonInstallRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) ClusterAdd(context.Context, *ClusterRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) ClusterDelete(context.Context, *ClusterRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) DeployerAppDelete(context.Context, *ApplicationDeleteRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) DeployerAppInstall(context.Context, *ApplicationInstallRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) ProjectAdd(context.Context, *ProjectAddRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) ProjectDelete(context.Context, *ProjectDeleteRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) RepositoryAdd(context.Context, *RepositoryAddRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) RepositoryDelete(context.Context, *RepositoryDeleteRequest) (*JobResponse, error)
- func (UnimplementedAgentServer) StoreCred(context.Context, *StoreCredRequest) (*StoreCredResponse, error)
- func (UnimplementedAgentServer) SubmitJob(context.Context, *JobRequest) (*JobResponse, error)
- type UnsafeAgentServer
Constants ¶
This section is empty.
Variables ¶
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "agentpb.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitJob", Handler: _Agent_SubmitJob_Handler, }, { MethodName: "StoreCred", Handler: _Agent_StoreCred_Handler, }, { MethodName: "ClimonAppInstall", Handler: _Agent_ClimonAppInstall_Handler, }, { MethodName: "ClimonAppDelete", Handler: _Agent_ClimonAppDelete_Handler, }, { MethodName: "DeployerAppInstall", Handler: _Agent_DeployerAppInstall_Handler, }, { MethodName: "DeployerAppDelete", Handler: _Agent_DeployerAppDelete_Handler, }, { MethodName: "ClusterAdd", Handler: _Agent_ClusterAdd_Handler, }, { MethodName: "ClusterDelete", Handler: _Agent_ClusterDelete_Handler, }, { MethodName: "RepositoryAdd", Handler: _Agent_RepositoryAdd_Handler, }, { MethodName: "RepositoryDelete", Handler: _Agent_RepositoryDelete_Handler, }, { MethodName: "ProjectAdd", Handler: _Agent_ProjectAdd_Handler, }, { MethodName: "ProjectDelete", Handler: _Agent_ProjectDelete_Handler, }, }, Streams: []grpc.StreamDesc{}, 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 { SubmitJob(ctx context.Context, in *JobRequest, opts ...grpc.CallOption) (*JobResponse, error) StoreCred(ctx context.Context, in *StoreCredRequest, opts ...grpc.CallOption) (*StoreCredResponse, error) ClimonAppInstall(ctx context.Context, in *ClimonInstallRequest, opts ...grpc.CallOption) (*JobResponse, error) ClimonAppDelete(ctx context.Context, in *ClimonDeleteRequest, opts ...grpc.CallOption) (*JobResponse, error) DeployerAppInstall(ctx context.Context, in *ApplicationInstallRequest, opts ...grpc.CallOption) (*JobResponse, error) DeployerAppDelete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*JobResponse, error) ClusterAdd(ctx context.Context, in *ClusterRequest, opts ...grpc.CallOption) (*JobResponse, error) ClusterDelete(ctx context.Context, in *ClusterRequest, opts ...grpc.CallOption) (*JobResponse, error) RepositoryAdd(ctx context.Context, in *RepositoryAddRequest, opts ...grpc.CallOption) (*JobResponse, error) RepositoryDelete(ctx context.Context, in *RepositoryDeleteRequest, opts ...grpc.CallOption) (*JobResponse, error) ProjectAdd(ctx context.Context, in *ProjectAddRequest, opts ...grpc.CallOption) (*JobResponse, error) ProjectDelete(ctx context.Context, in *ProjectDeleteRequest, opts ...grpc.CallOption) (*JobResponse, 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 { SubmitJob(context.Context, *JobRequest) (*JobResponse, error) StoreCred(context.Context, *StoreCredRequest) (*StoreCredResponse, error) ClimonAppInstall(context.Context, *ClimonInstallRequest) (*JobResponse, error) ClimonAppDelete(context.Context, *ClimonDeleteRequest) (*JobResponse, error) DeployerAppInstall(context.Context, *ApplicationInstallRequest) (*JobResponse, error) DeployerAppDelete(context.Context, *ApplicationDeleteRequest) (*JobResponse, error) ClusterAdd(context.Context, *ClusterRequest) (*JobResponse, error) ClusterDelete(context.Context, *ClusterRequest) (*JobResponse, error) RepositoryAdd(context.Context, *RepositoryAddRequest) (*JobResponse, error) RepositoryDelete(context.Context, *RepositoryDeleteRequest) (*JobResponse, error) ProjectAdd(context.Context, *ProjectAddRequest) (*JobResponse, error) ProjectDelete(context.Context, *ProjectDeleteRequest) (*JobResponse, error) // contains filtered or unexported methods }
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility
type ApplicationDeleteRequest ¶
type ApplicationDeleteRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ReleaseName string `protobuf:"bytes,3,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"` Timeout uint32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ApplicationDeleteRequest) Descriptor
deprecated
func (*ApplicationDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationDeleteRequest.ProtoReflect.Descriptor instead.
func (*ApplicationDeleteRequest) GetClusterName ¶
func (x *ApplicationDeleteRequest) GetClusterName() string
func (*ApplicationDeleteRequest) GetNamespace ¶
func (x *ApplicationDeleteRequest) GetNamespace() string
func (*ApplicationDeleteRequest) GetPluginName ¶
func (x *ApplicationDeleteRequest) GetPluginName() string
func (*ApplicationDeleteRequest) GetReleaseName ¶
func (x *ApplicationDeleteRequest) GetReleaseName() string
func (*ApplicationDeleteRequest) GetTimeout ¶
func (x *ApplicationDeleteRequest) GetTimeout() uint32
func (*ApplicationDeleteRequest) ProtoMessage ¶
func (*ApplicationDeleteRequest) ProtoMessage()
func (*ApplicationDeleteRequest) ProtoReflect ¶
func (x *ApplicationDeleteRequest) ProtoReflect() protoreflect.Message
func (*ApplicationDeleteRequest) Reset ¶
func (x *ApplicationDeleteRequest) Reset()
func (*ApplicationDeleteRequest) String ¶
func (x *ApplicationDeleteRequest) String() string
type ApplicationInstallRequest ¶
type ApplicationInstallRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` RepoUrl string `protobuf:"bytes,3,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` ChartName string `protobuf:"bytes,4,opt,name=chart_name,json=chartName,proto3" json:"chart_name,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` ReleaseName string `protobuf:"bytes,6,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"` Timeout uint32 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` ClusterName string `protobuf:"bytes,9,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ApplicationInstallRequest) Descriptor
deprecated
func (*ApplicationInstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationInstallRequest.ProtoReflect.Descriptor instead.
func (*ApplicationInstallRequest) GetChartName ¶
func (x *ApplicationInstallRequest) GetChartName() string
func (*ApplicationInstallRequest) GetClusterName ¶
func (x *ApplicationInstallRequest) GetClusterName() string
func (*ApplicationInstallRequest) GetNamespace ¶
func (x *ApplicationInstallRequest) GetNamespace() string
func (*ApplicationInstallRequest) GetPluginName ¶
func (x *ApplicationInstallRequest) GetPluginName() string
func (*ApplicationInstallRequest) GetReleaseName ¶
func (x *ApplicationInstallRequest) GetReleaseName() string
func (*ApplicationInstallRequest) GetRepoName ¶
func (x *ApplicationInstallRequest) GetRepoName() string
func (*ApplicationInstallRequest) GetRepoUrl ¶
func (x *ApplicationInstallRequest) GetRepoUrl() string
func (*ApplicationInstallRequest) GetTimeout ¶
func (x *ApplicationInstallRequest) GetTimeout() uint32
func (*ApplicationInstallRequest) GetVersion ¶
func (x *ApplicationInstallRequest) GetVersion() string
func (*ApplicationInstallRequest) ProtoMessage ¶
func (*ApplicationInstallRequest) ProtoMessage()
func (*ApplicationInstallRequest) ProtoReflect ¶
func (x *ApplicationInstallRequest) ProtoReflect() protoreflect.Message
func (*ApplicationInstallRequest) Reset ¶
func (x *ApplicationInstallRequest) Reset()
func (*ApplicationInstallRequest) String ¶
func (x *ApplicationInstallRequest) String() string
type ClimonDeleteRequest ¶
type ClimonDeleteRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ReleaseName string `protobuf:"bytes,3,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"` Timeout uint32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ClimonDeleteRequest) Descriptor
deprecated
func (*ClimonDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClimonDeleteRequest.ProtoReflect.Descriptor instead.
func (*ClimonDeleteRequest) GetClusterName ¶
func (x *ClimonDeleteRequest) GetClusterName() string
func (*ClimonDeleteRequest) GetNamespace ¶
func (x *ClimonDeleteRequest) GetNamespace() string
func (*ClimonDeleteRequest) GetPluginName ¶
func (x *ClimonDeleteRequest) GetPluginName() string
func (*ClimonDeleteRequest) GetReleaseName ¶
func (x *ClimonDeleteRequest) GetReleaseName() string
func (*ClimonDeleteRequest) GetTimeout ¶
func (x *ClimonDeleteRequest) GetTimeout() uint32
func (*ClimonDeleteRequest) ProtoMessage ¶
func (*ClimonDeleteRequest) ProtoMessage()
func (*ClimonDeleteRequest) ProtoReflect ¶
func (x *ClimonDeleteRequest) ProtoReflect() protoreflect.Message
func (*ClimonDeleteRequest) Reset ¶
func (x *ClimonDeleteRequest) Reset()
func (*ClimonDeleteRequest) String ¶
func (x *ClimonDeleteRequest) String() string
type ClimonInstallRequest ¶
type ClimonInstallRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` RepoUrl string `protobuf:"bytes,3,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` ChartName string `protobuf:"bytes,4,opt,name=chart_name,json=chartName,proto3" json:"chart_name,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` ReleaseName string `protobuf:"bytes,6,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"` Timeout uint32 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` ClusterName string `protobuf:"bytes,9,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ClimonInstallRequest) Descriptor
deprecated
func (*ClimonInstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClimonInstallRequest.ProtoReflect.Descriptor instead.
func (*ClimonInstallRequest) GetChartName ¶
func (x *ClimonInstallRequest) GetChartName() string
func (*ClimonInstallRequest) GetClusterName ¶
func (x *ClimonInstallRequest) GetClusterName() string
func (*ClimonInstallRequest) GetNamespace ¶
func (x *ClimonInstallRequest) GetNamespace() string
func (*ClimonInstallRequest) GetPluginName ¶
func (x *ClimonInstallRequest) GetPluginName() string
func (*ClimonInstallRequest) GetReleaseName ¶
func (x *ClimonInstallRequest) GetReleaseName() string
func (*ClimonInstallRequest) GetRepoName ¶
func (x *ClimonInstallRequest) GetRepoName() string
func (*ClimonInstallRequest) GetRepoUrl ¶
func (x *ClimonInstallRequest) GetRepoUrl() string
func (*ClimonInstallRequest) GetTimeout ¶
func (x *ClimonInstallRequest) GetTimeout() uint32
func (*ClimonInstallRequest) GetVersion ¶
func (x *ClimonInstallRequest) GetVersion() string
func (*ClimonInstallRequest) ProtoMessage ¶
func (*ClimonInstallRequest) ProtoMessage()
func (*ClimonInstallRequest) ProtoReflect ¶
func (x *ClimonInstallRequest) ProtoReflect() protoreflect.Message
func (*ClimonInstallRequest) Reset ¶
func (x *ClimonInstallRequest) Reset()
func (*ClimonInstallRequest) String ¶
func (x *ClimonInstallRequest) String() string
type ClusterRequest ¶
type ClusterRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
func (*ClusterRequest) Descriptor
deprecated
func (*ClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterRequest.ProtoReflect.Descriptor instead.
func (*ClusterRequest) GetClusterName ¶
func (x *ClusterRequest) GetClusterName() string
func (*ClusterRequest) GetPluginName ¶
func (x *ClusterRequest) GetPluginName() string
func (*ClusterRequest) ProtoMessage ¶
func (*ClusterRequest) ProtoMessage()
func (*ClusterRequest) ProtoReflect ¶
func (x *ClusterRequest) ProtoReflect() protoreflect.Message
func (*ClusterRequest) Reset ¶
func (x *ClusterRequest) Reset()
func (*ClusterRequest) String ¶
func (x *ClusterRequest) String() string
type JobRequest ¶
type JobRequest struct { Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` Payload *anypb.Any `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*JobRequest) Descriptor
deprecated
func (*JobRequest) Descriptor() ([]byte, []int)
Deprecated: Use JobRequest.ProtoReflect.Descriptor instead.
func (*JobRequest) GetOperation ¶
func (x *JobRequest) GetOperation() string
func (*JobRequest) GetPayload ¶
func (x *JobRequest) GetPayload() *anypb.Any
func (*JobRequest) ProtoMessage ¶
func (*JobRequest) ProtoMessage()
func (*JobRequest) ProtoReflect ¶
func (x *JobRequest) ProtoReflect() protoreflect.Message
func (*JobRequest) Reset ¶
func (x *JobRequest) Reset()
func (*JobRequest) String ¶
func (x *JobRequest) String() string
type JobResponse ¶
type JobResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RunID string `protobuf:"bytes,2,opt,name=runID,proto3" json:"runID,omitempty"` WorkflowName string `protobuf:"bytes,3,opt,name=workflowName,proto3" json:"workflowName,omitempty"` // contains filtered or unexported fields }
func (*JobResponse) Descriptor
deprecated
func (*JobResponse) Descriptor() ([]byte, []int)
Deprecated: Use JobResponse.ProtoReflect.Descriptor instead.
func (*JobResponse) GetId ¶
func (x *JobResponse) GetId() string
func (*JobResponse) GetRunID ¶
func (x *JobResponse) GetRunID() string
func (*JobResponse) GetWorkflowName ¶
func (x *JobResponse) GetWorkflowName() string
func (*JobResponse) ProtoMessage ¶
func (*JobResponse) ProtoMessage()
func (*JobResponse) ProtoReflect ¶
func (x *JobResponse) ProtoReflect() protoreflect.Message
func (*JobResponse) Reset ¶
func (x *JobResponse) Reset()
func (*JobResponse) String ¶
func (x *JobResponse) String() string
type ProjectAddRequest ¶
type ProjectAddRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // contains filtered or unexported fields }
func (*ProjectAddRequest) Descriptor
deprecated
func (*ProjectAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectAddRequest.ProtoReflect.Descriptor instead.
func (*ProjectAddRequest) GetPluginName ¶
func (x *ProjectAddRequest) GetPluginName() string
func (*ProjectAddRequest) GetProjectName ¶
func (x *ProjectAddRequest) GetProjectName() string
func (*ProjectAddRequest) ProtoMessage ¶
func (*ProjectAddRequest) ProtoMessage()
func (*ProjectAddRequest) ProtoReflect ¶
func (x *ProjectAddRequest) ProtoReflect() protoreflect.Message
func (*ProjectAddRequest) Reset ¶
func (x *ProjectAddRequest) Reset()
func (*ProjectAddRequest) String ¶
func (x *ProjectAddRequest) String() string
type ProjectDeleteRequest ¶
type ProjectDeleteRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // contains filtered or unexported fields }
func (*ProjectDeleteRequest) Descriptor
deprecated
func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDeleteRequest.ProtoReflect.Descriptor instead.
func (*ProjectDeleteRequest) GetPluginName ¶
func (x *ProjectDeleteRequest) GetPluginName() string
func (*ProjectDeleteRequest) GetProjectName ¶
func (x *ProjectDeleteRequest) GetProjectName() string
func (*ProjectDeleteRequest) ProtoMessage ¶
func (*ProjectDeleteRequest) ProtoMessage()
func (*ProjectDeleteRequest) ProtoReflect ¶
func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
func (*ProjectDeleteRequest) Reset ¶
func (x *ProjectDeleteRequest) Reset()
func (*ProjectDeleteRequest) String ¶
func (x *ProjectDeleteRequest) String() string
type RepositoryAddRequest ¶
type RepositoryAddRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` RepoUrl string `protobuf:"bytes,3,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` // contains filtered or unexported fields }
func (*RepositoryAddRequest) Descriptor
deprecated
func (*RepositoryAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryAddRequest.ProtoReflect.Descriptor instead.
func (*RepositoryAddRequest) GetPluginName ¶
func (x *RepositoryAddRequest) GetPluginName() string
func (*RepositoryAddRequest) GetRepoName ¶
func (x *RepositoryAddRequest) GetRepoName() string
func (*RepositoryAddRequest) GetRepoUrl ¶
func (x *RepositoryAddRequest) GetRepoUrl() string
func (*RepositoryAddRequest) ProtoMessage ¶
func (*RepositoryAddRequest) ProtoMessage()
func (*RepositoryAddRequest) ProtoReflect ¶
func (x *RepositoryAddRequest) ProtoReflect() protoreflect.Message
func (*RepositoryAddRequest) Reset ¶
func (x *RepositoryAddRequest) Reset()
func (*RepositoryAddRequest) String ¶
func (x *RepositoryAddRequest) String() string
type RepositoryDeleteRequest ¶
type RepositoryDeleteRequest struct { PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` // contains filtered or unexported fields }
func (*RepositoryDeleteRequest) Descriptor
deprecated
func (*RepositoryDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryDeleteRequest.ProtoReflect.Descriptor instead.
func (*RepositoryDeleteRequest) GetPluginName ¶
func (x *RepositoryDeleteRequest) GetPluginName() string
func (*RepositoryDeleteRequest) GetRepoName ¶
func (x *RepositoryDeleteRequest) GetRepoName() string
func (*RepositoryDeleteRequest) ProtoMessage ¶
func (*RepositoryDeleteRequest) ProtoMessage()
func (*RepositoryDeleteRequest) ProtoReflect ¶
func (x *RepositoryDeleteRequest) ProtoReflect() protoreflect.Message
func (*RepositoryDeleteRequest) Reset ¶
func (x *RepositoryDeleteRequest) Reset()
func (*RepositoryDeleteRequest) String ¶
func (x *RepositoryDeleteRequest) String() string
type StoreCredRequest ¶
type StoreCredRequest struct { Credname string `protobuf:"bytes,1,opt,name=credname,proto3" json:"credname,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*StoreCredRequest) Descriptor
deprecated
func (*StoreCredRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreCredRequest.ProtoReflect.Descriptor instead.
func (*StoreCredRequest) GetCredname ¶
func (x *StoreCredRequest) GetCredname() string
func (*StoreCredRequest) GetPassword ¶
func (x *StoreCredRequest) GetPassword() string
func (*StoreCredRequest) GetUsername ¶
func (x *StoreCredRequest) GetUsername() string
func (*StoreCredRequest) ProtoMessage ¶
func (*StoreCredRequest) ProtoMessage()
func (*StoreCredRequest) ProtoReflect ¶
func (x *StoreCredRequest) ProtoReflect() protoreflect.Message
func (*StoreCredRequest) Reset ¶
func (x *StoreCredRequest) Reset()
func (*StoreCredRequest) String ¶
func (x *StoreCredRequest) String() string
type StoreCredResponse ¶
type StoreCredResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StoreCredResponse) Descriptor
deprecated
func (*StoreCredResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreCredResponse.ProtoReflect.Descriptor instead.
func (*StoreCredResponse) GetStatus ¶
func (x *StoreCredResponse) GetStatus() string
func (*StoreCredResponse) ProtoMessage ¶
func (*StoreCredResponse) ProtoMessage()
func (*StoreCredResponse) ProtoReflect ¶
func (x *StoreCredResponse) ProtoReflect() protoreflect.Message
func (*StoreCredResponse) Reset ¶
func (x *StoreCredResponse) Reset()
func (*StoreCredResponse) String ¶
func (x *StoreCredResponse) String() string
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct { }
UnimplementedAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentServer) ClimonAppDelete ¶
func (UnimplementedAgentServer) ClimonAppDelete(context.Context, *ClimonDeleteRequest) (*JobResponse, error)
func (UnimplementedAgentServer) ClimonAppInstall ¶
func (UnimplementedAgentServer) ClimonAppInstall(context.Context, *ClimonInstallRequest) (*JobResponse, error)
func (UnimplementedAgentServer) ClusterAdd ¶
func (UnimplementedAgentServer) ClusterAdd(context.Context, *ClusterRequest) (*JobResponse, error)
func (UnimplementedAgentServer) ClusterDelete ¶
func (UnimplementedAgentServer) ClusterDelete(context.Context, *ClusterRequest) (*JobResponse, error)
func (UnimplementedAgentServer) DeployerAppDelete ¶
func (UnimplementedAgentServer) DeployerAppDelete(context.Context, *ApplicationDeleteRequest) (*JobResponse, error)
func (UnimplementedAgentServer) DeployerAppInstall ¶
func (UnimplementedAgentServer) DeployerAppInstall(context.Context, *ApplicationInstallRequest) (*JobResponse, error)
func (UnimplementedAgentServer) ProjectAdd ¶
func (UnimplementedAgentServer) ProjectAdd(context.Context, *ProjectAddRequest) (*JobResponse, error)
func (UnimplementedAgentServer) ProjectDelete ¶
func (UnimplementedAgentServer) ProjectDelete(context.Context, *ProjectDeleteRequest) (*JobResponse, error)
func (UnimplementedAgentServer) RepositoryAdd ¶
func (UnimplementedAgentServer) RepositoryAdd(context.Context, *RepositoryAddRequest) (*JobResponse, error)
func (UnimplementedAgentServer) RepositoryDelete ¶
func (UnimplementedAgentServer) RepositoryDelete(context.Context, *RepositoryDeleteRequest) (*JobResponse, error)
func (UnimplementedAgentServer) StoreCred ¶
func (UnimplementedAgentServer) StoreCred(context.Context, *StoreCredRequest) (*StoreCredResponse, error)
func (UnimplementedAgentServer) SubmitJob ¶
func (UnimplementedAgentServer) SubmitJob(context.Context, *JobRequest) (*JobResponse, 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.