Documentation
¶
Index ¶
- type NodeControllerStream
- type Service
- func (s *Service) AuthorityCertificate() *x509.Certificate
- func (s *Service) CreateMachine(ctx context.Context, opts types.NodeCreateMachineOptions) (*types.Machine, error)
- func (s *Service) FindMachine(ctx context.Context, machineID string) (*types.Machine, error)
- func (s *Service) ListMachines(ctx context.Context) ([]*types.Machine, error)
- func (s *Service) Start(ctx context.Context) error
- func (s *Service) Stop(ctx context.Context) error
- func (s *Service) TLSCertificate() *tls.Certificate
- func (s *Service) UpdateMachineDesiredState(ctx context.Context, opts types.NodeUpdateMachineDesiredStateOptions) (*types.Machine, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeControllerStream ¶
type NodeControllerStream = *connect.BidiStreamForClient[apiv1pb.NodeControllerClientEvent, apiv1pb.NodeControllerServerEvent]
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( db *gorm.DB, apiClient apiv1pbconnect.NodeControllerServiceClient, volumeProvider types.VolumeProvider, networkProvider types.NetworkProvider, runtimeProvider types.RuntimeProvider, config *types.NodeServerConfig, ) *Service
func (*Service) AuthorityCertificate ¶
func (s *Service) AuthorityCertificate() *x509.Certificate
func (*Service) CreateMachine ¶
func (*Service) FindMachine ¶
func (*Service) ListMachines ¶
func (*Service) TLSCertificate ¶
func (s *Service) TLSCertificate() *tls.Certificate
func (*Service) UpdateMachineDesiredState ¶
Click to show internal directories.
Click to hide internal directories.