mock

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 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 MockKubeClient

type MockKubeClient struct{}

MockKubeClient mocks Helm KubernetesClient interface

func (*MockKubeClient) Create

func (m *MockKubeClient) Create(resources kube.ResourceList) (*kube.Result, error)

func (*MockKubeClient) Delete

func (m *MockKubeClient) Delete(resources kube.ResourceList) (*kube.Result, []error)

func (*MockKubeClient) IsReachable

func (m *MockKubeClient) IsReachable() error

func (*MockKubeClient) Update

func (m *MockKubeClient) Update(original, target kube.ResourceList, force bool) (*kube.Result, error)

func (*MockKubeClient) Wait

func (m *MockKubeClient) Wait(resources kube.ResourceList, timeout time.Duration) error

func (*MockKubeClient) WaitAndGetCompletedPodPhase

func (m *MockKubeClient) WaitAndGetCompletedPodPhase(name string, timeout time.Duration) (v1.PodPhase, error)

func (*MockKubeClient) WaitWithJobs

func (m *MockKubeClient) WaitWithJobs(resources kube.ResourceList, timeout time.Duration) error

func (*MockKubeClient) WatchUntilReady

func (m *MockKubeClient) WatchUntilReady(resources kube.ResourceList, timeout time.Duration) error

Jump to

Keyboard shortcuts

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