Documentation
¶
Overview ¶
api/v1/collectionpolicy_types.go
Package v1 contains API Schema definitions for the monitoring v1 API group +kubebuilder:object:generate=true +groupName=devzero.io
Index ¶
- Variables
- type CollectionPolicy
- type CollectionPolicyList
- type CollectionPolicySpec
- type CollectionPolicyStatus
- type ExcludedCSIStorageCapacity
- type ExcludedConfigMap
- type ExcludedCronJob
- type ExcludedCustomResource
- type ExcludedDaemonSet
- type ExcludedDeployment
- type ExcludedEndpoint
- type ExcludedEvent
- type ExcludedHPA
- type ExcludedIngress
- type ExcludedJob
- type ExcludedKubeflowNotebook
- type ExcludedLimitRange
- type ExcludedNetworkPolicy
- type ExcludedPDB
- type ExcludedPVC
- type ExcludedPod
- type ExcludedReplicationController
- type ExcludedResourceQuota
- type ExcludedRole
- type ExcludedRoleBinding
- type ExcludedScaledJob
- type ExcludedScaledObject
- type ExcludedScheduledSparkApplication
- type ExcludedSecret
- type ExcludedService
- type ExcludedServiceAccount
- type ExcludedSparkApplication
- type ExcludedStatefulSet
- type ExcludedVPA
- type ExcludedVolcanoJob
- type Exclusions
- type NamespacedResource
- type Policies
- type TargetSelector
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "devzero.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type CollectionPolicy ¶
type CollectionPolicy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CollectionPolicySpec `json:"spec,omitempty"`
Status CollectionPolicyStatus `json:"status,omitempty"`
}
CollectionPolicy is the Schema for the collectionpolicies API
func (*CollectionPolicy) DeepCopy ¶
func (in *CollectionPolicy) DeepCopy() *CollectionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectionPolicy.
func (*CollectionPolicy) DeepCopyInto ¶
func (in *CollectionPolicy) DeepCopyInto(out *CollectionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CollectionPolicy) DeepCopyObject ¶
func (in *CollectionPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CollectionPolicyList ¶
type CollectionPolicyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CollectionPolicy `json:"items"`
}
CollectionPolicyList contains a list of CollectionPolicy
func (*CollectionPolicyList) DeepCopy ¶
func (in *CollectionPolicyList) DeepCopy() *CollectionPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectionPolicyList.
func (*CollectionPolicyList) DeepCopyInto ¶
func (in *CollectionPolicyList) DeepCopyInto(out *CollectionPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CollectionPolicyList) DeepCopyObject ¶
func (in *CollectionPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CollectionPolicySpec ¶
type CollectionPolicySpec struct {
// TargetSelector specifies which resources to collect
TargetSelector TargetSelector `json:"targetSelector,omitempty"`
// Exclusions specifies resources to exclude from collection
Exclusions Exclusions `json:"exclusions,omitempty"`
// Policies defines collection behavior
Policies Policies `json:"policies,omitempty"`
}
CollectionPolicySpec defines the desired state of CollectionPolicy
func (*CollectionPolicySpec) DeepCopy ¶
func (in *CollectionPolicySpec) DeepCopy() *CollectionPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectionPolicySpec.
func (*CollectionPolicySpec) DeepCopyInto ¶
func (in *CollectionPolicySpec) DeepCopyInto(out *CollectionPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CollectionPolicyStatus ¶
type CollectionPolicyStatus struct {
// Conditions represents the latest available observations of the policy's state
Conditions []metav1.Condition `json:"conditions,omitempty"`
// CollectedResources is the count of resources being collected
CollectedResources int `json:"collectedResources,omitempty"`
// LastUpdated is when the policy was last updated
LastUpdated metav1.Time `json:"lastUpdated,omitempty"`
// ActiveCollectors is a list of currently active collectors
ActiveCollectors []string `json:"activeCollectors,omitempty"`
// BufferSize is the current buffer size in use
CurrentBufferSize int `json:"currentBufferSize,omitempty"`
// BufferUsage is the percentage of buffer currently in use
BufferUsage int `json:"bufferUsage,omitempty"`
// LastSuccessfulDakrConnection is when the last successful connection to Dakr occurred
LastSuccessfulDakrConnection metav1.Time `json:"lastSuccessfulDakrConnection,omitempty"`
}
CollectionPolicyStatus defines the observed state of CollectionPolicy
func (*CollectionPolicyStatus) DeepCopy ¶
func (in *CollectionPolicyStatus) DeepCopy() *CollectionPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectionPolicyStatus.
func (*CollectionPolicyStatus) DeepCopyInto ¶
func (in *CollectionPolicyStatus) DeepCopyInto(out *CollectionPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedCSIStorageCapacity ¶
type ExcludedCSIStorageCapacity struct {
// Namespace is the CSIStorageCapacity's namespace
Namespace string `json:"namespace"`
// Name is the CSIStorageCapacity's name
Name string `json:"name"`
}
ExcludedCSIStorageCapacity identifies a CSIStorageCapacity to exclude
func (*ExcludedCSIStorageCapacity) DeepCopy ¶
func (in *ExcludedCSIStorageCapacity) DeepCopy() *ExcludedCSIStorageCapacity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedCSIStorageCapacity.
func (*ExcludedCSIStorageCapacity) DeepCopyInto ¶
func (in *ExcludedCSIStorageCapacity) DeepCopyInto(out *ExcludedCSIStorageCapacity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedConfigMap ¶
type ExcludedConfigMap struct {
// Namespace is the configmap's namespace
Namespace string `json:"namespace"`
// Name is the configmap's name
Name string `json:"name"`
}
ExcludedConfigMap identifies a configmap to exclude
func (*ExcludedConfigMap) DeepCopy ¶
func (in *ExcludedConfigMap) DeepCopy() *ExcludedConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedConfigMap.
func (*ExcludedConfigMap) DeepCopyInto ¶
func (in *ExcludedConfigMap) DeepCopyInto(out *ExcludedConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedCronJob ¶
type ExcludedCronJob struct {
// Namespace is the cronjob's namespace
Namespace string `json:"namespace"`
// Name is the cronjob's name
Name string `json:"name"`
}
ExcludedCronJob identifies a cronjob to exclude
func (*ExcludedCronJob) DeepCopy ¶
func (in *ExcludedCronJob) DeepCopy() *ExcludedCronJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedCronJob.
func (*ExcludedCronJob) DeepCopyInto ¶
func (in *ExcludedCronJob) DeepCopyInto(out *ExcludedCronJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedCustomResource ¶
type ExcludedCustomResource struct {
// Group is the API group of the custom resource
Group string `json:"group"`
// Version is the API version of the custom resource
Version string `json:"version"`
// Kind is the kind of the custom resource
Kind string `json:"kind"`
// Namespace is the custom resource's namespace
Namespace string `json:"namespace"`
// Name is the custom resource's name
Name string `json:"name"`
}
ExcludedCustomResource identifies a custom resource to exclude
func (*ExcludedCustomResource) DeepCopy ¶
func (in *ExcludedCustomResource) DeepCopy() *ExcludedCustomResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedCustomResource.
func (*ExcludedCustomResource) DeepCopyInto ¶
func (in *ExcludedCustomResource) DeepCopyInto(out *ExcludedCustomResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedDaemonSet ¶
type ExcludedDaemonSet struct {
// Namespace is the daemonset's namespace
Namespace string `json:"namespace"`
// Name is the daemonset's name
Name string `json:"name"`
}
ExcludedDaemonSet identifies a daemonset to exclude
func (*ExcludedDaemonSet) DeepCopy ¶
func (in *ExcludedDaemonSet) DeepCopy() *ExcludedDaemonSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedDaemonSet.
func (*ExcludedDaemonSet) DeepCopyInto ¶
func (in *ExcludedDaemonSet) DeepCopyInto(out *ExcludedDaemonSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedDeployment ¶
type ExcludedDeployment struct {
// Namespace is the deployment's namespace
Namespace string `json:"namespace"`
// Name is the deployment's name
Name string `json:"name"`
}
ExcludedDeployment identifies a deployment to exclude
func (*ExcludedDeployment) DeepCopy ¶
func (in *ExcludedDeployment) DeepCopy() *ExcludedDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedDeployment.
func (*ExcludedDeployment) DeepCopyInto ¶
func (in *ExcludedDeployment) DeepCopyInto(out *ExcludedDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedEndpoint ¶
type ExcludedEndpoint struct {
// Namespace is the endpoint's namespace
Namespace string `json:"namespace"`
// Name is the endpoint's name
Name string `json:"name"`
}
ExcludedEndpoint identifies an endpoint to exclude
func (*ExcludedEndpoint) DeepCopy ¶
func (in *ExcludedEndpoint) DeepCopy() *ExcludedEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedEndpoint.
func (*ExcludedEndpoint) DeepCopyInto ¶
func (in *ExcludedEndpoint) DeepCopyInto(out *ExcludedEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedEvent ¶
type ExcludedEvent struct {
// Namespace is the event's namespace
Namespace string `json:"namespace"`
// Name of the event
Name string `json:"name"`
}
ExcludedEvent identifies an event to exclude
func (*ExcludedEvent) DeepCopy ¶
func (in *ExcludedEvent) DeepCopy() *ExcludedEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedEvent.
func (*ExcludedEvent) DeepCopyInto ¶
func (in *ExcludedEvent) DeepCopyInto(out *ExcludedEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedHPA ¶
type ExcludedHPA struct {
// Namespace is the horizontal pod autoscaler's namespace
Namespace string `json:"namespace"`
// Name is the horizontal pod autoscaler's name
Name string `json:"name"`
}
ExcludedHPA identifies a horizontal pod autoscaler to exclude
func (*ExcludedHPA) DeepCopy ¶
func (in *ExcludedHPA) DeepCopy() *ExcludedHPA
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedHPA.
func (*ExcludedHPA) DeepCopyInto ¶
func (in *ExcludedHPA) DeepCopyInto(out *ExcludedHPA)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedIngress ¶
type ExcludedIngress struct {
// Namespace is the ingress's namespace
Namespace string `json:"namespace"`
// Name is the ingress's name
Name string `json:"name"`
}
ExcludedIngress identifies an ingress to exclude
func (*ExcludedIngress) DeepCopy ¶
func (in *ExcludedIngress) DeepCopy() *ExcludedIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedIngress.
func (*ExcludedIngress) DeepCopyInto ¶
func (in *ExcludedIngress) DeepCopyInto(out *ExcludedIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedJob ¶
type ExcludedJob struct {
// Namespace is the job's namespace
Namespace string `json:"namespace"`
// Name is the job's name
Name string `json:"name"`
}
ExcludedJob identifies a job to exclude
func (*ExcludedJob) DeepCopy ¶
func (in *ExcludedJob) DeepCopy() *ExcludedJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedJob.
func (*ExcludedJob) DeepCopyInto ¶
func (in *ExcludedJob) DeepCopyInto(out *ExcludedJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedKubeflowNotebook ¶ added in v0.0.56
type ExcludedKubeflowNotebook struct {
// Namespace is the Kubeflow Notebook's namespace
Namespace string `json:"namespace"`
// Name is the Kubeflow Notebook's name
Name string `json:"name"`
}
ExcludedKubeflowNotebook identifies a Kubeflow Notebook to exclude
func (*ExcludedKubeflowNotebook) DeepCopy ¶ added in v0.0.56
func (in *ExcludedKubeflowNotebook) DeepCopy() *ExcludedKubeflowNotebook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedKubeflowNotebook.
func (*ExcludedKubeflowNotebook) DeepCopyInto ¶ added in v0.0.56
func (in *ExcludedKubeflowNotebook) DeepCopyInto(out *ExcludedKubeflowNotebook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedLimitRange ¶
type ExcludedLimitRange struct {
// Namespace is the limit range's namespace
Namespace string `json:"namespace"`
// Name is the limit range's name
Name string `json:"name"`
}
ExcludedLimitRange identifies a limit range to exclude
func (*ExcludedLimitRange) DeepCopy ¶
func (in *ExcludedLimitRange) DeepCopy() *ExcludedLimitRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedLimitRange.
func (*ExcludedLimitRange) DeepCopyInto ¶
func (in *ExcludedLimitRange) DeepCopyInto(out *ExcludedLimitRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedNetworkPolicy ¶
type ExcludedNetworkPolicy struct {
// Namespace is the network policy's namespace
Namespace string `json:"namespace"`
// Name is the network policy's name
Name string `json:"name"`
}
ExcludedNetworkPolicy identifies a network policy to exclude
func (*ExcludedNetworkPolicy) DeepCopy ¶
func (in *ExcludedNetworkPolicy) DeepCopy() *ExcludedNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedNetworkPolicy.
func (*ExcludedNetworkPolicy) DeepCopyInto ¶
func (in *ExcludedNetworkPolicy) DeepCopyInto(out *ExcludedNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedPDB ¶
type ExcludedPDB struct {
// Namespace is the pod disruption budget's namespace
Namespace string `json:"namespace"`
// Name is the pod disruption budget's name
Name string `json:"name"`
}
ExcludedPDB identifies a pod disruption budget to exclude
func (*ExcludedPDB) DeepCopy ¶
func (in *ExcludedPDB) DeepCopy() *ExcludedPDB
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedPDB.
func (*ExcludedPDB) DeepCopyInto ¶
func (in *ExcludedPDB) DeepCopyInto(out *ExcludedPDB)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedPVC ¶
type ExcludedPVC struct {
// Namespace is the persistent volume claim's namespace
Namespace string `json:"namespace"`
// Name is the persistent volume claim's name
Name string `json:"name"`
}
ExcludedPVC identifies a persistent volume claim to exclude
func (*ExcludedPVC) DeepCopy ¶
func (in *ExcludedPVC) DeepCopy() *ExcludedPVC
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedPVC.
func (*ExcludedPVC) DeepCopyInto ¶
func (in *ExcludedPVC) DeepCopyInto(out *ExcludedPVC)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedPod ¶
type ExcludedPod struct {
// Namespace is the pod's namespace
Namespace string `json:"namespace"`
// Name is the pod's name
Name string `json:"name"`
}
ExcludedPod identifies a pod to exclude
func (*ExcludedPod) DeepCopy ¶
func (in *ExcludedPod) DeepCopy() *ExcludedPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedPod.
func (*ExcludedPod) DeepCopyInto ¶
func (in *ExcludedPod) DeepCopyInto(out *ExcludedPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedReplicationController ¶
type ExcludedReplicationController struct {
// Namespace is the replication controller's namespace
Namespace string `json:"namespace"`
// Name is the replication controller's name
Name string `json:"name"`
}
ExcludedReplicationController identifies a replication controller to exclude
func (*ExcludedReplicationController) DeepCopy ¶
func (in *ExcludedReplicationController) DeepCopy() *ExcludedReplicationController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedReplicationController.
func (*ExcludedReplicationController) DeepCopyInto ¶
func (in *ExcludedReplicationController) DeepCopyInto(out *ExcludedReplicationController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedResourceQuota ¶
type ExcludedResourceQuota struct {
// Namespace is the resource quota's namespace
Namespace string `json:"namespace"`
// Name is the resource quota's name
Name string `json:"name"`
}
ExcludedResourceQuota identifies a resource quota to exclude
func (*ExcludedResourceQuota) DeepCopy ¶
func (in *ExcludedResourceQuota) DeepCopy() *ExcludedResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedResourceQuota.
func (*ExcludedResourceQuota) DeepCopyInto ¶
func (in *ExcludedResourceQuota) DeepCopyInto(out *ExcludedResourceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedRole ¶
type ExcludedRole struct {
// Namespace is the role's namespace
Namespace string `json:"namespace"`
// Name is the role's name
Name string `json:"name"`
}
ExcludedRole identifies a role to exclude
func (*ExcludedRole) DeepCopy ¶
func (in *ExcludedRole) DeepCopy() *ExcludedRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedRole.
func (*ExcludedRole) DeepCopyInto ¶
func (in *ExcludedRole) DeepCopyInto(out *ExcludedRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedRoleBinding ¶
type ExcludedRoleBinding struct {
// Namespace is the role binding's namespace
Namespace string `json:"namespace"`
// Name is the role binding's name
Name string `json:"name"`
}
ExcludedRoleBinding identifies a role binding to exclude
func (*ExcludedRoleBinding) DeepCopy ¶
func (in *ExcludedRoleBinding) DeepCopy() *ExcludedRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedRoleBinding.
func (*ExcludedRoleBinding) DeepCopyInto ¶
func (in *ExcludedRoleBinding) DeepCopyInto(out *ExcludedRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedScaledJob ¶
type ExcludedScaledJob struct {
// Namespace is the scaled job's namespace
Namespace string `json:"namespace"`
// Name is the scaled job
Name string `json:"name"`
}
ExcludedScaledJob identifies a KEDA scaled job to exclude
func (*ExcludedScaledJob) DeepCopy ¶
func (in *ExcludedScaledJob) DeepCopy() *ExcludedScaledJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedScaledJob.
func (*ExcludedScaledJob) DeepCopyInto ¶
func (in *ExcludedScaledJob) DeepCopyInto(out *ExcludedScaledJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedScaledObject ¶
type ExcludedScaledObject struct {
// Namespace is the scaled object's namespace
Namespace string `json:"namespace"`
// Name is the scaled object
Name string `json:"name"`
}
ExcludedScaledObject identifies a KEDA scaled object to exclude
func (*ExcludedScaledObject) DeepCopy ¶
func (in *ExcludedScaledObject) DeepCopy() *ExcludedScaledObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedScaledObject.
func (*ExcludedScaledObject) DeepCopyInto ¶
func (in *ExcludedScaledObject) DeepCopyInto(out *ExcludedScaledObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedScheduledSparkApplication ¶ added in v0.0.56
type ExcludedScheduledSparkApplication struct {
// Namespace is the Scheduled Spark Application's namespace
Namespace string `json:"namespace"`
// Name is the Scheduled Spark Application's name
Name string `json:"name"`
}
ExcludedScheduledSparkApplication identifies a Scheduled Spark Application to exclude
func (*ExcludedScheduledSparkApplication) DeepCopy ¶ added in v0.0.56
func (in *ExcludedScheduledSparkApplication) DeepCopy() *ExcludedScheduledSparkApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedScheduledSparkApplication.
func (*ExcludedScheduledSparkApplication) DeepCopyInto ¶ added in v0.0.56
func (in *ExcludedScheduledSparkApplication) DeepCopyInto(out *ExcludedScheduledSparkApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedSecret ¶
type ExcludedSecret struct {
// Namespace is the secret's namespace
Namespace string `json:"namespace"`
// Name is the secret's name
Name string `json:"name"`
}
ExcludedSecret identifies a secret to exclude
func (*ExcludedSecret) DeepCopy ¶
func (in *ExcludedSecret) DeepCopy() *ExcludedSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedSecret.
func (*ExcludedSecret) DeepCopyInto ¶
func (in *ExcludedSecret) DeepCopyInto(out *ExcludedSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedService ¶
type ExcludedService struct {
// Namespace is the service's namespace
Namespace string `json:"namespace"`
// Name is the service's name
Name string `json:"name"`
}
ExcludedService identifies a service to exclude
func (*ExcludedService) DeepCopy ¶
func (in *ExcludedService) DeepCopy() *ExcludedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedService.
func (*ExcludedService) DeepCopyInto ¶
func (in *ExcludedService) DeepCopyInto(out *ExcludedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedServiceAccount ¶
type ExcludedServiceAccount struct {
// Namespace is the service account's namespace
Namespace string `json:"namespace"`
// Name is the service account's name
Name string `json:"name"`
}
ExcludedServiceAccount identifies a service account to exclude
func (*ExcludedServiceAccount) DeepCopy ¶
func (in *ExcludedServiceAccount) DeepCopy() *ExcludedServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedServiceAccount.
func (*ExcludedServiceAccount) DeepCopyInto ¶
func (in *ExcludedServiceAccount) DeepCopyInto(out *ExcludedServiceAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedSparkApplication ¶ added in v0.0.56
type ExcludedSparkApplication struct {
// Namespace is the Spark Application's namespace
Namespace string `json:"namespace"`
// Name is the Spark Application's name
Name string `json:"name"`
}
ExcludedSparkApplication identifies a Spark Application to exclude
func (*ExcludedSparkApplication) DeepCopy ¶ added in v0.0.56
func (in *ExcludedSparkApplication) DeepCopy() *ExcludedSparkApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedSparkApplication.
func (*ExcludedSparkApplication) DeepCopyInto ¶ added in v0.0.56
func (in *ExcludedSparkApplication) DeepCopyInto(out *ExcludedSparkApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedStatefulSet ¶
type ExcludedStatefulSet struct {
// Namespace is the statefulset's namespace
Namespace string `json:"namespace"`
// Name is the statefulset's name
Name string `json:"name"`
}
ExcludedStatefulSet identifies a statefulset to exclude
func (*ExcludedStatefulSet) DeepCopy ¶
func (in *ExcludedStatefulSet) DeepCopy() *ExcludedStatefulSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedStatefulSet.
func (*ExcludedStatefulSet) DeepCopyInto ¶
func (in *ExcludedStatefulSet) DeepCopyInto(out *ExcludedStatefulSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedVPA ¶
type ExcludedVPA struct {
// Namespace is the vertical pod autoscaler's namespace
Namespace string `json:"namespace"`
// Name is the vertical pod autoscaler's name
Name string `json:"name"`
}
ExcludedVPA identifies a vertical pod autoscaler to exclude
func (*ExcludedVPA) DeepCopy ¶
func (in *ExcludedVPA) DeepCopy() *ExcludedVPA
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedVPA.
func (*ExcludedVPA) DeepCopyInto ¶
func (in *ExcludedVPA) DeepCopyInto(out *ExcludedVPA)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExcludedVolcanoJob ¶ added in v0.0.56
type ExcludedVolcanoJob struct {
// Namespace is the Volcano Job's namespace
Namespace string `json:"namespace"`
// Name is the Volcano Job's name
Name string `json:"name"`
}
ExcludedVolcanoJob identifies a Volcano Job to exclude
func (*ExcludedVolcanoJob) DeepCopy ¶ added in v0.0.56
func (in *ExcludedVolcanoJob) DeepCopy() *ExcludedVolcanoJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExcludedVolcanoJob.
func (*ExcludedVolcanoJob) DeepCopyInto ¶ added in v0.0.56
func (in *ExcludedVolcanoJob) DeepCopyInto(out *ExcludedVolcanoJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Exclusions ¶
type Exclusions struct {
// ExcludedNamespaces are namespaces to exclude from collection
ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`
// ExcludedNodes are nodes to exclude from collection
ExcludedNodes []string `json:"excludedNodes,omitempty"`
// ExcludedLabels are label selectors to exclude
ExcludedLabels map[string]string `json:"excludedLabels,omitempty"`
// Workload Exclusions
ExcludedPods []ExcludedPod `json:"excludedPods,omitempty"`
ExcludedDeployments []ExcludedDeployment `json:"excludedDeployments,omitempty"`
ExcludedStatefulSets []ExcludedStatefulSet `json:"excludedStatefulSets,omitempty"`
ExcludedDaemonSets []ExcludedDaemonSet `json:"excludedDaemonSets,omitempty"`
ExcludedReplicationControllers []ExcludedReplicationController `json:"excludedReplicationControllers,omitempty"`
ExcludedJobs []ExcludedJob `json:"excludedJobs,omitempty"`
ExcludedCronJobs []ExcludedCronJob `json:"excludedCronJobs,omitempty"`
// Service-Related Exclusions
ExcludedServices []ExcludedService `json:"excludedServices,omitempty"`
ExcludedEndpoints []ExcludedEndpoint `json:"excludedEndpoints,omitempty"`
ExcludedIngresses []ExcludedIngress `json:"excludedIngresses,omitempty"`
ExcludedIngressClasses []string `json:"excludedIngressClasses,omitempty"`
ExcludedNetworkPolicies []ExcludedNetworkPolicy `json:"excludedNetworkPolicies,omitempty"`
// Configuration Exclusions
ExcludedConfigMaps []ExcludedConfigMap `json:"excludedConfigMaps,omitempty"`
ExcludedSecrets []ExcludedSecret `json:"excludedSecrets,omitempty"`
ExcludedServiceAccounts []ExcludedServiceAccount `json:"excludedServiceAccounts,omitempty"`
// Storage Exclusions
ExcludedPVCs []ExcludedPVC `json:"excludedPVCs,omitempty"`
ExcludedPVs []string `json:"excludedPVs,omitempty"`
ExcludedStorageClasses []string `json:"excludedStorageClasses,omitempty"`
// RBAC Exclusions
ExcludedRoles []ExcludedRole `json:"excludedRoles,omitempty"`
ExcludedRoleBindings []ExcludedRoleBinding `json:"excludedRoleBindings,omitempty"`
ExcludedClusterRoles []string `json:"excludedClusterRoles,omitempty"`
ExcludedClusterRoleBindings []string `json:"excludedClusterRoleBindings,omitempty"`
// Resource Management Exclusions
ExcludedResourceQuotas []ExcludedResourceQuota `json:"excludedResourceQuotas,omitempty"`
ExcludedLimitRanges []ExcludedLimitRange `json:"excludedLimitRanges,omitempty"`
ExcludedHPAs []ExcludedHPA `json:"excludedHPAs,omitempty"`
ExcludedVPAs []ExcludedVPA `json:"excludedVPAs,omitempty"`
ExcludedPDBs []ExcludedPDB `json:"excludedPDBs,omitempty"`
ExcludedPSPs []string `json:"excludedPSPs,omitempty"`
// Custom Resource Exclusions
ExcludedCRDs []string `json:"excludedCRDs,omitempty"`
ExcludedCustomResources []ExcludedCustomResource `json:"excludedCustomResources,omitempty"`
ExcludedCRDGroups []string `json:"excludedCRDGroups,omitempty"`
// Event Exclusions
ExcludedEvents []ExcludedEvent `json:"excludedEvents,omitempty"`
// Keda Exclusions
ExcludedScaledObjects []ExcludedScaledObject `json:"excludedScaledObjects,omitempty"`
ExcludedScaledJobs []ExcludedScaledJob `json:"excludedScaledJobs,omitempty"`
// CSI Exclusions
ExcludedCSIDrivers []string `json:"excludedCSIDrivers,omitempty"`
ExcludedCSIStorageCapacities []ExcludedCSIStorageCapacity `json:"excludedCSIStorageCapacities,omitempty"`
ExcludedVolumeAttachments []string `json:"excludedVolumeAttachments,omitempty"`
// Kubeflow Notebooks Exclusions
ExcludedKubeflowNotebooks []ExcludedKubeflowNotebook `json:"excludedKubeflowNotebooks,omitempty"`
// VolcanoJobs Exclusions
ExcludedVolcanoJobs []ExcludedVolcanoJob `json:"excludedVolcanoJobs,omitempty"`
// Spark Applications Exclusions
ExcludedSparkApplications []ExcludedSparkApplication `json:"excludedSparkApplications,omitempty"`
ExcludedScheduledSparkApplications []ExcludedScheduledSparkApplication `json:"excludedScheduledSparkApplications,omitempty"`
}
Exclusions specifies resources to exclude from collection
func (*Exclusions) DeepCopy ¶
func (in *Exclusions) DeepCopy() *Exclusions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exclusions.
func (*Exclusions) DeepCopyInto ¶
func (in *Exclusions) DeepCopyInto(out *Exclusions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedResource ¶
type NamespacedResource struct {
// Namespace is the resource's namespace
Namespace string `json:"namespace"`
// Name is the resource's name
Name string `json:"name"`
}
NamespacedResource represents the common fields for namespace-scoped resources
func (*NamespacedResource) DeepCopy ¶
func (in *NamespacedResource) DeepCopy() *NamespacedResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedResource.
func (*NamespacedResource) DeepCopyInto ¶
func (in *NamespacedResource) DeepCopyInto(out *NamespacedResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policies ¶
type Policies struct {
// KubeContextName is the name of the current context being used to apply the installation yaml
KubeContextName string `json:"kubeContextName,omitempty"`
// DakrURL is the URL of the Dakr service
DakrURL string `json:"dakrURL,omitempty"`
// ClusterToken is the token used to authenticate as a cluster
ClusterToken string `json:"clusterToken,omitempty"`
// PATToken is the Personal Access Token used for automatic cluster token exchange
// If ClusterToken is not provided but PATToken is, the system will exchange it for a cluster token
PATToken string `json:"patToken,omitempty"`
// PrometheusURL is the URL of the Prometheus server to query for metrics
// If not provided, defaults to in-cluster Prometheus at "http://prometheus-service.monitoring.svc.cluster.local:8080"
// +optional
PrometheusURL string `json:"prometheusURL,omitempty"`
// DisableNetworkIOMetrics disables collection of container network and I/O metrics from Prometheus
// These metrics include network throughput, packet rates, and disk I/O operations
// Default is false, meaning metrics are collected by default
// +optional
DisableNetworkIOMetrics bool `json:"disableNetworkIOMetrics,omitempty"`
// DisableGpuMetrics disables collection of GPU metrics from Prometheus
// These metrics include GPU utilization, memory usage, and temperature
// Default is false, meaning metrics are collected by default
// +optional
DisableGPUMetrics bool `json:"disableGpuMetrics,omitempty"`
// Frequency is how often to collect resource usage metrics
Frequency string `json:"frequency,omitempty"`
// BufferSize is the size of the sender buffer
BufferSize int `json:"bufferSize,omitempty"`
// NumResourceProcessors is the number of goroutines to process collected resources
// +optional
NumResourceProcessors *int `json:"numResourceProcessors,omitempty"`
// MaskSecretData determines whether to redact secret values
MaskSecretData bool `json:"maskSecretData,omitempty"`
// NodeMetricsInterval is how often to collect node metrics (defaults to 6x regular frequency)
NodeMetricsInterval string `json:"nodeMetricsInterval,omitempty"`
// ClusterSnapshotInterval is how often to take cluster snapshots (defaults to 3h)
ClusterSnapshotInterval string `json:"clusterSnapshotInterval,omitempty"`
// WatchedCRDs is a list of custom resource definitions to explicitly watch
WatchedCRDs []string `json:"watchedCRDs,omitempty"`
// DisabledCollectors is a list of collector types to completely disable
// Valid values include: "pod", "deployment", "statefulset", "daemonset", "service",
// "configmap", "secret", "node", "event", etc.
DisabledCollectors []string `json:"disabledCollectors,omitempty"`
}
Policies defines collection behavior
func (*Policies) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policies.
func (*Policies) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetSelector ¶
type TargetSelector struct {
// Namespaces to watch (empty means all)
Namespaces []string `json:"namespaces,omitempty"`
// Labels to select
Labels map[string]string `json:"labels,omitempty"`
}
TargetSelector specifies which resources to collect
func (*TargetSelector) DeepCopy ¶
func (in *TargetSelector) DeepCopy() *TargetSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSelector.
func (*TargetSelector) DeepCopyInto ¶
func (in *TargetSelector) DeepCopyInto(out *TargetSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.