configurer

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package configurer package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurer

type Configurer interface {
	GetConfig(context.Context) (*rest.Config, error)
}

Configurer is an interface for returning a kubernetes rest config for the kubernetes go-client

type MockConfigurer

type MockConfigurer struct {
	mock.Mock
}

MockConfigurer is an autogenerated mock type for the Configurer type

func NewMockConfigurer

func NewMockConfigurer(t mockConstructorTestingTNewMockConfigurer) *MockConfigurer

NewMockConfigurer creates a new instance of MockConfigurer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockConfigurer) GetConfig

func (_m *MockConfigurer) GetConfig(_a0 context.Context) (*rest.Config, error)

GetConfig provides a mock function with given fields: _a0

Directories

Path Synopsis
Package eks package
Package eks package

Jump to

Keyboard shortcuts

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