Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) FetchGlobalKubeanClusterConfig() (*manifestv1alpha1.Manifest, error)
- func (c *Controller) MergeOfflineVersionStatus(offlineVersion *localartifactsetv1alpha1.LocalArtifactSet, ...) (bool, *manifestv1alpha1.Manifest)
- func (c *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
- func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error
- func (c *Controller) Start(ctx context.Context) error
Constants ¶
View Source
const Loop = time.Second * 15
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { client.Client ClientSet kubernetes.Interface InfoManifestClientSet manifestClientSet.Interface LocalArtifactSetClientSet localartifactsetClientSet.Interface }
func (*Controller) FetchGlobalKubeanClusterConfig ¶ added in v0.2.2
func (c *Controller) FetchGlobalKubeanClusterConfig() (*manifestv1alpha1.Manifest, error)
func (*Controller) MergeOfflineVersionStatus ¶
func (c *Controller) MergeOfflineVersionStatus(offlineVersion *localartifactsetv1alpha1.LocalArtifactSet, clusterConfig *manifestv1alpha1.Manifest) (bool, *manifestv1alpha1.Manifest)
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr controllerruntime.Manager) error
Click to show internal directories.
Click to hide internal directories.