Documentation ¶
Index ¶
- Constants
- func FromAny(obj any) (k8sapi.Workload, bool)
- 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 Kind
- type State
- type Watcher
Constants ¶
View Source
const ( DomainPrefix = "telepresence.getambassador.io/" InjectAnnotation = DomainPrefix + "inject-" + agentconfig.ContainerName ServiceNameAnnotation = DomainPrefix + "inject-service-name" ManualInjectAnnotation = DomainPrefix + "manually-injected" AnnRestartedAt = DomainPrefix + "restartedAt" )
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.