Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleLoaderData ¶
type ModuleLoaderData struct { // kernel version KernelVersion string // KernelNormalizedVersion is the kernel version with some characters replaced with '_' so that it can be used in // a Kubernetes label or a container image tag. KernelNormalizedVersion string // Repo secret for DS images ImageRepoSecret *v1.LocalObjectReference // Selector for DS Selector map[string]string // Name Name string // Namspace Namespace string // service account for DS ServiceAccountName string // Build contains build instructions. Build *kmmv1beta1.Build // Sign provides default kmod signing settings Sign *kmmv1beta1.Sign // Module version ModuleVersion string // ContainerImage is a top-level field ContainerImage string // Image pull policy. ImagePullPolicy v1.PullPolicy // Modprobe is a set of properties to customize which module modprobe loads and with which properties. Modprobe kmmv1beta1.ModprobeSpec // RegistryTLS set the TLS configs for accessing the registry of the module-loader's image. RegistryTLS *kmmv1beta1.TLSOptions // InTreeModulesToRemove - in case array not empty, remove the modules prior to loading the module specified in moduleName InTreeModulesToRemove []string // used for setting the owner field of jobs/buildconfigs Owner metav1.Object // If specified, the pod's tolerations. // +optional Tolerations []v1.Toleration `json:"tolerations,omitempty"` }
ModuleLoaderData contains all the data needed for succesfull execution of Build,Sign, ModuleLoader flow per specific kernel. It is constructed at the begining of the Reconciliation loop flow.It contains all the data after merging/resolving all the definitions (Build/Sign configuration from KM or from Container, ContainerImage etc'). From that point on , it is the only structure that is needed as input, no need for Module or for KernelMapping
func (*ModuleLoaderData) NamespacedName ¶
func (mld *ModuleLoaderData) NamespacedName() types.NamespacedName
Click to show internal directories.
Click to hide internal directories.