Documentation ¶
Index ¶
- Constants
- type K8sClustersService
- func (c *K8sClustersService) CreateK8SCluster(ctx context.Context, r *pb.CreateK8SClusterRequest) (*pb.CreateK8SClusterResponse, error)
- func (c *K8sClustersService) DeleteK8SCluster(ctx context.Context, r *pb.DeleteK8SClusterRequest) (*pb.DeleteK8SClusterResponse, error)
- func (c *K8sClustersService) UpdateK8SCluster(ctx context.Context, r *pb.UpdateK8SClusterRequest) (*pb.UpdateK8SClusterResponse, error)
Constants ¶
View Source
const (
ResourceType = "k8s_cluster"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClustersService ¶
type K8sClustersService struct { pb.UnimplementedKesselK8SClusterServiceServer Ctl *resources.Usecase }
K8sClustersService handles requests for k8s clusters
func New ¶
func New(c *resources.Usecase) *K8sClustersService
New creates a new K8sClusterService to handle requests for k8s clusters
func (*K8sClustersService) CreateK8SCluster ¶
func (c *K8sClustersService) CreateK8SCluster(ctx context.Context, r *pb.CreateK8SClusterRequest) (*pb.CreateK8SClusterResponse, error)
func (*K8sClustersService) DeleteK8SCluster ¶
func (c *K8sClustersService) DeleteK8SCluster(ctx context.Context, r *pb.DeleteK8SClusterRequest) (*pb.DeleteK8SClusterResponse, error)
func (*K8sClustersService) UpdateK8SCluster ¶
func (c *K8sClustersService) UpdateK8SCluster(ctx context.Context, r *pb.UpdateK8SClusterRequest) (*pb.UpdateK8SClusterResponse, error)
Click to show internal directories.
Click to hide internal directories.