mock

package
v1.5.0-slog1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 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 MockHelmResourcesManager

type MockHelmResourcesManager struct {
	MonitorsNames []string
}

func (*MockHelmResourcesManager) AbsentResources

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

func (*MockHelmResourcesManager) Ch

func (h *MockHelmResourcesManager) Ch() chan ReleaseStatusEvent

func (*MockHelmResourcesManager) GetAbsentResources

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

func (*MockHelmResourcesManager) GetMonitor

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

func (*MockHelmResourcesManager) HasMonitor

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

func (*MockHelmResourcesManager) PauseMonitor

func (h *MockHelmResourcesManager) PauseMonitor(_ string)

func (*MockHelmResourcesManager) PauseMonitors

func (h *MockHelmResourcesManager) PauseMonitors()

func (*MockHelmResourcesManager) ResumeMonitor

func (h *MockHelmResourcesManager) ResumeMonitor(_ string)

func (*MockHelmResourcesManager) ResumeMonitors

func (h *MockHelmResourcesManager) ResumeMonitors()

func (*MockHelmResourcesManager) StartMonitor

func (h *MockHelmResourcesManager) StartMonitor(_ string, _ []manifest.Manifest, _ string, _ func(string) (revision string, status string, err error))

func (*MockHelmResourcesManager) Stop

func (h *MockHelmResourcesManager) Stop()

func (*MockHelmResourcesManager) StopMonitor

func (h *MockHelmResourcesManager) StopMonitor(_ string)

func (*MockHelmResourcesManager) StopMonitors

func (h *MockHelmResourcesManager) StopMonitors()

func (*MockHelmResourcesManager) WithContext

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

func (*MockHelmResourcesManager) WithDefaultNamespace

func (h *MockHelmResourcesManager) WithDefaultNamespace(_ string)

func (*MockHelmResourcesManager) WithKubeClient

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

Jump to

Keyboard shortcuts

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