Documentation ¶
Index ¶
- Constants
- func ComputeBuilderName(bps []string) string
- func GetBuildResources(diskMB, memoryMB int64) corev1.ResourceRequirements
- func NewBuildWorkloadReconciler(c client.Client, scheme *runtime.Scheme, log logr.Logger, ...) ...
- func NewBuilderInfoReconciler(c client.Client, scheme *runtime.Scheme, log logr.Logger, ...) ...
- type BuildWorkloadReconciler
- type BuilderInfoReconciler
- type ImageConfigGetter
- type ImageDeleter
- type KpackBuildController
- type RepositoryCreator
Constants ¶
View Source
const ( BuildWorkloadLabelKey = "korifi.cloudfoundry.org/build-workload-name" ImageGenerationKey = "korifi.cloudfoundry.org/kpack-image-generation" KpackReconcilerName = "kpack-image-builder" )
View Source
const (
BuilderInfoName = "kpack-image-builder"
)
View Source
const KpackBuildFinalizer string = "korifi.cloudfoundry.org/kpackBuild"
Variables ¶
This section is empty.
Functions ¶
func ComputeBuilderName ¶ added in v0.8.0
func GetBuildResources ¶ added in v0.8.0
func GetBuildResources(diskMB, memoryMB int64) corev1.ResourceRequirements
func NewBuildWorkloadReconciler ¶ added in v0.2.0
func NewBuildWorkloadReconciler( c client.Client, scheme *runtime.Scheme, log logr.Logger, config *config.ControllerConfig, imageConfigGetter ImageConfigGetter, imageRepoPrefix string, imageRepoCreator RepositoryCreator, builderReadinessTimeout time.Duration, ) *k8s.PatchingReconciler[korifiv1alpha1.BuildWorkload, *korifiv1alpha1.BuildWorkload]
func NewBuilderInfoReconciler ¶ added in v0.3.0
func NewBuilderInfoReconciler( c client.Client, scheme *runtime.Scheme, log logr.Logger, clusterBuilderName string, rootNamespaceName string, ) *k8s.PatchingReconciler[korifiv1alpha1.BuilderInfo, *korifiv1alpha1.BuilderInfo]
Types ¶
type BuildWorkloadReconciler ¶
type BuildWorkloadReconciler struct {
// contains filtered or unexported fields
}
BuildWorkloadReconciler reconciles a BuildWorkload object
func (*BuildWorkloadReconciler) ReconcileResource ¶ added in v0.4.0
func (r *BuildWorkloadReconciler) ReconcileResource(ctx context.Context, buildWorkload *korifiv1alpha1.BuildWorkload) (ctrl.Result, error)
func (*BuildWorkloadReconciler) SetupWithManager ¶
func (r *BuildWorkloadReconciler) SetupWithManager(mgr ctrl.Manager) *builder.Builder
type BuilderInfoReconciler ¶ added in v0.3.0
type BuilderInfoReconciler struct {
// contains filtered or unexported fields
}
func (*BuilderInfoReconciler) ReconcileResource ¶ added in v0.4.0
func (r *BuilderInfoReconciler) ReconcileResource(ctx context.Context, info *korifiv1alpha1.BuilderInfo) (ctrl.Result, error)
func (*BuilderInfoReconciler) SetupWithManager ¶ added in v0.3.0
func (r *BuilderInfoReconciler) SetupWithManager(mgr ctrl.Manager) *builder.Builder
type ImageConfigGetter ¶ added in v0.7.0
type ImageDeleter ¶ added in v0.7.0
type KpackBuildController ¶ added in v0.7.0
type KpackBuildController struct {
// contains filtered or unexported fields
}
func NewKpackBuildController ¶ added in v0.7.0
func NewKpackBuildController( k8sClient client.Client, log logr.Logger, imageDeleter ImageDeleter, registryServiceAccount string, ) *KpackBuildController
func (*KpackBuildController) SetupWithManager ¶ added in v0.7.0
func (c *KpackBuildController) SetupWithManager(mgr manager.Manager) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.