Documentation ¶
Index ¶
- func GetBackendSet(ctx context.Context, provider common.ConfigurationProvider, ...) ([]*models.LoadBalanceTarget, error)
- func NewConfigurationProvider(ctx context.Context, spec *api.ApiKeySpec, privateKey string) (common.ConfigurationProvider, error)
- func RegisterBackends(ctx context.Context, provider common.ConfigurationProvider, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackendSet ¶
func GetBackendSet(ctx context.Context, provider common.ConfigurationProvider, spec api.LBRegistrarSpec) ([]*models.LoadBalanceTarget, error)
func NewConfigurationProvider ¶
func NewConfigurationProvider(ctx context.Context, spec *api.ApiKeySpec, privateKey string) (common.ConfigurationProvider, error)
NewConfigurationProvider is a function that creates a new instance of the ConfigurationProvider interface. It takes in a context.Context object, a pointer to an api.ApiKeySpec object
func RegisterBackends ¶
func RegisterBackends(ctx context.Context, provider common.ConfigurationProvider, spec api.LBRegistrarSpec, targets *corev1.NodeList) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.