Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller for the boot config.
func NewController ¶
func NewController(opts *Options) *Controller
NewController creates a new controller with the configuration.
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context) error
Run starts the controller.
func (*Controller) SetupClients ¶
func (c *Controller) SetupClients(cfg *k8srestapi.Config) error
SetupClients takes the configuration and prepares the rest clients that will be used to interact with the cluster objects.
type Options ¶
type Options struct {
// TargetTag is the tag that will be looked up to find
// the public ip from the node.
TargetTag string
// ClientAdvertiseFileName is the name of the file where
// the advertise configuration will be written into.
ClientAdvertiseFileName string
// GatewayAdvertiseFileName is the name of the file where
// the advertise configuration will be written into for gateways.
GatewayAdvertiseFileName string
// NoSignals marks whether to enable the signal handler.
NoSignals bool
}
Click to show internal directories.
Click to hide internal directories.