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 listens for new ocibuilder resources and hands off handling of each resource on the queue to the operator
func NewController ¶
func NewController(rest *rest.Config, config *ControllerConfig, logger *logrus.Logger, configmap, namespace string) *Controller
NewController creates a new controller
func (*Controller) ResyncConfig ¶
func (ctrl *Controller) ResyncConfig(namespace string) error
ResyncConfig reloads the controller config from the configmap
type ControllerConfig ¶
type ControllerConfig struct { // InstanceID is a label selector to limit the controller's watch of ocibuilders to a specific instance. InstanceID string // namespace is a label selector filter to limit controller's watch to specific namespace Namespace string }
ControllerConfig contain the configuration settings for the controller
Click to show internal directories.
Click to hide internal directories.