grpc

package
v0.0.0-...-9d91e49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

type DeployManagerServer struct {
	Server   *grpc.Server
	Listener net.Listener
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL