mocks

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v2.12.0

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) CleanChartCache

func (_m *Client) CleanChartCache(chart string, version string, project string) error

CleanChartCache provides a mock function with given fields: chart, version, project

func (*Client) ExtractChart

func (_m *Client) ExtractChart(chart string, version string, project string, passCredentials bool, manifestMaxExtractedSize int64, disableManifestMaxExtractedSize bool) (string, io.Closer, error)

ExtractChart provides a mock function with given fields: chart, version, project, passCredentials, manifestMaxExtractedSize, disableManifestMaxExtractedSize

func (*Client) GetIndex

func (_m *Client) GetIndex(noCache bool, maxIndexSize int64) (*helm.Index, error)

GetIndex provides a mock function with given fields: noCache, maxIndexSize

func (*Client) GetTags added in v2.6.0

func (_m *Client) GetTags(chart string, noCache bool) (*helm.TagsList, error)

GetTags provides a mock function with given fields: chart, noCache

func (*Client) TestHelmOCI

func (_m *Client) TestHelmOCI() (bool, error)

TestHelmOCI provides a mock function with given fields:

Jump to

Keyboard shortcuts

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