Documentation ¶
Index ¶
- func NewConfigMapSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewFollowerSVCSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewHeadlessSVCSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewLeaderSVCSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewRoleBindingSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewRoleSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewSecretSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewServiceAccountSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- func NewStatefulSetSyncer(cli client.Client, c *cluster.Cluster) syncer.Interface
- type StatusUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigMapSyncer ¶
func NewFollowerSVCSyncer ¶
NewFollowerSVCSyncer returns a service syncer.
func NewHeadlessSVCSyncer ¶
NewHeadlessSVCSyncer returns a service syncer.
func NewLeaderSVCSyncer ¶
NewLeaderSVCSyncer returns a service syncer.
func NewRoleBindingSyncer ¶
func NewServiceAccountSyncer ¶
Types ¶
type StatusUpdater ¶
func NewStatusUpdater ¶
func (*StatusUpdater) GetObject ¶
func (s *StatusUpdater) GetObject() interface{}
GetObject returns the object for which sync applies Deprecated: use github.com/presslabs/controller-util/syncer.Object() instead.
func (*StatusUpdater) GetOwner ¶
func (s *StatusUpdater) GetOwner() runtime.Object
GetOwner returns the object owner or nil if object does not have one. Deprecated: use github.com/presslabs/controller-util/syncer.ObjectOwner() instead.
func (*StatusUpdater) Object ¶
func (s *StatusUpdater) Object() interface{}
Object returns the object for which sync applies.
func (*StatusUpdater) ObjectOwner ¶
func (s *StatusUpdater) ObjectOwner() runtime.Object
Owner returns the object owner or nil if object does not have one.
func (*StatusUpdater) Sync ¶
func (s *StatusUpdater) Sync(ctx context.Context) (syncer.SyncResult, error)
Click to show internal directories.
Click to hide internal directories.