installer

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package installer provides functionality for installing and uninstalling components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer interface {
	// Install installs the component.
	Install(ctx context.Context) error

	// Uninstall uninstalls the component.
	Uninstall(ctx context.Context) error
}

Installer defines methods for installing and uninstalling components.

type MockInstaller added in v1.14.0

type MockInstaller struct {
	mock.Mock
}

MockInstaller is an autogenerated mock type for the Installer type

func NewMockInstaller added in v1.14.0

func NewMockInstaller(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInstaller

NewMockInstaller creates a new instance of MockInstaller. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockInstaller) EXPECT added in v1.14.0

func (_m *MockInstaller) EXPECT() *MockInstaller_Expecter

func (*MockInstaller) Install added in v1.14.0

func (_mock *MockInstaller) Install(ctx context.Context) error

Install provides a mock function for the type MockInstaller

func (*MockInstaller) Uninstall added in v1.14.0

func (_mock *MockInstaller) Uninstall(ctx context.Context) error

Uninstall provides a mock function for the type MockInstaller

type MockInstaller_Expecter added in v1.14.0

type MockInstaller_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockInstaller_Expecter) Install added in v1.14.0

func (_e *MockInstaller_Expecter) Install(ctx interface{}) *MockInstaller_Install_Call

Install is a helper method to define mock.On call

  • ctx context.Context

func (*MockInstaller_Expecter) Uninstall added in v1.14.0

func (_e *MockInstaller_Expecter) Uninstall(ctx interface{}) *MockInstaller_Uninstall_Call

Uninstall is a helper method to define mock.On call

  • ctx context.Context

type MockInstaller_Install_Call added in v1.14.0

type MockInstaller_Install_Call struct {
	*mock.Call
}

MockInstaller_Install_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Install'

func (*MockInstaller_Install_Call) Return added in v1.14.0

func (*MockInstaller_Install_Call) Run added in v1.14.0

func (*MockInstaller_Install_Call) RunAndReturn added in v1.14.0

type MockInstaller_Uninstall_Call added in v1.14.0

type MockInstaller_Uninstall_Call struct {
	*mock.Call
}

MockInstaller_Uninstall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Uninstall'

func (*MockInstaller_Uninstall_Call) Return added in v1.14.0

func (*MockInstaller_Uninstall_Call) Run added in v1.14.0

func (*MockInstaller_Uninstall_Call) RunAndReturn added in v1.14.0

Directories

Path Synopsis
Package applysetinstaller provides an installer for managing ApplySet CRD and CR on a Kubernetes cluster.
Package applysetinstaller provides an installer for managing ApplySet CRD and CR on a Kubernetes cluster.
Package argocdinstaller provides an installer for installing ArgoCD on a Kubernetes cluster.
Package argocdinstaller provides an installer for installing ArgoCD on a Kubernetes cluster.
Package ciliuminstaller provides an installer for installing Cilium CNI on a Kubernetes cluster.
Package ciliuminstaller provides an installer for installing Cilium CNI on a Kubernetes cluster.
Package fluxinstaller provides an installer for installing flux on a Kubernetes cluster.
Package fluxinstaller provides an installer for installing flux on a Kubernetes cluster.
Package istioinstaller provides an installer for installing Istio service mesh on a Kubernetes cluster.
Package istioinstaller provides an installer for installing Istio service mesh on a Kubernetes cluster.
Package metricsserverinstaller provides an installer for installing metrics-server on a Kubernetes cluster.
Package metricsserverinstaller provides an installer for installing metrics-server on a Kubernetes cluster.
Package testutils provides common test utilities for installer packages
Package testutils provides common test utilities for installer packages
Package traefikinstaller provides an installer for installing Traefik on a Kubernetes cluster.
Package traefikinstaller provides an installer for installing Traefik on a Kubernetes cluster.

Jump to

Keyboard shortcuts

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