Documentation ¶
Index ¶
- type KubernetesServer
- func (self *KubernetesServer) CreateDeployment(ctx context.Context, name *pb.Deployment) (*pb.Result, error)
- func (self *KubernetesServer) CreateNamespace(ctx context.Context, name *pb.Namespace) (*pb.Result, error)
- func (self *KubernetesServer) CreatePersistentVolumeClaim(ctx context.Context, name *pb.Pvc) (*pb.Result, error)
- func (self *KubernetesServer) CreateService(ctx context.Context, name *pb.Service) (*pb.Service, error)
- func (self *KubernetesServer) DeleteDeployment(ctx context.Context, name *pb.DeleteDeployment) (*pb.Result, error)
- func (self *KubernetesServer) DeleteNamespace(ctx context.Context, name *pb.Namespace) (*pb.Result, error)
- func (self *KubernetesServer) DeletePersistentVolumeClaim(ctx context.Context, name *pb.DeletePvc) (*pb.Result, error)
- func (self *KubernetesServer) DeleteService(ctx context.Context, name *pb.DeleteService) (*pb.Result, error)
- func (self *KubernetesServer) ListDeployment(ctx context.Context, name *pb.Namespace) (*pb.ListDeployment, error)
- func (self *KubernetesServer) ListNamespace(ctx context.Context, name *pb.Empty) (*pb.ListNamespace, error)
- func (self *KubernetesServer) ListPersistentVolumeClaim(ctx context.Context, name *pb.Namespace) (*pb.ListPvc, error)
- func (self *KubernetesServer) ListService(ctx context.Context, name *pb.Namespace) (*pb.ListService, error)
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 (*KubernetesServer) CreatePersistentVolumeClaim ¶ added in v0.2.0
func (*KubernetesServer) CreateService ¶ added in v0.2.0
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 (*KubernetesServer) DeletePersistentVolumeClaim ¶ added in v0.2.0
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 (*KubernetesServer) ListService ¶ added in v0.2.0
func (self *KubernetesServer) ListService(ctx context.Context, name *pb.Namespace) (*pb.ListService, error)
Click to show internal directories.
Click to hide internal directories.