mock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHelmResourcesManager

type MockHelmResourcesManager struct {
	MonitorsNames []string
}

func (*MockHelmResourcesManager) AbsentResources

func (h *MockHelmResourcesManager) AbsentResources(moduleName string) ([]manifest.Manifest, error)

func (*MockHelmResourcesManager) Ch

func (h *MockHelmResourcesManager) Ch() chan AbsentResourcesEvent

func (*MockHelmResourcesManager) GetAbsentResources

func (h *MockHelmResourcesManager) GetAbsentResources(templates []manifest.Manifest, defaultNamespace string) ([]manifest.Manifest, error)

func (*MockHelmResourcesManager) GetMonitor

func (h *MockHelmResourcesManager) GetMonitor(moduleName string) *ResourcesMonitor

func (*MockHelmResourcesManager) HasMonitor

func (h *MockHelmResourcesManager) HasMonitor(moduleName string) bool

func (*MockHelmResourcesManager) PauseMonitor

func (h *MockHelmResourcesManager) PauseMonitor(moduleName string)

func (*MockHelmResourcesManager) PauseMonitors

func (h *MockHelmResourcesManager) PauseMonitors()

func (*MockHelmResourcesManager) ResumeMonitor

func (h *MockHelmResourcesManager) ResumeMonitor(moduleName string)

func (*MockHelmResourcesManager) ResumeMonitors

func (h *MockHelmResourcesManager) ResumeMonitors()

func (*MockHelmResourcesManager) StartMonitor

func (h *MockHelmResourcesManager) StartMonitor(moduleName string, manifests []manifest.Manifest, defaultNamespace string)

func (*MockHelmResourcesManager) Stop

func (h *MockHelmResourcesManager) Stop()

func (*MockHelmResourcesManager) StopMonitor

func (h *MockHelmResourcesManager) StopMonitor(moduleName string)

func (*MockHelmResourcesManager) StopMonitors

func (h *MockHelmResourcesManager) StopMonitors()

func (*MockHelmResourcesManager) WithContext

func (h *MockHelmResourcesManager) WithContext(ctx context.Context)

func (*MockHelmResourcesManager) WithDefaultNamespace

func (h *MockHelmResourcesManager) WithDefaultNamespace(namespace string)

func (*MockHelmResourcesManager) WithKubeClient

func (h *MockHelmResourcesManager) WithKubeClient(client klient.Client)

Jump to

Keyboard shortcuts

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