v1alpha1

package
v0.0.0-...-6a8eecd Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the charts v1alpha1 API group +kubebuilder:object:generate=true +groupName=charts.ibm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "charts.ibm.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AffinityApplyConfiguration

type AffinityApplyConfiguration corev1apply.AffinityApplyConfiguration

func (*AffinityApplyConfiguration) DeepCopy

func (*AffinityApplyConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CoreDumpHandler

type CoreDumpHandler struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CoreDumpHandlerSpec   `json:"spec,omitempty"`
	Status CoreDumpHandlerStatus `json:"status,omitempty"`
}

CoreDumpHandler is the Schema for the CoreDumpHandlers API

func (*CoreDumpHandler) DeepCopy

func (in *CoreDumpHandler) DeepCopy() *CoreDumpHandler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpHandler.

func (*CoreDumpHandler) DeepCopyInto

func (in *CoreDumpHandler) DeepCopyInto(out *CoreDumpHandler)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CoreDumpHandler) DeepCopyObject

func (in *CoreDumpHandler) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CoreDumpHandlerList

type CoreDumpHandlerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CoreDumpHandler `json:"items"`
}

CoreDumpHandlerList contains a list of CoreDumpHandler

func (*CoreDumpHandlerList) DeepCopy

func (in *CoreDumpHandlerList) DeepCopy() *CoreDumpHandlerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpHandlerList.

func (*CoreDumpHandlerList) DeepCopyInto

func (in *CoreDumpHandlerList) DeepCopyInto(out *CoreDumpHandlerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CoreDumpHandlerList) DeepCopyObject

func (in *CoreDumpHandlerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CoreDumpHandlerSpec

type CoreDumpHandlerSpec struct {
	// CrioEndPoint is the CRI-O's socket path to collect runtime information
	//+kubebuilder:default="unix:///run/containerd/containerd.sock"
	CrioEndPoint string `json:"crioEndPoint,omitempty"`

	// HostDir is a directory path in the host filesystem to collect core dumps and generate zip files
	//+kubebuilder:default="/mnt/core-dump-handler"
	HostDir string `json:"hostDir,omitempty"`

	// HandlerImage is the image for core-dump-handler to collect core dumps and runtime informations
	//+kubebuilder:default="quay.io/icdh/core-dump-handler:v8.10.0"
	HandlerImage string `json:"handlerImage,omitempty"`

	// UploaderImage is the image for core-dump-uploader to upload zip files generated by handlerImage containers
	//+kubebuilder:default="ghcr.io/ibm/core-dump-operator/core-dump-uploader:v0.0.1"
	UploaderImage string `json:"uploaderImage,omitempty"`

	// ImagePullSecret is used to download uploaderImage
	ImagePullSecret string `json:"imagePullSecret,omitempty"`

	// ServiceAccount is associated to daemonset pods that get/list secrets and namespaces
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// NodeSelector restricts nodes that can run core dump daemonsets
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// NamespaceLabelSelector restricts namespaces that collect core dumps
	NamespaceLabelSelector map[string]string `json:"namespaceLabelSelector,omitempty"`

	// OpenShift specifies to handle securityContextConstraints
	OpenShift bool `json:"openShift,omitempty"`

	// Resource specifies resource requirements for each container
	Resource *corev1.ResourceRequirements `json:"resource,omitempty"`

	// Tolerations enable scheduling on nodes with taints
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	// Affinity adds scheduling affinity
	Affinity *AffinityApplyConfiguration `json:"affinity,omitempty"`
}

CoreDumpHandlerSpec defines the desired state of CoreDumpHandler

func (*CoreDumpHandlerSpec) DeepCopy

func (in *CoreDumpHandlerSpec) DeepCopy() *CoreDumpHandlerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpHandlerSpec.

func (*CoreDumpHandlerSpec) DeepCopyInto

func (in *CoreDumpHandlerSpec) DeepCopyInto(out *CoreDumpHandlerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CoreDumpHandlerStatus

type CoreDumpHandlerStatus struct {
}

CoreDumpHandlerStatus defines the observed state of CoreDumpHandler

func (*CoreDumpHandlerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDumpHandlerStatus.

func (*CoreDumpHandlerStatus) DeepCopyInto

func (in *CoreDumpHandlerStatus) DeepCopyInto(out *CoreDumpHandlerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL