Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "scaController" AvailableReason = "Updated" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { controllerstatus.StatusController // contains filtered or unexported fields }
Controller holds all the required resources to be able to communicate with OCM API
func New ¶
func New(coreClient corev1client.CoreV1Interface, configurator configobserver.Interface, insightsClient *insightsclient.Client) *Controller
New creates new instance
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context)
Run periodically queries the OCM API and update corresponding secret accordingly
Click to show internal directories.
Click to hide internal directories.