controller

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL