Documentation ¶
Index ¶
- type DaemonsetOperator
- func (d *DaemonsetOperator) Convert(sg *apistructs.ServiceGroup) interface{}
- func (d *DaemonsetOperator) Create(k8syml interface{}) error
- func (d *DaemonsetOperator) Inspect(sg *apistructs.ServiceGroup) (*apistructs.ServiceGroup, error)
- func (d *DaemonsetOperator) IsSupported() bool
- func (d *DaemonsetOperator) Remove(sg *apistructs.ServiceGroup) error
- func (d *DaemonsetOperator) Update(k8syml interface{}) error
- func (d *DaemonsetOperator) Validate(sg *apistructs.ServiceGroup) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonsetOperator ¶
type DaemonsetOperator struct {
// contains filtered or unexported fields
}
func New ¶
func New(k8s addon.K8SUtil, ns addon.NamespaceUtil, imageSecret addon.ImageSecretUtil, healthcheck addon.HealthcheckUtil, daemonset addon.DaemonsetUtil, overcommit addon.OvercommitUtil) *DaemonsetOperator
func (*DaemonsetOperator) Convert ¶
func (d *DaemonsetOperator) Convert(sg *apistructs.ServiceGroup) interface{}
TODO: volume support
func (*DaemonsetOperator) Create ¶
func (d *DaemonsetOperator) Create(k8syml interface{}) error
func (*DaemonsetOperator) Inspect ¶
func (d *DaemonsetOperator) Inspect(sg *apistructs.ServiceGroup) (*apistructs.ServiceGroup, error)
func (*DaemonsetOperator) IsSupported ¶
func (d *DaemonsetOperator) IsSupported() bool
func (*DaemonsetOperator) Remove ¶
func (d *DaemonsetOperator) Remove(sg *apistructs.ServiceGroup) error
func (*DaemonsetOperator) Update ¶
func (d *DaemonsetOperator) Update(k8syml interface{}) error
func (*DaemonsetOperator) Validate ¶
func (d *DaemonsetOperator) Validate(sg *apistructs.ServiceGroup) error
Click to show internal directories.
Click to hide internal directories.