Documentation
¶
Index ¶
- type BaseResultApplyConfiguration
- type ClusterApplyConfiguration
- type ClusterInfoApplyConfiguration
- func (b *ClusterInfoApplyConfiguration) WithClusterVersion(value string) *ClusterInfoApplyConfiguration
- func (b *ClusterInfoApplyConfiguration) WithNamespacesCount(value int) *ClusterInfoApplyConfiguration
- func (b *ClusterInfoApplyConfiguration) WithNodesCount(value int) *ClusterInfoApplyConfiguration
- type CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithAssert(value bool) *CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithCommand(value string) *CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithName(value string) *CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithNodeName(value string) *CommandResultItemApplyConfiguration
- func (b *CommandResultItemApplyConfiguration) WithValue(value string) *CommandResultItemApplyConfiguration
- type ComponentResultItemApplyConfiguration
- func (b *ComponentResultItemApplyConfiguration) WithAssert(value bool) *ComponentResultItemApplyConfiguration
- func (b *ComponentResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ComponentResultItemApplyConfiguration
- func (b *ComponentResultItemApplyConfiguration) WithName(value string) *ComponentResultItemApplyConfiguration
- type CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithCommand(value string) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithDesc(value string) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithName(value string) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithNodeName(value string) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *CustomCommandRuleApplyConfiguration
- func (b *CustomCommandRuleApplyConfiguration) WithRule(value string) *CustomCommandRuleApplyConfiguration
- type ExtraInfoApplyConfiguration
- type FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithAssert(value bool) *FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithIssues(values ...string) *FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithName(value string) *FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithNodeName(value string) *FileChangeResultItemApplyConfiguration
- func (b *FileChangeResultItemApplyConfiguration) WithPath(value string) *FileChangeResultItemApplyConfiguration
- type FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithDesc(value string) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithName(value string) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithNodeName(value string) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithPath(value string) *FileChangeRuleApplyConfiguration
- func (b *FileChangeRuleApplyConfiguration) WithRule(value string) *FileChangeRuleApplyConfiguration
- type FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithDesc(value string) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithName(value string) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithNodeName(value string) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithPath(value string) *FileFilterRuleApplyConfiguration
- func (b *FileFilterRuleApplyConfiguration) WithRule(value string) *FileFilterRuleApplyConfiguration
- type InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) GetName() *string
- func (b *InspectPlanApplyConfiguration) WithAPIVersion(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithAnnotations(entries map[string]string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithFinalizers(values ...string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithGenerateName(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithGeneration(value int64) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithKind(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithLabels(entries map[string]string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithName(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithNamespace(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithResourceVersion(value string) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithSpec(value *InspectPlanSpecApplyConfiguration) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithStatus(value *InspectPlanStatusApplyConfiguration) *InspectPlanApplyConfiguration
- func (b *InspectPlanApplyConfiguration) WithUID(value types.UID) *InspectPlanApplyConfiguration
- type InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithClusterName(values ...*ClusterApplyConfiguration) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithKubeConfig(value string) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithMaxTasks(value int) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithOnce(value v1.Time) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithRuleNames(values ...*InspectRuleNamesApplyConfiguration) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithSchedule(value string) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithSuspend(value bool) *InspectPlanSpecApplyConfiguration
- func (b *InspectPlanSpecApplyConfiguration) WithTimeout(value string) *InspectPlanSpecApplyConfiguration
- type InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithLastScheduleTime(value v1.Time) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithLastTaskEndTime(value v1.Time) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithLastTaskName(value string) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithLastTaskStartTime(value v1.Time) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithLastTaskStatus(value kubeeyev1alpha2.Phase) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithNextScheduleTime(value v1.Time) *InspectPlanStatusApplyConfiguration
- func (b *InspectPlanStatusApplyConfiguration) WithTaskNames(values ...*TaskNamesApplyConfiguration) *InspectPlanStatusApplyConfiguration
- type InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) GetName() *string
- func (b *InspectResultApplyConfiguration) WithAPIVersion(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithAnnotations(entries map[string]string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithFinalizers(values ...string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithGenerateName(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithGeneration(value int64) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithKind(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithLabels(entries map[string]string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithName(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithNamespace(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithResourceVersion(value string) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithSpec(value *InspectResultSpecApplyConfiguration) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithStatus(value *InspectResultStatusApplyConfiguration) *InspectResultApplyConfiguration
- func (b *InspectResultApplyConfiguration) WithUID(value types.UID) *InspectResultApplyConfiguration
- type InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithCommandResult(values ...*CommandResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithComponentResult(values ...*ComponentResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithFileChangeResult(values ...*FileChangeResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithFileFilterResult(values ...*FileChangeResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithInspectCluster(value *ClusterApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithInspectRuleTotal(entries map[string]int) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithNodeInfo(values ...*NodeInfoResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithOpaResult(value *KubeeyeOpaResultApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithPrometheusResult(values ...*PrometheusResultApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithServiceConnectResult(values ...*ServiceConnectResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithSysctlResult(values ...*NodeMetricsResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- func (b *InspectResultSpecApplyConfiguration) WithSystemdResult(values ...*NodeMetricsResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
- type InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithComplete(value bool) *InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithDuration(value string) *InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithLevel(entries map[kubeeyev1alpha2.Level]*int) *InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithPolicy(value kubeeyev1alpha2.Policy) *InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithTaskEndTime(value string) *InspectResultStatusApplyConfiguration
- func (b *InspectResultStatusApplyConfiguration) WithTaskStartTime(value string) *InspectResultStatusApplyConfiguration
- type InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) GetName() *string
- func (b *InspectRuleApplyConfiguration) WithAPIVersion(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithAnnotations(entries map[string]string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithFinalizers(values ...string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithGenerateName(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithGeneration(value int64) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithKind(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithLabels(entries map[string]string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithName(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithNamespace(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithResourceVersion(value string) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithSpec(value *InspectRuleSpecApplyConfiguration) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithStatus(value *InspectRuleStatusApplyConfiguration) *InspectRuleApplyConfiguration
- func (b *InspectRuleApplyConfiguration) WithUID(value types.UID) *InspectRuleApplyConfiguration
- type InspectRuleNamesApplyConfiguration
- func (b *InspectRuleNamesApplyConfiguration) WithName(value string) *InspectRuleNamesApplyConfiguration
- func (b *InspectRuleNamesApplyConfiguration) WithNodeName(value string) *InspectRuleNamesApplyConfiguration
- func (b *InspectRuleNamesApplyConfiguration) WithNodeSelector(entries map[string]string) *InspectRuleNamesApplyConfiguration
- type InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithComponentExclude(values ...string) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithCustomCommand(values ...*CustomCommandRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithFileChange(values ...*FileChangeRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithFileFilter(values ...*FileFilterRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithNodeInfo(values ...*NodeInfoRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithOpas(values ...*OpaRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithPromQL(values ...*PrometheusRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithPrometheus(value *PrometheusConfigApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithPrometheusEndpoint(value string) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithServiceConnect(values ...*ServiceConnectRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithSysctl(values ...*SysRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- func (b *InspectRuleSpecApplyConfiguration) WithSystemd(values ...*SysRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
- type InspectRuleStatusApplyConfiguration
- func (b *InspectRuleStatusApplyConfiguration) WithEndImportTime(value v1.Time) *InspectRuleStatusApplyConfiguration
- func (b *InspectRuleStatusApplyConfiguration) WithLevelCount(entries map[kubeeyev1alpha2.Level]*int) *InspectRuleStatusApplyConfiguration
- func (b *InspectRuleStatusApplyConfiguration) WithStartImportTime(value v1.Time) *InspectRuleStatusApplyConfiguration
- func (b *InspectRuleStatusApplyConfiguration) WithState(value kubeeyev1alpha2.State) *InspectRuleStatusApplyConfiguration
- type InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) GetName() *string
- func (b *InspectTaskApplyConfiguration) WithAPIVersion(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithAnnotations(entries map[string]string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithFinalizers(values ...string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithGenerateName(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithGeneration(value int64) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithKind(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithLabels(entries map[string]string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithName(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithNamespace(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithResourceVersion(value string) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithSpec(value *InspectTaskSpecApplyConfiguration) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithStatus(value *InspectTaskStatusApplyConfiguration) *InspectTaskApplyConfiguration
- func (b *InspectTaskApplyConfiguration) WithUID(value types.UID) *InspectTaskApplyConfiguration
- type InspectTaskSpecApplyConfiguration
- func (b *InspectTaskSpecApplyConfiguration) WithClusterName(values ...*ClusterApplyConfiguration) *InspectTaskSpecApplyConfiguration
- func (b *InspectTaskSpecApplyConfiguration) WithInspectPolicy(value kubeeyev1alpha2.Policy) *InspectTaskSpecApplyConfiguration
- func (b *InspectTaskSpecApplyConfiguration) WithRuleNames(values ...*InspectRuleNamesApplyConfiguration) *InspectTaskSpecApplyConfiguration
- func (b *InspectTaskSpecApplyConfiguration) WithTimeout(value string) *InspectTaskSpecApplyConfiguration
- type InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithClusterVersion(value string) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithDuration(value string) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithEndTimestamp(value v1.Time) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithInspectRuleType(values ...string) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithJobPhase(values ...*JobPhaseApplyConfiguration) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithNamespacesCount(value int) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithNodesCount(value int) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithStartTimestamp(value v1.Time) *InspectTaskStatusApplyConfiguration
- func (b *InspectTaskStatusApplyConfiguration) WithStatus(value kubeeyev1alpha2.Phase) *InspectTaskStatusApplyConfiguration
- type JobPhaseApplyConfiguration
- type KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithDangerous(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithIgnore(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithNamespacesList(values ...string) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithPassing(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithPercent(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithResourceResults(values ...*ResourceResultApplyConfiguration) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithScore(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithTotal(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithWarning(value int) *KubeeyeOpaResultApplyConfiguration
- func (b *KubeeyeOpaResultApplyConfiguration) WithWorkloadsCount(value int) *KubeeyeOpaResultApplyConfiguration
- type NodeApplyConfiguration
- type NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithAssert(value bool) *NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithName(value string) *NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithNodeName(value string) *NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithResourcesType(value *ResourcesTypeApplyConfiguration) *NodeInfoResultItemApplyConfiguration
- func (b *NodeInfoResultItemApplyConfiguration) WithValue(value string) *NodeInfoResultItemApplyConfiguration
- type NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithDesc(value string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithMount(value string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithName(value string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithNodeName(value string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithResourcesType(value string) *NodeInfoRuleApplyConfiguration
- func (b *NodeInfoRuleApplyConfiguration) WithRule(value string) *NodeInfoRuleApplyConfiguration
- type NodeMetricsResultItemApplyConfiguration
- func (b *NodeMetricsResultItemApplyConfiguration) WithAssert(value bool) *NodeMetricsResultItemApplyConfiguration
- func (b *NodeMetricsResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeMetricsResultItemApplyConfiguration
- func (b *NodeMetricsResultItemApplyConfiguration) WithName(value string) *NodeMetricsResultItemApplyConfiguration
- func (b *NodeMetricsResultItemApplyConfiguration) WithNodeName(value string) *NodeMetricsResultItemApplyConfiguration
- func (b *NodeMetricsResultItemApplyConfiguration) WithValue(value string) *NodeMetricsResultItemApplyConfiguration
- type OpaRuleApplyConfiguration
- func (b *OpaRuleApplyConfiguration) WithDesc(value string) *OpaRuleApplyConfiguration
- func (b *OpaRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *OpaRuleApplyConfiguration
- func (b *OpaRuleApplyConfiguration) WithModule(value string) *OpaRuleApplyConfiguration
- func (b *OpaRuleApplyConfiguration) WithName(value string) *OpaRuleApplyConfiguration
- func (b *OpaRuleApplyConfiguration) WithRule(value string) *OpaRuleApplyConfiguration
- type PrometheusConfigApplyConfiguration
- func (b *PrometheusConfigApplyConfiguration) WithBasicToken(value string) *PrometheusConfigApplyConfiguration
- func (b *PrometheusConfigApplyConfiguration) WithBearerToken(value string) *PrometheusConfigApplyConfiguration
- func (b *PrometheusConfigApplyConfiguration) WithEndpoint(value string) *PrometheusConfigApplyConfiguration
- func (b *PrometheusConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *PrometheusConfigApplyConfiguration
- type PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithAssert(value bool) *PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithName(value string) *PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithRawDataEnabled(value bool) *PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithResult(value string) *PrometheusResultApplyConfiguration
- func (b *PrometheusResultApplyConfiguration) WithRule(value string) *PrometheusResultApplyConfiguration
- type PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithDesc(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithName(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithPrometheus(value *PrometheusConfigApplyConfiguration) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithRawDataEnabled(value bool) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithRule(value string) *PrometheusRuleApplyConfiguration
- type ResourceResultApplyConfiguration
- func (b *ResourceResultApplyConfiguration) WithName(value string) *ResourceResultApplyConfiguration
- func (b *ResourceResultApplyConfiguration) WithNameSpace(value string) *ResourceResultApplyConfiguration
- func (b *ResourceResultApplyConfiguration) WithResourceType(value string) *ResourceResultApplyConfiguration
- func (b *ResourceResultApplyConfiguration) WithResultItems(values ...*ResultItemApplyConfiguration) *ResourceResultApplyConfiguration
- type ResourcesTypeApplyConfiguration
- type ResultItemApplyConfiguration
- type RuleItemBasesApplyConfiguration
- func (b *RuleItemBasesApplyConfiguration) WithDesc(value string) *RuleItemBasesApplyConfiguration
- func (b *RuleItemBasesApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *RuleItemBasesApplyConfiguration
- func (b *RuleItemBasesApplyConfiguration) WithName(value string) *RuleItemBasesApplyConfiguration
- func (b *RuleItemBasesApplyConfiguration) WithRule(value string) *RuleItemBasesApplyConfiguration
- type ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithDangerous(value int) *ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithIgnore(value int) *ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithPassing(value int) *ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithScore(value int) *ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithTotal(value int) *ScoreInfoApplyConfiguration
- func (b *ScoreInfoApplyConfiguration) WithWarning(value int) *ScoreInfoApplyConfiguration
- type ServiceConnectResultItemApplyConfiguration
- func (b *ServiceConnectResultItemApplyConfiguration) WithAssert(value bool) *ServiceConnectResultItemApplyConfiguration
- func (b *ServiceConnectResultItemApplyConfiguration) WithEndpoint(value string) *ServiceConnectResultItemApplyConfiguration
- func (b *ServiceConnectResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ServiceConnectResultItemApplyConfiguration
- func (b *ServiceConnectResultItemApplyConfiguration) WithName(value string) *ServiceConnectResultItemApplyConfiguration
- func (b *ServiceConnectResultItemApplyConfiguration) WithNamespace(value string) *ServiceConnectResultItemApplyConfiguration
- type ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithDesc(value string) *ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithName(value string) *ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithNamespace(value string) *ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithRule(value string) *ServiceConnectRuleApplyConfiguration
- func (b *ServiceConnectRuleApplyConfiguration) WithWorkspace(value string) *ServiceConnectRuleApplyConfiguration
- type SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithDesc(value string) *SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithName(value string) *SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithNodeName(value string) *SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *SysRuleApplyConfiguration
- func (b *SysRuleApplyConfiguration) WithRule(value string) *SysRuleApplyConfiguration
- type TaskNamesApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResultApplyConfiguration ¶
type BaseResultApplyConfiguration struct { Name *string `json:"name,omitempty"` Assert *bool `json:"assert,omitempty"` Level *kubeeyev1alpha2.Level `json:"level,omitempty"` }
BaseResultApplyConfiguration represents a declarative configuration of the BaseResult type for use with apply.
func BaseResult ¶
func BaseResult() *BaseResultApplyConfiguration
BaseResultApplyConfiguration constructs a declarative configuration of the BaseResult type for use with apply.
func (*BaseResultApplyConfiguration) WithAssert ¶
func (b *BaseResultApplyConfiguration) WithAssert(value bool) *BaseResultApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*BaseResultApplyConfiguration) WithLevel ¶
func (b *BaseResultApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *BaseResultApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*BaseResultApplyConfiguration) WithName ¶
func (b *BaseResultApplyConfiguration) WithName(value string) *BaseResultApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ClusterApplyConfiguration ¶
type ClusterApplyConfiguration struct { Name *string `json:"name,omitempty"` Provider *string `json:"provider,omitempty"` }
ClusterApplyConfiguration represents a declarative configuration of the Cluster type for use with apply.
func Cluster ¶
func Cluster() *ClusterApplyConfiguration
ClusterApplyConfiguration constructs a declarative configuration of the Cluster type for use with apply.
func (*ClusterApplyConfiguration) WithName ¶
func (b *ClusterApplyConfiguration) WithName(value string) *ClusterApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ClusterApplyConfiguration) WithProvider ¶
func (b *ClusterApplyConfiguration) WithProvider(value string) *ClusterApplyConfiguration
WithProvider sets the Provider field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Provider field is set to the value of the last call.
type ClusterInfoApplyConfiguration ¶
type ClusterInfoApplyConfiguration struct { ClusterVersion *string `json:"version,omitempty"` NodesCount *int `json:"nodesCount,omitempty"` NamespacesCount *int `json:"namespacesCount,omitempty"` }
ClusterInfoApplyConfiguration represents a declarative configuration of the ClusterInfo type for use with apply.
func ClusterInfo ¶
func ClusterInfo() *ClusterInfoApplyConfiguration
ClusterInfoApplyConfiguration constructs a declarative configuration of the ClusterInfo type for use with apply.
func (*ClusterInfoApplyConfiguration) WithClusterVersion ¶
func (b *ClusterInfoApplyConfiguration) WithClusterVersion(value string) *ClusterInfoApplyConfiguration
WithClusterVersion sets the ClusterVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterVersion field is set to the value of the last call.
func (*ClusterInfoApplyConfiguration) WithNamespacesCount ¶
func (b *ClusterInfoApplyConfiguration) WithNamespacesCount(value int) *ClusterInfoApplyConfiguration
WithNamespacesCount sets the NamespacesCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespacesCount field is set to the value of the last call.
func (*ClusterInfoApplyConfiguration) WithNodesCount ¶
func (b *ClusterInfoApplyConfiguration) WithNodesCount(value int) *ClusterInfoApplyConfiguration
WithNodesCount sets the NodesCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodesCount field is set to the value of the last call.
type CommandResultItemApplyConfiguration ¶
type CommandResultItemApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` Command *string `json:"command,omitempty"` Value *string `json:"value,omitempty"` NodeName *string `json:"nodeName,omitempty"` }
CommandResultItemApplyConfiguration represents a declarative configuration of the CommandResultItem type for use with apply.
func CommandResultItem ¶
func CommandResultItem() *CommandResultItemApplyConfiguration
CommandResultItemApplyConfiguration constructs a declarative configuration of the CommandResultItem type for use with apply.
func (*CommandResultItemApplyConfiguration) WithAssert ¶
func (b *CommandResultItemApplyConfiguration) WithAssert(value bool) *CommandResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*CommandResultItemApplyConfiguration) WithCommand ¶
func (b *CommandResultItemApplyConfiguration) WithCommand(value string) *CommandResultItemApplyConfiguration
WithCommand sets the Command field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Command field is set to the value of the last call.
func (*CommandResultItemApplyConfiguration) WithLevel ¶
func (b *CommandResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *CommandResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*CommandResultItemApplyConfiguration) WithName ¶
func (b *CommandResultItemApplyConfiguration) WithName(value string) *CommandResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*CommandResultItemApplyConfiguration) WithNodeName ¶
func (b *CommandResultItemApplyConfiguration) WithNodeName(value string) *CommandResultItemApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*CommandResultItemApplyConfiguration) WithValue ¶
func (b *CommandResultItemApplyConfiguration) WithValue(value string) *CommandResultItemApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type ComponentResultItemApplyConfiguration ¶
type ComponentResultItemApplyConfiguration struct {
BaseResultApplyConfiguration `json:",inline"`
}
ComponentResultItemApplyConfiguration represents a declarative configuration of the ComponentResultItem type for use with apply.
func ComponentResultItem ¶
func ComponentResultItem() *ComponentResultItemApplyConfiguration
ComponentResultItemApplyConfiguration constructs a declarative configuration of the ComponentResultItem type for use with apply.
func (*ComponentResultItemApplyConfiguration) WithAssert ¶
func (b *ComponentResultItemApplyConfiguration) WithAssert(value bool) *ComponentResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*ComponentResultItemApplyConfiguration) WithLevel ¶
func (b *ComponentResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ComponentResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*ComponentResultItemApplyConfiguration) WithName ¶
func (b *ComponentResultItemApplyConfiguration) WithName(value string) *ComponentResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type CustomCommandRuleApplyConfiguration ¶
type CustomCommandRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Command *string `json:"command,omitempty"` NodeApplyConfiguration `json:",inline"` }
CustomCommandRuleApplyConfiguration represents a declarative configuration of the CustomCommandRule type for use with apply.
func CustomCommandRule ¶
func CustomCommandRule() *CustomCommandRuleApplyConfiguration
CustomCommandRuleApplyConfiguration constructs a declarative configuration of the CustomCommandRule type for use with apply.
func (*CustomCommandRuleApplyConfiguration) WithCommand ¶
func (b *CustomCommandRuleApplyConfiguration) WithCommand(value string) *CustomCommandRuleApplyConfiguration
WithCommand sets the Command field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Command field is set to the value of the last call.
func (*CustomCommandRuleApplyConfiguration) WithDesc ¶
func (b *CustomCommandRuleApplyConfiguration) WithDesc(value string) *CustomCommandRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*CustomCommandRuleApplyConfiguration) WithLevel ¶
func (b *CustomCommandRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *CustomCommandRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*CustomCommandRuleApplyConfiguration) WithName ¶
func (b *CustomCommandRuleApplyConfiguration) WithName(value string) *CustomCommandRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*CustomCommandRuleApplyConfiguration) WithNodeName ¶
func (b *CustomCommandRuleApplyConfiguration) WithNodeName(value string) *CustomCommandRuleApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*CustomCommandRuleApplyConfiguration) WithNodeSelector ¶
func (b *CustomCommandRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *CustomCommandRuleApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*CustomCommandRuleApplyConfiguration) WithRule ¶
func (b *CustomCommandRuleApplyConfiguration) WithRule(value string) *CustomCommandRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type ExtraInfoApplyConfiguration ¶
type ExtraInfoApplyConfiguration struct { WorkloadsCount *int `json:"workloadsCount,omitempty"` NamespacesList []string `json:"namespacesList,omitempty"` }
ExtraInfoApplyConfiguration represents a declarative configuration of the ExtraInfo type for use with apply.
func ExtraInfo ¶
func ExtraInfo() *ExtraInfoApplyConfiguration
ExtraInfoApplyConfiguration constructs a declarative configuration of the ExtraInfo type for use with apply.
func (*ExtraInfoApplyConfiguration) WithNamespacesList ¶
func (b *ExtraInfoApplyConfiguration) WithNamespacesList(values ...string) *ExtraInfoApplyConfiguration
WithNamespacesList adds the given value to the NamespacesList field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NamespacesList field.
func (*ExtraInfoApplyConfiguration) WithWorkloadsCount ¶
func (b *ExtraInfoApplyConfiguration) WithWorkloadsCount(value int) *ExtraInfoApplyConfiguration
WithWorkloadsCount sets the WorkloadsCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkloadsCount field is set to the value of the last call.
type FileChangeResultItemApplyConfiguration ¶
type FileChangeResultItemApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` Issues []string `json:"issues,omitempty"` Path *string `json:"path,omitempty"` NodeName *string `json:"nodeName,omitempty"` }
FileChangeResultItemApplyConfiguration represents a declarative configuration of the FileChangeResultItem type for use with apply.
func FileChangeResultItem ¶
func FileChangeResultItem() *FileChangeResultItemApplyConfiguration
FileChangeResultItemApplyConfiguration constructs a declarative configuration of the FileChangeResultItem type for use with apply.
func (*FileChangeResultItemApplyConfiguration) WithAssert ¶
func (b *FileChangeResultItemApplyConfiguration) WithAssert(value bool) *FileChangeResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*FileChangeResultItemApplyConfiguration) WithIssues ¶
func (b *FileChangeResultItemApplyConfiguration) WithIssues(values ...string) *FileChangeResultItemApplyConfiguration
WithIssues adds the given value to the Issues field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Issues field.
func (*FileChangeResultItemApplyConfiguration) WithLevel ¶
func (b *FileChangeResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileChangeResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*FileChangeResultItemApplyConfiguration) WithName ¶
func (b *FileChangeResultItemApplyConfiguration) WithName(value string) *FileChangeResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FileChangeResultItemApplyConfiguration) WithNodeName ¶
func (b *FileChangeResultItemApplyConfiguration) WithNodeName(value string) *FileChangeResultItemApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*FileChangeResultItemApplyConfiguration) WithPath ¶
func (b *FileChangeResultItemApplyConfiguration) WithPath(value string) *FileChangeResultItemApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
type FileChangeRuleApplyConfiguration ¶
type FileChangeRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Path *string `json:"path,omitempty"` NodeApplyConfiguration `json:",inline"` }
FileChangeRuleApplyConfiguration represents a declarative configuration of the FileChangeRule type for use with apply.
func FileChangeRule ¶
func FileChangeRule() *FileChangeRuleApplyConfiguration
FileChangeRuleApplyConfiguration constructs a declarative configuration of the FileChangeRule type for use with apply.
func (*FileChangeRuleApplyConfiguration) WithDesc ¶
func (b *FileChangeRuleApplyConfiguration) WithDesc(value string) *FileChangeRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*FileChangeRuleApplyConfiguration) WithLevel ¶
func (b *FileChangeRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileChangeRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*FileChangeRuleApplyConfiguration) WithName ¶
func (b *FileChangeRuleApplyConfiguration) WithName(value string) *FileChangeRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FileChangeRuleApplyConfiguration) WithNodeName ¶
func (b *FileChangeRuleApplyConfiguration) WithNodeName(value string) *FileChangeRuleApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*FileChangeRuleApplyConfiguration) WithNodeSelector ¶
func (b *FileChangeRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *FileChangeRuleApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*FileChangeRuleApplyConfiguration) WithPath ¶
func (b *FileChangeRuleApplyConfiguration) WithPath(value string) *FileChangeRuleApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*FileChangeRuleApplyConfiguration) WithRule ¶
func (b *FileChangeRuleApplyConfiguration) WithRule(value string) *FileChangeRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type FileFilterRuleApplyConfiguration ¶
type FileFilterRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Path *string `json:"path,omitempty"` NodeApplyConfiguration `json:",inline"` }
FileFilterRuleApplyConfiguration represents a declarative configuration of the FileFilterRule type for use with apply.
func FileFilterRule ¶
func FileFilterRule() *FileFilterRuleApplyConfiguration
FileFilterRuleApplyConfiguration constructs a declarative configuration of the FileFilterRule type for use with apply.
func (*FileFilterRuleApplyConfiguration) WithDesc ¶
func (b *FileFilterRuleApplyConfiguration) WithDesc(value string) *FileFilterRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*FileFilterRuleApplyConfiguration) WithLevel ¶
func (b *FileFilterRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *FileFilterRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*FileFilterRuleApplyConfiguration) WithName ¶
func (b *FileFilterRuleApplyConfiguration) WithName(value string) *FileFilterRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FileFilterRuleApplyConfiguration) WithNodeName ¶
func (b *FileFilterRuleApplyConfiguration) WithNodeName(value string) *FileFilterRuleApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*FileFilterRuleApplyConfiguration) WithNodeSelector ¶
func (b *FileFilterRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *FileFilterRuleApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*FileFilterRuleApplyConfiguration) WithPath ¶
func (b *FileFilterRuleApplyConfiguration) WithPath(value string) *FileFilterRuleApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*FileFilterRuleApplyConfiguration) WithRule ¶
func (b *FileFilterRuleApplyConfiguration) WithRule(value string) *FileFilterRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type InspectPlanApplyConfiguration ¶
type InspectPlanApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InspectPlanSpecApplyConfiguration `json:"spec,omitempty"` Status *InspectPlanStatusApplyConfiguration `json:"status,omitempty"` }
InspectPlanApplyConfiguration represents a declarative configuration of the InspectPlan type for use with apply.
func InspectPlan ¶
func InspectPlan(name string) *InspectPlanApplyConfiguration
InspectPlan constructs a declarative configuration of the InspectPlan type for use with apply.
func (*InspectPlanApplyConfiguration) GetName ¶
func (b *InspectPlanApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*InspectPlanApplyConfiguration) WithAPIVersion ¶
func (b *InspectPlanApplyConfiguration) WithAPIVersion(value string) *InspectPlanApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithAnnotations ¶
func (b *InspectPlanApplyConfiguration) WithAnnotations(entries map[string]string) *InspectPlanApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*InspectPlanApplyConfiguration) WithCreationTimestamp ¶
func (b *InspectPlanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectPlanApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InspectPlanApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectPlanApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithDeletionTimestamp ¶
func (b *InspectPlanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectPlanApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithFinalizers ¶
func (b *InspectPlanApplyConfiguration) WithFinalizers(values ...string) *InspectPlanApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*InspectPlanApplyConfiguration) WithGenerateName ¶
func (b *InspectPlanApplyConfiguration) WithGenerateName(value string) *InspectPlanApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithGeneration ¶
func (b *InspectPlanApplyConfiguration) WithGeneration(value int64) *InspectPlanApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithKind ¶
func (b *InspectPlanApplyConfiguration) WithKind(value string) *InspectPlanApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithLabels ¶
func (b *InspectPlanApplyConfiguration) WithLabels(entries map[string]string) *InspectPlanApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*InspectPlanApplyConfiguration) WithName ¶
func (b *InspectPlanApplyConfiguration) WithName(value string) *InspectPlanApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithNamespace ¶
func (b *InspectPlanApplyConfiguration) WithNamespace(value string) *InspectPlanApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithOwnerReferences ¶
func (b *InspectPlanApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectPlanApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*InspectPlanApplyConfiguration) WithResourceVersion ¶
func (b *InspectPlanApplyConfiguration) WithResourceVersion(value string) *InspectPlanApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithSpec ¶
func (b *InspectPlanApplyConfiguration) WithSpec(value *InspectPlanSpecApplyConfiguration) *InspectPlanApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithStatus ¶
func (b *InspectPlanApplyConfiguration) WithStatus(value *InspectPlanStatusApplyConfiguration) *InspectPlanApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*InspectPlanApplyConfiguration) WithUID ¶
func (b *InspectPlanApplyConfiguration) WithUID(value types.UID) *InspectPlanApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type InspectPlanSpecApplyConfiguration ¶
type InspectPlanSpecApplyConfiguration struct { Schedule *string `json:"schedule,omitempty"` Suspend *bool `json:"suspend,omitempty"` Timeout *string `json:"timeout,omitempty"` RuleNames []InspectRuleNamesApplyConfiguration `json:"ruleNames,omitempty"` MaxTasks *int `json:"maxTasks,omitempty"` ClusterName []ClusterApplyConfiguration `json:"clusterName,omitempty"` KubeConfig *string `json:"kubeConfig,omitempty"` Once *v1.Time `json:"one,omitempty"` }
InspectPlanSpecApplyConfiguration represents a declarative configuration of the InspectPlanSpec type for use with apply.
func InspectPlanSpec ¶
func InspectPlanSpec() *InspectPlanSpecApplyConfiguration
InspectPlanSpecApplyConfiguration constructs a declarative configuration of the InspectPlanSpec type for use with apply.
func (*InspectPlanSpecApplyConfiguration) WithClusterName ¶
func (b *InspectPlanSpecApplyConfiguration) WithClusterName(values ...*ClusterApplyConfiguration) *InspectPlanSpecApplyConfiguration
WithClusterName adds the given value to the ClusterName field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ClusterName field.
func (*InspectPlanSpecApplyConfiguration) WithKubeConfig ¶
func (b *InspectPlanSpecApplyConfiguration) WithKubeConfig(value string) *InspectPlanSpecApplyConfiguration
WithKubeConfig sets the KubeConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeConfig field is set to the value of the last call.
func (*InspectPlanSpecApplyConfiguration) WithMaxTasks ¶
func (b *InspectPlanSpecApplyConfiguration) WithMaxTasks(value int) *InspectPlanSpecApplyConfiguration
WithMaxTasks sets the MaxTasks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxTasks field is set to the value of the last call.
func (*InspectPlanSpecApplyConfiguration) WithOnce ¶
func (b *InspectPlanSpecApplyConfiguration) WithOnce(value v1.Time) *InspectPlanSpecApplyConfiguration
WithOnce sets the Once field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Once field is set to the value of the last call.
func (*InspectPlanSpecApplyConfiguration) WithRuleNames ¶
func (b *InspectPlanSpecApplyConfiguration) WithRuleNames(values ...*InspectRuleNamesApplyConfiguration) *InspectPlanSpecApplyConfiguration
WithRuleNames adds the given value to the RuleNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RuleNames field.
func (*InspectPlanSpecApplyConfiguration) WithSchedule ¶
func (b *InspectPlanSpecApplyConfiguration) WithSchedule(value string) *InspectPlanSpecApplyConfiguration
WithSchedule sets the Schedule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Schedule field is set to the value of the last call.
func (*InspectPlanSpecApplyConfiguration) WithSuspend ¶
func (b *InspectPlanSpecApplyConfiguration) WithSuspend(value bool) *InspectPlanSpecApplyConfiguration
WithSuspend sets the Suspend field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Suspend field is set to the value of the last call.
func (*InspectPlanSpecApplyConfiguration) WithTimeout ¶
func (b *InspectPlanSpecApplyConfiguration) WithTimeout(value string) *InspectPlanSpecApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type InspectPlanStatusApplyConfiguration ¶
type InspectPlanStatusApplyConfiguration struct { LastScheduleTime *v1.Time `json:"lastScheduleTime,omitempty"` LastTaskStartTime *v1.Time `json:"lastTaskStartTime,omitempty"` LastTaskEndTime *v1.Time `json:"lastTaskEndTime,omitempty"` LastTaskName *string `json:"lastTaskName,omitempty"` TaskNames []TaskNamesApplyConfiguration `json:"TaskNames,omitempty"` LastTaskStatus *kubeeyev1alpha2.Phase `json:"lastTaskStatus,omitempty"` NextScheduleTime *v1.Time `json:"nextScheduleTime,omitempty"` }
InspectPlanStatusApplyConfiguration represents a declarative configuration of the InspectPlanStatus type for use with apply.
func InspectPlanStatus ¶
func InspectPlanStatus() *InspectPlanStatusApplyConfiguration
InspectPlanStatusApplyConfiguration constructs a declarative configuration of the InspectPlanStatus type for use with apply.
func (*InspectPlanStatusApplyConfiguration) WithLastScheduleTime ¶
func (b *InspectPlanStatusApplyConfiguration) WithLastScheduleTime(value v1.Time) *InspectPlanStatusApplyConfiguration
WithLastScheduleTime sets the LastScheduleTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScheduleTime field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithLastTaskEndTime ¶
func (b *InspectPlanStatusApplyConfiguration) WithLastTaskEndTime(value v1.Time) *InspectPlanStatusApplyConfiguration
WithLastTaskEndTime sets the LastTaskEndTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTaskEndTime field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithLastTaskName ¶
func (b *InspectPlanStatusApplyConfiguration) WithLastTaskName(value string) *InspectPlanStatusApplyConfiguration
WithLastTaskName sets the LastTaskName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTaskName field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithLastTaskStartTime ¶
func (b *InspectPlanStatusApplyConfiguration) WithLastTaskStartTime(value v1.Time) *InspectPlanStatusApplyConfiguration
WithLastTaskStartTime sets the LastTaskStartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTaskStartTime field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithLastTaskStatus ¶
func (b *InspectPlanStatusApplyConfiguration) WithLastTaskStatus(value kubeeyev1alpha2.Phase) *InspectPlanStatusApplyConfiguration
WithLastTaskStatus sets the LastTaskStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTaskStatus field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithNextScheduleTime ¶
func (b *InspectPlanStatusApplyConfiguration) WithNextScheduleTime(value v1.Time) *InspectPlanStatusApplyConfiguration
WithNextScheduleTime sets the NextScheduleTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NextScheduleTime field is set to the value of the last call.
func (*InspectPlanStatusApplyConfiguration) WithTaskNames ¶
func (b *InspectPlanStatusApplyConfiguration) WithTaskNames(values ...*TaskNamesApplyConfiguration) *InspectPlanStatusApplyConfiguration
WithTaskNames adds the given value to the TaskNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TaskNames field.
type InspectResultApplyConfiguration ¶
type InspectResultApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InspectResultSpecApplyConfiguration `json:"spec,omitempty"` Status *InspectResultStatusApplyConfiguration `json:"status,omitempty"` }
InspectResultApplyConfiguration represents a declarative configuration of the InspectResult type for use with apply.
func InspectResult ¶
func InspectResult(name string) *InspectResultApplyConfiguration
InspectResult constructs a declarative configuration of the InspectResult type for use with apply.
func (*InspectResultApplyConfiguration) GetName ¶
func (b *InspectResultApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*InspectResultApplyConfiguration) WithAPIVersion ¶
func (b *InspectResultApplyConfiguration) WithAPIVersion(value string) *InspectResultApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithAnnotations ¶
func (b *InspectResultApplyConfiguration) WithAnnotations(entries map[string]string) *InspectResultApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*InspectResultApplyConfiguration) WithCreationTimestamp ¶
func (b *InspectResultApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectResultApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InspectResultApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectResultApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithDeletionTimestamp ¶
func (b *InspectResultApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectResultApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithFinalizers ¶
func (b *InspectResultApplyConfiguration) WithFinalizers(values ...string) *InspectResultApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*InspectResultApplyConfiguration) WithGenerateName ¶
func (b *InspectResultApplyConfiguration) WithGenerateName(value string) *InspectResultApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithGeneration ¶
func (b *InspectResultApplyConfiguration) WithGeneration(value int64) *InspectResultApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithKind ¶
func (b *InspectResultApplyConfiguration) WithKind(value string) *InspectResultApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithLabels ¶
func (b *InspectResultApplyConfiguration) WithLabels(entries map[string]string) *InspectResultApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*InspectResultApplyConfiguration) WithName ¶
func (b *InspectResultApplyConfiguration) WithName(value string) *InspectResultApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithNamespace ¶
func (b *InspectResultApplyConfiguration) WithNamespace(value string) *InspectResultApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithOwnerReferences ¶
func (b *InspectResultApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectResultApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*InspectResultApplyConfiguration) WithResourceVersion ¶
func (b *InspectResultApplyConfiguration) WithResourceVersion(value string) *InspectResultApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithSpec ¶
func (b *InspectResultApplyConfiguration) WithSpec(value *InspectResultSpecApplyConfiguration) *InspectResultApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithStatus ¶
func (b *InspectResultApplyConfiguration) WithStatus(value *InspectResultStatusApplyConfiguration) *InspectResultApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*InspectResultApplyConfiguration) WithUID ¶
func (b *InspectResultApplyConfiguration) WithUID(value types.UID) *InspectResultApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type InspectResultSpecApplyConfiguration ¶
type InspectResultSpecApplyConfiguration struct { InspectCluster *ClusterApplyConfiguration `json:"inspectCluster,omitempty"` InspectRuleTotal map[string]int `json:"inspectRuleTotal,omitempty"` PrometheusResult []PrometheusResultApplyConfiguration `json:"prometheusResult,omitempty"` OpaResult *KubeeyeOpaResultApplyConfiguration `json:"opaResult,omitempty"` NodeInfo []NodeInfoResultItemApplyConfiguration `json:"nodeInfo,omitempty"` FileChangeResult []FileChangeResultItemApplyConfiguration `json:"fileChangeResult,omitempty"` FileFilterResult []FileChangeResultItemApplyConfiguration `json:"fileFilterResult,omitempty"` SysctlResult []NodeMetricsResultItemApplyConfiguration `json:"sysctlResult,omitempty"` SystemdResult []NodeMetricsResultItemApplyConfiguration `json:"systemdResult,omitempty"` CommandResult []CommandResultItemApplyConfiguration `json:"commandResult,omitempty"` ComponentResult []ComponentResultItemApplyConfiguration `json:"componentResult,omitempty"` ServiceConnectResult []ServiceConnectResultItemApplyConfiguration `json:"serviceConnectResult,omitempty"` }
InspectResultSpecApplyConfiguration represents a declarative configuration of the InspectResultSpec type for use with apply.
func InspectResultSpec ¶
func InspectResultSpec() *InspectResultSpecApplyConfiguration
InspectResultSpecApplyConfiguration constructs a declarative configuration of the InspectResultSpec type for use with apply.
func (*InspectResultSpecApplyConfiguration) WithCommandResult ¶
func (b *InspectResultSpecApplyConfiguration) WithCommandResult(values ...*CommandResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithCommandResult adds the given value to the CommandResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CommandResult field.
func (*InspectResultSpecApplyConfiguration) WithComponentResult ¶
func (b *InspectResultSpecApplyConfiguration) WithComponentResult(values ...*ComponentResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithComponentResult adds the given value to the ComponentResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ComponentResult field.
func (*InspectResultSpecApplyConfiguration) WithFileChangeResult ¶
func (b *InspectResultSpecApplyConfiguration) WithFileChangeResult(values ...*FileChangeResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithFileChangeResult adds the given value to the FileChangeResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the FileChangeResult field.
func (*InspectResultSpecApplyConfiguration) WithFileFilterResult ¶
func (b *InspectResultSpecApplyConfiguration) WithFileFilterResult(values ...*FileChangeResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithFileFilterResult adds the given value to the FileFilterResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the FileFilterResult field.
func (*InspectResultSpecApplyConfiguration) WithInspectCluster ¶
func (b *InspectResultSpecApplyConfiguration) WithInspectCluster(value *ClusterApplyConfiguration) *InspectResultSpecApplyConfiguration
WithInspectCluster sets the InspectCluster field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InspectCluster field is set to the value of the last call.
func (*InspectResultSpecApplyConfiguration) WithInspectRuleTotal ¶
func (b *InspectResultSpecApplyConfiguration) WithInspectRuleTotal(entries map[string]int) *InspectResultSpecApplyConfiguration
WithInspectRuleTotal puts the entries into the InspectRuleTotal field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the InspectRuleTotal field, overwriting an existing map entries in InspectRuleTotal field with the same key.
func (*InspectResultSpecApplyConfiguration) WithNodeInfo ¶
func (b *InspectResultSpecApplyConfiguration) WithNodeInfo(values ...*NodeInfoResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithNodeInfo adds the given value to the NodeInfo field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeInfo field.
func (*InspectResultSpecApplyConfiguration) WithOpaResult ¶
func (b *InspectResultSpecApplyConfiguration) WithOpaResult(value *KubeeyeOpaResultApplyConfiguration) *InspectResultSpecApplyConfiguration
WithOpaResult sets the OpaResult field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OpaResult field is set to the value of the last call.
func (*InspectResultSpecApplyConfiguration) WithPrometheusResult ¶
func (b *InspectResultSpecApplyConfiguration) WithPrometheusResult(values ...*PrometheusResultApplyConfiguration) *InspectResultSpecApplyConfiguration
WithPrometheusResult adds the given value to the PrometheusResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PrometheusResult field.
func (*InspectResultSpecApplyConfiguration) WithServiceConnectResult ¶
func (b *InspectResultSpecApplyConfiguration) WithServiceConnectResult(values ...*ServiceConnectResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithServiceConnectResult adds the given value to the ServiceConnectResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ServiceConnectResult field.
func (*InspectResultSpecApplyConfiguration) WithSysctlResult ¶
func (b *InspectResultSpecApplyConfiguration) WithSysctlResult(values ...*NodeMetricsResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithSysctlResult adds the given value to the SysctlResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SysctlResult field.
func (*InspectResultSpecApplyConfiguration) WithSystemdResult ¶
func (b *InspectResultSpecApplyConfiguration) WithSystemdResult(values ...*NodeMetricsResultItemApplyConfiguration) *InspectResultSpecApplyConfiguration
WithSystemdResult adds the given value to the SystemdResult field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SystemdResult field.
type InspectResultStatusApplyConfiguration ¶
type InspectResultStatusApplyConfiguration struct { Complete *bool `json:"complete,omitempty"` Policy *kubeeyev1alpha2.Policy `json:"policy,omitempty"` Duration *string `json:"duration,omitempty"` TaskStartTime *string `json:"taskStartTime,omitempty"` TaskEndTime *string `json:"taskEndTime,omitempty"` Level map[kubeeyev1alpha2.Level]*int `json:"level,omitempty"` }
InspectResultStatusApplyConfiguration represents a declarative configuration of the InspectResultStatus type for use with apply.
func InspectResultStatus ¶
func InspectResultStatus() *InspectResultStatusApplyConfiguration
InspectResultStatusApplyConfiguration constructs a declarative configuration of the InspectResultStatus type for use with apply.
func (*InspectResultStatusApplyConfiguration) WithComplete ¶
func (b *InspectResultStatusApplyConfiguration) WithComplete(value bool) *InspectResultStatusApplyConfiguration
WithComplete sets the Complete field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Complete field is set to the value of the last call.
func (*InspectResultStatusApplyConfiguration) WithDuration ¶
func (b *InspectResultStatusApplyConfiguration) WithDuration(value string) *InspectResultStatusApplyConfiguration
WithDuration sets the Duration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Duration field is set to the value of the last call.
func (*InspectResultStatusApplyConfiguration) WithLevel ¶
func (b *InspectResultStatusApplyConfiguration) WithLevel(entries map[kubeeyev1alpha2.Level]*int) *InspectResultStatusApplyConfiguration
WithLevel puts the entries into the Level field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Level field, overwriting an existing map entries in Level field with the same key.
func (*InspectResultStatusApplyConfiguration) WithPolicy ¶
func (b *InspectResultStatusApplyConfiguration) WithPolicy(value kubeeyev1alpha2.Policy) *InspectResultStatusApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
func (*InspectResultStatusApplyConfiguration) WithTaskEndTime ¶
func (b *InspectResultStatusApplyConfiguration) WithTaskEndTime(value string) *InspectResultStatusApplyConfiguration
WithTaskEndTime sets the TaskEndTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TaskEndTime field is set to the value of the last call.
func (*InspectResultStatusApplyConfiguration) WithTaskStartTime ¶
func (b *InspectResultStatusApplyConfiguration) WithTaskStartTime(value string) *InspectResultStatusApplyConfiguration
WithTaskStartTime sets the TaskStartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TaskStartTime field is set to the value of the last call.
type InspectRuleApplyConfiguration ¶
type InspectRuleApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InspectRuleSpecApplyConfiguration `json:"spec,omitempty"` Status *InspectRuleStatusApplyConfiguration `json:"status,omitempty"` }
InspectRuleApplyConfiguration represents a declarative configuration of the InspectRule type for use with apply.
func InspectRule ¶
func InspectRule(name string) *InspectRuleApplyConfiguration
InspectRule constructs a declarative configuration of the InspectRule type for use with apply.
func (*InspectRuleApplyConfiguration) GetName ¶
func (b *InspectRuleApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*InspectRuleApplyConfiguration) WithAPIVersion ¶
func (b *InspectRuleApplyConfiguration) WithAPIVersion(value string) *InspectRuleApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithAnnotations ¶
func (b *InspectRuleApplyConfiguration) WithAnnotations(entries map[string]string) *InspectRuleApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*InspectRuleApplyConfiguration) WithCreationTimestamp ¶
func (b *InspectRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectRuleApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InspectRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectRuleApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithDeletionTimestamp ¶
func (b *InspectRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectRuleApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithFinalizers ¶
func (b *InspectRuleApplyConfiguration) WithFinalizers(values ...string) *InspectRuleApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*InspectRuleApplyConfiguration) WithGenerateName ¶
func (b *InspectRuleApplyConfiguration) WithGenerateName(value string) *InspectRuleApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithGeneration ¶
func (b *InspectRuleApplyConfiguration) WithGeneration(value int64) *InspectRuleApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithKind ¶
func (b *InspectRuleApplyConfiguration) WithKind(value string) *InspectRuleApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithLabels ¶
func (b *InspectRuleApplyConfiguration) WithLabels(entries map[string]string) *InspectRuleApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*InspectRuleApplyConfiguration) WithName ¶
func (b *InspectRuleApplyConfiguration) WithName(value string) *InspectRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithNamespace ¶
func (b *InspectRuleApplyConfiguration) WithNamespace(value string) *InspectRuleApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithOwnerReferences ¶
func (b *InspectRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectRuleApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*InspectRuleApplyConfiguration) WithResourceVersion ¶
func (b *InspectRuleApplyConfiguration) WithResourceVersion(value string) *InspectRuleApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithSpec ¶
func (b *InspectRuleApplyConfiguration) WithSpec(value *InspectRuleSpecApplyConfiguration) *InspectRuleApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithStatus ¶
func (b *InspectRuleApplyConfiguration) WithStatus(value *InspectRuleStatusApplyConfiguration) *InspectRuleApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*InspectRuleApplyConfiguration) WithUID ¶
func (b *InspectRuleApplyConfiguration) WithUID(value types.UID) *InspectRuleApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type InspectRuleNamesApplyConfiguration ¶
type InspectRuleNamesApplyConfiguration struct { Name *string `json:"name,omitempty"` NodeName *string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
InspectRuleNamesApplyConfiguration represents a declarative configuration of the InspectRuleNames type for use with apply.
func InspectRuleNames ¶
func InspectRuleNames() *InspectRuleNamesApplyConfiguration
InspectRuleNamesApplyConfiguration constructs a declarative configuration of the InspectRuleNames type for use with apply.
func (*InspectRuleNamesApplyConfiguration) WithName ¶
func (b *InspectRuleNamesApplyConfiguration) WithName(value string) *InspectRuleNamesApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InspectRuleNamesApplyConfiguration) WithNodeName ¶
func (b *InspectRuleNamesApplyConfiguration) WithNodeName(value string) *InspectRuleNamesApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*InspectRuleNamesApplyConfiguration) WithNodeSelector ¶
func (b *InspectRuleNamesApplyConfiguration) WithNodeSelector(entries map[string]string) *InspectRuleNamesApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
type InspectRuleSpecApplyConfiguration ¶
type InspectRuleSpecApplyConfiguration struct { ComponentExclude []string `json:"componentExclude,omitempty"` PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty"` Opas []OpaRuleApplyConfiguration `json:"opas,omitempty"` Prometheus *PrometheusConfigApplyConfiguration `json:"prometheus,omitempty"` PromQL []PrometheusRuleApplyConfiguration `json:"promQL,omitempty"` FileChange []FileChangeRuleApplyConfiguration `json:"fileChange,omitempty"` Sysctl []SysRuleApplyConfiguration `json:"sysctl,omitempty"` Systemd []SysRuleApplyConfiguration `json:"systemd,omitempty"` FileFilter []FileFilterRuleApplyConfiguration `json:"fileFilter,omitempty"` CustomCommand []CustomCommandRuleApplyConfiguration `json:"customCommand,omitempty"` NodeInfo []NodeInfoRuleApplyConfiguration `json:"nodeInfo,omitempty"` ServiceConnect []ServiceConnectRuleApplyConfiguration `json:"serviceConnect,omitempty"` }
InspectRuleSpecApplyConfiguration represents a declarative configuration of the InspectRuleSpec type for use with apply.
func InspectRuleSpec ¶
func InspectRuleSpec() *InspectRuleSpecApplyConfiguration
InspectRuleSpecApplyConfiguration constructs a declarative configuration of the InspectRuleSpec type for use with apply.
func (*InspectRuleSpecApplyConfiguration) WithComponentExclude ¶
func (b *InspectRuleSpecApplyConfiguration) WithComponentExclude(values ...string) *InspectRuleSpecApplyConfiguration
WithComponentExclude adds the given value to the ComponentExclude field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ComponentExclude field.
func (*InspectRuleSpecApplyConfiguration) WithCustomCommand ¶
func (b *InspectRuleSpecApplyConfiguration) WithCustomCommand(values ...*CustomCommandRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithCustomCommand adds the given value to the CustomCommand field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CustomCommand field.
func (*InspectRuleSpecApplyConfiguration) WithFileChange ¶
func (b *InspectRuleSpecApplyConfiguration) WithFileChange(values ...*FileChangeRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithFileChange adds the given value to the FileChange field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the FileChange field.
func (*InspectRuleSpecApplyConfiguration) WithFileFilter ¶
func (b *InspectRuleSpecApplyConfiguration) WithFileFilter(values ...*FileFilterRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithFileFilter adds the given value to the FileFilter field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the FileFilter field.
func (*InspectRuleSpecApplyConfiguration) WithNodeInfo ¶
func (b *InspectRuleSpecApplyConfiguration) WithNodeInfo(values ...*NodeInfoRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithNodeInfo adds the given value to the NodeInfo field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeInfo field.
func (*InspectRuleSpecApplyConfiguration) WithOpas ¶
func (b *InspectRuleSpecApplyConfiguration) WithOpas(values ...*OpaRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithOpas adds the given value to the Opas field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Opas field.
func (*InspectRuleSpecApplyConfiguration) WithPromQL ¶
func (b *InspectRuleSpecApplyConfiguration) WithPromQL(values ...*PrometheusRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithPromQL adds the given value to the PromQL field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PromQL field.
func (*InspectRuleSpecApplyConfiguration) WithPrometheus ¶
func (b *InspectRuleSpecApplyConfiguration) WithPrometheus(value *PrometheusConfigApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithPrometheus sets the Prometheus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Prometheus field is set to the value of the last call.
func (*InspectRuleSpecApplyConfiguration) WithPrometheusEndpoint ¶
func (b *InspectRuleSpecApplyConfiguration) WithPrometheusEndpoint(value string) *InspectRuleSpecApplyConfiguration
WithPrometheusEndpoint sets the PrometheusEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrometheusEndpoint field is set to the value of the last call.
func (*InspectRuleSpecApplyConfiguration) WithServiceConnect ¶
func (b *InspectRuleSpecApplyConfiguration) WithServiceConnect(values ...*ServiceConnectRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithServiceConnect adds the given value to the ServiceConnect field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ServiceConnect field.
func (*InspectRuleSpecApplyConfiguration) WithSysctl ¶
func (b *InspectRuleSpecApplyConfiguration) WithSysctl(values ...*SysRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithSysctl adds the given value to the Sysctl field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Sysctl field.
func (*InspectRuleSpecApplyConfiguration) WithSystemd ¶
func (b *InspectRuleSpecApplyConfiguration) WithSystemd(values ...*SysRuleApplyConfiguration) *InspectRuleSpecApplyConfiguration
WithSystemd adds the given value to the Systemd field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Systemd field.
type InspectRuleStatusApplyConfiguration ¶
type InspectRuleStatusApplyConfiguration struct { StartImportTime *v1.Time `json:"startImportTime,omitempty"` EndImportTime *v1.Time `json:"endImportTime,omitempty"` State *kubeeyev1alpha2.State `json:"state,omitempty"` LevelCount map[kubeeyev1alpha2.Level]*int `json:"levelCount,omitempty"` }
InspectRuleStatusApplyConfiguration represents a declarative configuration of the InspectRuleStatus type for use with apply.
func InspectRuleStatus ¶
func InspectRuleStatus() *InspectRuleStatusApplyConfiguration
InspectRuleStatusApplyConfiguration constructs a declarative configuration of the InspectRuleStatus type for use with apply.
func (*InspectRuleStatusApplyConfiguration) WithEndImportTime ¶
func (b *InspectRuleStatusApplyConfiguration) WithEndImportTime(value v1.Time) *InspectRuleStatusApplyConfiguration
WithEndImportTime sets the EndImportTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndImportTime field is set to the value of the last call.
func (*InspectRuleStatusApplyConfiguration) WithLevelCount ¶
func (b *InspectRuleStatusApplyConfiguration) WithLevelCount(entries map[kubeeyev1alpha2.Level]*int) *InspectRuleStatusApplyConfiguration
WithLevelCount puts the entries into the LevelCount field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the LevelCount field, overwriting an existing map entries in LevelCount field with the same key.
func (*InspectRuleStatusApplyConfiguration) WithStartImportTime ¶
func (b *InspectRuleStatusApplyConfiguration) WithStartImportTime(value v1.Time) *InspectRuleStatusApplyConfiguration
WithStartImportTime sets the StartImportTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartImportTime field is set to the value of the last call.
func (*InspectRuleStatusApplyConfiguration) WithState ¶
func (b *InspectRuleStatusApplyConfiguration) WithState(value kubeeyev1alpha2.State) *InspectRuleStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type InspectTaskApplyConfiguration ¶
type InspectTaskApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InspectTaskSpecApplyConfiguration `json:"spec,omitempty"` Status *InspectTaskStatusApplyConfiguration `json:"status,omitempty"` }
InspectTaskApplyConfiguration represents a declarative configuration of the InspectTask type for use with apply.
func InspectTask ¶
func InspectTask(name string) *InspectTaskApplyConfiguration
InspectTask constructs a declarative configuration of the InspectTask type for use with apply.
func (*InspectTaskApplyConfiguration) GetName ¶
func (b *InspectTaskApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*InspectTaskApplyConfiguration) WithAPIVersion ¶
func (b *InspectTaskApplyConfiguration) WithAPIVersion(value string) *InspectTaskApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithAnnotations ¶
func (b *InspectTaskApplyConfiguration) WithAnnotations(entries map[string]string) *InspectTaskApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*InspectTaskApplyConfiguration) WithCreationTimestamp ¶
func (b *InspectTaskApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InspectTaskApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InspectTaskApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InspectTaskApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithDeletionTimestamp ¶
func (b *InspectTaskApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InspectTaskApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithFinalizers ¶
func (b *InspectTaskApplyConfiguration) WithFinalizers(values ...string) *InspectTaskApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*InspectTaskApplyConfiguration) WithGenerateName ¶
func (b *InspectTaskApplyConfiguration) WithGenerateName(value string) *InspectTaskApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithGeneration ¶
func (b *InspectTaskApplyConfiguration) WithGeneration(value int64) *InspectTaskApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithKind ¶
func (b *InspectTaskApplyConfiguration) WithKind(value string) *InspectTaskApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithLabels ¶
func (b *InspectTaskApplyConfiguration) WithLabels(entries map[string]string) *InspectTaskApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*InspectTaskApplyConfiguration) WithName ¶
func (b *InspectTaskApplyConfiguration) WithName(value string) *InspectTaskApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithNamespace ¶
func (b *InspectTaskApplyConfiguration) WithNamespace(value string) *InspectTaskApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithOwnerReferences ¶
func (b *InspectTaskApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InspectTaskApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*InspectTaskApplyConfiguration) WithResourceVersion ¶
func (b *InspectTaskApplyConfiguration) WithResourceVersion(value string) *InspectTaskApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithSpec ¶
func (b *InspectTaskApplyConfiguration) WithSpec(value *InspectTaskSpecApplyConfiguration) *InspectTaskApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithStatus ¶
func (b *InspectTaskApplyConfiguration) WithStatus(value *InspectTaskStatusApplyConfiguration) *InspectTaskApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*InspectTaskApplyConfiguration) WithUID ¶
func (b *InspectTaskApplyConfiguration) WithUID(value types.UID) *InspectTaskApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type InspectTaskSpecApplyConfiguration ¶
type InspectTaskSpecApplyConfiguration struct { ClusterName []ClusterApplyConfiguration `json:"clusterName,omitempty"` RuleNames []InspectRuleNamesApplyConfiguration `json:"ruleNames,omitempty"` Timeout *string `json:"timeout,omitempty"` InspectPolicy *kubeeyev1alpha2.Policy `json:"inspectPolicy,omitempty"` }
InspectTaskSpecApplyConfiguration represents a declarative configuration of the InspectTaskSpec type for use with apply.
func InspectTaskSpec ¶
func InspectTaskSpec() *InspectTaskSpecApplyConfiguration
InspectTaskSpecApplyConfiguration constructs a declarative configuration of the InspectTaskSpec type for use with apply.
func (*InspectTaskSpecApplyConfiguration) WithClusterName ¶
func (b *InspectTaskSpecApplyConfiguration) WithClusterName(values ...*ClusterApplyConfiguration) *InspectTaskSpecApplyConfiguration
WithClusterName adds the given value to the ClusterName field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ClusterName field.
func (*InspectTaskSpecApplyConfiguration) WithInspectPolicy ¶
func (b *InspectTaskSpecApplyConfiguration) WithInspectPolicy(value kubeeyev1alpha2.Policy) *InspectTaskSpecApplyConfiguration
WithInspectPolicy sets the InspectPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InspectPolicy field is set to the value of the last call.
func (*InspectTaskSpecApplyConfiguration) WithRuleNames ¶
func (b *InspectTaskSpecApplyConfiguration) WithRuleNames(values ...*InspectRuleNamesApplyConfiguration) *InspectTaskSpecApplyConfiguration
WithRuleNames adds the given value to the RuleNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RuleNames field.
func (*InspectTaskSpecApplyConfiguration) WithTimeout ¶
func (b *InspectTaskSpecApplyConfiguration) WithTimeout(value string) *InspectTaskSpecApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type InspectTaskStatusApplyConfiguration ¶
type InspectTaskStatusApplyConfiguration struct { *ClusterInfoApplyConfiguration `json:"clusterInfo,omitempty"` JobPhase []JobPhaseApplyConfiguration `json:"jobPhase,omitempty"` StartTimestamp *v1.Time `json:"startTimestamp,omitempty"` EndTimestamp *v1.Time `json:"endTimestamp,omitempty"` Duration *string `json:"duration,omitempty"` Status *kubeeyev1alpha2.Phase `json:"status,omitempty"` InspectRuleType []string `json:"inspectRuleType,omitempty"` }
InspectTaskStatusApplyConfiguration represents a declarative configuration of the InspectTaskStatus type for use with apply.
func InspectTaskStatus ¶
func InspectTaskStatus() *InspectTaskStatusApplyConfiguration
InspectTaskStatusApplyConfiguration constructs a declarative configuration of the InspectTaskStatus type for use with apply.
func (*InspectTaskStatusApplyConfiguration) WithClusterVersion ¶
func (b *InspectTaskStatusApplyConfiguration) WithClusterVersion(value string) *InspectTaskStatusApplyConfiguration
WithClusterVersion sets the ClusterVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterVersion field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithDuration ¶
func (b *InspectTaskStatusApplyConfiguration) WithDuration(value string) *InspectTaskStatusApplyConfiguration
WithDuration sets the Duration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Duration field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithEndTimestamp ¶
func (b *InspectTaskStatusApplyConfiguration) WithEndTimestamp(value v1.Time) *InspectTaskStatusApplyConfiguration
WithEndTimestamp sets the EndTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndTimestamp field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithInspectRuleType ¶
func (b *InspectTaskStatusApplyConfiguration) WithInspectRuleType(values ...string) *InspectTaskStatusApplyConfiguration
WithInspectRuleType adds the given value to the InspectRuleType field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InspectRuleType field.
func (*InspectTaskStatusApplyConfiguration) WithJobPhase ¶
func (b *InspectTaskStatusApplyConfiguration) WithJobPhase(values ...*JobPhaseApplyConfiguration) *InspectTaskStatusApplyConfiguration
WithJobPhase adds the given value to the JobPhase field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the JobPhase field.
func (*InspectTaskStatusApplyConfiguration) WithNamespacesCount ¶
func (b *InspectTaskStatusApplyConfiguration) WithNamespacesCount(value int) *InspectTaskStatusApplyConfiguration
WithNamespacesCount sets the NamespacesCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespacesCount field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithNodesCount ¶
func (b *InspectTaskStatusApplyConfiguration) WithNodesCount(value int) *InspectTaskStatusApplyConfiguration
WithNodesCount sets the NodesCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodesCount field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithStartTimestamp ¶
func (b *InspectTaskStatusApplyConfiguration) WithStartTimestamp(value v1.Time) *InspectTaskStatusApplyConfiguration
WithStartTimestamp sets the StartTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTimestamp field is set to the value of the last call.
func (*InspectTaskStatusApplyConfiguration) WithStatus ¶
func (b *InspectTaskStatusApplyConfiguration) WithStatus(value kubeeyev1alpha2.Phase) *InspectTaskStatusApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
type JobPhaseApplyConfiguration ¶
type JobPhaseApplyConfiguration struct { JobName *string `json:"jobName,omitempty"` Phase *kubeeyev1alpha2.Phase `json:"phase,omitempty"` }
JobPhaseApplyConfiguration represents a declarative configuration of the JobPhase type for use with apply.
func JobPhase ¶
func JobPhase() *JobPhaseApplyConfiguration
JobPhaseApplyConfiguration constructs a declarative configuration of the JobPhase type for use with apply.
func (*JobPhaseApplyConfiguration) WithJobName ¶
func (b *JobPhaseApplyConfiguration) WithJobName(value string) *JobPhaseApplyConfiguration
WithJobName sets the JobName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobName field is set to the value of the last call.
func (*JobPhaseApplyConfiguration) WithPhase ¶
func (b *JobPhaseApplyConfiguration) WithPhase(value kubeeyev1alpha2.Phase) *JobPhaseApplyConfiguration
WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.
type KubeeyeOpaResultApplyConfiguration ¶
type KubeeyeOpaResultApplyConfiguration struct { *ScoreInfoApplyConfiguration `json:"scoreInfo,omitempty"` ResourceResults []ResourceResultApplyConfiguration `json:"resourceResults,omitempty"` Percent *int `json:"percent,omitempty"` *ExtraInfoApplyConfiguration `json:"extraInfo,omitempty"` }
KubeeyeOpaResultApplyConfiguration represents a declarative configuration of the KubeeyeOpaResult type for use with apply.
func KubeeyeOpaResult ¶
func KubeeyeOpaResult() *KubeeyeOpaResultApplyConfiguration
KubeeyeOpaResultApplyConfiguration constructs a declarative configuration of the KubeeyeOpaResult type for use with apply.
func (*KubeeyeOpaResultApplyConfiguration) WithDangerous ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithDangerous(value int) *KubeeyeOpaResultApplyConfiguration
WithDangerous sets the Dangerous field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Dangerous field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithIgnore ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithIgnore(value int) *KubeeyeOpaResultApplyConfiguration
WithIgnore sets the Ignore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ignore field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithNamespacesList ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithNamespacesList(values ...string) *KubeeyeOpaResultApplyConfiguration
WithNamespacesList adds the given value to the NamespacesList field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NamespacesList field.
func (*KubeeyeOpaResultApplyConfiguration) WithPassing ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithPassing(value int) *KubeeyeOpaResultApplyConfiguration
WithPassing sets the Passing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Passing field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithPercent ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithPercent(value int) *KubeeyeOpaResultApplyConfiguration
WithPercent sets the Percent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Percent field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithResourceResults ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithResourceResults(values ...*ResourceResultApplyConfiguration) *KubeeyeOpaResultApplyConfiguration
WithResourceResults adds the given value to the ResourceResults field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ResourceResults field.
func (*KubeeyeOpaResultApplyConfiguration) WithScore ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithScore(value int) *KubeeyeOpaResultApplyConfiguration
WithScore sets the Score field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Score field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithTotal ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithTotal(value int) *KubeeyeOpaResultApplyConfiguration
WithTotal sets the Total field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Total field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithWarning ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithWarning(value int) *KubeeyeOpaResultApplyConfiguration
WithWarning sets the Warning field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Warning field is set to the value of the last call.
func (*KubeeyeOpaResultApplyConfiguration) WithWorkloadsCount ¶
func (b *KubeeyeOpaResultApplyConfiguration) WithWorkloadsCount(value int) *KubeeyeOpaResultApplyConfiguration
WithWorkloadsCount sets the WorkloadsCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WorkloadsCount field is set to the value of the last call.
type NodeApplyConfiguration ¶
type NodeApplyConfiguration struct { NodeName *string `json:"nodeName,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
NodeApplyConfiguration represents a declarative configuration of the Node type for use with apply.
func Node ¶
func Node() *NodeApplyConfiguration
NodeApplyConfiguration constructs a declarative configuration of the Node type for use with apply.
func (*NodeApplyConfiguration) WithNodeName ¶
func (b *NodeApplyConfiguration) WithNodeName(value string) *NodeApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*NodeApplyConfiguration) WithNodeSelector ¶
func (b *NodeApplyConfiguration) WithNodeSelector(entries map[string]string) *NodeApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
type NodeInfoResultItemApplyConfiguration ¶
type NodeInfoResultItemApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` ResourcesType *ResourcesTypeApplyConfiguration `json:",inline"` Value *string `json:"value,omitempty"` NodeName *string `json:"nodeName,omitempty"` }
NodeInfoResultItemApplyConfiguration represents a declarative configuration of the NodeInfoResultItem type for use with apply.
func NodeInfoResultItem ¶
func NodeInfoResultItem() *NodeInfoResultItemApplyConfiguration
NodeInfoResultItemApplyConfiguration constructs a declarative configuration of the NodeInfoResultItem type for use with apply.
func (*NodeInfoResultItemApplyConfiguration) WithAssert ¶
func (b *NodeInfoResultItemApplyConfiguration) WithAssert(value bool) *NodeInfoResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*NodeInfoResultItemApplyConfiguration) WithLevel ¶
func (b *NodeInfoResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeInfoResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*NodeInfoResultItemApplyConfiguration) WithName ¶
func (b *NodeInfoResultItemApplyConfiguration) WithName(value string) *NodeInfoResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*NodeInfoResultItemApplyConfiguration) WithNodeName ¶
func (b *NodeInfoResultItemApplyConfiguration) WithNodeName(value string) *NodeInfoResultItemApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*NodeInfoResultItemApplyConfiguration) WithResourcesType ¶
func (b *NodeInfoResultItemApplyConfiguration) WithResourcesType(value *ResourcesTypeApplyConfiguration) *NodeInfoResultItemApplyConfiguration
WithResourcesType sets the ResourcesType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourcesType field is set to the value of the last call.
func (*NodeInfoResultItemApplyConfiguration) WithValue ¶
func (b *NodeInfoResultItemApplyConfiguration) WithValue(value string) *NodeInfoResultItemApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type NodeInfoRuleApplyConfiguration ¶
type NodeInfoRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` NodeApplyConfiguration `json:",inline"` ResourcesType *string `json:"resourcesType,omitempty"` Mount *string `json:"mount,omitempty"` }
NodeInfoRuleApplyConfiguration represents a declarative configuration of the NodeInfoRule type for use with apply.
func NodeInfoRule ¶
func NodeInfoRule() *NodeInfoRuleApplyConfiguration
NodeInfoRuleApplyConfiguration constructs a declarative configuration of the NodeInfoRule type for use with apply.
func (*NodeInfoRuleApplyConfiguration) WithDesc ¶
func (b *NodeInfoRuleApplyConfiguration) WithDesc(value string) *NodeInfoRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithLevel ¶
func (b *NodeInfoRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeInfoRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithMount ¶
func (b *NodeInfoRuleApplyConfiguration) WithMount(value string) *NodeInfoRuleApplyConfiguration
WithMount sets the Mount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mount field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithName ¶
func (b *NodeInfoRuleApplyConfiguration) WithName(value string) *NodeInfoRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithNodeName ¶
func (b *NodeInfoRuleApplyConfiguration) WithNodeName(value string) *NodeInfoRuleApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithNodeSelector ¶
func (b *NodeInfoRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *NodeInfoRuleApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*NodeInfoRuleApplyConfiguration) WithResourcesType ¶
func (b *NodeInfoRuleApplyConfiguration) WithResourcesType(value string) *NodeInfoRuleApplyConfiguration
WithResourcesType sets the ResourcesType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourcesType field is set to the value of the last call.
func (*NodeInfoRuleApplyConfiguration) WithRule ¶
func (b *NodeInfoRuleApplyConfiguration) WithRule(value string) *NodeInfoRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type NodeMetricsResultItemApplyConfiguration ¶
type NodeMetricsResultItemApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` Value *string `json:"value,omitempty"` NodeName *string `json:"nodeName,omitempty"` }
NodeMetricsResultItemApplyConfiguration represents a declarative configuration of the NodeMetricsResultItem type for use with apply.
func NodeMetricsResultItem ¶
func NodeMetricsResultItem() *NodeMetricsResultItemApplyConfiguration
NodeMetricsResultItemApplyConfiguration constructs a declarative configuration of the NodeMetricsResultItem type for use with apply.
func (*NodeMetricsResultItemApplyConfiguration) WithAssert ¶
func (b *NodeMetricsResultItemApplyConfiguration) WithAssert(value bool) *NodeMetricsResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*NodeMetricsResultItemApplyConfiguration) WithLevel ¶
func (b *NodeMetricsResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *NodeMetricsResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*NodeMetricsResultItemApplyConfiguration) WithName ¶
func (b *NodeMetricsResultItemApplyConfiguration) WithName(value string) *NodeMetricsResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*NodeMetricsResultItemApplyConfiguration) WithNodeName ¶
func (b *NodeMetricsResultItemApplyConfiguration) WithNodeName(value string) *NodeMetricsResultItemApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*NodeMetricsResultItemApplyConfiguration) WithValue ¶
func (b *NodeMetricsResultItemApplyConfiguration) WithValue(value string) *NodeMetricsResultItemApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type OpaRuleApplyConfiguration ¶
type OpaRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Module *string `json:"module,omitempty"` }
OpaRuleApplyConfiguration represents a declarative configuration of the OpaRule type for use with apply.
func OpaRule ¶
func OpaRule() *OpaRuleApplyConfiguration
OpaRuleApplyConfiguration constructs a declarative configuration of the OpaRule type for use with apply.
func (*OpaRuleApplyConfiguration) WithDesc ¶
func (b *OpaRuleApplyConfiguration) WithDesc(value string) *OpaRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*OpaRuleApplyConfiguration) WithLevel ¶
func (b *OpaRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *OpaRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*OpaRuleApplyConfiguration) WithModule ¶
func (b *OpaRuleApplyConfiguration) WithModule(value string) *OpaRuleApplyConfiguration
WithModule sets the Module field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Module field is set to the value of the last call.
func (*OpaRuleApplyConfiguration) WithName ¶
func (b *OpaRuleApplyConfiguration) WithName(value string) *OpaRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpaRuleApplyConfiguration) WithRule ¶
func (b *OpaRuleApplyConfiguration) WithRule(value string) *OpaRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type PrometheusConfigApplyConfiguration ¶
type PrometheusConfigApplyConfiguration struct { Endpoint *string `json:"endpoint,omitempty"` BasicToken *string `json:"basicToken,omitempty"` BearerToken *string `json:"bearerToken,omitempty"` InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty"` }
PrometheusConfigApplyConfiguration represents a declarative configuration of the PrometheusConfig type for use with apply.
func PrometheusConfig ¶
func PrometheusConfig() *PrometheusConfigApplyConfiguration
PrometheusConfigApplyConfiguration constructs a declarative configuration of the PrometheusConfig type for use with apply.
func (*PrometheusConfigApplyConfiguration) WithBasicToken ¶
func (b *PrometheusConfigApplyConfiguration) WithBasicToken(value string) *PrometheusConfigApplyConfiguration
WithBasicToken sets the BasicToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BasicToken field is set to the value of the last call.
func (*PrometheusConfigApplyConfiguration) WithBearerToken ¶
func (b *PrometheusConfigApplyConfiguration) WithBearerToken(value string) *PrometheusConfigApplyConfiguration
WithBearerToken sets the BearerToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerToken field is set to the value of the last call.
func (*PrometheusConfigApplyConfiguration) WithEndpoint ¶
func (b *PrometheusConfigApplyConfiguration) WithEndpoint(value string) *PrometheusConfigApplyConfiguration
WithEndpoint sets the Endpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Endpoint field is set to the value of the last call.
func (*PrometheusConfigApplyConfiguration) WithInsecureSkipVerify ¶
func (b *PrometheusConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *PrometheusConfigApplyConfiguration
WithInsecureSkipVerify sets the InsecureSkipVerify field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InsecureSkipVerify field is set to the value of the last call.
type PrometheusResultApplyConfiguration ¶
type PrometheusResultApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` Result *string `json:"result,omitempty"` RawDataEnabled *bool `json:"rawDataEnabled,omitempty"` Rule *string `json:"rule,omitempty"` }
PrometheusResultApplyConfiguration represents a declarative configuration of the PrometheusResult type for use with apply.
func PrometheusResult ¶
func PrometheusResult() *PrometheusResultApplyConfiguration
PrometheusResultApplyConfiguration constructs a declarative configuration of the PrometheusResult type for use with apply.
func (*PrometheusResultApplyConfiguration) WithAssert ¶
func (b *PrometheusResultApplyConfiguration) WithAssert(value bool) *PrometheusResultApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*PrometheusResultApplyConfiguration) WithLevel ¶
func (b *PrometheusResultApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *PrometheusResultApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*PrometheusResultApplyConfiguration) WithName ¶
func (b *PrometheusResultApplyConfiguration) WithName(value string) *PrometheusResultApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*PrometheusResultApplyConfiguration) WithRawDataEnabled ¶
func (b *PrometheusResultApplyConfiguration) WithRawDataEnabled(value bool) *PrometheusResultApplyConfiguration
WithRawDataEnabled sets the RawDataEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RawDataEnabled field is set to the value of the last call.
func (*PrometheusResultApplyConfiguration) WithResult ¶
func (b *PrometheusResultApplyConfiguration) WithResult(value string) *PrometheusResultApplyConfiguration
WithResult sets the Result field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Result field is set to the value of the last call.
func (*PrometheusResultApplyConfiguration) WithRule ¶
func (b *PrometheusResultApplyConfiguration) WithRule(value string) *PrometheusResultApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type PrometheusRuleApplyConfiguration ¶
type PrometheusRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Prometheus *PrometheusConfigApplyConfiguration `json:"prometheus,omitempty"` RawDataEnabled *bool `json:"rawDataEnabled,omitempty"` }
PrometheusRuleApplyConfiguration represents a declarative configuration of the PrometheusRule type for use with apply.
func PrometheusRule ¶
func PrometheusRule() *PrometheusRuleApplyConfiguration
PrometheusRuleApplyConfiguration constructs a declarative configuration of the PrometheusRule type for use with apply.
func (*PrometheusRuleApplyConfiguration) WithDesc ¶
func (b *PrometheusRuleApplyConfiguration) WithDesc(value string) *PrometheusRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*PrometheusRuleApplyConfiguration) WithLevel ¶
func (b *PrometheusRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *PrometheusRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*PrometheusRuleApplyConfiguration) WithName ¶
func (b *PrometheusRuleApplyConfiguration) WithName(value string) *PrometheusRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*PrometheusRuleApplyConfiguration) WithPrometheus ¶
func (b *PrometheusRuleApplyConfiguration) WithPrometheus(value *PrometheusConfigApplyConfiguration) *PrometheusRuleApplyConfiguration
WithPrometheus sets the Prometheus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Prometheus field is set to the value of the last call.
func (*PrometheusRuleApplyConfiguration) WithRawDataEnabled ¶
func (b *PrometheusRuleApplyConfiguration) WithRawDataEnabled(value bool) *PrometheusRuleApplyConfiguration
WithRawDataEnabled sets the RawDataEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RawDataEnabled field is set to the value of the last call.
func (*PrometheusRuleApplyConfiguration) WithRule ¶
func (b *PrometheusRuleApplyConfiguration) WithRule(value string) *PrometheusRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type ResourceResultApplyConfiguration ¶
type ResourceResultApplyConfiguration struct { NameSpace *string `json:"namespace,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Name *string `json:"name,omitempty"` ResultItems []ResultItemApplyConfiguration `json:"resultItems,omitempty"` }
ResourceResultApplyConfiguration represents a declarative configuration of the ResourceResult type for use with apply.
func ResourceResult ¶
func ResourceResult() *ResourceResultApplyConfiguration
ResourceResultApplyConfiguration constructs a declarative configuration of the ResourceResult type for use with apply.
func (*ResourceResultApplyConfiguration) WithName ¶
func (b *ResourceResultApplyConfiguration) WithName(value string) *ResourceResultApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ResourceResultApplyConfiguration) WithNameSpace ¶
func (b *ResourceResultApplyConfiguration) WithNameSpace(value string) *ResourceResultApplyConfiguration
WithNameSpace sets the NameSpace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NameSpace field is set to the value of the last call.
func (*ResourceResultApplyConfiguration) WithResourceType ¶
func (b *ResourceResultApplyConfiguration) WithResourceType(value string) *ResourceResultApplyConfiguration
WithResourceType sets the ResourceType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceType field is set to the value of the last call.
func (*ResourceResultApplyConfiguration) WithResultItems ¶
func (b *ResourceResultApplyConfiguration) WithResultItems(values ...*ResultItemApplyConfiguration) *ResourceResultApplyConfiguration
WithResultItems adds the given value to the ResultItems field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ResultItems field.
type ResourcesTypeApplyConfiguration ¶
type ResourcesTypeApplyConfiguration struct { Mount *string `json:"mount,omitempty"` Type *string `json:"type,omitempty"` }
ResourcesTypeApplyConfiguration represents a declarative configuration of the ResourcesType type for use with apply.
func ResourcesType ¶
func ResourcesType() *ResourcesTypeApplyConfiguration
ResourcesTypeApplyConfiguration constructs a declarative configuration of the ResourcesType type for use with apply.
func (*ResourcesTypeApplyConfiguration) WithMount ¶
func (b *ResourcesTypeApplyConfiguration) WithMount(value string) *ResourcesTypeApplyConfiguration
WithMount sets the Mount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mount field is set to the value of the last call.
func (*ResourcesTypeApplyConfiguration) WithType ¶
func (b *ResourcesTypeApplyConfiguration) WithType(value string) *ResourcesTypeApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type ResultItemApplyConfiguration ¶
type ResultItemApplyConfiguration struct { Level *string `json:"level,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` }
ResultItemApplyConfiguration represents a declarative configuration of the ResultItem type for use with apply.
func ResultItem ¶
func ResultItem() *ResultItemApplyConfiguration
ResultItemApplyConfiguration constructs a declarative configuration of the ResultItem type for use with apply.
func (*ResultItemApplyConfiguration) WithLevel ¶
func (b *ResultItemApplyConfiguration) WithLevel(value string) *ResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*ResultItemApplyConfiguration) WithMessage ¶
func (b *ResultItemApplyConfiguration) WithMessage(value string) *ResultItemApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*ResultItemApplyConfiguration) WithReason ¶
func (b *ResultItemApplyConfiguration) WithReason(value string) *ResultItemApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
type RuleItemBasesApplyConfiguration ¶
type RuleItemBasesApplyConfiguration struct { Name *string `json:"name,omitempty"` Rule *string `json:"rule,omitempty"` Desc *string `json:"desc,omitempty"` Level *kubeeyev1alpha2.Level `json:"level,omitempty"` }
RuleItemBasesApplyConfiguration represents a declarative configuration of the RuleItemBases type for use with apply.
func RuleItemBases ¶
func RuleItemBases() *RuleItemBasesApplyConfiguration
RuleItemBasesApplyConfiguration constructs a declarative configuration of the RuleItemBases type for use with apply.
func (*RuleItemBasesApplyConfiguration) WithDesc ¶
func (b *RuleItemBasesApplyConfiguration) WithDesc(value string) *RuleItemBasesApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*RuleItemBasesApplyConfiguration) WithLevel ¶
func (b *RuleItemBasesApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *RuleItemBasesApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*RuleItemBasesApplyConfiguration) WithName ¶
func (b *RuleItemBasesApplyConfiguration) WithName(value string) *RuleItemBasesApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*RuleItemBasesApplyConfiguration) WithRule ¶
func (b *RuleItemBasesApplyConfiguration) WithRule(value string) *RuleItemBasesApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type ScoreInfoApplyConfiguration ¶
type ScoreInfoApplyConfiguration 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"` }
ScoreInfoApplyConfiguration represents a declarative configuration of the ScoreInfo type for use with apply.
func ScoreInfo ¶
func ScoreInfo() *ScoreInfoApplyConfiguration
ScoreInfoApplyConfiguration constructs a declarative configuration of the ScoreInfo type for use with apply.
func (*ScoreInfoApplyConfiguration) WithDangerous ¶
func (b *ScoreInfoApplyConfiguration) WithDangerous(value int) *ScoreInfoApplyConfiguration
WithDangerous sets the Dangerous field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Dangerous field is set to the value of the last call.
func (*ScoreInfoApplyConfiguration) WithIgnore ¶
func (b *ScoreInfoApplyConfiguration) WithIgnore(value int) *ScoreInfoApplyConfiguration
WithIgnore sets the Ignore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ignore field is set to the value of the last call.
func (*ScoreInfoApplyConfiguration) WithPassing ¶
func (b *ScoreInfoApplyConfiguration) WithPassing(value int) *ScoreInfoApplyConfiguration
WithPassing sets the Passing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Passing field is set to the value of the last call.
func (*ScoreInfoApplyConfiguration) WithScore ¶
func (b *ScoreInfoApplyConfiguration) WithScore(value int) *ScoreInfoApplyConfiguration
WithScore sets the Score field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Score field is set to the value of the last call.
func (*ScoreInfoApplyConfiguration) WithTotal ¶
func (b *ScoreInfoApplyConfiguration) WithTotal(value int) *ScoreInfoApplyConfiguration
WithTotal sets the Total field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Total field is set to the value of the last call.
func (*ScoreInfoApplyConfiguration) WithWarning ¶
func (b *ScoreInfoApplyConfiguration) WithWarning(value int) *ScoreInfoApplyConfiguration
WithWarning sets the Warning field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Warning field is set to the value of the last call.
type ServiceConnectResultItemApplyConfiguration ¶
type ServiceConnectResultItemApplyConfiguration struct { BaseResultApplyConfiguration `json:",inline"` Namespace *string `json:"namespace,omitempty"` Endpoint *string `json:"endpoint,omitempty"` }
ServiceConnectResultItemApplyConfiguration represents a declarative configuration of the ServiceConnectResultItem type for use with apply.
func ServiceConnectResultItem ¶
func ServiceConnectResultItem() *ServiceConnectResultItemApplyConfiguration
ServiceConnectResultItemApplyConfiguration constructs a declarative configuration of the ServiceConnectResultItem type for use with apply.
func (*ServiceConnectResultItemApplyConfiguration) WithAssert ¶
func (b *ServiceConnectResultItemApplyConfiguration) WithAssert(value bool) *ServiceConnectResultItemApplyConfiguration
WithAssert sets the Assert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Assert field is set to the value of the last call.
func (*ServiceConnectResultItemApplyConfiguration) WithEndpoint ¶
func (b *ServiceConnectResultItemApplyConfiguration) WithEndpoint(value string) *ServiceConnectResultItemApplyConfiguration
WithEndpoint sets the Endpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Endpoint field is set to the value of the last call.
func (*ServiceConnectResultItemApplyConfiguration) WithLevel ¶
func (b *ServiceConnectResultItemApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ServiceConnectResultItemApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*ServiceConnectResultItemApplyConfiguration) WithName ¶
func (b *ServiceConnectResultItemApplyConfiguration) WithName(value string) *ServiceConnectResultItemApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServiceConnectResultItemApplyConfiguration) WithNamespace ¶
func (b *ServiceConnectResultItemApplyConfiguration) WithNamespace(value string) *ServiceConnectResultItemApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
type ServiceConnectRuleApplyConfiguration ¶
type ServiceConnectRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` Namespace *string `json:"namespace,omitempty"` Workspace *string `json:"workspace,omitempty"` }
ServiceConnectRuleApplyConfiguration represents a declarative configuration of the ServiceConnectRule type for use with apply.
func ServiceConnectRule ¶
func ServiceConnectRule() *ServiceConnectRuleApplyConfiguration
ServiceConnectRuleApplyConfiguration constructs a declarative configuration of the ServiceConnectRule type for use with apply.
func (*ServiceConnectRuleApplyConfiguration) WithDesc ¶
func (b *ServiceConnectRuleApplyConfiguration) WithDesc(value string) *ServiceConnectRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*ServiceConnectRuleApplyConfiguration) WithLevel ¶
func (b *ServiceConnectRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *ServiceConnectRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*ServiceConnectRuleApplyConfiguration) WithName ¶
func (b *ServiceConnectRuleApplyConfiguration) WithName(value string) *ServiceConnectRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServiceConnectRuleApplyConfiguration) WithNamespace ¶
func (b *ServiceConnectRuleApplyConfiguration) WithNamespace(value string) *ServiceConnectRuleApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ServiceConnectRuleApplyConfiguration) WithRule ¶
func (b *ServiceConnectRuleApplyConfiguration) WithRule(value string) *ServiceConnectRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
func (*ServiceConnectRuleApplyConfiguration) WithWorkspace ¶
func (b *ServiceConnectRuleApplyConfiguration) WithWorkspace(value string) *ServiceConnectRuleApplyConfiguration
WithWorkspace sets the Workspace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Workspace field is set to the value of the last call.
type SysRuleApplyConfiguration ¶
type SysRuleApplyConfiguration struct { RuleItemBasesApplyConfiguration `json:",inline"` NodeApplyConfiguration `json:",inline"` }
SysRuleApplyConfiguration represents a declarative configuration of the SysRule type for use with apply.
func SysRule ¶
func SysRule() *SysRuleApplyConfiguration
SysRuleApplyConfiguration constructs a declarative configuration of the SysRule type for use with apply.
func (*SysRuleApplyConfiguration) WithDesc ¶
func (b *SysRuleApplyConfiguration) WithDesc(value string) *SysRuleApplyConfiguration
WithDesc sets the Desc field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Desc field is set to the value of the last call.
func (*SysRuleApplyConfiguration) WithLevel ¶
func (b *SysRuleApplyConfiguration) WithLevel(value kubeeyev1alpha2.Level) *SysRuleApplyConfiguration
WithLevel sets the Level field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Level field is set to the value of the last call.
func (*SysRuleApplyConfiguration) WithName ¶
func (b *SysRuleApplyConfiguration) WithName(value string) *SysRuleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*SysRuleApplyConfiguration) WithNodeName ¶
func (b *SysRuleApplyConfiguration) WithNodeName(value string) *SysRuleApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*SysRuleApplyConfiguration) WithNodeSelector ¶
func (b *SysRuleApplyConfiguration) WithNodeSelector(entries map[string]string) *SysRuleApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*SysRuleApplyConfiguration) WithRule ¶
func (b *SysRuleApplyConfiguration) WithRule(value string) *SysRuleApplyConfiguration
WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.
type TaskNamesApplyConfiguration ¶
type TaskNamesApplyConfiguration struct { Name *string `json:"name,omitempty"` TaskStatus *kubeeyev1alpha2.Phase `json:"taskStatus,omitempty"` }
TaskNamesApplyConfiguration represents a declarative configuration of the TaskNames type for use with apply.
func TaskNames ¶
func TaskNames() *TaskNamesApplyConfiguration
TaskNamesApplyConfiguration constructs a declarative configuration of the TaskNames type for use with apply.
func (*TaskNamesApplyConfiguration) WithName ¶
func (b *TaskNamesApplyConfiguration) WithName(value string) *TaskNamesApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*TaskNamesApplyConfiguration) WithTaskStatus ¶
func (b *TaskNamesApplyConfiguration) WithTaskStatus(value kubeeyev1alpha2.Phase) *TaskNamesApplyConfiguration
WithTaskStatus sets the TaskStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TaskStatus field is set to the value of the last call.
Source Files
¶
- baseresult.go
- cluster.go
- clusterinfo.go
- commandresultitem.go
- componentresultitem.go
- customcommandrule.go
- extrainfo.go
- filechangeresultitem.go
- filechangerule.go
- filefilterrule.go
- inspectplan.go
- inspectplanspec.go
- inspectplanstatus.go
- inspectresult.go
- inspectresultspec.go
- inspectresultstatus.go
- inspectrule.go
- inspectrulenames.go
- inspectrulespec.go
- inspectrulestatus.go
- inspecttask.go
- inspecttaskspec.go
- inspecttaskstatus.go
- jobphase.go
- kubeeyeoparesult.go
- node.go
- nodeinforesultitem.go
- nodeinforule.go
- nodemetricsresultitem.go
- oparule.go
- prometheusconfig.go
- prometheusresult.go
- prometheusrule.go
- resourceresult.go
- resourcestype.go
- resultitem.go
- ruleitembases.go
- scoreinfo.go
- serviceconnectresultitem.go
- serviceconnectrule.go
- sysrule.go
- tasknames.go