Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the kubeeye v1alpha2 API group +kubebuilder:object:generate=true +groupName=kubeeye.kubesphere.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type BaseResult
- type Cluster
- type ClusterInfo
- type CommandResultItem
- type ComponentResultItem
- type CustomCommandRule
- type ExtraInfo
- type FileChangeResultItem
- type FileChangeRule
- type FileFilterRule
- type InspectPlan
- type InspectPlanList
- type InspectPlanSpec
- type InspectPlanStatus
- type InspectResult
- type InspectResultList
- type InspectResultSpec
- type InspectResultStatus
- type InspectRule
- type InspectRuleList
- type InspectRuleNames
- type InspectRuleSpec
- type InspectRuleStatus
- type InspectTask
- type InspectTaskList
- type InspectTaskSpec
- type InspectTaskStatus
- type JobPhase
- type JobRule
- type KubeeyeOpaResult
- type Level
- type Node
- type NodeInfoResultItem
- type NodeInfoRule
- type NodeMetricsResultItem
- type OpaRule
- type Phase
- type Policy
- type PrometheusResult
- type PrometheusRule
- type ResourceResult
- type ResourcesType
- type ResultItem
- type RuleItemBases
- type ScoreInfo
- type ServiceConnectResultItem
- type ServiceConnectRule
- type State
- type SysRule
- type TaskNames
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kubeeye.kubesphere.io", Version: "v1alpha2"} // 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 )
var SchemeGroupVersion = GroupVersion
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BaseResult ¶
type BaseResult struct { Name string `json:"name,omitempty"` Assert bool `json:"assert,omitempty"` Level Level `json:"level,omitempty"` }
func (*BaseResult) DeepCopy ¶
func (in *BaseResult) DeepCopy() *BaseResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseResult.
func (*BaseResult) DeepCopyInto ¶
func (in *BaseResult) DeepCopyInto(out *BaseResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { Name string `json:"name,omitempty"` Provider string `json:"provider,omitempty"` }
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterInfo ¶
type ClusterInfo struct { ClusterVersion string `json:"version,omitempty"` NodesCount int `json:"nodesCount,omitempty"` NamespacesCount int `json:"namespacesCount,omitempty"` }
func (*ClusterInfo) DeepCopy ¶
func (in *ClusterInfo) DeepCopy() *ClusterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.
func (*ClusterInfo) DeepCopyInto ¶
func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandResultItem ¶
type CommandResultItem struct { BaseResult `json:",inline"` Command string `json:"command,omitempty"` Value string `json:"value,omitempty"` NodeName string `json:"nodeName,omitempty"` }
func (*CommandResultItem) DeepCopy ¶
func (in *CommandResultItem) DeepCopy() *CommandResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandResultItem.
func (*CommandResultItem) DeepCopyInto ¶
func (in *CommandResultItem) DeepCopyInto(out *CommandResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentResultItem ¶
type ComponentResultItem struct {
BaseResult `json:",inline"`
}
func (*ComponentResultItem) DeepCopy ¶
func (in *ComponentResultItem) DeepCopy() *ComponentResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentResultItem.
func (*ComponentResultItem) DeepCopyInto ¶
func (in *ComponentResultItem) DeepCopyInto(out *ComponentResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomCommandRule ¶
type CustomCommandRule struct { RuleItemBases `json:",inline"` Command string `json:"command,omitempty"` Node `json:",inline"` }
func (*CustomCommandRule) DeepCopy ¶
func (in *CustomCommandRule) DeepCopy() *CustomCommandRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCommandRule.
func (*CustomCommandRule) DeepCopyInto ¶
func (in *CustomCommandRule) DeepCopyInto(out *CustomCommandRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtraInfo ¶
type ExtraInfo struct { WorkloadsCount int `json:"workloadsCount,omitempty"` NamespacesList []string `json:"namespacesList,omitempty"` }
func (*ExtraInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraInfo.
func (*ExtraInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileChangeResultItem ¶
type FileChangeResultItem struct { BaseResult `json:",inline"` Issues []string `json:"issues,omitempty"` Path string `json:"path,omitempty"` NodeName string `json:"nodeName,omitempty"` }
func (*FileChangeResultItem) DeepCopy ¶
func (in *FileChangeResultItem) DeepCopy() *FileChangeResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileChangeResultItem.
func (*FileChangeResultItem) DeepCopyInto ¶
func (in *FileChangeResultItem) DeepCopyInto(out *FileChangeResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileChangeRule ¶
type FileChangeRule struct { RuleItemBases `json:",inline"` Path string `json:"path,omitempty"` Node `json:",inline"` }
func (*FileChangeRule) DeepCopy ¶
func (in *FileChangeRule) DeepCopy() *FileChangeRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileChangeRule.
func (*FileChangeRule) DeepCopyInto ¶
func (in *FileChangeRule) DeepCopyInto(out *FileChangeRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileFilterRule ¶
type FileFilterRule struct { RuleItemBases `json:",inline"` Path string `json:"path,omitempty"` Node `json:",inline"` }
func (*FileFilterRule) DeepCopy ¶
func (in *FileFilterRule) DeepCopy() *FileFilterRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileFilterRule.
func (*FileFilterRule) DeepCopyInto ¶
func (in *FileFilterRule) DeepCopyInto(out *FileFilterRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectPlan ¶
type InspectPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InspectPlanSpec `json:"spec,omitempty"` Status InspectPlanStatus `json:"status,omitempty"` }
InspectPlan is the Schema for the InspectPlans API
func (*InspectPlan) DeepCopy ¶
func (in *InspectPlan) DeepCopy() *InspectPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectPlan.
func (*InspectPlan) DeepCopyInto ¶
func (in *InspectPlan) DeepCopyInto(out *InspectPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectPlan) DeepCopyObject ¶
func (in *InspectPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectPlanList ¶
type InspectPlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InspectPlan `json:"items"` }
InspectPlanList contains a list of InspectPlan
func (*InspectPlanList) DeepCopy ¶
func (in *InspectPlanList) DeepCopy() *InspectPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectPlanList.
func (*InspectPlanList) DeepCopyInto ¶
func (in *InspectPlanList) DeepCopyInto(out *InspectPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectPlanList) DeepCopyObject ¶
func (in *InspectPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectPlanSpec ¶
type InspectPlanSpec struct { Schedule *string `json:"schedule,omitempty"` Suspend bool `json:"suspend,omitempty"` Timeout string `json:"timeout,omitempty"` RuleNames []InspectRuleNames `json:"ruleNames,omitempty"` MaxTasks int `json:"maxTasks,omitempty"` ClusterName []Cluster `json:"clusterName,omitempty"` KubeConfig string `json:"kubeConfig,omitempty"` Once *metav1.Time `json:"one,omitempty"` }
InspectPlanSpec defines the desired state of InspectPlan
func (*InspectPlanSpec) DeepCopy ¶
func (in *InspectPlanSpec) DeepCopy() *InspectPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectPlanSpec.
func (*InspectPlanSpec) DeepCopyInto ¶
func (in *InspectPlanSpec) DeepCopyInto(out *InspectPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectPlanStatus ¶
type InspectPlanStatus struct { LastScheduleTime *metav1.Time `json:"lastScheduleTime,omitempty"` LastTaskStartTime *metav1.Time `json:"lastTaskStartTime,omitempty"` LastTaskEndTime *metav1.Time `json:"lastTaskEndTime,omitempty"` LastTaskName string `json:"lastTaskName,omitempty"` TaskNames []TaskNames `json:"TaskNames,omitempty"` LastTaskStatus Phase `json:"lastTaskStatus,omitempty"` NextScheduleTime *metav1.Time `json:"nextScheduleTime,omitempty"` }
InspectPlanStatus defines the observed state of InspectPlan
func (*InspectPlanStatus) DeepCopy ¶
func (in *InspectPlanStatus) DeepCopy() *InspectPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectPlanStatus.
func (*InspectPlanStatus) DeepCopyInto ¶
func (in *InspectPlanStatus) DeepCopyInto(out *InspectPlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectResult ¶
type InspectResult struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InspectResultSpec `json:"spec,omitempty"` Status InspectResultStatus `json:"status,omitempty"` }
InspectResult is the Schema for the inspectresults API
func (*InspectResult) DeepCopy ¶
func (in *InspectResult) DeepCopy() *InspectResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectResult.
func (*InspectResult) DeepCopyInto ¶
func (in *InspectResult) DeepCopyInto(out *InspectResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectResult) DeepCopyObject ¶
func (in *InspectResult) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectResultList ¶
type InspectResultList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InspectResult `json:"items"` }
InspectResultList contains a list of InspectResult
func (*InspectResultList) DeepCopy ¶
func (in *InspectResultList) DeepCopy() *InspectResultList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectResultList.
func (*InspectResultList) DeepCopyInto ¶
func (in *InspectResultList) DeepCopyInto(out *InspectResultList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectResultList) DeepCopyObject ¶
func (in *InspectResultList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectResultSpec ¶
type InspectResultSpec struct { InspectCluster Cluster `json:"inspectCluster,omitempty"` InspectRuleTotal map[string]int `json:"inspectRuleTotal,omitempty"` PrometheusResult []PrometheusResult `json:"prometheusResult,omitempty"` OpaResult KubeeyeOpaResult `json:"opaResult,omitempty"` NodeInfo []NodeInfoResultItem `json:"nodeInfo,omitempty"` FileChangeResult []FileChangeResultItem `json:"fileChangeResult,omitempty"` FileFilterResult []FileChangeResultItem `json:"fileFilterResult,omitempty"` SysctlResult []NodeMetricsResultItem `json:"sysctlResult,omitempty"` SystemdResult []NodeMetricsResultItem `json:"systemdResult,omitempty"` CommandResult []CommandResultItem `json:"commandResult,omitempty"` ComponentResult []ComponentResultItem `json:"componentResult,omitempty"` ServiceConnectResult []ServiceConnectResultItem `json:"serviceConnectResult,omitempty"` }
InspectResultSpec defines the desired state of InspectResult
func (*InspectResultSpec) DeepCopy ¶
func (in *InspectResultSpec) DeepCopy() *InspectResultSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectResultSpec.
func (*InspectResultSpec) DeepCopyInto ¶
func (in *InspectResultSpec) DeepCopyInto(out *InspectResultSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectResultStatus ¶
type InspectResultStatus struct { Complete bool `json:"complete,omitempty"` Policy Policy `json:"policy,omitempty"` Duration string `json:"duration,omitempty"` TaskStartTime string `json:"taskStartTime,omitempty"` TaskEndTime string `json:"taskEndTime,omitempty"` Level map[Level]*int `json:"level,omitempty"` }
InspectResultStatus defines the observed state of InspectResult
func (*InspectResultStatus) DeepCopy ¶
func (in *InspectResultStatus) DeepCopy() *InspectResultStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectResultStatus.
func (*InspectResultStatus) DeepCopyInto ¶
func (in *InspectResultStatus) DeepCopyInto(out *InspectResultStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectRule ¶
type InspectRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InspectRuleSpec `json:"spec,omitempty"` Status InspectRuleStatus `json:"status,omitempty"` }
InspectRule is the Schema for the InspectRule API
func (*InspectRule) DeepCopy ¶
func (in *InspectRule) DeepCopy() *InspectRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectRule.
func (*InspectRule) DeepCopyInto ¶
func (in *InspectRule) DeepCopyInto(out *InspectRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectRule) DeepCopyObject ¶
func (in *InspectRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectRuleList ¶
type InspectRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InspectRule `json:"items"` }
InspectRuleList contains a list of InspectRule
func (*InspectRuleList) DeepCopy ¶
func (in *InspectRuleList) DeepCopy() *InspectRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectRuleList.
func (*InspectRuleList) DeepCopyInto ¶
func (in *InspectRuleList) DeepCopyInto(out *InspectRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectRuleList) DeepCopyObject ¶
func (in *InspectRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectRuleNames ¶
type InspectRuleNames struct { Name string `json:"name,omitempty"` NodeName string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
func (*InspectRuleNames) DeepCopy ¶
func (in *InspectRuleNames) DeepCopy() *InspectRuleNames
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectRuleNames.
func (*InspectRuleNames) DeepCopyInto ¶
func (in *InspectRuleNames) DeepCopyInto(out *InspectRuleNames)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectRuleSpec ¶
type InspectRuleSpec struct { ComponentExclude []string `json:"componentExclude,omitempty"` PrometheusEndpoint string `json:"prometheusEndpoint,omitempty"` Opas []OpaRule `json:"opas,omitempty"` Prometheus []PrometheusRule `json:"prometheus,omitempty"` FileChange []FileChangeRule `json:"fileChange,omitempty" ` Sysctl []SysRule `json:"sysctl,omitempty"` Systemd []SysRule `json:"systemd,omitempty"` FileFilter []FileFilterRule `json:"fileFilter,omitempty"` CustomCommand []CustomCommandRule `json:"customCommand,omitempty"` NodeInfo []NodeInfoRule `json:"nodeInfo,omitempty"` ServiceConnect []ServiceConnectRule `json:"serviceConnect,omitempty"` }
InspectRuleSpec defines the desired state of InspectRule
func (*InspectRuleSpec) DeepCopy ¶
func (in *InspectRuleSpec) DeepCopy() *InspectRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectRuleSpec.
func (*InspectRuleSpec) DeepCopyInto ¶
func (in *InspectRuleSpec) DeepCopyInto(out *InspectRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectRuleStatus ¶
type InspectRuleStatus struct { StartImportTime *metav1.Time `json:"startImportTime,omitempty"` EndImportTime *metav1.Time `json:"endImportTime,omitempty"` State State `json:"state,omitempty"` LevelCount map[Level]*int `json:"levelCount,omitempty"` }
InspectRuleStatus defines the observed state of InspectRule
func (*InspectRuleStatus) DeepCopy ¶
func (in *InspectRuleStatus) DeepCopy() *InspectRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectRuleStatus.
func (*InspectRuleStatus) DeepCopyInto ¶
func (in *InspectRuleStatus) DeepCopyInto(out *InspectRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectTask ¶
type InspectTask struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InspectTaskSpec `json:"spec,omitempty"` Status InspectTaskStatus `json:"status,omitempty"` }
InspectTask is the Schema for the InspectTasks API
func (*InspectTask) DeepCopy ¶
func (in *InspectTask) DeepCopy() *InspectTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectTask.
func (*InspectTask) DeepCopyInto ¶
func (in *InspectTask) DeepCopyInto(out *InspectTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectTask) DeepCopyObject ¶
func (in *InspectTask) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectTaskList ¶
type InspectTaskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InspectTask `json:"items"` }
InspectTaskList contains a list of InspectTask
func (*InspectTaskList) DeepCopy ¶
func (in *InspectTaskList) DeepCopy() *InspectTaskList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectTaskList.
func (*InspectTaskList) DeepCopyInto ¶
func (in *InspectTaskList) DeepCopyInto(out *InspectTaskList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InspectTaskList) DeepCopyObject ¶
func (in *InspectTaskList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InspectTaskSpec ¶
type InspectTaskSpec struct { ClusterName []Cluster `json:"clusterName,omitempty"` RuleNames []InspectRuleNames `json:"ruleNames,omitempty"` Timeout string `json:"timeout,omitempty"` InspectPolicy Policy `json:"inspectPolicy,omitempty"` }
InspectTaskSpec defines the desired state of InspectTask
func (*InspectTaskSpec) DeepCopy ¶
func (in *InspectTaskSpec) DeepCopy() *InspectTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectTaskSpec.
func (*InspectTaskSpec) DeepCopyInto ¶
func (in *InspectTaskSpec) DeepCopyInto(out *InspectTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InspectTaskStatus ¶
type InspectTaskStatus struct { ClusterInfo `json:"clusterInfo,omitempty" yaml:"clusterInfo"` JobPhase []JobPhase `json:"jobPhase,omitempty" yaml:"jobPhase"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty" yaml:"startTimestamp"` EndTimestamp *metav1.Time `json:"endTimestamp,omitempty" yaml:"endTimestamp"` Duration string `json:"duration,omitempty" yaml:"duration"` Status Phase `json:"status,omitempty" yaml:"status,omitempty"` InspectRuleType []string `json:"inspectRuleType,omitempty" yaml:"inspectRuleType"` }
InspectTaskStatus defines the observed state of InspectTask
func (*InspectTaskStatus) DeepCopy ¶
func (in *InspectTaskStatus) DeepCopy() *InspectTaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InspectTaskStatus.
func (*InspectTaskStatus) DeepCopyInto ¶
func (in *InspectTaskStatus) DeepCopyInto(out *InspectTaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobPhase ¶
type JobPhase struct { JobName string `json:"jobName,omitempty"` Phase Phase `json:"phase,omitempty"` }
func (*JobPhase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobPhase.
func (*JobPhase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobRule ¶
type JobRule struct { JobName string `json:"jobName,omitempty"` RuleType string `json:"ruleType,omitempty"` RunRule []byte `json:"runRule,omitempty"` }
func (*JobRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRule.
func (*JobRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeeyeOpaResult ¶
type KubeeyeOpaResult struct { ScoreInfo `json:"scoreInfo,omitempty"` ResourceResults []ResourceResult `json:"resourceResults,omitempty"` Percent int `json:"percent,omitempty"` ExtraInfo `json:"extraInfo,omitempty"` }
kubeeye inspect result
func (*KubeeyeOpaResult) DeepCopy ¶
func (in *KubeeyeOpaResult) DeepCopy() *KubeeyeOpaResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeeyeOpaResult.
func (*KubeeyeOpaResult) DeepCopyInto ¶
func (in *KubeeyeOpaResult) DeepCopyInto(out *KubeeyeOpaResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
type Node struct { NodeName *string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoResultItem ¶
type NodeInfoResultItem struct { BaseResult `json:",inline"` ResourcesType ResourcesType `json:",inline"` Value string `json:"value,omitempty"` NodeName string `json:"nodeName,omitempty"` }
func (*NodeInfoResultItem) DeepCopy ¶
func (in *NodeInfoResultItem) DeepCopy() *NodeInfoResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoResultItem.
func (*NodeInfoResultItem) DeepCopyInto ¶
func (in *NodeInfoResultItem) DeepCopyInto(out *NodeInfoResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeInfoRule ¶ added in v1.0.3
type NodeInfoRule struct { RuleItemBases `json:",inline"` Node `json:",inline"` ResourcesType string `json:"resourcesType,omitempty"` Mount string `json:"mount,omitempty"` }
func (*NodeInfoRule) DeepCopy ¶ added in v1.0.3
func (in *NodeInfoRule) DeepCopy() *NodeInfoRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeInfoRule.
func (*NodeInfoRule) DeepCopyInto ¶ added in v1.0.3
func (in *NodeInfoRule) DeepCopyInto(out *NodeInfoRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeMetricsResultItem ¶
type NodeMetricsResultItem struct { BaseResult `json:",inline"` Value *string `json:"value,omitempty"` NodeName string `json:"nodeName,omitempty"` }
func (*NodeMetricsResultItem) DeepCopy ¶
func (in *NodeMetricsResultItem) DeepCopy() *NodeMetricsResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsResultItem.
func (*NodeMetricsResultItem) DeepCopyInto ¶
func (in *NodeMetricsResultItem) DeepCopyInto(out *NodeMetricsResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpaRule ¶
type OpaRule struct { RuleItemBases `json:",inline"` Module string `json:"module,omitempty"` }
func (*OpaRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpaRule.
func (*OpaRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusResult ¶
type PrometheusResult struct { BaseResult `json:",inline"` Result string `json:"result,omitempty"` RawDataEnabled bool `json:"rawDataEnabled,omitempty"` Rule string `json:"rule,omitempty"` }
func (*PrometheusResult) DeepCopy ¶
func (in *PrometheusResult) DeepCopy() *PrometheusResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusResult.
func (*PrometheusResult) DeepCopyInto ¶
func (in *PrometheusResult) DeepCopyInto(out *PrometheusResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusResult) ParseString ¶
func (p *PrometheusResult) ParseString() map[string]string
type PrometheusRule ¶
type PrometheusRule struct { RuleItemBases `json:",inline"` Endpoint string `json:"endpoint,omitempty"` RawDataEnabled bool `json:"rawDataEnabled,omitempty"` }
func (*PrometheusRule) DeepCopy ¶
func (in *PrometheusRule) DeepCopy() *PrometheusRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRule.
func (*PrometheusRule) DeepCopyInto ¶
func (in *PrometheusRule) DeepCopyInto(out *PrometheusRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceResult ¶
type ResourceResult struct { NameSpace string `json:"namespace,omitempty"` ResourceType string `json:"resourceType,omitempty"` Name string `json:"name,omitempty"` ResultItems []ResultItem `json:"resultItems,omitempty"` }
func (*ResourceResult) DeepCopy ¶
func (in *ResourceResult) DeepCopy() *ResourceResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceResult.
func (*ResourceResult) DeepCopyInto ¶
func (in *ResourceResult) DeepCopyInto(out *ResourceResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesType ¶
type ResourcesType struct { Mount string `json:"mount,omitempty"` Type string `json:"type,omitempty"` }
func (*ResourcesType) DeepCopy ¶
func (in *ResourcesType) DeepCopy() *ResourcesType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesType.
func (*ResourcesType) DeepCopyInto ¶
func (in *ResourcesType) DeepCopyInto(out *ResourcesType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResultItem ¶
type ResultItem struct { Level string `json:"level,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` }
func (*ResultItem) DeepCopy ¶
func (in *ResultItem) DeepCopy() *ResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultItem.
func (*ResultItem) DeepCopyInto ¶
func (in *ResultItem) DeepCopyInto(out *ResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleItemBases ¶
type RuleItemBases struct { Name string `json:"name,omitempty"` Rule string `json:"rule,omitempty"` Desc string `json:"desc,omitempty"` Level Level `json:"level,omitempty"` }
func (*RuleItemBases) DeepCopy ¶
func (in *RuleItemBases) DeepCopy() *RuleItemBases
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleItemBases.
func (*RuleItemBases) DeepCopyInto ¶
func (in *RuleItemBases) DeepCopyInto(out *RuleItemBases)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScoreInfo ¶
type ScoreInfo struct { Score int `json:"score,omitempty"` Total int `json:"total,omitempty"` Dangerous int `json:"dangerous,omitempty"` Warning int `json:"warning,omitempty"` Ignore int `json:"ignore,omitempty"` Passing int `json:"passing,omitempty"` }
func (*ScoreInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoreInfo.
func (*ScoreInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceConnectResultItem ¶
type ServiceConnectResultItem struct { BaseResult `json:",inline"` Namespace string `json:"namespace,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
func (*ServiceConnectResultItem) DeepCopy ¶
func (in *ServiceConnectResultItem) DeepCopy() *ServiceConnectResultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectResultItem.
func (*ServiceConnectResultItem) DeepCopyInto ¶
func (in *ServiceConnectResultItem) DeepCopyInto(out *ServiceConnectResultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceConnectRule ¶ added in v1.0.3
type ServiceConnectRule struct { RuleItemBases `json:",inline"` Namespace string `json:"namespace,omitempty"` Workspace string `json:"workspace,omitempty"` }
func (*ServiceConnectRule) DeepCopy ¶ added in v1.0.3
func (in *ServiceConnectRule) DeepCopy() *ServiceConnectRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectRule.
func (*ServiceConnectRule) DeepCopyInto ¶ added in v1.0.3
func (in *ServiceConnectRule) DeepCopyInto(out *ServiceConnectRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SysRule ¶
type SysRule struct { RuleItemBases `json:",inline"` Node `json:",inline"` }
func (*SysRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysRule.
func (*SysRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskNames ¶
type TaskNames struct { Name string `json:"name,omitempty"` TaskStatus Phase `json:"taskStatus,omitempty"` }
func (*TaskNames) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskNames.
func (*TaskNames) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.