Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelEnable = "sablier.enable" LabelGroup = "sablier.group" LabelGroupDefaultValue = "default" LabelReplicas = "sablier.replicas" LabelReplicasDefaultValue uint64 = 1 )
Variables ¶
This section is empty.
Functions ¶
func StopAllUnregisteredInstances ¶
func StopAllUnregisteredInstances(ctx context.Context, provider providers.Provider, registered []string) error
StopAllUnregisteredInstances stops all auto-discovered running instances that are not yet registered as running instances by Sablier. By default, Sablier does not stop all already running instances. Meaning that you need to make an initial request in order to trigger the scaling to zero.
Types ¶
Click to show internal directories.
Click to hide internal directories.