fake

package
v3.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApply

type FakeApply struct {
	Objects []*objectset.ObjectSet
	Count   int
}

func (*FakeApply) Apply

func (f *FakeApply) Apply(set *objectset.ObjectSet) error

func (*FakeApply) ApplyObjects

func (f *FakeApply) ApplyObjects(objs ...runtime.Object) error

func (*FakeApply) DryRun

func (f *FakeApply) DryRun(objs ...runtime.Object) (apply.Plan, error)

func (*FakeApply) FindOwner

func (f *FakeApply) FindOwner(obj runtime.Object) (runtime.Object, error)

func (*FakeApply) PurgeOrphan

func (f *FakeApply) PurgeOrphan(obj runtime.Object) error

func (*FakeApply) WithCacheTypeFactory

func (f *FakeApply) WithCacheTypeFactory(factory apply.InformerFactory) apply.Apply

func (*FakeApply) WithCacheTypes

func (f *FakeApply) WithCacheTypes(igs ...apply.InformerGetter) apply.Apply

func (*FakeApply) WithContext

func (f *FakeApply) WithContext(ctx context.Context) apply.Apply

func (*FakeApply) WithDefaultNamespace

func (f *FakeApply) WithDefaultNamespace(ns string) apply.Apply

func (*FakeApply) WithDiffPatch

func (f *FakeApply) WithDiffPatch(gvk schema.GroupVersionKind, namespace, name string, patch []byte) apply.Apply

func (*FakeApply) WithDynamicLookup

func (f *FakeApply) WithDynamicLookup() apply.Apply

func (*FakeApply) WithGVK

func (f *FakeApply) WithGVK(gvks ...schema.GroupVersionKind) apply.Apply

func (*FakeApply) WithIgnorePreviousApplied

func (f *FakeApply) WithIgnorePreviousApplied() apply.Apply

func (*FakeApply) WithInjector

func (f *FakeApply) WithInjector(injs ...injectors.ConfigInjector) apply.Apply

func (*FakeApply) WithInjectorName

func (f *FakeApply) WithInjectorName(injs ...string) apply.Apply

func (*FakeApply) WithListerNamespace

func (f *FakeApply) WithListerNamespace(ns string) apply.Apply

func (*FakeApply) WithNoDelete

func (f *FakeApply) WithNoDelete() apply.Apply

func (*FakeApply) WithNoDeleteGVK

func (f *FakeApply) WithNoDeleteGVK(gvks ...schema.GroupVersionKind) apply.Apply

func (*FakeApply) WithOwner

func (f *FakeApply) WithOwner(obj runtime.Object) apply.Apply

func (*FakeApply) WithOwnerKey

func (f *FakeApply) WithOwnerKey(key string, gvk schema.GroupVersionKind) apply.Apply

func (*FakeApply) WithPatcher

func (f *FakeApply) WithPatcher(gvk schema.GroupVersionKind, patchers apply.Patcher) apply.Apply

func (*FakeApply) WithRateLimiting

func (f *FakeApply) WithRateLimiting(ratelimitingQps float32) apply.Apply

func (*FakeApply) WithReconciler

func (f *FakeApply) WithReconciler(gvk schema.GroupVersionKind, reconciler apply.Reconciler) apply.Apply

func (*FakeApply) WithRestrictClusterScoped

func (f *FakeApply) WithRestrictClusterScoped() apply.Apply

func (*FakeApply) WithSetID

func (f *FakeApply) WithSetID(id string) apply.Apply

func (*FakeApply) WithSetOwnerReference

func (f *FakeApply) WithSetOwnerReference(controller, block bool) apply.Apply

func (*FakeApply) WithStrictCaching

func (f *FakeApply) WithStrictCaching() apply.Apply

Jump to

Keyboard shortcuts

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