Versions in this module Expand all Collapse all v1 v1.31.0 Oct 7, 2024 v1.31.0-dev Oct 7, 2024 v1.30.5 Oct 10, 2024 v1.30.0 Aug 13, 2024 v1.29.0 May 28, 2024 Changes in this version + const AutoScalerServerNodeAutoscaled + const AutoScalerServerNodeExternal + const AutoScalerServerNodeManaged + const AutoScalerServerNodeStateCreating + const AutoScalerServerNodeStateDeleted + const AutoScalerServerNodeStateDeleting + const AutoScalerServerNodeStateNotCreated + const AutoScalerServerNodeStateRunning + const AutoScalerServerNodeStateStopped + const AutoScalerServerNodeStateUndefined + const ErrorEvent + const FailedEvent + const NodegroupCreated + const NodegroupCreating + const NodegroupDeleted + const NodegroupDeleting + const NodegroupNotCreated + const ServerNodeStateCreating + const ServerNodeStateDeleted + const ServerNodeStateDeleting + const ServerNodeStateNotRunning + const ServerNodeStateRunning + const SuccessEvent + const WarningEvent + func CreateLabelOrAnnotation(values []string) types.KubernetesLabel + func NewExternalgrpcServerApp(appServer *AutoScalerServerApp) (*externalgrpcServerApp, error) + func NewGrpcServerApp(appServer *AutoScalerServerApp) (*grpcServerApp, error) + func StartServer(kubeClient client.ClientGenerator, c *types.Config) + type AutoScalerServerApp struct + AutoProvision bool + Groups map[string]*AutoScalerServerNodeGroup + NodesDefinition []*apigrpc.NodeGroupDef + ResourceLimiter *types.ResourceLimiter + func (s *AutoScalerServerApp) Load(fileName string) error + func (s *AutoScalerServerApp) Save(fileName string) error + type AutoScalerServerNode struct + AllowDeployment bool + CPU int + CRDUID uid.UID + CloudInit cloudinit.CloudInit + ControlPlaneNode bool + DiskSize int + ExtraAnnotations types.KubernetesLabel + ExtraLabels types.KubernetesLabel + IPAddress string + InstanceName string + MaxPods int + Memory int + NodeGroup string + NodeIndex int + NodeName string + NodeType AutoScalerServerNodeType + State AutoScalerServerNodeState + VMUUID string + func (vm *AutoScalerServerNode) WaitForIP() (string, error) + func (vm *AutoScalerServerNode) WaitSSHReady(nodename, address string) error + type AutoScalerServerNodeGroup struct + AutoProvision bool + ControlPlaneNamePrefix string + InstanceType string + LastCreatedNodeIndex int + ManagedNodeNamePrefix string + MaxNodeSize int + MinNodeSize int + NodeGroupIdentifier string + NodeLabels types.KubernetesLabel + Nodes map[string]*AutoScalerServerNode + ProvisionnedNodeNamePrefix string + RunningNodes map[int]ServerNodeState + ServiceIdentifier string + Status NodeGroupState + SystemLabels types.KubernetesLabel + func NewAutoScalerServerNodeGroup(s *nodegroupCreateInput) (nodeGroup *AutoScalerServerNodeGroup) + func (g *AutoScalerServerNodeGroup) AllNodes() []*AutoScalerServerNode + func (g *AutoScalerServerNodeGroup) GetOptions(defaults *apigrpc.AutoscalingOptions) (*apigrpc.AutoscalingOptions, error) + func (g *AutoScalerServerNodeGroup) Machine() *providers.MachineCharacteristic + type AutoScalerServerNodeState int32 + func (s AutoScalerServerNodeState) String() string + type AutoScalerServerNodeType int32 + type Controller struct + func NewController(application applicationInterface, stopCh <-chan struct{}) (controller *Controller, err error) + func (c *Controller) CreateCRD() error + func (c *Controller) Run() error + type NodeGroupState int32 + type ServerNodeState int