machinepool

package
v1.2.41-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package machinepool is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var MachinePoolKeyRE = regexp.MustCompile(`^[a-z]([-a-z0-9]*[a-z0-9])?$`)

Regular expression to used to make sure that the identifier given by the user is safe and that it there is no risk of SQL injection:

Functions

func ValidateKubeletConfig added in v1.2.40

func ValidateKubeletConfig(input interface{}) error

Types

type MachinePoolService

type MachinePoolService interface {
	DescribeMachinePool(r *rosa.Runtime, cluster *cmv1.Cluster, clusterKey string, machinePoolId string) error
	ListMachinePools(r *rosa.Runtime, clusterKey string, cluster *cmv1.Cluster) error
	DeleteMachinePool(r *rosa.Runtime, machinePoolId string, clusterKey string, cluster *cmv1.Cluster) error
}

func NewMachinePoolService

func NewMachinePoolService() MachinePoolService

type MockMachinePoolService added in v1.2.40

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

MockMachinePoolService is a mock of MachinePoolService interface.

func NewMockMachinePoolService added in v1.2.40

func NewMockMachinePoolService(ctrl *gomock.Controller) *MockMachinePoolService

NewMockMachinePoolService creates a new mock instance.

func (*MockMachinePoolService) DescribeMachinePool added in v1.2.40

func (m *MockMachinePoolService) DescribeMachinePool(r *rosa.Runtime, cluster *v1.Cluster, clusterKey string, isHypershift bool, machinePoolId string) error

DescribeMachinePool mocks base method.

func (*MockMachinePoolService) EXPECT added in v1.2.40

EXPECT returns an object that allows the caller to indicate expected use.

type MockMachinePoolServiceMockRecorder added in v1.2.40

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

MockMachinePoolServiceMockRecorder is the mock recorder for MockMachinePoolService.

func (*MockMachinePoolServiceMockRecorder) DescribeMachinePool added in v1.2.40

func (mr *MockMachinePoolServiceMockRecorder) DescribeMachinePool(r, cluster, clusterKey, isHypershift, machinePoolId any) *gomock.Call

DescribeMachinePool indicates an expected call of DescribeMachinePool.

Jump to

Keyboard shortcuts

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