Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelID = "objectset.rio.cattle.io/id" LabelGVK = "objectset.rio.cattle.io/owner-gvk" LabelName = "objectset.rio.cattle.io/owner-name" LabelNamespace = "objectset.rio.cattle.io/owner-namespace" LabelHash = "objectset.rio.cattle.io/hash" )
View Source
const (
LabelApplied = "objectset.rio.cattle.io/applied"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type Apply interface { Apply(set *objectset.ObjectSet) error ApplyObjects(objs ...runtime.Object) error WithCacheTypes(igs ...InformerGetter) Apply WithSetID(id string) Apply WithOwner(obj runtime.Object) Apply WithInjector(injs ...injectors.ConfigInjector) Apply WithInjectorName(injs ...string) Apply WithPatcher(gvk schema.GroupVersionKind, patchers Patcher) Apply WithStrictCaching() Apply WithDefaultNamespace(ns string) Apply WithRateLimiting(ratelimitingQps float32) Apply WithNoDelete() Apply }
func New ¶
func New(discovery discovery.DiscoveryInterface, cf ClientFactory, igs ...InformerGetter) Apply
type ClientFactory ¶
type ClientFactory func(gvk schema.GroupVersionKind) (dynamic.NamespaceableResourceInterface, error)
func NewClientFactory ¶
func NewClientFactory(config *rest.Config) ClientFactory
type InformerGetter ¶
type InformerGetter interface { Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.