Versions in this module Expand all Collapse all v4 v4.2.1 Oct 12, 2026 v4.2.0 Oct 11, 2026 Changes in this version + const AuthKeysRouteID + const DeleteAuthKeyRouteID + const DeleteNodeRouteID + const GenerateAuthKeyRouteID + const InternalAuthKeyRouteID + const LoadBalancerCheckRouteID + const LoadBalancerStatsRouteID + const NodeRouteID + const NodeSortTiebreaker + const NodesRouteID + const RawConfigRouteID + const UpdateRawConfigRouteID + var NodeSortColumns = map[string]v2compat.SortColumn + type ForwardNode struct + ID uint + Latency int + Load float64 + Status int + func (ForwardNode) TableName() string + type RegistrationKey struct + CreatedAt time.Time + ExpireAt *int64 + HasKey bool + ID uint + Name string + UpdatedAt time.Time + Used int + func (RegistrationKey) TableName() string type Service + Leased func(ctx context.Context, name string) bool + NewToken func() string + NodeOps kernelnodeopsv1.KernelNodeOpsClient + func (s *Service) DeleteAuthKey(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) DeleteNode(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GenerateAuthKey(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GetNode(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GetRawConfig(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) InternalGenerateAuthKey(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) ListAuthKeys(ctx context.Context, _ pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) ListNodes(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) LoadBalancerStats(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) RunHealthCheck(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) UpdateRawConfig(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) v4.2.0-rc.4 Oct 9, 2026 v4.2.0-rc.3 Oct 9, 2026 v4.2.0-rc.2 Oct 5, 2026 v4.2.0-rc.1 Oct 5, 2026 v4.1.0 Oct 4, 2026 Changes in this version + type LoadBalancer struct + CheckInterval int + CheckTimeout int + CreatedAt time.Time + Enabled bool + GroupID uint + HealthCheck bool + ID uint + Name string + NodeWeights string + Strategy string + UpdatedAt time.Time + func (LoadBalancer) TableName() string + type NodeLog struct + CreatedAt time.Time + FieldsJSON string + ID uint + Level string + LoggedAt *time.Time + Message string + NodeID uint + Source string + TraceID string + UpdatedAt time.Time + func (NodeLog) TableName() string + type Service struct + Now func() time.Time + Open func(ctx context.Context) (*gorm.DB, error) + func (s *Service) CreateLoadBalancer(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) DeleteLoadBalancer(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GetLoadBalancer(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GetNodeLogs(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) GetNodeStats(ctx context.Context, _ pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) Handlers() map[string]pluginhostsdk.NativeHandler + func (s *Service) ListLoadBalancers(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) + func (s *Service) UpdateLoadBalancer(ctx context.Context, request pluginhostsdk.NativeRequest) (pluginhostsdk.NativeResponse, error) v4.1.0-rc.6 Oct 3, 2026 v4.1.0-rc.5 Oct 2, 2026 v4.1.0-rc.4 Oct 2, 2026 v4.1.0-rc.3 Oct 2, 2026 v4.1.0-rc.2 Oct 1, 2026 v4.1.0-rc.1 Oct 1, 2026