replicaset

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicaSet

type ReplicaSet struct {
	Name  string
	IsNew bool
}

type ReplicaSetInformer

type ReplicaSetInformer struct {
	tracker.Tracker
	Controller         utils.ControllerMetadata
	ReplicaSetAdded    chan *appsv1.ReplicaSet
	ReplicaSetModified chan *appsv1.ReplicaSet
	ReplicaSetDeleted  chan *appsv1.ReplicaSet
	Errors             chan error
}

ReplicaSetInformer monitor ReplicaSet events to use with controllers (Deployment, StatefulSet, DaemonSet)

func NewReplicaSetInformer

func NewReplicaSetInformer(trk *tracker.Tracker, controller utils.ControllerMetadata) *ReplicaSetInformer

func (*ReplicaSetInformer) Run

func (r *ReplicaSetInformer) Run(ctx context.Context)

func (*ReplicaSetInformer) WithChannels

func (r *ReplicaSetInformer) WithChannels(added chan *appsv1.ReplicaSet,
	modified chan *appsv1.ReplicaSet,
	deleted chan *appsv1.ReplicaSet,
	errors chan error,
) *ReplicaSetInformer

type ReplicaSetPod

type ReplicaSetPod struct {
	ReplicaSet ReplicaSet
	Name       string
}

TODO: add containers!

type ReplicaSetPodError

type ReplicaSetPodError struct {
	pod.PodError
	ReplicaSet ReplicaSet
}

type ReplicaSetPodLogChunk

type ReplicaSetPodLogChunk struct {
	*pod.PodLogChunk
	ReplicaSet ReplicaSet
}

Jump to

Keyboard shortcuts

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