Documentation
¶
Index ¶
- func Run(cfg *ServerConfig) error
- type BootService
- func (b *BootService) AbortReinstall(ctx context.Context, req *v1.BootServiceAbortReinstallRequest) (*v1.BootServiceAbortReinstallResponse, error)
- func (b *BootService) Boot(ctx context.Context, req *v1.BootServiceBootRequest) (*v1.BootServiceBootResponse, error)
- func (b *BootService) Dhcp(ctx context.Context, req *v1.BootServiceDhcpRequest) (*v1.BootServiceDhcpResponse, error)
- func (b *BootService) Register(ctx context.Context, req *v1.BootServiceRegisterRequest) (*v1.BootServiceRegisterResponse, error)
- func (b *BootService) Report(ctx context.Context, req *v1.BootServiceReportRequest) (*v1.BootServiceReportResponse, error)
- func (b *BootService) SuperUserPassword(ctx context.Context, req *v1.BootServiceSuperUserPasswordRequest) (*v1.BootServiceSuperUserPasswordResponse, error)
- func (b *BootService) Wait(req *v1.BootServiceWaitRequest, srv v1.BootService_WaitServer) error
- type EventService
- type ServerConfig
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 (b *BootService) AbortReinstall(ctx context.Context, req *v1.BootServiceAbortReinstallRequest) (*v1.BootServiceAbortReinstallResponse, error)
func (*BootService) Boot ¶ added in v0.18.0
func (b *BootService) Boot(ctx context.Context, req *v1.BootServiceBootRequest) (*v1.BootServiceBootResponse, error)
func (*BootService) Dhcp ¶ added in v0.18.0
func (b *BootService) Dhcp(ctx context.Context, req *v1.BootServiceDhcpRequest) (*v1.BootServiceDhcpResponse, error)
func (*BootService) Register ¶ added in v0.18.0
func (b *BootService) Register(ctx context.Context, req *v1.BootServiceRegisterRequest) (*v1.BootServiceRegisterResponse, error)
func (*BootService) Report ¶ added in v0.18.0
func (b *BootService) Report(ctx context.Context, req *v1.BootServiceReportRequest) (*v1.BootServiceReportResponse, error)
func (*BootService) SuperUserPassword ¶ added in v0.18.0
func (b *BootService) SuperUserPassword(ctx context.Context, req *v1.BootServiceSuperUserPasswordRequest) (*v1.BootServiceSuperUserPasswordResponse, error)
func (*BootService) Wait ¶ added in v0.18.2
func (b *BootService) Wait(req *v1.BootServiceWaitRequest, srv v1.BootService_WaitServer) error
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
func (e *EventService) Send(ctx context.Context, req *v1.EventServiceSendRequest) (*v1.EventServiceSendResponse, error)
type ServerConfig ¶ added in v0.10.2
type ServerConfig struct {
Context context.Context
Publisher bus.Publisher
Consumer *bus.Consumer
Store *datastore.RethinkStore
Logger *zap.SugaredLogger
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
}
Click to show internal directories.
Click to hide internal directories.