v1alpha1

package
v0.0.0-...-b8de061 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddMachineGroupFailureReason = "machine group already in the list"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineTypeService

type MachineTypeService struct {
	machinetypev1alpha1connect.UnimplementedMachineTypeServiceHandler
	// contains filtered or unexported fields
}

func NewService

func NewService(cfg *rest.Config, opts ...Option) *MachineTypeService

func (*MachineTypeService) StartScheduler

func (s *MachineTypeService) StartScheduler(ctx context.Context)

type Option

type Option func(service *MachineTypeService)

func WithHorizon

func WithHorizon(horizon time.Duration) Option

func WithNamespace

func WithNamespace(namespace string) Option

func WithScheduler

func WithScheduler(scheduler *scheduler.Scheduler[*lifecyclev1alpha1.MachineType]) Option

Jump to

Keyboard shortcuts

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