v1alpha1

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 39

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the lib v1alpha1 API group +kubebuilder:object:generate=true +groupName=lib.projectsveltos.io

Index

Constants

View Source
const (
	AccessRequestFinalizer = "accessrequestfinalizer.projectsveltos.io"

	AccessRequestKind = "AccessRequest"

	// AccessRequestNameLabel is added to each Secret generated for an AccessRequest
	AccessRequestNameLabel = "projectsveltos.io/access-request-name"
)
View Source
const (
	// ClassifierFinalizer allows ClassifierReconciler to clean up resources associated with
	// Classifier before removing it from the apiserver.
	ClassifierFinalizer = "classifierfinalizer.projectsveltos.io"

	// ClassifierReportClusterNameLabel is added to each ClassifierReport
	ClassifierReportClusterNameLabel = "classifier.projectsveltos.io/cluster-name"

	// ClassifierReportClusterTypeLabel is added to each ClassifierReport
	ClassifierReportClusterTypeLabel = "classifier.projectsveltos.io/cluster-type"

	ClassifierKind = "Classifier"

	FeatureClassifier = "Classifier"
)
View Source
const (
	// ClusterTypeCapi indicates type is CAPI Cluster
	ClusterTypeCapi = ClusterType("Capi")

	// ClusterTypeSveltos indicates type is Sveltos Cluster
	ClusterTypeSveltos = ClusterType("Sveltos")
)
View Source
const (
	// ClassifierNameLabel is added to each ClassifierReport generated
	// for a Classifier instance
	ClassifierlNameLabel = "projectsveltos.io/classifier-name"

	ClassifierReportKind = "ClassifierReport"

	// This is the namespace/name of the secret containing the kubeconfig
	// to send ClassifierReport to management cluster when classifier agent
	// is configured to send ClassifierReports
	ClassifierSecretName      = "classifier-agent"
	ClassifierSecretNamespace = "projectsveltos"
)
View Source
const (
	// ReportWaitingForDelivery indicates the report has yet to be sent to the
	// management cluster
	ReportWaitingForDelivery = ReportPhase("WaitingForDelivery")

	// ReportDelivering indicates the report has been sent to the management
	// cluster but not ack-ed yet
	ReportDelivering = ReportPhase("Delivering")

	// ReportProcessed indicates the report has been already delivered and acked
	// in the management cluster.
	ReportProcessed = ReportPhase("Processed")
)
View Source
const (
	// ClusterHealthCheckFinalizer allows ClusterHealthCheckReconciler to clean up resources associated with
	// ClusterHealthCheck before removing it from the apiserver.
	ClusterHealthCheckFinalizer = "clusterhcfinalizer.projectsveltos.io"

	ClusterHealthCheckKind = "ClusterHealthCheck"

	FeatureClusterHealthCheck = "ClusterHealthCheck"
)
View Source
const (
	SlackToken     = "SLACK_TOKEN"
	SlackChannelID = "SLACK_CHANNEL_ID"
)

Slack constant To have Sveltos sends a slack notification, create a Secret of type "addons.projectsveltos.io/cluster-profile" In the data section set both slack token and slack channel id

View Source
const (
	WebexToken  = "WEBEX_TOKEN"
	WebexRoomID = "WEBEX_ROOM_ID"
)

Webex constant To have Sveltos sends a webex notification, create a Secret of type "addons.projectsveltos.io/cluster-profile" In the data section set both webex token and webex room ID

View Source
const (
	DiscordToken     = "DISCORD_TOKEN"
	DiscordChannelID = "DISCORD_CHANNEL_ID"
)

Discord constant To have Sveltos sends a Discord notification, create a Secret of type "addons.projectsveltos.io/cluster-profile" In the data section set both discord token and discord server ID

View Source
const (
	// LivenessTypeAddons refers to add-ons deployment state.
	LivenessTypeAddons = LivenessType("Addons")

	// LivenessTypeHealthCheck refers to HealthCheck state.
	LivenessTypeHealthCheck = LivenessType("HealthCheck")
)
View Source
const (
	// NotificationTypeKubernetesEvent refers to generating a Kubernetes event
	NotificationTypeKubernetesEvent = NotificationType("KubernetesEvent")

	// NotificationTypeSlack refers to generating a Slack message
	NotificationTypeSlack = NotificationType("Slack")

	// NotificationTypeWebex refers to generating a Webex message
	NotificationTypeWebex = NotificationType("Webex")

	// NotificationTypeDiscord refers to generating a Discord message
	NotificationTypeDiscord = NotificationType("Discord")

	// NotificationTypeDiscord refers to generating a Teams message
	NotificationTypeTeams = NotificationType("Teams")
)
View Source
const (
	// NotificationStatusDelivered indicates notification has been delivered
	NotificationStatusDelivered = NotificationStatus("Delivered")

	// NotificationStatusFailedToDeliver indicates notification was not delivered
	// due to an error
	NotificationStatusFailedToDeliver = NotificationStatus("FailedToDeliver")
)
View Source
const (
	// ClusterSetFinalizer allows ClusterSetReconciler to clean up resources associated with
	// ClusterSet before removing it from the apiserver.
	ClusterSetFinalizer = "clustersetfinalizer.projectsveltos.io"

	ClusterSetKind = "ClusterSet"
)
View Source
const (
	// ServiceAccountNameLabel can be set on various Sveltos resources (ClusterProfile/EventSource/...)
	// to indicate which admin (represented by a ServiceAccount) is creating it (service account name).
	// ServiceAccountNameLabel used along with RoleRequest is Sveltos solution for multi tenancy.
	ServiceAccountNameLabel = "projectsveltos.io/serviceaccount-name"

	// ServiceAccountNamespaceLabel can be set on various Sveltos resources (ClusterProfile/EventSource/...)
	// to indicate which admin (represented by a ServiceAccount) is creating it (service account namespace).
	// ServiceAccountNamespaceLabel used along with RoleRequest is Sveltos solution for multi tenancy.
	ServiceAccountNamespaceLabel = "projectsveltos.io/serviceaccount-namespace"
)
View Source
const (
	// SveltosStatusProvisioning indicates that sveltos feature is being
	// provisioned in the workload cluster
	SveltosStatusProvisioning = SveltosFeatureStatus("Provisioning")

	// SveltosStatusProvisioned indicates that sveltos has been
	// provisioned in the workload cluster
	SveltosStatusProvisioned = SveltosFeatureStatus("Provisioned")

	// SveltosStatusFailed indicates that configuring sveltos feature
	// in the workload cluster failed
	SveltosStatusFailed = SveltosFeatureStatus("Failed")

	// SveltosStatusRemoving indicates that sveltos feature is being
	// removed
	SveltosStatusRemoving = SveltosFeatureStatus("Removing")

	// SveltosStatusRemoved indicates that sveltos feature is removed
	SveltosStatusRemoved = SveltosFeatureStatus("Removed")
)
View Source
const (
	// OperationEqual will verify equality. Corresponds to ==
	OperationEqual = Operation("Equal")

	// OperationDifferent will verify difference. Corresponds to !=
	OperationDifferent = Operation("Different")
)
View Source
const (
	// LogLevelNotSet indicates log severity is not set. Default configuration will apply.
	LogLevelNotSet = LogLevel("LogLevelNotSet")

	// LogLevelInfo indicates log severity info (V(0)) is set
	LogLevelInfo = LogLevel("LogLevelInfo")

	// LogLevelDebug indicates log severity debug (V(5)) is set
	LogLevelDebug = LogLevel("LogLevelDebug")

	// LogLevelVerbose indicates log severity debug (V(10)) is set
	LogLevelVerbose = LogLevel("LogLevelVerbose")
)
View Source
const (
	// ComponentAddonManager is the addon-manager pod
	ComponentAddonManager = Component("AddonManager")

	// Classifier is the classifier pod
	ComponentClassifier = Component("Classifier")

	// ClassifierAgent is the classifier agent pod
	ComponentClassifierAgent = Component("ClassifierAgent")

	// ComponentSveltosClusterManager is the sveltoscluster-manager pod
	ComponentSveltosClusterManager = Component("SveltosClusterManager")

	// ComponentDriftDetectionManager is the drift-detection-manager pod
	ComponentDriftDetectionManager = Component("DriftDetectionManager")

	// ComponentAccessManager is the access-manager pod
	ComponentAccessManager = Component("AccessManager")

	// ComponentHealthCheckManager is the healthcheck-manager pod
	ComponentHealthCheckManager = Component("HealthCheckManager")

	// ComponentEventManager is the event-manager pod
	ComponentEventManager = Component("EventManager")

	// ComponentShardController is the shard-controller pod
	ComponentShardController = Component("ShardController")

	// ComponentUIBackend is the ui backend pod
	ComponentUIBackend = Component("UIBaeckend")
)
View Source
const (
	EventReportKind = "EventReport"

	// EventReportFinalizer allows EventReportReconciler to clean up resources associated with
	// EventReport before removing it from the apiserver.
	EventReportFinalizer = "eventreport.finalizer.projectsveltos.io"

	// EventSourceNameLabel is added to each EventReport generated
	// for a EventSource instance
	EventSourceNameLabel = "projectsveltos.io/eventsource-name"

	// EventReportClusterNameLabel is added to each EventReport
	EventReportClusterNameLabel = "eventreport.projectsveltos.io/cluster-name"

	// EventReportClusterTypeLabel is added to each EventReport
	EventReportClusterTypeLabel = "eventreport.projectsveltos.io/cluster-type"
)
View Source
const (
	// EventSourceFinalizer allows EventSourceReconciler to clean up resources associated with
	// EventSource before removing it from the apiserver.
	EventSourceFinalizer = "eventsource.finalizer.projectsveltos.io"

	EventSourceKind = "EventSource"
)
View Source
const (
	// HealthCheckFinalizer allows HealthReconciler to clean up resources associated with
	// HealthCheck before removing it from the apiserver.
	HealthCheckFinalizer = "healthcheck.finalizer.projectsveltos.io"

	HealthCheckKind = "HealthCheck"
)
View Source
const (
	HealthCheckReportKind = "HealthCheckReport"

	// HealthCheckReportFinalizer allows HealthReconciler to clean up resources associated with
	// HealthCheckReport before removing it from the apiserver.
	HealthCheckReportFinalizer = "healthcheckreport.finalizer.projectsveltos.io"

	// HealthCheckNameLabel is added to each HealthCheckReport generated
	// for a HealthCheck instance
	HealthCheckNameLabel = "projectsveltos.io/healthcheck-name"

	// HealthCheckReportClusterNameLabel is added to each HealthCheckReport
	HealthCheckReportClusterNameLabel = "healthcheckreport.projectsveltos.io/cluster-name"

	// HealthCheckReportClusterTypeLabel is added to each HealthCheckReport
	HealthCheckReportClusterTypeLabel = "healthcheckreport.projectsveltos.io/cluster-type"
)
View Source
const (
	// HealthStatusHealthy indicates healthy status
	HealthStatusHealthy = HealthStatus("Healthy")

	// HealthStatusProgressing indicates resource is not healthy yet but
	// it is progressing
	HealthStatusProgressing = HealthStatus("Progressing")

	// HealthStatusDegraded indicates resource is degraded
	HealthStatusDegraded = HealthStatus("Degraded")

	// HealthStatusSuspended indicates resource is suspended
	HealthStatusSuspended = HealthStatus("Suspended")
)
View Source
const (
	// ReloaderFinalizer finalizer
	ReloaderFinalizer = "reloader.finalizer.projectsveltos.io"

	ReloaderKind = "Reloader"
)
View Source
const (
	ReloaderReportKind = "ReloaderReport"

	// ReloaderReportFinalizer allows ReloaderReportReconciler to clean up resources associated with
	// ReloaderReport before removing it from the apiserver.
	ReloaderReportFinalizer = "reloaderreport.finalizer.projectsveltos.io"

	// ReloaderReportClusterNameLabel is added to each ReloaderReport
	ReloaderReportClusterNameLabel = "reloaderreport.projectsveltos.io/cluster-name"

	// ReloaderReportClusterTypeLabel is added to each ReloaderReport
	ReloaderReportClusterTypeLabel = "reloaderreport.projectsveltos.io/cluster-type"

	// ReloaderReportResourceKindAnnotation is added to each ReloaderReport
	ReloaderReportResourceKindAnnotation = "reloaderreport.projectsveltos.io/resource-kind"

	// ReloaderReportResourceNamespaceAnnotation is added to each ReloaderReport
	ReloaderReportResourceNamespaceAnnotation = "reloaderreport.projectsveltos.io/resource-namespace"

	// ReloaderReportResourceNameAnnotation is added to each ReloaderReport
	ReloaderReportResourceNameAnnotation = "reloaderreport.projectsveltos.io/resource-name"
)
View Source
const (
	// ResourceSummaryFinalizer is finalizer added to ResourceSummary
	ResourceSummaryFinalizer = "resourcesummaryfinalizer.projectsveltos.io"

	ResourceSummaryKind = "ResourceSummary"

	// ClusterSummaryNameLabel is added to all ResourceSummary instances
	ClusterSummaryNameLabel = "projectsveltos.io/cluster-summary-name"

	// ClusterSummaryNamespaceLabel is added to all ResourceSummary instances
	ClusterSummaryNamespaceLabel = "projectsveltos.io/cluster-summary-namespace"

	// ClusterSummaryTypeLabel is added to all ResourceSummary instances
	ClusterSummaryTypeLabel = "projectsveltos.io/cluster-summary-type"
)
View Source
const (
	RoleRequestFinalizer = "rolerequestfinalizer.projectsveltos.io"

	RoleRequestKind = "RoleRequest"

	// RoleRequestLabel is added to each object generated for a RoleRequest
	// in both management and managed clusters
	RoleRequestLabel = "projectsveltos.io/role-request"

	FeatureRoleRequest = "RoleRequest"
)
View Source
const (
	// SetFinalizer allows SetReconciler to clean up resources associated with
	// Set before removing it from the apiserver.
	SetFinalizer = "setfinalizer.projectsveltos.io"

	SetKind = "Set"
)
View Source
const (
	// ClusterProfileSecretType is the only accepted type of secret in resources.
	ClusterProfileSecretType corev1.SecretType = "addons.projectsveltos.io/cluster-profile"
)
View Source
const (
	DebuggingConfigurationKind = "DebuggingConfiguration"
)
View Source
const (
	// DeployedBySveltosAnnotation is an annotation Sveltos adds to
	// EventSource/HealthCheck/Classifier/ResourceSummary instances deployed
	// by sveltos in managed clusters. Those resources, once deployed in a
	// managed cluster, are evaluated by sveltos services (sveltos-agent and
	// drift-detection-manager) running in the managed cluster
	DeployedBySveltosAnnotation = "projectsveltos.io/deployed-by-sveltos"
)
View Source
const (
	// PolicyTemplateAnnotation is the annotation that must be set on a policy when the
	// policy is a template and needs variable sustitution.
	PolicyTemplateAnnotation = "projectsveltos.io/template"
)
View Source
const (
	// SveltosAgent is the request type to generate kubeconfig
	// for sveltos agent
	SveltosAgentRequest = RequestType("SveltosAgent")
)
View Source
const (
	SveltosClusterKind = "SveltosCluster"
)
View Source
const (
	TeamsWebhookURL = "TEAMS_WEBHOOK_URL"
)

Teams constant To have Sveltos sends a Microsoft Teams notification, create a Secret of type "addons.projectsveltos.io/cluster-profile" In the data section set the Webhook URL

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "lib.projectsveltos.io", 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
)
View Source
var (
	// ErrSecretTypeNotSupported signals that a Secret is not supported.
	ErrSecretTypeNotSupported = errors.New("unsupported secret type")
)

Functions

func GetClassifierReportLabels added in v0.3.0

func GetClassifierReportLabels(classifierName, clusterName string, clusterType *ClusterType) map[string]string

func GetClassifierReportName added in v0.3.0

func GetClassifierReportName(classifierName, clusterName string, clusterType *ClusterType) string

func GetClusterInfo added in v0.3.0

func GetClusterInfo(clusterNamespace, clusterName string) string

func GetEventReportLabels added in v0.7.0

func GetEventReportLabels(eventSourceName, clusterName string, clusterType *ClusterType) map[string]string

func GetEventReportName added in v0.7.0

func GetEventReportName(healthName, clusterName string, clusterType *ClusterType) string

func GetHealthCheckReportLabels added in v0.7.0

func GetHealthCheckReportLabels(healthCheckName, clusterName string, clusterType *ClusterType) map[string]string

func GetHealthCheckReportName added in v0.7.0

func GetHealthCheckReportName(healthCheckName, clusterName string, clusterType *ClusterType) string

func GetReloaderReportAnnotations added in v0.15.0

func GetReloaderReportAnnotations(kind, namespace, name string) map[string]string

GetReloaderReportAnnotations returns the annotation to add to ReloaderReport kind, namespace, name identify mounted resource (ConfigMap or Secret) which was modified causing a reload

func GetReloaderReportLabels added in v0.15.0

func GetReloaderReportLabels(clusterName string, clusterType *ClusterType) map[string]string

func GetReloaderReportName added in v0.15.0

func GetReloaderReportName(mountedResourcekind, mountedResourceNamespace, mountedResourceName, clusterName string,
	clusterType *ClusterType) string

mountedResourcekind is the kind of the resource being mounted as volume (either ConfigMap or Secret) mountedResourceNamespace/mountedResourceName is the namespace/name of the resource being mounted as volume clusterName and clusterType identify the managed cluster

Types

type AccessRequest added in v0.3.0

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

	Spec   AccessRequestSpec   `json:"spec,omitempty"`
	Status AccessRequestStatus `json:"status,omitempty"`
}

AccessRequest is the Schema for the accessrequest API

func (*AccessRequest) DeepCopy added in v0.3.0

func (in *AccessRequest) DeepCopy() *AccessRequest

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

func (*AccessRequest) DeepCopyInto added in v0.3.0

func (in *AccessRequest) DeepCopyInto(out *AccessRequest)

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

func (*AccessRequest) DeepCopyObject added in v0.3.0

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

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

type AccessRequestList added in v0.3.0

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

AccessRequestList contains a list of AccessRequest

func (*AccessRequestList) DeepCopy added in v0.3.0

func (in *AccessRequestList) DeepCopy() *AccessRequestList

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

func (*AccessRequestList) DeepCopyInto added in v0.3.0

func (in *AccessRequestList) DeepCopyInto(out *AccessRequestList)

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

func (*AccessRequestList) DeepCopyObject added in v0.3.0

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

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

type AccessRequestSpec added in v0.3.0

type AccessRequestSpec struct {
	// Namespace is the namespace of the service account created
	// for this AccessRequest
	Namespace string `json:"namespace"`

	// Name is the name of the service account created
	// for this AccessRequest
	Name string `json:"name"`

	// Type represent the type of the request
	Type RequestType `json:"type"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the
	// management cluster controlplane endpoint. It will be used when generating the
	// kubeconfig.
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

AccessRequestSpec defines the desired state of AccessRequest

func (*AccessRequestSpec) DeepCopy added in v0.3.0

func (in *AccessRequestSpec) DeepCopy() *AccessRequestSpec

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

func (*AccessRequestSpec) DeepCopyInto added in v0.3.0

func (in *AccessRequestSpec) DeepCopyInto(out *AccessRequestSpec)

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

type AccessRequestStatus added in v0.3.0

type AccessRequestStatus struct {
	// SecretRef points to the Secret containing Kubeconfig
	// +optional
	SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`

	// FailureMessage provides more information if an error occurs.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

AccessRequestStatus defines the status of AccessRequest

func (*AccessRequestStatus) DeepCopy added in v0.3.0

func (in *AccessRequestStatus) DeepCopy() *AccessRequestStatus

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

func (*AccessRequestStatus) DeepCopyInto added in v0.3.0

func (in *AccessRequestStatus) DeepCopyInto(out *AccessRequestStatus)

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

type Classifier added in v0.2.1

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

	Spec   ClassifierSpec   `json:"spec,omitempty"`
	Status ClassifierStatus `json:"status,omitempty"`
}

Classifier is the Schema for the classifiers API

func (*Classifier) DeepCopy added in v0.2.1

func (in *Classifier) DeepCopy() *Classifier

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

func (*Classifier) DeepCopyInto added in v0.2.1

func (in *Classifier) DeepCopyInto(out *Classifier)

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

func (*Classifier) DeepCopyObject added in v0.2.1

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

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

type ClassifierLabel added in v0.2.1

type ClassifierLabel struct {
	// Key is the label key
	Key string `json:"key"`

	// Value is the label value
	Value string `json:"value"`
}

func (*ClassifierLabel) DeepCopy added in v0.2.1

func (in *ClassifierLabel) DeepCopy() *ClassifierLabel

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

func (*ClassifierLabel) DeepCopyInto added in v0.2.1

func (in *ClassifierLabel) DeepCopyInto(out *ClassifierLabel)

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

type ClassifierList added in v0.2.1

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

ClassifierList contains a list of Classifier

func (*ClassifierList) DeepCopy added in v0.2.1

func (in *ClassifierList) DeepCopy() *ClassifierList

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

func (*ClassifierList) DeepCopyInto added in v0.2.1

func (in *ClassifierList) DeepCopyInto(out *ClassifierList)

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

func (*ClassifierList) DeepCopyObject added in v0.2.1

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

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

type ClassifierReport added in v0.2.1

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

	Spec   ClassifierReportSpec   `json:"spec,omitempty"`
	Status ClassifierReportStatus `json:"status,omitempty"`
}

ClassifierReport is the Schema for the classifierreports API

func (*ClassifierReport) DeepCopy added in v0.2.1

func (in *ClassifierReport) DeepCopy() *ClassifierReport

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

func (*ClassifierReport) DeepCopyInto added in v0.2.1

func (in *ClassifierReport) DeepCopyInto(out *ClassifierReport)

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

func (*ClassifierReport) DeepCopyObject added in v0.2.1

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

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

type ClassifierReportList added in v0.2.1

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

ClassifierReportList contains a list of ClassifierReport

func (*ClassifierReportList) DeepCopy added in v0.2.1

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

func (*ClassifierReportList) DeepCopyInto added in v0.2.1

func (in *ClassifierReportList) DeepCopyInto(out *ClassifierReportList)

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

func (*ClassifierReportList) DeepCopyObject added in v0.2.1

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

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

type ClassifierReportSpec added in v0.2.1

type ClassifierReportSpec struct {
	// ClusterNamespace is the namespace of the Cluster this
	// ClusterReport is for.
	ClusterNamespace string `json:"clusterNamespace"`

	// ClusterName is the name of the Cluster this ClusterReport
	// is for.
	ClusterName string `json:"clusterName"`

	// ClusterType is the type of Cluster
	ClusterType ClusterType `json:"clusterType"`

	// ClassifierName is the name of the Classifier instance this report
	// is for.
	ClassifierName string `json:"classifierName"`

	// Match indicates whether Cluster is currently a match for
	// the Classifier instance this report is for
	Match bool `json:"match"`
}

func (*ClassifierReportSpec) DeepCopy added in v0.2.1

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

func (*ClassifierReportSpec) DeepCopyInto added in v0.2.1

func (in *ClassifierReportSpec) DeepCopyInto(out *ClassifierReportSpec)

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

type ClassifierReportStatus added in v0.2.1

type ClassifierReportStatus struct {
	// Phase represents the current phase of report.
	// +optional
	Phase *ReportPhase `json:"phase,omitempty"`
}

ClassifierReportStatus defines the observed state of ClassifierReport

func (*ClassifierReportStatus) DeepCopy added in v0.2.1

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

func (*ClassifierReportStatus) DeepCopyInto added in v0.2.1

func (in *ClassifierReportStatus) DeepCopyInto(out *ClassifierReportStatus)

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

type ClassifierSpec added in v0.2.1

type ClassifierSpec struct {
	// DeployedResourceConstraint allows to classify based on current deployed resources
	// +optional
	DeployedResourceConstraint *DeployedResourceConstraint `json:"deployedResourceConstraint,omitempty"`

	// KubernetesVersionConstraints allows to classify based on current kubernetes version
	// +optional
	KubernetesVersionConstraints []KubernetesVersionConstraint `json:"kubernetesVersionConstraints,omitempty"`

	// ClassifierLabels is set of labels, key,value pair, that will be added to each
	// cluster matching Classifier instance
	ClassifierLabels []ClassifierLabel `json:"classifierLabels"`
}

ClassifierSpec defines the desired state of Classifier

func (*ClassifierSpec) DeepCopy added in v0.2.1

func (in *ClassifierSpec) DeepCopy() *ClassifierSpec

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

func (*ClassifierSpec) DeepCopyInto added in v0.2.1

func (in *ClassifierSpec) DeepCopyInto(out *ClassifierSpec)

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

type ClassifierStatus added in v0.2.1

type ClassifierStatus struct {
	// MatchingClusterRefs reference all the cluster-api Cluster currently matching
	// Classifier
	MachingClusterStatuses []MachingClusterStatus `json:"machingClusterStatuses,omitempty"`

	// ClusterInfo reference all the cluster-api Cluster where Classifier
	// has been/is being deployed
	ClusterInfo []ClusterInfo `json:"clusterInfo,omitempty"`
}

ClassifierStatus defines the observed state of Classifier

func (*ClassifierStatus) DeepCopy added in v0.2.1

func (in *ClassifierStatus) DeepCopy() *ClassifierStatus

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

func (*ClassifierStatus) DeepCopyInto added in v0.2.1

func (in *ClassifierStatus) DeepCopyInto(out *ClassifierStatus)

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

type ClusterCondition added in v0.5.0

type ClusterCondition struct {
	ClusterInfo ClusterInfo `json:"clusterInfo"`

	// Cluster conditions.
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`

	// NotificationSummaries contains status information on notifications
	// +optional
	NotificationSummaries []NotificationSummary `json:"notificationSummaries,omitempty"`
}

func (*ClusterCondition) DeepCopy added in v0.5.0

func (in *ClusterCondition) DeepCopy() *ClusterCondition

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

func (*ClusterCondition) DeepCopyInto added in v0.5.0

func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)

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

type ClusterHealthCheck added in v0.5.0

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

	Spec   ClusterHealthCheckSpec   `json:"spec,omitempty"`
	Status ClusterHealthCheckStatus `json:"status,omitempty"`
}

ClusterHealthCheck is the Schema for the clusterhealthchecks API

func (*ClusterHealthCheck) DeepCopy added in v0.5.0

func (in *ClusterHealthCheck) DeepCopy() *ClusterHealthCheck

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

func (*ClusterHealthCheck) DeepCopyInto added in v0.5.0

func (in *ClusterHealthCheck) DeepCopyInto(out *ClusterHealthCheck)

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

func (*ClusterHealthCheck) DeepCopyObject added in v0.5.0

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

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

type ClusterHealthCheckList added in v0.5.0

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

ClusterHealthCheckList contains a list of ClusterHealthChecks

func (*ClusterHealthCheckList) DeepCopy added in v0.5.0

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

func (*ClusterHealthCheckList) DeepCopyInto added in v0.5.0

func (in *ClusterHealthCheckList) DeepCopyInto(out *ClusterHealthCheckList)

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

func (*ClusterHealthCheckList) DeepCopyObject added in v0.5.0

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

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

type ClusterHealthCheckSpec added in v0.5.0

type ClusterHealthCheckSpec struct {
	// ClusterSelector identifies clusters to associate to.
	ClusterSelector Selector `json:"clusterSelector"`

	// LivenessChecks is a list of source of liveness checks to evaluate.
	// Anytime one of those changes, notifications will be sent
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	LivenessChecks []LivenessCheck `json:"livenessChecks"`

	// Notification is a list of source of events to evaluate.
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	Notifications []Notification `json:"notifications"`
}

ClusterHealthCheckSpec defines the desired state of ClusterHealthCheck

func (*ClusterHealthCheckSpec) DeepCopy added in v0.5.0

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

func (*ClusterHealthCheckSpec) DeepCopyInto added in v0.5.0

func (in *ClusterHealthCheckSpec) DeepCopyInto(out *ClusterHealthCheckSpec)

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

type ClusterHealthCheckStatus added in v0.5.0

type ClusterHealthCheckStatus struct {
	// MatchingClusterRefs reference all the clusters currently matching
	// ClusterHealthCheck ClusterSelector
	MatchingClusterRefs []corev1.ObjectReference `json:"matchingClusters,omitempty"`

	// ClusterConditions contains conditions and notification status for all clusters
	// matching ClusterHealthCheck instance
	// +optional
	ClusterConditions []ClusterCondition `json:"clusterCondition,omitempty"`
}

func (*ClusterHealthCheckStatus) DeepCopy added in v0.5.0

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

func (*ClusterHealthCheckStatus) DeepCopyInto added in v0.5.0

func (in *ClusterHealthCheckStatus) DeepCopyInto(out *ClusterHealthCheckStatus)

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

type ClusterInfo added in v0.2.1

type ClusterInfo struct {
	// Cluster references the Cluster
	Cluster corev1.ObjectReference `json:"cluster"`

	// Hash represents the hash of the Classifier currently deployed
	// in the Cluster
	Hash []byte `json:"hash"`

	// Status represents the state of the feature in the workload cluster
	// +optional
	Status SveltosFeatureStatus `json:"status,omitempty"`

	// FailureMessage provides more information about the error.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

func (*ClusterInfo) DeepCopy added in v0.2.1

func (in *ClusterInfo) DeepCopy() *ClusterInfo

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

func (*ClusterInfo) DeepCopyInto added in v0.2.1

func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)

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

type ClusterSet added in v0.26.0

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

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

ClusterSet is the Schema for the clustersets API

func (*ClusterSet) DeepCopy added in v0.26.0

func (in *ClusterSet) DeepCopy() *ClusterSet

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

func (*ClusterSet) DeepCopyInto added in v0.26.0

func (in *ClusterSet) DeepCopyInto(out *ClusterSet)

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

func (*ClusterSet) DeepCopyObject added in v0.26.0

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

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

type ClusterSetList added in v0.26.0

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

ClusterSetList contains a list of ClusterSet

func (*ClusterSetList) DeepCopy added in v0.26.0

func (in *ClusterSetList) DeepCopy() *ClusterSetList

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

func (*ClusterSetList) DeepCopyInto added in v0.26.0

func (in *ClusterSetList) DeepCopyInto(out *ClusterSetList)

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

func (*ClusterSetList) DeepCopyObject added in v0.26.0

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

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

type ClusterType added in v0.3.0

type ClusterType string

type Component

type Component string

type ComponentConfiguration

type ComponentConfiguration struct {
	// Component indicates which Sveltos component the configuration applies to.
	Component Component `json:"component"`

	// LogLevel is the log severity above which logs are sent to the stdout. [Default: Info]
	LogLevel LogLevel `json:"logLevel,omitempty"`
}

ComponentConfiguration is the debugging configuration to be applied to a Sveltos component.

func (*ComponentConfiguration) DeepCopy

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

func (*ComponentConfiguration) DeepCopyInto

func (in *ComponentConfiguration) DeepCopyInto(out *ComponentConfiguration)

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

type Condition added in v0.5.0

type Condition struct {
	// Condition name
	Name string `json:"name"`

	// Type of condition in CamelCase or in foo.example.com/CamelCase.
	Type ConditionType `json:"type"`

	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`

	// Severity provides an explicit classification of Reason code, so the users or machines can immediately
	// understand the current situation and act accordingly.
	// The Severity field MUST be set only when Status=False.
	// +optional
	Severity ConditionSeverity `json:"severity,omitempty"`

	// Last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed. If that is not known, then using the time when
	// the API field changed is acceptable.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`

	// The reason for the condition's last transition in CamelCase.
	// The specific API may choose whether or not this field is considered a guaranteed API.
	// This field may not be empty.
	// +optional
	Reason string `json:"reason,omitempty"`

	// A human readable message indicating details about the transition.
	// This field may be empty.
	// +optional
	Message string `json:"message,omitempty"`
}

Condition defines an observation of a Cluster API resource operational state.

func (*Condition) DeepCopy added in v0.5.0

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto added in v0.5.0

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionSeverity added in v0.5.0

type ConditionSeverity string

ConditionSeverity expresses the severity of a Condition Type failing.

const (
	// ConditionSeverityError specifies that a condition with `Status=False` is an error.
	ConditionSeverityError ConditionSeverity = "Error"

	// ConditionSeverityWarning specifies that a condition with `Status=False` is a warning.
	ConditionSeverityWarning ConditionSeverity = "Warning"

	// ConditionSeverityInfo specifies that a condition with `Status=False` is informative.
	ConditionSeverityInfo ConditionSeverity = "Info"

	// ConditionSeverityNone should apply only to conditions with `Status=True`.
	ConditionSeverityNone ConditionSeverity = ""
)

type ConditionType added in v0.5.0

type ConditionType string

ConditionType is a valid value for Condition.Type.

type DebuggingConfiguration

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

	Spec DebuggingConfigurationSpec `json:"spec,omitempty"`
}

DebuggingConfiguration is the Schema for the debuggingconfigurations API

func (*DebuggingConfiguration) DeepCopy

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

func (*DebuggingConfiguration) DeepCopyInto

func (in *DebuggingConfiguration) DeepCopyInto(out *DebuggingConfiguration)

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

func (*DebuggingConfiguration) DeepCopyObject

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

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

type DebuggingConfigurationList

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

DebuggingConfigurationList contains a list of DebuggingConfiguration

func (*DebuggingConfigurationList) DeepCopy

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

func (*DebuggingConfigurationList) DeepCopyInto

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

func (*DebuggingConfigurationList) DeepCopyObject

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

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

type DebuggingConfigurationSpec

type DebuggingConfigurationSpec struct {
	// Configuration contains debugging configuration as granular as per component.
	// +listType=atomic
	// +optional
	Configuration []ComponentConfiguration `json:"configuration,omitempty"`
}

DebuggingConfigurationSpec defines the desired state of DebuggingConfiguration

func (*DebuggingConfigurationSpec) DeepCopy

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

func (*DebuggingConfigurationSpec) DeepCopyInto

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

type DeployedResourceConstraint added in v0.2.1

type DeployedResourceConstraint struct {
	// ResourceSelectors identifies what resources to select
	// If no AggregatedClassification is specified, a cluster is
	// a match for Classifier instance, if all ResourceSelectors returns at
	// least one match.
	ResourceSelectors []ResourceSelector `json:"resourceSelectors"`

	// AggregatedClassification is optional and can be used to specify a Lua function
	// that will be used to further detect whether the subset of the resources
	// selected using the ResourceSelector field are a match for this Classifier.
	// The function will receive the array of resources selected by ResourceSelectors.
	// If this field is not specified, a cluster is a match for Classifier instance,
	// if all ResourceSelectors returns at least one match.
	// This field allows to perform more complex evaluation  on the resources, looking
	// at all resources together.
	// This can be useful for more sophisticated tasks, such as identifying resources
	// that are related to each other or that have similar properties.
	// The Lua function must return a struct with:
	// - "matching" field: boolean indicating whether cluster is a match;
	// - "message" field: (optional) message.
	// +optional
	AggregatedClassification string `json:"aggregatedClassification,omitempty"`
}

func (*DeployedResourceConstraint) DeepCopy added in v0.2.1

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

func (*DeployedResourceConstraint) DeepCopyInto added in v0.2.1

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

type EventReport added in v0.7.0

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

	Spec   EventReportSpec   `json:"spec,omitempty"`
	Status EventReportStatus `json:"status,omitempty"`
}

EventReport is the Schema for the EventReport API

func (*EventReport) DeepCopy added in v0.7.0

func (in *EventReport) DeepCopy() *EventReport

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

func (*EventReport) DeepCopyInto added in v0.7.0

func (in *EventReport) DeepCopyInto(out *EventReport)

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

func (*EventReport) DeepCopyObject added in v0.7.0

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

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

type EventReportList added in v0.7.0

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

EventReportList contains a list of EventReport

func (*EventReportList) DeepCopy added in v0.7.0

func (in *EventReportList) DeepCopy() *EventReportList

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

func (*EventReportList) DeepCopyInto added in v0.7.0

func (in *EventReportList) DeepCopyInto(out *EventReportList)

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

func (*EventReportList) DeepCopyObject added in v0.7.0

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

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

type EventReportSpec added in v0.7.0

type EventReportSpec struct {
	// ClusterNamespace is the namespace of the Cluster this
	// EventReport is for.
	ClusterNamespace string `json:"clusterNamespace"`

	// ClusterName is the name of the Cluster this EventReport
	// is for.
	ClusterName string `json:"clusterName"`

	// ClusterType is the type of Cluster this EventReport
	// is for.
	ClusterType ClusterType `json:"clusterType"`

	// EventSourceName is the name of the EventSource instance this report
	// is for.
	EventSourceName string `json:"eventSourceName"`

	// MatchingResources contains a list of resources matching an event
	// +optional
	MatchingResources []corev1.ObjectReference `json:"matchingResources,omitempty"`

	// If EventSource Spec.CollectResources is set to true, all matching resources
	// will be collected and contained in the Resources field.
	// +optional
	Resources []byte `json:"resources,omitempty"`
}

func (*EventReportSpec) DeepCopy added in v0.7.0

func (in *EventReportSpec) DeepCopy() *EventReportSpec

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

func (*EventReportSpec) DeepCopyInto added in v0.7.0

func (in *EventReportSpec) DeepCopyInto(out *EventReportSpec)

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

type EventReportStatus added in v0.7.0

type EventReportStatus struct {
	// Phase represents the current phase of report.
	// +optional
	Phase *ReportPhase `json:"phase,omitempty"`
}

EventReportStatus defines the observed state of EventReport

func (*EventReportStatus) DeepCopy added in v0.7.0

func (in *EventReportStatus) DeepCopy() *EventReportStatus

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

func (*EventReportStatus) DeepCopyInto added in v0.7.0

func (in *EventReportStatus) DeepCopyInto(out *EventReportStatus)

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

type EventSource added in v0.7.0

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

	Spec EventSourceSpec `json:"spec,omitempty"`
}

EventSource is the Schema for the EventSource API

func (*EventSource) DeepCopy added in v0.7.0

func (in *EventSource) DeepCopy() *EventSource

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

func (*EventSource) DeepCopyInto added in v0.7.0

func (in *EventSource) DeepCopyInto(out *EventSource)

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

func (*EventSource) DeepCopyObject added in v0.7.0

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

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

type EventSourceList added in v0.7.0

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

EventSourceList contains a list of EventSource

func (*EventSourceList) DeepCopy added in v0.7.0

func (in *EventSourceList) DeepCopy() *EventSourceList

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

func (*EventSourceList) DeepCopyInto added in v0.7.0

func (in *EventSourceList) DeepCopyInto(out *EventSourceList)

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

func (*EventSourceList) DeepCopyObject added in v0.7.0

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

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

type EventSourceSpec added in v0.7.0

type EventSourceSpec struct {
	// ResourceSelectors identifies what resources to select
	ResourceSelectors []ResourceSelector `json:"resourceSelectors"`

	// This field is optional and can be used to specify a Lua function
	// that will be used to further select a subset of the resources that
	// have already been selected using the ResourceSelector field.
	// The function will receive the array of resources selected by ResourceSelectors.
	// If this field is not specified, all resources selected by the ResourceSelector
	// field will be considered.
	// This field allows to perform more complex filtering or selection operations
	// on the resources, looking at all resources together.
	// This can be useful for more sophisticated tasks, such as identifying resources
	// that are related to each other or that have similar properties.
	// The Lua function must return a struct with:
	// - "resources" field: slice of matching resorces;
	// - "message" field: (optional) message.
	AggregatedSelection string `json:"aggregatedSelection,omitempty"`

	// CollectResources indicates whether matching resources need
	// to be collected and added to EventReport.
	// +kubebuilder:default:=false
	// +optional
	CollectResources bool `json:"collectResources,omitempty"`
}

EventSourceSpec defines the desired state of EventSource

func (*EventSourceSpec) DeepCopy added in v0.7.0

func (in *EventSourceSpec) DeepCopy() *EventSourceSpec

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

func (*EventSourceSpec) DeepCopyInto added in v0.7.0

func (in *EventSourceSpec) DeepCopyInto(out *EventSourceSpec)

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

type HealthCheck added in v0.7.0

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

	Spec HealthCheckSpec `json:"spec,omitempty"`
}

HealthCheck is the Schema for the HealthCheck API

func (*HealthCheck) DeepCopy added in v0.7.0

func (in *HealthCheck) DeepCopy() *HealthCheck

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

func (*HealthCheck) DeepCopyInto added in v0.7.0

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

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

func (*HealthCheck) DeepCopyObject added in v0.7.0

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

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

type HealthCheckList added in v0.7.0

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

HealthCheckList contains a list of Event

func (*HealthCheckList) DeepCopy added in v0.7.0

func (in *HealthCheckList) DeepCopy() *HealthCheckList

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

func (*HealthCheckList) DeepCopyInto added in v0.7.0

func (in *HealthCheckList) DeepCopyInto(out *HealthCheckList)

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

func (*HealthCheckList) DeepCopyObject added in v0.7.0

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

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

type HealthCheckReport added in v0.7.0

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

	Spec   HealthCheckReportSpec   `json:"spec,omitempty"`
	Status HealthCheckReportStatus `json:"status,omitempty"`
}

HealthCheckReport is the Schema for the HealthCheckReport API

func (*HealthCheckReport) DeepCopy added in v0.7.0

func (in *HealthCheckReport) DeepCopy() *HealthCheckReport

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

func (*HealthCheckReport) DeepCopyInto added in v0.7.0

func (in *HealthCheckReport) DeepCopyInto(out *HealthCheckReport)

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

func (*HealthCheckReport) DeepCopyObject added in v0.7.0

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

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

type HealthCheckReportList added in v0.7.0

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

HealthCheckReportList contains a list of HealthCheckReport

func (*HealthCheckReportList) DeepCopy added in v0.7.0

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

func (*HealthCheckReportList) DeepCopyInto added in v0.7.0

func (in *HealthCheckReportList) DeepCopyInto(out *HealthCheckReportList)

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

func (*HealthCheckReportList) DeepCopyObject added in v0.7.0

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

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

type HealthCheckReportSpec added in v0.7.0

type HealthCheckReportSpec struct {
	// ClusterNamespace is the namespace of the Cluster this
	// HealthCheckReport is for.
	ClusterNamespace string `json:"clusterNamespace"`

	// ClusterName is the name of the Cluster this HealthCheckReport
	// is for.
	ClusterName string `json:"clusterName"`

	// ClusterType is the type of Cluster this HealthCheckReport
	// is for.
	ClusterType ClusterType `json:"clusterType"`

	// HealthName is the name of the HealthCheck instance this report
	// is for.
	HealthCheckName string `json:"healthCheckName"`

	// ResourceStatuses contains a list of resources with their status
	// +optional
	ResourceStatuses []ResourceStatus `json:"resourceStatuses,omitempty"`
}

func (*HealthCheckReportSpec) DeepCopy added in v0.7.0

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

func (*HealthCheckReportSpec) DeepCopyInto added in v0.7.0

func (in *HealthCheckReportSpec) DeepCopyInto(out *HealthCheckReportSpec)

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

type HealthCheckReportStatus added in v0.7.0

type HealthCheckReportStatus struct {
	// Phase represents the current phase of report.
	// +optional
	Phase *ReportPhase `json:"phase,omitempty"`
}

HealthCheckReportStatus defines the observed state of HealthCheckReport

func (*HealthCheckReportStatus) DeepCopy added in v0.7.0

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

func (*HealthCheckReportStatus) DeepCopyInto added in v0.7.0

func (in *HealthCheckReportStatus) DeepCopyInto(out *HealthCheckReportStatus)

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

type HealthCheckSpec added in v0.7.0

type HealthCheckSpec struct {
	// ResourceSelectors identifies what resources to select to evaluate health
	ResourceSelectors []ResourceSelector `json:"resourceSelectors"`

	// The EvaluateHealth field specifies a Lua function responsible for evaluating the
	// health of the resources selected by resourceSelectors.
	// This function can assess the health of each resource independently or consider inter-resource relationships.
	// The function must be named *evaluate* and can access all objects identified by resourceSelectors using
	// the *resources* variable. It should return an array of structured instances, each containing the following fields:
	// - resource: The resource being evaluated
	// - healthStatus: The health status of the resource, which can be one of "Healthy", "Progressing", "Degraded", or "Suspended"
	// - message: An optional message providing additional information about the health status
	// +kubebuilder:validation:MinLength=1
	EvaluateHealth string `json:"evaluateHealth"`

	// CollectResources indicates whether matching resources need
	// to be collected and added to HealthReport.
	// +kubebuilder:default:=false
	// +optional
	CollectResources bool `json:"collectResources,omitempty"`
}

HealthCheckSpec defines the desired state of HealthCheck

func (*HealthCheckSpec) DeepCopy added in v0.7.0

func (in *HealthCheckSpec) DeepCopy() *HealthCheckSpec

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

func (*HealthCheckSpec) DeepCopyInto added in v0.7.0

func (in *HealthCheckSpec) DeepCopyInto(out *HealthCheckSpec)

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

type HealthStatus added in v0.7.0

type HealthStatus string

+kubebuilder:validation:Enum:=Healthy;Progressing;Degraded;Suspended

type HelmResources added in v0.3.0

type HelmResources struct {
	// ChartName is the chart name
	// +kubebuilder:validation:MinLength=1
	ChartName string `json:"chartName"`

	// ReleaseName is the chart release
	// +kubebuilder:validation:MinLength=1
	ReleaseName string `json:"releaseName"`

	// ReleaseNamespace is the namespace release will be installed
	// +kubebuilder:validation:MinLength=1
	ReleaseNamespace string `json:"releaseNamespace"`

	// Resources deployed by ClusterSummary because of helm charts
	// +optional
	Resources []Resource `json:"group,omitempty"`
}

func (*HelmResources) DeepCopy added in v0.3.0

func (in *HelmResources) DeepCopy() *HelmResources

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

func (*HelmResources) DeepCopyInto added in v0.3.0

func (in *HelmResources) DeepCopyInto(out *HelmResources)

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

type KubernetesComparison added in v0.2.1

type KubernetesComparison string
const (
	ComparisonEqual                KubernetesComparison = "Equal"
	ComparisonNotEqual             KubernetesComparison = "NotEqual"
	ComparisonGreaterThan          KubernetesComparison = "GreaterThan"
	ComparisonLessThan             KubernetesComparison = "LessThan"
	ComparisonGreaterThanOrEqualTo KubernetesComparison = "GreaterThanOrEqualTo"
	ComparisonLessThanOrEqualTo    KubernetesComparison = "LessThanOrEqualTo"
)

Define the Action constants.

type KubernetesVersionConstraint added in v0.2.1

type KubernetesVersionConstraint struct {
	// Version is the kubernetes version
	Version string `json:"version"`

	// Comparison indicate how to compare cluster kubernetes version with the specified version
	// +kubebuilder:validation:Enum=Equal;NotEqual;GreaterThan;LessThan;GreaterThanOrEqualTo;LessThanOrEqualTo
	Comparison string `json:"comparison"`
}

func (*KubernetesVersionConstraint) DeepCopy added in v0.2.1

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

func (*KubernetesVersionConstraint) DeepCopyInto added in v0.2.1

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

type LabelFilter added in v0.2.1

type LabelFilter struct {
	// Key is the label key
	Key string `json:"key"`

	// Operation is the comparison operation
	Operation Operation `json:"operation"`

	// Value is the label value
	Value string `json:"value"`
}

func (*LabelFilter) DeepCopy added in v0.2.1

func (in *LabelFilter) DeepCopy() *LabelFilter

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

func (*LabelFilter) DeepCopyInto added in v0.2.1

func (in *LabelFilter) DeepCopyInto(out *LabelFilter)

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

type LivenessCheck added in v0.5.0

type LivenessCheck struct {
	// Name of the liveness check.
	// Must be a DNS_LABEL and unique within the ClusterHealthCheck.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Type specifies the type of liveness
	Type LivenessType `json:"type"`

	// LivenessSourceRef is a reference to a liveness-specific resource that holds
	// the details for the liveness check.
	// +optional
	LivenessSourceRef *corev1.ObjectReference `json:"livenessSourceRef,omitempty"`
}

func (*LivenessCheck) DeepCopy added in v0.5.0

func (in *LivenessCheck) DeepCopy() *LivenessCheck

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

func (*LivenessCheck) DeepCopyInto added in v0.5.0

func (in *LivenessCheck) DeepCopyInto(out *LivenessCheck)

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

type LivenessType added in v0.5.0

type LivenessType string

Event specifies different type of liveness checks +kubebuilder:validation:Enum:=Addons;HealthCheck

type LogLevel

type LogLevel string

+kubebuilder:validation:Enum:=LogLevelNotSet;LogLevelInfo;LogLevelDebug;LogLevelVerbose

type MachingClusterStatus added in v0.2.1

type MachingClusterStatus struct {
	// ClusterRef references the matching Cluster
	ClusterRef corev1.ObjectReference `json:"clusterRef"`

	// ManagedLabels indicates the labels being managed on
	// the cluster by this Classifier instance
	// +optional
	ManagedLabels []string `json:"managedLabels,omitempty"`

	// UnManagedLabel indicates the labels this Classifier instance
	// would like to manage but cannot because different instance is
	// already managing it
	// +optional
	UnManagedLabels []UnManagedLabel `json:"unManagedLabels,omitempty"`
}

func (*MachingClusterStatus) DeepCopy added in v0.2.1

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

func (*MachingClusterStatus) DeepCopyInto added in v0.2.1

func (in *MachingClusterStatus) DeepCopyInto(out *MachingClusterStatus)

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

type Notification added in v0.5.0

type Notification struct {
	// Name of the notification check.
	// Must be a DNS_LABEL and unique within the ClusterHealthCheck.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// NotificationType specifies the type of notification
	Type NotificationType `json:"type"`

	// NotificationRef is a reference to a notification-specific resource that holds
	// the details for the notification.
	// +optional
	NotificationRef *corev1.ObjectReference `json:"notificationRef,omitempty"`
}

func (*Notification) DeepCopy added in v0.5.0

func (in *Notification) DeepCopy() *Notification

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

func (*Notification) DeepCopyInto added in v0.5.0

func (in *Notification) DeepCopyInto(out *Notification)

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

type NotificationStatus added in v0.5.0

type NotificationStatus string

NotificationStatus specifies status of notifications +kubebuilder:validation:Enum:=Delivered;FailedToDeliver

type NotificationSummary added in v0.5.0

type NotificationSummary struct {
	// Name of the notification check.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// NotificationStatus specifies the notification status
	Status NotificationStatus `json:"status"`

	// FailureMessage is a human consumable message explaining the
	// misconfiguration
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

func (*NotificationSummary) DeepCopy added in v0.5.0

func (in *NotificationSummary) DeepCopy() *NotificationSummary

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

func (*NotificationSummary) DeepCopyInto added in v0.5.0

func (in *NotificationSummary) DeepCopyInto(out *NotificationSummary)

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

type NotificationType added in v0.5.0

type NotificationType string

NotificationType specifies different type of notifications +kubebuilder:validation:Enum:=KubernetesEvent;Slack;Webex;Discord;Teams

type Operation added in v0.2.1

type Operation string

Operation specifies +kubebuilder:validation:Enum:=Equal;Different

type PolicyRef

type PolicyRef struct {
	// Namespace of the referenced resource.
	// Namespace can be left empty. In such a case, namespace will
	// be implicit set to cluster's namespace.
	Namespace string `json:"namespace"`

	// Name of the referenced resource.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`

	// Kind of the resource. Supported kinds are: Secrets and ConfigMaps.
	// +kubebuilder:validation:Enum=Secret;ConfigMap
	Kind string `json:"kind"`
}

PolicyRef specifies a resource containing one or more policy to deploy in matching Clusters.

func (*PolicyRef) DeepCopy

func (in *PolicyRef) DeepCopy() *PolicyRef

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

func (*PolicyRef) DeepCopyInto

func (in *PolicyRef) DeepCopyInto(out *PolicyRef)

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

func (PolicyRef) String

func (r PolicyRef) String() string

type ReferencedResourceKind added in v0.4.0

type ReferencedResourceKind string

ReferencedResourceKind is a string representation of allowed kind of resources that can be referenced in a ClusterProfile

const (
	SecretReferencedResourceKind    ReferencedResourceKind = "Secret"
	ConfigMapReferencedResourceKind ReferencedResourceKind = "ConfigMap"
)

Define the ReferencedResourceKind constants.

type Reloader added in v0.15.0

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

	Spec ReloaderSpec `json:"spec,omitempty"`
}

Reloader is the Schema for the Reloader API

func (*Reloader) DeepCopy added in v0.15.0

func (in *Reloader) DeepCopy() *Reloader

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

func (*Reloader) DeepCopyInto added in v0.15.0

func (in *Reloader) DeepCopyInto(out *Reloader)

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

func (*Reloader) DeepCopyObject added in v0.15.0

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

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

type ReloaderInfo added in v0.15.0

type ReloaderInfo struct {
	// Namespace of the referenced resource.
	// +kubebuilder:validation:MinLength=1
	Namespace string `json:"namespace"`

	// Name of the referenced resource.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`

	// Kind of the resource. Supported kinds are: Deployment StatefulSet DaemonSet.
	// +kubebuilder:validation:Enum=Deployment;StatefulSet;DaemonSet
	Kind string `json:"kind"`

	// +optional
	Value string `json:"value,omitempty"`
}

ReloaderInfo represents a resource that need to be reloaded if any mounted ConfigMap/Secret changes.

func (*ReloaderInfo) DeepCopy added in v0.15.0

func (in *ReloaderInfo) DeepCopy() *ReloaderInfo

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

func (*ReloaderInfo) DeepCopyInto added in v0.15.0

func (in *ReloaderInfo) DeepCopyInto(out *ReloaderInfo)

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

type ReloaderList added in v0.15.0

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

ReloaderList contains a list of Reloader

func (*ReloaderList) DeepCopy added in v0.15.0

func (in *ReloaderList) DeepCopy() *ReloaderList

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

func (*ReloaderList) DeepCopyInto added in v0.15.0

func (in *ReloaderList) DeepCopyInto(out *ReloaderList)

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

func (*ReloaderList) DeepCopyObject added in v0.15.0

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

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

type ReloaderReport added in v0.15.0

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

	Spec   ReloaderReportSpec   `json:"spec,omitempty"`
	Status ReloaderReportStatus `json:"status,omitempty"`
}

ReloaderReport is the Schema for the ReloaderReport API

func (*ReloaderReport) DeepCopy added in v0.15.0

func (in *ReloaderReport) DeepCopy() *ReloaderReport

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

func (*ReloaderReport) DeepCopyInto added in v0.15.0

func (in *ReloaderReport) DeepCopyInto(out *ReloaderReport)

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

func (*ReloaderReport) DeepCopyObject added in v0.15.0

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

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

type ReloaderReportList added in v0.15.0

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

ReloaderReportList contains a list of ReloaderReport

func (*ReloaderReportList) DeepCopy added in v0.15.0

func (in *ReloaderReportList) DeepCopy() *ReloaderReportList

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

func (*ReloaderReportList) DeepCopyInto added in v0.15.0

func (in *ReloaderReportList) DeepCopyInto(out *ReloaderReportList)

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

func (*ReloaderReportList) DeepCopyObject added in v0.15.0

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

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

type ReloaderReportSpec added in v0.15.0

type ReloaderReportSpec struct {
	// ClusterNamespace is the namespace of the Cluster this
	// ReloaderReport is for.
	ClusterNamespace string `json:"clusterNamespace"`

	// ClusterName is the name of the Cluster this ReloaderReport
	// is for.
	ClusterName string `json:"clusterName"`

	// ClusterType is the type of Cluster this ReloaderReport
	// is for.
	ClusterType ClusterType `json:"clusterType"`

	// ResourcesToReload contains a list of resources that requires
	// rolling upgrade
	// +optional
	ResourcesToReload []ReloaderInfo `json:"resourcesToReload,omitempty"`
}

func (*ReloaderReportSpec) DeepCopy added in v0.15.0

func (in *ReloaderReportSpec) DeepCopy() *ReloaderReportSpec

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

func (*ReloaderReportSpec) DeepCopyInto added in v0.15.0

func (in *ReloaderReportSpec) DeepCopyInto(out *ReloaderReportSpec)

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

type ReloaderReportStatus added in v0.15.0

type ReloaderReportStatus struct {
	// Phase represents the current phase of report.
	// +optional
	Phase *ReportPhase `json:"phase,omitempty"`
}

ReloaderReportStatus defines the observed state of ReloaderReport

func (*ReloaderReportStatus) DeepCopy added in v0.15.0

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

func (*ReloaderReportStatus) DeepCopyInto added in v0.15.0

func (in *ReloaderReportStatus) DeepCopyInto(out *ReloaderReportStatus)

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

type ReloaderSpec added in v0.15.0

type ReloaderSpec struct {
	// +optional
	ReloaderInfo []ReloaderInfo `json:"reloaderInfo,omitempty"`
}

ReloaderSpec defines the desired state of Reloader

func (*ReloaderSpec) DeepCopy added in v0.15.0

func (in *ReloaderSpec) DeepCopy() *ReloaderSpec

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

func (*ReloaderSpec) DeepCopyInto added in v0.15.0

func (in *ReloaderSpec) DeepCopyInto(out *ReloaderSpec)

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

type ReportPhase added in v0.2.1

type ReportPhase string

ReportPhase describes the state of a classifierReport/healthReport/eventReport/reloaderReport. +kubebuilder:validation:Enum:=WaitingForDelivery;Delivering;Processed

type RequestType added in v0.3.0

type RequestType string

RequestType specifies the type of AccessRequest +kubebuilder:validation:Enum:=SveltosAgent;Different

type Resource added in v0.3.0

type Resource struct {
	// Name of the resource deployed in the Cluster.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`

	// Namespace of the resource deployed in the Cluster.
	// Empty for resources scoped at cluster level.
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Group of the resource deployed in the Cluster.
	Group string `json:"group"`

	// Kind of the resource deployed in the Cluster.
	// +kubebuilder:validation:MinLength=1
	Kind string `json:"kind"`

	// Version of the resource deployed in the Cluster.
	Version string `json:"version"`
}

func (*Resource) DeepCopy added in v0.3.0

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto added in v0.3.0

func (in *Resource) DeepCopyInto(out *Resource)

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

type ResourceHash added in v0.3.0

type ResourceHash struct {
	// Resource specifies a resource.
	Resource `json:",inline"`

	// Hash is the hash of a resource's data.
	Hash string `json:"hash,omitempty"`
}

func (*ResourceHash) DeepCopy added in v0.3.0

func (in *ResourceHash) DeepCopy() *ResourceHash

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

func (*ResourceHash) DeepCopyInto added in v0.3.0

func (in *ResourceHash) DeepCopyInto(out *ResourceHash)

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

type ResourceSelector added in v0.21.0

type ResourceSelector struct {
	// Group of the resource deployed in the Cluster.
	Group string `json:"group"`

	// Version of the resource deployed in the Cluster.
	Version string `json:"version"`

	// Kind of the resource deployed in the Cluster.
	// +kubebuilder:validation:MinLength=1
	Kind string `json:"kind"`

	// LabelFilters allows to filter resources based on current labels.
	// +optional
	LabelFilters []LabelFilter `json:"labelFilters,omitempty"`

	// Namespace of the resource deployed in the  Cluster.
	// Empty for resources scoped at cluster level.
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Evaluate contains a function "evaluate" in lua language.
	// The function will be passed one of the object selected based on
	// above criteria.
	// Must return struct with field "matching" representing whether
	// object is a match and an optional "message" field.
	// +optional
	Evaluate string `json:"evaluate,omitempty"`
}

ResourceSelector defines what resources are a match

func (*ResourceSelector) DeepCopy added in v0.21.0

func (in *ResourceSelector) DeepCopy() *ResourceSelector

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

func (*ResourceSelector) DeepCopyInto added in v0.21.0

func (in *ResourceSelector) DeepCopyInto(out *ResourceSelector)

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

type ResourceStatus added in v0.7.0

type ResourceStatus struct {
	// ObjectRef for which status is reported
	ObjectRef corev1.ObjectReference `json:"objectRef"`

	// If HealthCheck Spec.CollectResources is set to true, resource
	// will be collected and contained in the Resource field.
	// +optional
	Resource []byte `json:"resource,omitempty"`

	// HealthStatus is the health status of the object
	HealthStatus HealthStatus `json:"healthStatus"`

	// Message is an extra message for human consumption
	// +optional
	Message string `json:"message,omitempty"`
}

func (*ResourceStatus) DeepCopy added in v0.7.0

func (in *ResourceStatus) DeepCopy() *ResourceStatus

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

func (*ResourceStatus) DeepCopyInto added in v0.7.0

func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)

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

type ResourceSummary added in v0.3.0

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

	Spec   ResourceSummarySpec   `json:"spec,omitempty"`
	Status ResourceSummaryStatus `json:"status,omitempty"`
}

ResourceSummary is the Schema for the ResourceSummary API

func (*ResourceSummary) DeepCopy added in v0.3.0

func (in *ResourceSummary) DeepCopy() *ResourceSummary

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

func (*ResourceSummary) DeepCopyInto added in v0.3.0

func (in *ResourceSummary) DeepCopyInto(out *ResourceSummary)

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

func (*ResourceSummary) DeepCopyObject added in v0.3.0

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

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

type ResourceSummaryList added in v0.3.0

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

ResourceSummaryList contains a list of ResourceSummary

func (*ResourceSummaryList) DeepCopy added in v0.3.0

func (in *ResourceSummaryList) DeepCopy() *ResourceSummaryList

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

func (*ResourceSummaryList) DeepCopyInto added in v0.3.0

func (in *ResourceSummaryList) DeepCopyInto(out *ResourceSummaryList)

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

func (*ResourceSummaryList) DeepCopyObject added in v0.3.0

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

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

type ResourceSummarySpec added in v0.3.0

type ResourceSummarySpec struct {
	// Resources deployed by ClusterSummary because of referenced ConfigMaps/Secrets
	// +optional
	Resources []Resource `json:"resources,omitempty"`

	// KustomizeResources deployed by ClusterSummary because of referenced
	// KustomizationRef
	// +optional
	KustomizeResources []Resource `json:"kustomizeResources,omitempty"`

	// Resources deployed by ClusterSummary because of referenced Helm charts
	// +optional
	ChartResources []HelmResources `json:"chartResources,omitempty"`
}

ResourceSummarySpec defines the desired state of ResourceSummary

func (*ResourceSummarySpec) DeepCopy added in v0.3.0

func (in *ResourceSummarySpec) DeepCopy() *ResourceSummarySpec

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

func (*ResourceSummarySpec) DeepCopyInto added in v0.3.0

func (in *ResourceSummarySpec) DeepCopyInto(out *ResourceSummarySpec)

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

type ResourceSummaryStatus added in v0.3.0

type ResourceSummaryStatus struct {
	// Resources changed.
	// +optional
	ResourcesChanged bool `json:"resourcesChanged,omitempty"`

	// KustomizeResources changed.
	// +optional
	KustomizeResourcesChanged bool `json:"kustomizeResourcesChanged,omitempty"`

	// Helm Resources changed.
	// +optional
	HelmResourcesChanged bool `json:"helmResourcesChanged,omitempty"`

	// ResourceHashes specifies a list of resource plus hash
	ResourceHashes []ResourceHash `json:"resourceHashes,omitempty"`

	// KustomizeResourceHashes specifies a list of resource plus hash
	KustomizeResourceHashes []ResourceHash `json:"kustomizeResourceHashes,omitempty"`

	// HelmResourceHashes specifies list of resource plus hash.
	HelmResourceHashes []ResourceHash `json:"helmResourceHashes,omitempty"`
}

ResourceSummaryStatus defines the status of ResourceSummary

func (*ResourceSummaryStatus) DeepCopy added in v0.3.0

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

func (*ResourceSummaryStatus) DeepCopyInto added in v0.3.0

func (in *ResourceSummaryStatus) DeepCopyInto(out *ResourceSummaryStatus)

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

type RoleRequest added in v0.4.0

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

	Spec   RoleRequestSpec   `json:"spec,omitempty"`
	Status RoleRequestStatus `json:"status,omitempty"`
}

RoleRequest is the Schema for the rolerequest API

func (*RoleRequest) DeepCopy added in v0.4.0

func (in *RoleRequest) DeepCopy() *RoleRequest

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

func (*RoleRequest) DeepCopyInto added in v0.4.0

func (in *RoleRequest) DeepCopyInto(out *RoleRequest)

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

func (*RoleRequest) DeepCopyObject added in v0.4.0

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

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

type RoleRequestList added in v0.4.0

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

RoleRequestList contains a list of RoleRequest

func (*RoleRequestList) DeepCopy added in v0.4.0

func (in *RoleRequestList) DeepCopy() *RoleRequestList

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

func (*RoleRequestList) DeepCopyInto added in v0.4.0

func (in *RoleRequestList) DeepCopyInto(out *RoleRequestList)

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

func (*RoleRequestList) DeepCopyObject added in v0.4.0

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

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

type RoleRequestSpec added in v0.4.0

type RoleRequestSpec struct {
	// ClusterSelector identifies clusters where permissions requestes
	// in this instance will be granted
	ClusterSelector Selector `json:"clusterSelector"`

	// RoleRefs references all the Secret/ConfigMaps containing kubernetes
	// Roles/ClusterRoles that need to be deployed in the matching clusters.
	// +optional
	RoleRefs []PolicyRef `json:"roleRefs,omitempty"`

	// ExpirationSeconds is the requested duration of validity of the TokenRequest
	// associated to ServiceAccount. If not specified, default value is used
	// +optional
	ExpirationSeconds *int64 `json:"expirationSeconds,omitempty"`

	// ServiceAccountName is the name of the ServiceAccount representing a tenant admin for which
	// those permissions are requested
	ServiceAccountName string `json:"serviceAccountName"`

	// ServiceAccountNamespace is the name of the ServiceAccount representing a tenant admin
	// for which those permissions are requested
	ServiceAccountNamespace string `json:"serviceAccountNamespace"`
}

RoleRequestSpec defines the desired state of RoleRequest

func (*RoleRequestSpec) DeepCopy added in v0.4.0

func (in *RoleRequestSpec) DeepCopy() *RoleRequestSpec

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

func (*RoleRequestSpec) DeepCopyInto added in v0.4.0

func (in *RoleRequestSpec) DeepCopyInto(out *RoleRequestSpec)

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

type RoleRequestStatus added in v0.4.0

type RoleRequestStatus struct {
	// MatchingClusterRefs reference all the cluster currently matching
	// RoleRequest ClusterSelector
	MatchingClusterRefs []corev1.ObjectReference `json:"matchingClusters,omitempty"`

	// ClusterInfo represents the hash of the ClusterRoles/Roles deployed in
	// a matching cluster for the admin.
	// +optional
	ClusterInfo []ClusterInfo `json:"clusterInfo,omitempty"`

	// FailureMessage provides more information if an error occurs.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

RoleRequestStatus defines the status of RoleRequest

func (*RoleRequestStatus) DeepCopy added in v0.4.0

func (in *RoleRequestStatus) DeepCopy() *RoleRequestStatus

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

func (*RoleRequestStatus) DeepCopyInto added in v0.4.0

func (in *RoleRequestStatus) DeepCopyInto(out *RoleRequestStatus)

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

type Selector added in v0.4.0

type Selector string

type Set added in v0.26.0

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

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

Set is the Schema for the sets API

func (*Set) DeepCopy added in v0.26.0

func (in *Set) DeepCopy() *Set

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

func (*Set) DeepCopyInto added in v0.26.0

func (in *Set) DeepCopyInto(out *Set)

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

func (*Set) DeepCopyObject added in v0.26.0

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

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

type SetList added in v0.26.0

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

SetList contains a list of Set

func (*SetList) DeepCopy added in v0.26.0

func (in *SetList) DeepCopy() *SetList

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

func (*SetList) DeepCopyInto added in v0.26.0

func (in *SetList) DeepCopyInto(out *SetList)

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

func (*SetList) DeepCopyObject added in v0.26.0

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

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

type Spec added in v0.26.0

type Spec struct {
	// ClusterSelector identifies clusters to associate to.
	// +optional
	ClusterSelector Selector `json:"clusterSelector,omitempty"`

	// ClusterRefs identifies clusters to associate to.
	// +optional
	ClusterRefs []corev1.ObjectReference `json:"clusterRefs,omitempty"`

	// MaxReplicas specifies the maximum number of clusters to be selected
	// from the pool matching the clusterSelector.
	MaxReplicas int `json:"maxReplicas,omitempty"`
}

func (*Spec) DeepCopy added in v0.26.0

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto added in v0.26.0

func (in *Spec) DeepCopyInto(out *Spec)

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

type Status added in v0.26.0

type Status struct {
	// MatchingClusterRefs reference all the clusters currently matching
	// ClusterSet/Set ClusterSelector
	MatchingClusterRefs []corev1.ObjectReference `json:"matchingClusterRefs,omitempty"`

	// SelectedClusters reference all the cluster currently selected among
	// all the ones matching
	SelectedClusterRefs []corev1.ObjectReference `json:"selectedClusterRefs,omitempty"`
}

Status defines the observed state of ClusterSet/Set

func (*Status) DeepCopy added in v0.26.0

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto added in v0.26.0

func (in *Status) DeepCopyInto(out *Status)

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

type SveltosCluster added in v0.3.0

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

	Spec   SveltosClusterSpec   `json:"spec,omitempty"`
	Status SveltosClusterStatus `json:"status,omitempty"`
}

SveltosCluster is the Schema for the SveltosCluster API

func (*SveltosCluster) DeepCopy added in v0.3.0

func (in *SveltosCluster) DeepCopy() *SveltosCluster

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

func (*SveltosCluster) DeepCopyInto added in v0.3.0

func (in *SveltosCluster) DeepCopyInto(out *SveltosCluster)

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

func (*SveltosCluster) DeepCopyObject added in v0.3.0

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

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

type SveltosClusterList added in v0.3.0

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

SveltosClusterList contains a list of SveltosCluster

func (*SveltosClusterList) DeepCopy added in v0.3.0

func (in *SveltosClusterList) DeepCopy() *SveltosClusterList

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

func (*SveltosClusterList) DeepCopyInto added in v0.3.0

func (in *SveltosClusterList) DeepCopyInto(out *SveltosClusterList)

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

func (*SveltosClusterList) DeepCopyObject added in v0.3.0

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

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

type SveltosClusterSpec added in v0.3.0

type SveltosClusterSpec struct {
	// KubeconfigName allows overriding the default Sveltos convention which expected a valid kubeconfig
	// to be hosted in a secret with the pattern ${sveltosClusterName}-sveltos-kubeconfig.
	//
	// When a value is specified, the referenced Kubernetes Secret object must exist,
	// and will be used to connect to the Kubernetes cluster.
	// +optional
	KubeconfigName string `json:"kubeconfigName,omitempty"`
	// Paused can be used to prevent controllers from processing the
	// SveltosCluster and all its associated objects.
	// +optional
	Paused bool `json:"paused,omitempty"`

	// TokenRequestRenewalOption contains options describing how to renew TokenRequest
	// +optional
	TokenRequestRenewalOption *TokenRequestRenewalOption `json:"tokenRequestRenewalOption,omitempty"`
}

SveltosClusterSpec defines the desired state of SveltosCluster

func (*SveltosClusterSpec) DeepCopy added in v0.3.0

func (in *SveltosClusterSpec) DeepCopy() *SveltosClusterSpec

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

func (*SveltosClusterSpec) DeepCopyInto added in v0.3.0

func (in *SveltosClusterSpec) DeepCopyInto(out *SveltosClusterSpec)

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

type SveltosClusterStatus added in v0.3.0

type SveltosClusterStatus struct {
	// The Kubernetes version of the cluster.
	// +optional
	Version string `json:"version,omitempty"`

	// Ready is the state of the cluster.
	// +optional
	Ready bool `json:"ready,omitempty"`

	// FailureMessage is a human consumable message explaining the
	// misconfiguration
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// LastReconciledTokenRequestAt is the last time the TokenRequest
	// was renewed.
	// +optional
	LastReconciledTokenRequestAt string `json:"lastReconciledTokenRequestAt,omitempty"`
}

SveltosClusterStatus defines the status of SveltosCluster

func (*SveltosClusterStatus) DeepCopy added in v0.3.0

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

func (*SveltosClusterStatus) DeepCopyInto added in v0.3.0

func (in *SveltosClusterStatus) DeepCopyInto(out *SveltosClusterStatus)

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

type SveltosFeatureStatus added in v0.4.0

type SveltosFeatureStatus string

+kubebuilder:validation:Enum:=Provisioning;Provisioned;Failed;Removing;Removed

type TokenRequestRenewalOption added in v0.28.0

type TokenRequestRenewalOption struct {
	// RenewTokenRequestInterval is the interval at which to renew the TokenRequest
	RenewTokenRequestInterval metav1.Duration `json:"renewTokenRequestInterval"`
}

func (*TokenRequestRenewalOption) DeepCopy added in v0.28.0

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

func (*TokenRequestRenewalOption) DeepCopyInto added in v0.28.0

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

type UnManagedLabel added in v0.2.1

type UnManagedLabel struct {
	// Key represents a label Classifier would like to manage
	// but cannot because currently managed by different instance
	Key string `json:"key"`

	// FailureMessage is a human consumable message explaining the
	// misconfiguration
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
}

func (*UnManagedLabel) DeepCopy added in v0.2.1

func (in *UnManagedLabel) DeepCopy() *UnManagedLabel

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

func (*UnManagedLabel) DeepCopyInto added in v0.2.1

func (in *UnManagedLabel) DeepCopyInto(out *UnManagedLabel)

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