common

package
v0.0.0-...-cbc6286 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoEventInformerFactory

type ArgoEventInformerFactory struct {
	OwnerGroupVersionKind schema.GroupVersionKind
	OwnerInformer         cache.SharedIndexInformer
	informers.SharedInformerFactory
	Queue workqueue.RateLimitingInterface
}

ArgoEventInformerFactory holds values to create SharedInformerFactory of argo-events

func (*ArgoEventInformerFactory) NewPodInformer

func (c *ArgoEventInformerFactory) NewPodInformer() informersv1.PodInformer

NewPodInformer returns a PodInformer of argo-events

func (*ArgoEventInformerFactory) NewServiceInformer

func (c *ArgoEventInformerFactory) NewServiceInformer() informersv1.ServiceInformer

NewServiceInformer returns a ServiceInformer of argo-events

type ChildResourceContext

type ChildResourceContext struct {
	SchemaGroupVersionKind            schema.GroupVersionKind
	LabelOwnerName                    string
	LabelKeyOwnerControllerInstanceID string
	AnnotationOwnerResourceHashName   string
	InstanceID                        string
}

ChildResourceContext holds necessary information for child resource setup

func (*ChildResourceContext) SetObjectMeta

func (ctx *ChildResourceContext) SetObjectMeta(owner, obj metav1.Object) error

SetObjectMeta sets ObjectMeta of child resource

Jump to

Keyboard shortcuts

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