Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) MergeManifestsStatus(localartifactset *localartifactsetv1alpha1.LocalArtifactSet, ...) ([]*manifestv1alpha1.Manifest, error)
- 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.Client ClientSet kubernetes.Interface InfoManifestClientSet manifestClientSet.Interface LocalArtifactSetClientSet localartifactsetClientSet.Interface }
func (*Controller) MergeManifestsStatus ¶ added in v0.11.0
func (c *Controller) MergeManifestsStatus(localartifactset *localartifactsetv1alpha1.LocalArtifactSet, manifests []*manifestv1alpha1.Manifest) ([]*manifestv1alpha1.Manifest, error)
MergeManifestsStatus merge the status of manifests which has same sprayRelease label of the localartifactset.
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.