29 lines
456 B
Go
29 lines
456 B
Go
|
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
|
||
|
}
|