mocks

package
v0.194.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: 4 Imported by: 3 modules, 3 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 ConfigProvider added in v0.39.0

type ConfigProvider struct {
	mock.Mock
}

ConfigProvider is an autogenerated mock type for the ConfigProvider type

func NewConfigProvider added in v0.150.0

func NewConfigProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigProvider

NewConfigProvider creates a new instance of ConfigProvider. 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 (*ConfigProvider) ClientConfig added in v0.39.0

func (_m *ConfigProvider) ClientConfig(serviceName string, cfgs ...*aws.Config) client.Config

ClientConfig provides a mock function with given fields: serviceName, cfgs

type KubeNodeGroup

type KubeNodeGroup struct {
	mock.Mock
}

KubeNodeGroup is an autogenerated mock type for the KubeNodeGroup type

func NewKubeNodeGroup added in v0.150.0

func NewKubeNodeGroup(t interface {
	mock.TestingT
	Cleanup(func())
}) *KubeNodeGroup

NewKubeNodeGroup creates a new instance of KubeNodeGroup. 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 (*KubeNodeGroup) GetAMIFamily

func (_m *KubeNodeGroup) GetAMIFamily() string

GetAMIFamily provides a mock function with given fields:

func (*KubeNodeGroup) ListOptions

func (_m *KubeNodeGroup) ListOptions() v1.ListOptions

ListOptions provides a mock function with given fields:

func (*KubeNodeGroup) NameString

func (_m *KubeNodeGroup) NameString() string

NameString provides a mock function with given fields:

func (*KubeNodeGroup) Size

func (_m *KubeNodeGroup) Size() int

Size 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