Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostStatefulSetPoller ¶
type HostStatefulSetPoller struct { *StatefulSetPoller interfaces.IKubeSTS // contains filtered or unexported fields }
HostStatefulSetPoller enriches StatefulSet poller with host capabilities
func NewHostStatefulSetPoller ¶
func NewHostStatefulSetPoller(poller *StatefulSetPoller, kube interfaces.IKube, labeler readyMarkDeleter) *HostStatefulSetPoller
NewHostStatefulSetPoller creates new HostStatefulSetPoller from StatefulSet poller
func (*HostStatefulSetPoller) WaitHostStatefulSetReady ¶
WaitHostStatefulSetReady polls host's StatefulSet until it is ready
type StatefulSetPoller ¶
type StatefulSetPoller struct {
// contains filtered or unexported fields
}
func NewStatefulSetPoller ¶
func NewStatefulSetPoller(kube interfaces.IKube) *StatefulSetPoller
func (*StatefulSetPoller) PollHostStatefulSet ¶
func (p *StatefulSetPoller) PollHostStatefulSet( ctx context.Context, host *api.Host, isDoneFn func(context.Context, *apps.StatefulSet) bool, backFn func(context.Context), ) error
pollHostStatefulSet polls host's StatefulSet
Click to show internal directories.
Click to hide internal directories.