Documentation ¶
Overview ¶
rpc CreateNamespace(namespace) returns (Result); // Needs, Authorization rpc ReadNamespace(Void) returns (list_namespace); // Needs, Authorization rpc UpdateNamespace(update_namespace) returns (Result); // Needs, Authorization rpc DeleteNamespace(namespace) returns (Result);
Index ¶
- type KubernetesServer
- func (self *KubernetesServer) CreateDeployment(ctx context.Context, data *pb.Deployment) (*pb.Result, error)
- func (self *KubernetesServer) CreateNamespace(ctx context.Context, data *pb.Namespace) (*pb.Result, error)
- func (self *KubernetesServer) DeleteDeployment(ctx context.Context, data *pb.DeleteDeployment) (*pb.Result, error)
- func (self *KubernetesServer) DeleteNamespace(ctx context.Context, data *pb.Namespace) (*pb.Result, error)
- func (self *KubernetesServer) ReadDeployment(ctx context.Context, data *pb.Namespace) (*pb.ListDeployment, error)
- func (self *KubernetesServer) ReadNamespace(ctx context.Context, data *pb.Void) (*pb.ListNamespace, 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 v1.1.10
func (self *KubernetesServer) CreateDeployment(ctx context.Context, data *pb.Deployment) (*pb.Result, error)
func (*KubernetesServer) CreateNamespace ¶
func (*KubernetesServer) DeleteDeployment ¶ added in v1.1.10
func (self *KubernetesServer) DeleteDeployment(ctx context.Context, data *pb.DeleteDeployment) (*pb.Result, error)
func (*KubernetesServer) DeleteNamespace ¶
func (*KubernetesServer) ReadDeployment ¶ added in v1.1.10
func (self *KubernetesServer) ReadDeployment(ctx context.Context, data *pb.Namespace) (*pb.ListDeployment, error)
func (*KubernetesServer) ReadNamespace ¶
func (self *KubernetesServer) ReadNamespace(ctx context.Context, data *pb.Void) (*pb.ListNamespace, error)
Click to show internal directories.
Click to hide internal directories.