svc

package
v0.0.0-...-b5764cd Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Names = []string{
	"machine.v1alpha1.MachineService.ScanMachine",
	"machine.v1alpha1.MachineService.Install",
	"machine.v1alpha1.MachineService.ListMachines",
	"machine.v1alpha1.MachineService.UpdateMachineStatus",
	"machine.v1alpha1.MachineService.AddPackageVersion",
	"machine.v1alpha1.MachineService.SetPackageVersion",
	"machine.v1alpha1.MachineService.RemovePackageVersion",
	"machinetype.v1alpha1.MachineTypeService.Scan",
	"machinetype.v1alpha1.MachineTypeService.ListMachineTypes",
	"machinetype.v1alpha1.MachineTypeService.UpdateMachineTypeStatus",
	"machinetype.v1alpha1.MachineTypeService.AddMachineGroup",
	"machinetype.v1alpha1.MachineTypeService.RemoveMachineGroup",
}

Functions

This section is empty.

Types

type GrpcServer

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

func NewGrpcServer

func NewGrpcServer(opts Options) *GrpcServer

func (*GrpcServer) Start

func (s *GrpcServer) Start(ctx context.Context) error

type Options

type Options struct {
	Cfg        *rest.Config
	Log        *slog.Logger
	Host       string
	Port       int
	Namespace  string
	ScanPeriod time.Duration
	Horizon    time.Duration
}

Directories

Path Synopsis
machine
machinetype

Jump to

Keyboard shortcuts

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