mocks

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LiveStateCache

type LiveStateCache struct {
	mock.Mock
}

LiveStateCache is an autogenerated mock type for the LiveStateCache type

func (*LiveStateCache) GetManagedLiveObjs

func (_m *LiveStateCache) GetManagedLiveObjs(a *v1alpha1.Application, targetObjs []*unstructured.Unstructured) (map[kube.ResourceKey]*unstructured.Unstructured, error)

GetManagedLiveObjs provides a mock function with given fields: a, targetObjs

func (*LiveStateCache) Invalidate

func (_m *LiveStateCache) Invalidate()

Invalidate provides a mock function with given fields:

func (*LiveStateCache) IsNamespaced

func (_m *LiveStateCache) IsNamespaced(server string, obj *unstructured.Unstructured) (bool, error)

IsNamespaced provides a mock function with given fields: server, obj

func (*LiveStateCache) IterateHierarchy added in v1.0.0

func (_m *LiveStateCache) IterateHierarchy(server string, obj *unstructured.Unstructured, action func(v1alpha1.ResourceNode)) error

IterateHierarchy provides a mock function with given fields: server, obj, action

func (*LiveStateCache) Run

func (_m *LiveStateCache) Run(ctx context.Context) error

Run provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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