grpc

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v0.18.2

func Run(cfg *ServerConfig) error

Types

type BootService added in v0.18.0

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

func NewBootService added in v0.18.0

func NewBootService(cfg *ServerConfig, eventService *EventService) *BootService

func (*BootService) AbortReinstall added in v0.18.0

func (*BootService) Boot added in v0.18.0

func (*BootService) Dhcp added in v0.18.0

func (*BootService) Register added in v0.18.0

func (*BootService) Report added in v0.18.0

func (*BootService) SuperUserPassword added in v0.18.0

func (*BootService) Wait added in v0.18.2

type EventService added in v0.17.0

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

func NewEventService added in v0.17.0

func NewEventService(cfg *ServerConfig) *EventService

func (*EventService) Send added in v0.17.0

type ServerConfig added in v0.10.2

type ServerConfig struct {
	Context                  context.Context
	Publisher                bus.Publisher
	Consumer                 *bus.Consumer
	Store                    *datastore.RethinkStore
	Logger                   *slog.Logger
	GrpcPort                 int
	TlsEnabled               bool
	CaCertFile               string
	ServerCertFile           string
	ServerKeyFile            string
	ResponseInterval         time.Duration
	CheckInterval            time.Duration
	BMCSuperUserPasswordFile string
	Auditing                 auditing.Auditing
	IPMISuperUser            metal.MachineIPMISuperUser
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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