Documentation
¶
Index ¶
- type CommonControllerFeed
- func (f *CommonControllerFeed) OnAdded(function func(bool) error)
- func (f *CommonControllerFeed) OnAddedPod(function func(replicaset.ReplicaSetPod) error)
- func (f *CommonControllerFeed) OnAddedReplicaSet(function func(replicaset.ReplicaSet) error)
- func (f *CommonControllerFeed) OnEventMsg(function func(string) error)
- func (f *CommonControllerFeed) OnFailed(function func(string) error)
- func (f *CommonControllerFeed) OnPodError(function func(replicaset.ReplicaSetPodError) error)
- func (f *CommonControllerFeed) OnPodLogChunk(function func(*replicaset.ReplicaSetPodLogChunk) error)
- func (f *CommonControllerFeed) OnReady(function func() error)
- type ControllerFeed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonControllerFeed ¶
type CommonControllerFeed struct {
OnAddedFunc func(bool) error
OnReadyFunc func() error
OnFailedFunc func(reason string) error
OnEventMsgFunc func(msg string) error
OnAddedReplicaSetFunc func(replicaset.ReplicaSet) error
OnAddedPodFunc func(replicaset.ReplicaSetPod) error
OnPodLogChunkFunc func(*replicaset.ReplicaSetPodLogChunk) error
OnPodErrorFunc func(replicaset.ReplicaSetPodError) error
}
func (*CommonControllerFeed) OnAdded ¶
func (f *CommonControllerFeed) OnAdded(function func(bool) error)
func (*CommonControllerFeed) OnAddedPod ¶
func (f *CommonControllerFeed) OnAddedPod(function func(replicaset.ReplicaSetPod) error)
func (*CommonControllerFeed) OnAddedReplicaSet ¶
func (f *CommonControllerFeed) OnAddedReplicaSet(function func(replicaset.ReplicaSet) error)
func (*CommonControllerFeed) OnEventMsg ¶
func (f *CommonControllerFeed) OnEventMsg(function func(string) error)
func (*CommonControllerFeed) OnFailed ¶
func (f *CommonControllerFeed) OnFailed(function func(string) error)
func (*CommonControllerFeed) OnPodError ¶
func (f *CommonControllerFeed) OnPodError(function func(replicaset.ReplicaSetPodError) error)
func (*CommonControllerFeed) OnPodLogChunk ¶
func (f *CommonControllerFeed) OnPodLogChunk(function func(*replicaset.ReplicaSetPodLogChunk) error)
func (*CommonControllerFeed) OnReady ¶
func (f *CommonControllerFeed) OnReady(function func() error)
type ControllerFeed ¶
type ControllerFeed interface {
OnAdded(func(ready bool) error)
OnReady(func() error)
OnFailed(func(reason string) error)
OnEventMsg(func(msg string) error) // Pulling: pull alpine:3.6....
OnAddedReplicaSet(func(replicaset.ReplicaSet) error)
OnAddedPod(func(replicaset.ReplicaSetPod) error)
OnPodLogChunk(func(*replicaset.ReplicaSetPodLogChunk) error)
OnPodError(func(replicaset.ReplicaSetPodError) error)
}
Click to show internal directories.
Click to hide internal directories.