mocks

package
v0.10.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKubeInstaller

type MockKubeInstaller struct {
	ReconcileCalledWith ReconcileParams
	PurgeCalledWith     PurgeParams
	ReturnErr           error
}

func (*MockKubeInstaller) ListAllResources

func (*MockKubeInstaller) PurgeResources

func (i *MockKubeInstaller) PurgeResources(ctx context.Context, withLabels map[string]string) error

func (*MockKubeInstaller) ReconcileResources

func (i *MockKubeInstaller) ReconcileResources(ctx context.Context, params kubeinstall.ReconcileParams) error

type PurgeParams

type PurgeParams struct {
	InstallLabels map[string]string
}

type ReconcileParams

type ReconcileParams struct {
	InstallNamespace string
	Resources        kuberesource.UnstructuredResources
	InstallLabels    map[string]string
}

Jump to

Keyboard shortcuts

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