Documentation ¶
Index ¶
- Variables
- type DataHelper
- func (r *DataHelper) GetImageByImageName(ctx context.Context, name imagehubv1.ImageName) (imagehubv1.Image, error)
- func (r *DataHelper) GetImageInfoByImageName(ctx context.Context, name imagehubv1.ImageName) (imagehubv1.ImageInfo, error)
- func (r *DataHelper) GetImageListByRepoName(ctx context.Context, name imagehubv1.RepoName) (*imagehubv1.ImageList, error)
- type DataPackReconciler
- type ImageReconciler
- type MatchingLabelsModifier
- type OrganizationReconciler
- type RepositoryReconciler
Constants ¶
This section is empty.
Variables ¶
var DataPackRequeueDuration, _ = time.ParseDuration("1m")
var ErrNotMatch = errors.New("notMatch")
Functions ¶
This section is empty.
Types ¶
type DataHelper ¶
func (*DataHelper) GetImageByImageName ¶
func (r *DataHelper) GetImageByImageName(ctx context.Context, name imagehubv1.ImageName) (imagehubv1.Image, error)
func (*DataHelper) GetImageInfoByImageName ¶
func (r *DataHelper) GetImageInfoByImageName(ctx context.Context, name imagehubv1.ImageName) (imagehubv1.ImageInfo, error)
func (*DataHelper) GetImageListByRepoName ¶
func (r *DataHelper) GetImageListByRepoName(ctx context.Context, name imagehubv1.RepoName) (*imagehubv1.ImageList, error)
type DataPackReconciler ¶
DataPackReconciler reconciles a DataPack object
func (*DataPackReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the DataPack object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*DataPackReconciler) SetupWithManager ¶
func (r *DataPackReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ImageReconciler ¶
type ImageReconciler struct { client.Client logr.Logger Recorder record.EventRecorder Scheme *runtime.Scheme // contains filtered or unexported fields }
ImageReconciler reconciles a Image object
func (*ImageReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Image object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*ImageReconciler) SetupWithManager ¶
func (r *ImageReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MatchingLabelsModifier ¶
type MatchingLabelsModifier func(name any, labels client.MatchingLabels)
type OrganizationReconciler ¶
type OrganizationReconciler struct { client.Client logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
OrganizationReconciler reconciles a Organization object
func (*OrganizationReconciler) Reconcile ¶
func (r *OrganizationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Organization object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*OrganizationReconciler) SetupWithManager ¶
func (r *OrganizationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RepositoryReconciler ¶
type RepositoryReconciler struct { client.Client logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
RepositoryReconciler reconciles a Reposiotry object
func (*RepositoryReconciler) Reconcile ¶
func (r *RepositoryReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Repository object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*RepositoryReconciler) SetupWithManager ¶
func (r *RepositoryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.