grpc

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesServer

type KubernetesServer struct {
	pb.UnimplementedKubernetesServer
}

func (*KubernetesServer) CreateDeployment added in v0.2.0

func (self *KubernetesServer) CreateDeployment(ctx context.Context, name *pb.Deployment) (*pb.Result, error)

func (*KubernetesServer) CreateNamespace

func (self *KubernetesServer) CreateNamespace(ctx context.Context, name *pb.Namespace) (*pb.Result, error)

func (*KubernetesServer) CreatePersistentVolumeClaim added in v0.2.0

func (self *KubernetesServer) CreatePersistentVolumeClaim(ctx context.Context, name *pb.Pvc) (*pb.Result, error)

func (*KubernetesServer) CreateService added in v0.2.0

func (self *KubernetesServer) CreateService(ctx context.Context, name *pb.Service) (*pb.Service, error)

func (*KubernetesServer) DeleteDeployment added in v0.2.0

func (self *KubernetesServer) DeleteDeployment(ctx context.Context, name *pb.DeleteDeployment) (*pb.Result, error)

func (*KubernetesServer) DeleteNamespace

func (self *KubernetesServer) DeleteNamespace(ctx context.Context, name *pb.Namespace) (*pb.Result, error)

func (*KubernetesServer) DeletePersistentVolumeClaim added in v0.2.0

func (self *KubernetesServer) DeletePersistentVolumeClaim(ctx context.Context, name *pb.DeletePvc) (*pb.Result, error)

func (*KubernetesServer) DeleteService added in v0.2.0

func (self *KubernetesServer) DeleteService(ctx context.Context, name *pb.DeleteService) (*pb.Result, error)

func (*KubernetesServer) ListDeployment added in v0.2.0

func (self *KubernetesServer) ListDeployment(ctx context.Context, name *pb.Namespace) (*pb.ListDeployment, error)

func (*KubernetesServer) ListNamespace

func (self *KubernetesServer) ListNamespace(ctx context.Context, name *pb.Empty) (*pb.ListNamespace, error)

func (*KubernetesServer) ListPersistentVolumeClaim added in v0.2.0

func (self *KubernetesServer) ListPersistentVolumeClaim(ctx context.Context, name *pb.Namespace) (*pb.ListPvc, error)

func (*KubernetesServer) ListService added in v0.2.0

func (self *KubernetesServer) ListService(ctx context.Context, name *pb.Namespace) (*pb.ListService, error)

Jump to

Keyboard shortcuts

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