v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: AGPL-3.0 Imports: 4 Imported by: 5

Documentation

Overview

Package v1 contains API Schema definitions for the k8s.cloudogu.com v1 API group. +kubebuilder:object:generate=true +groupName=k8s.cloudogu.com

Index

Constants

View Source
const (
	ConditionSupportArchiveCreated = "Created"
	ConditionVolumeInfoFetched     = "VolumeInfoFetched"
	ConditionNodeInfoFetched       = "NodeInfoFetched"
	ConditionSecretsFetched        = "SecretsFetched"
	ConditionEventsFetched         = "EventsFetched"
	ConditionLogsFetched           = "LogsFetched"
	ConditionSystemStateFetched    = "SystemStateFetched"
)

Variables

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

	// 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 ContentTimeframe added in v1.0.0

type ContentTimeframe struct {
	// StartTime is the minimal time from when logs and events should be included.
	// +required
	StartTime metav1.Time `json:"startTime"`
	// EndTime is the maximal time from when logs and events should be included.
	// +required
	EndTime metav1.Time `json:"endTime"`
}

func (*ContentTimeframe) DeepCopy added in v1.0.0

func (in *ContentTimeframe) DeepCopy() *ContentTimeframe

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

func (*ContentTimeframe) DeepCopyInto added in v1.0.0

func (in *ContentTimeframe) DeepCopyInto(out *ContentTimeframe)

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

type ExcludedContents

type ExcludedContents struct {
	// SystemState concerns all Kubernetes resources (excluding Secrets) with label `app: ces`.
	// +required
	SystemState bool `json:"systemState"`
	// SensitiveData concerns Secrets with label `app: ces`.
	// They will be censored even if included.
	// +required
	SensitiveData bool `json:"sensitiveData"`
	// Events concerns Kubernetes events.
	// +required
	Events bool `json:"events"`
	// Logs concerns application logs.
	// +required
	Logs bool `json:"logs"`
	// VolumeInfo concerns metrics about volumes.
	// +required
	VolumeInfo bool `json:"volumeInfo"`
	// SystemInfo concerns information about the system like the kubernetes version and nodes.
	// +required
	SystemInfo bool `json:"systemInfo"`
}

func (*ExcludedContents) DeepCopy

func (in *ExcludedContents) DeepCopy() *ExcludedContents

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

func (*ExcludedContents) DeepCopyInto

func (in *ExcludedContents) DeepCopyInto(out *ExcludedContents)

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

type StatusPhase

type StatusPhase string

type SupportArchive

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

	// +required
	Spec   SupportArchiveSpec   `json:"spec"`
	Status SupportArchiveStatus `json:"status,omitempty"`
}

SupportArchive is the Schema for the supportarchives API.

func (*SupportArchive) DeepCopy

func (in *SupportArchive) DeepCopy() *SupportArchive

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

func (*SupportArchive) DeepCopyInto

func (in *SupportArchive) DeepCopyInto(out *SupportArchive)

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

func (*SupportArchive) DeepCopyObject

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

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

type SupportArchiveList

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

SupportArchiveList contains a list of SupportArchive.

func (*SupportArchiveList) DeepCopy

func (in *SupportArchiveList) DeepCopy() *SupportArchiveList

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

func (*SupportArchiveList) DeepCopyInto

func (in *SupportArchiveList) DeepCopyInto(out *SupportArchiveList)

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

func (*SupportArchiveList) DeepCopyObject

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

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

type SupportArchiveSpec

type SupportArchiveSpec struct {
	// ExcludedContents defines which contents should not be included in the SupportArchive.
	// +required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ExcludedContents is immutable"
	ExcludedContents ExcludedContents `json:"excludedContents"`
	// ContentTimeframe defines the timeframe of the contents in the supportArchive.
	// +required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ContentTimeframe is immutable"
	ContentTimeframe ContentTimeframe `json:"contentTimeframe"`
}

SupportArchiveSpec defines the desired state of SupportArchive.

func (*SupportArchiveSpec) DeepCopy

func (in *SupportArchiveSpec) DeepCopy() *SupportArchiveSpec

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

func (*SupportArchiveSpec) DeepCopyInto

func (in *SupportArchiveSpec) DeepCopyInto(out *SupportArchiveSpec)

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

type SupportArchiveStatus

type SupportArchiveStatus struct {
	// Errors contains error messages that accumulated during execution.
	Errors []string `json:"errors,omitempty"`
	// DownloadPath exposes where the created archive can be obtained.
	DownloadPath string `json:"downloadPath,omitempty"`
	// Conditions exposes the actual progress of the support archive creation.
	// +listType=map
	// +listMapKey=type
	// +patchStrategy=merge
	// +patchMergeKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

SupportArchiveStatus defines the observed state of SupportArchive.

func (*SupportArchiveStatus) DeepCopy

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

func (*SupportArchiveStatus) DeepCopyInto

func (in *SupportArchiveStatus) DeepCopyInto(out *SupportArchiveStatus)

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