Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FixedPwhashSalt string // If set, this salt will be used for all pwhash's (only used for testing)
)
Functions ¶
This section is empty.
Types ¶
type FrontendNameBuilder ¶
type FrontendNameBuilder interface { // Create the serviceName of the given task. // This name is used in the Key of the returned records. CreateServiceName(t *jobs.Task) (string, error) // Create the name used in the Service field of the returned records. CreateTargetServiceName(t *jobs.Task) (string, error) // Create the Domain field of selectors created for private-frontends. CreatePrivateDomainNames(t *jobs.Task) ([]string, error) // Create the Domain field of selectors created for instance specific private-frontends. CreateInstanceSpecificPrivateDomainNames(t *jobs.Task, instance uint) ([]string, error) }
type FrontendRecord ¶
func CreateFrontEndRecords ¶
func CreateFrontEndRecords(t *jobs.Task, scalingGroup uint, publicOnly bool, nameBuilder FrontendNameBuilder) ([]FrontendRecord, error)
CreateFrontEndRecords create registration code for frontends to the given units to be used by the Robin loadbalancer.
Click to show internal directories.
Click to hide internal directories.