Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { controller.Controller // contains filtered or unexported fields }
Controller is a controller that echoes pod events.
func New ¶
func New(config Config, k8sCli kubernetes.Interface, logger log.Logger) (*Controller, error)
New returns a new Echo controller.
type PodRetrieve ¶
type PodRetrieve struct {
// contains filtered or unexported fields
}
PodRetrieve knows how to retrieve pods.
func NewPodRetrieve ¶
func NewPodRetrieve(namespace string, client kubernetes.Interface) *PodRetrieve
NewPodRetrieve returns a new pod retriever.
func (*PodRetrieve) GetListerWatcher ¶
func (p *PodRetrieve) GetListerWatcher() cache.ListerWatcher
GetListerWatcher knows how to return a listerWatcher of a pod.
func (*PodRetrieve) GetObject ¶
func (p *PodRetrieve) GetObject() runtime.Object
GetObject returns the empty pod.
Click to show internal directories.
Click to hide internal directories.