replicaset

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 12 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 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