Documentation
¶
Index ¶
- Constants
- func FromAny(obj any) (k8sapi.Workload, bool)
- func RpcKind(s k8sapi.Kind) manager.WorkloadInfo_Kind
- func StartDeployments(ctx context.Context, ns string) cache.SharedIndexInformer
- func StartReplicaSets(ctx context.Context, ns string) cache.SharedIndexInformer
- func StartRollouts(ctx context.Context, ns string) cache.SharedIndexInformer
- func StartStatefulSets(ctx context.Context, ns string) cache.SharedIndexInformer
- type Event
- type EventType
- type State
- type Watcher
Constants ¶
View Source
const ( EventTypeAdd = iota EventTypeUpdate EventTypeDelete )
Variables ¶
This section is empty.
Functions ¶
func StartDeployments ¶
func StartDeployments(ctx context.Context, ns string) cache.SharedIndexInformer
func StartReplicaSets ¶
func StartReplicaSets(ctx context.Context, ns string) cache.SharedIndexInformer
func StartRollouts ¶
func StartRollouts(ctx context.Context, ns string) cache.SharedIndexInformer
func StartStatefulSets ¶
func StartStatefulSets(ctx context.Context, ns string) cache.SharedIndexInformer
Types ¶
type State ¶
type State int
func GetWorkloadState ¶
func StateFromRPC ¶
func StateFromRPC(s manager.WorkloadInfo_State) State
Click to show internal directories.
Click to hide internal directories.