Documentation
¶
Index ¶
- type BuildServer
- type DeployManagerServer
- type DeployServer
- func (svr *DeployServer) Deploy(ctx context.Context, in *pb.DeployRequest) (*pb.DeployReply, error)
- func (svr *DeployServer) DeployConfigMap(ctx context.Context, in *pb.DeployConfigMapRequest) (*emptypb.Empty, error)
- func (svr *DeployServer) DeployPod(ctx context.Context, in *pb.DeployPodRequest) (*emptypb.Empty, error)
- func (svr *DeployServer) DeploySecret(ctx context.Context, in *pb.DeploySecretRequest) (*emptypb.Empty, error)
- func (svr *DeployServer) GetConfigMapObject(pusher, namespace string, cm *pb.ConfigMap) unstructured.Unstructured
- func (svr *DeployServer) GetSecretObject(pusher, namespace string, kvs []*pb.Secret) unstructured.Unstructured
- func (svr *DeployServer) Test(name, namespace, image, port string) unstructured.Unstructured
- func (svr *DeployServer) Test2(name, namespace, image, port string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildServer ¶
type BuildServer struct { pb.BuildServer KubeClient *kube.DeployManagerKubeClient TraceClient *trace.TraceClient }
func (*BuildServer) BuildDockerfile ¶
func (svr *BuildServer) BuildDockerfile(ctx context.Context, in *pb.BuildDockerfileRequest) (*pb.BuildDockerfileReply, error)
type DeployManagerServer ¶
func NewServer ¶
func NewServer(port int) *DeployManagerServer
func (*DeployManagerServer) Close ¶
func (s *DeployManagerServer) Close() error
func (*DeployManagerServer) Run ¶
func (s *DeployManagerServer) Run()
type DeployServer ¶
type DeployServer struct { pb.DeployServer KubeClient *kube.DeployManagerKubeClient GitClient *git.DeployManagerGitClient }
func (*DeployServer) Deploy ¶
func (svr *DeployServer) Deploy(ctx context.Context, in *pb.DeployRequest) (*pb.DeployReply, error)
func (*DeployServer) DeployConfigMap ¶
func (svr *DeployServer) DeployConfigMap(ctx context.Context, in *pb.DeployConfigMapRequest) (*emptypb.Empty, error)
func (*DeployServer) DeployPod ¶
func (svr *DeployServer) DeployPod(ctx context.Context, in *pb.DeployPodRequest) (*emptypb.Empty, error)
func (*DeployServer) DeploySecret ¶
func (svr *DeployServer) DeploySecret(ctx context.Context, in *pb.DeploySecretRequest) (*emptypb.Empty, error)
func (*DeployServer) GetConfigMapObject ¶
func (svr *DeployServer) GetConfigMapObject(pusher, namespace string, cm *pb.ConfigMap) unstructured.Unstructured
func (*DeployServer) GetSecretObject ¶
func (svr *DeployServer) GetSecretObject(pusher, namespace string, kvs []*pb.Secret) unstructured.Unstructured
func (*DeployServer) Test ¶
func (svr *DeployServer) Test(name, namespace, image, port string) unstructured.Unstructured
func (*DeployServer) Test2 ¶
func (svr *DeployServer) Test2(name, namespace, image, port string)
Click to show internal directories.
Click to hide internal directories.