zelda/backend/apiserver/controllers/zservice/zservice.go

29 lines
456 B
Go
Raw Permalink Normal View History

2024-11-19 16:57:27 +08:00
package zservice
import (
kubeclient "sigs.k8s.io/controller-runtime/pkg/client"
)
type ctrl struct {
client kubeclient.Client
}
func (c *ctrl) Restart(name string) error {
return nil
}
func (c *ctrl) Stop(name string) error {
return nil
}
func (c *ctrl) Start(name string) error {
return nil
}
func (c *ctrl) Scale(name string, replicas int) error {
return nil
}
func (c *ctrl) ChangeVersion(name string, version string) error {
return nil
}