linuxkit

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(image *imagebuilderv1beta1.LinuxKit) *corev1.ConfigMap

func Container

func Container(image *imagebuilderv1beta1.LinuxKit, extraVolumeMounts ...corev1.VolumeMount) corev1.Container

func DefaultVolumes

func DefaultVolumes(image *imagebuilderv1beta1.LinuxKit) []corev1.Volume

func InitCointainer

func InitCointainer(
	ctr imagebuilderv1beta1.Container,
	name string,
	extraVolumeMounts ...corev1.VolumeMount,
) corev1.Container

func InitConfigMap

func InitConfigMap(image *imagebuilderv1beta1.LinuxKit) (*corev1.ConfigMap, error)

func Job

func NewVolumeFrom

func NewVolumeFrom(data imagebuilderv1beta1.AdditionalData) volumeOpts

func Role

func RoleBinding

func RoleBinding(image *imagebuilderv1beta1.LinuxKit) *rbacv1.RoleBinding

Types

type LinuxKitReconciler

type LinuxKitReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

LinuxKitReconciler reconciles a Image object.

func (*LinuxKitReconciler) Reconcile

func (r *LinuxKitReconciler) 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.

func (*LinuxKitReconciler) SetupWithManager

func (r *LinuxKitReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳