Documentation ¶
Index ¶
Constants ¶
View Source
const ( TokenReadyConditionMessage = "Token ready" TokenWithoutDataIngestConditionMessage = "Token ready, DataIngest token not provided" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller reconciles a DynaKube object
func NewController ¶
func NewController(mgr manager.Manager, clusterID string) *Controller
func NewDynaKubeController ¶
func (*Controller) Reconcile ¶
func (controller *Controller) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a DynaKube object and makes changes based on the state read and what is in the DynaKube.Spec a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*Controller) SetupWithManager ¶
func (controller *Controller) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.