Documentation ¶
Overview ¶
Package v1beta1 Package v1beta1 is the v1beta1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_search_ClusterResourcesSyncCondition_To_v1beta1_ClusterResourcesSyncCondition(in *search.ClusterResourcesSyncCondition, out *ClusterResourcesSyncCondition, ...) error
- func Convert_search_FieldSelector_To_v1beta1_FieldSelector(in *search.FieldSelector, out *FieldSelector, s conversion.Scope) error
- func Convert_search_ResourceSyncCondition_To_v1beta1_ResourceSyncCondition(in *search.ResourceSyncCondition, out *ResourceSyncCondition, ...) error
- func Convert_search_ResourceSyncRule_To_v1beta1_ResourceSyncRule(in *search.ResourceSyncRule, out *ResourceSyncRule, s conversion.Scope) error
- func Convert_search_Selector_To_v1beta1_Selector(in *search.Selector, out *Selector, s conversion.Scope) error
- func Convert_search_SyncRegistryList_To_v1beta1_SyncRegistryList(in *search.SyncRegistryList, out *SyncRegistryList, s conversion.Scope) error
- func Convert_search_SyncRegistrySpec_To_v1beta1_SyncRegistrySpec(in *search.SyncRegistrySpec, out *SyncRegistrySpec, s conversion.Scope) error
- func Convert_search_SyncRegistryStatus_To_v1beta1_SyncRegistryStatus(in *search.SyncRegistryStatus, out *SyncRegistryStatus, s conversion.Scope) error
- func Convert_search_SyncRegistry_To_v1beta1_SyncRegistry(in *search.SyncRegistry, out *SyncRegistry, s conversion.Scope) error
- func Convert_search_SyncResourcesList_To_v1beta1_SyncResourcesList(in *search.SyncResourcesList, out *SyncResourcesList, s conversion.Scope) error
- func Convert_search_SyncResourcesSpec_To_v1beta1_SyncResourcesSpec(in *search.SyncResourcesSpec, out *SyncResourcesSpec, s conversion.Scope) error
- func Convert_search_SyncResources_To_v1beta1_SyncResources(in *search.SyncResources, out *SyncResources, s conversion.Scope) error
- func Convert_search_TransformRuleList_To_v1beta1_TransformRuleList(in *search.TransformRuleList, out *TransformRuleList, s conversion.Scope) error
- func Convert_search_TransformRuleSpec_To_v1beta1_TransformRuleSpec(in *search.TransformRuleSpec, out *TransformRuleSpec, s conversion.Scope) error
- func Convert_search_TransformRule_To_v1beta1_TransformRule(in *search.TransformRule, out *TransformRule, s conversion.Scope) error
- func Convert_search_TrimRuleList_To_v1beta1_TrimRuleList(in *search.TrimRuleList, out *TrimRuleList, s conversion.Scope) error
- func Convert_search_TrimRuleRetainFields_To_v1beta1_TrimRuleRetainFields(in *search.TrimRuleRetainFields, out *TrimRuleRetainFields, s conversion.Scope) error
- func Convert_search_TrimRuleSpec_To_v1beta1_TrimRuleSpec(in *search.TrimRuleSpec, out *TrimRuleSpec, s conversion.Scope) error
- func Convert_search_TrimRule_To_v1beta1_TrimRule(in *search.TrimRule, out *TrimRule, s conversion.Scope) error
- func Convert_v1beta1_ClusterResourcesSyncCondition_To_search_ClusterResourcesSyncCondition(in *ClusterResourcesSyncCondition, out *search.ClusterResourcesSyncCondition, ...) error
- func Convert_v1beta1_FieldSelector_To_search_FieldSelector(in *FieldSelector, out *search.FieldSelector, s conversion.Scope) error
- func Convert_v1beta1_ResourceSyncCondition_To_search_ResourceSyncCondition(in *ResourceSyncCondition, out *search.ResourceSyncCondition, ...) error
- func Convert_v1beta1_ResourceSyncRule_To_search_ResourceSyncRule(in *ResourceSyncRule, out *search.ResourceSyncRule, s conversion.Scope) error
- func Convert_v1beta1_Selector_To_search_Selector(in *Selector, out *search.Selector, s conversion.Scope) error
- func Convert_v1beta1_SyncRegistryList_To_search_SyncRegistryList(in *SyncRegistryList, out *search.SyncRegistryList, s conversion.Scope) error
- func Convert_v1beta1_SyncRegistrySpec_To_search_SyncRegistrySpec(in *SyncRegistrySpec, out *search.SyncRegistrySpec, s conversion.Scope) error
- func Convert_v1beta1_SyncRegistryStatus_To_search_SyncRegistryStatus(in *SyncRegistryStatus, out *search.SyncRegistryStatus, s conversion.Scope) error
- func Convert_v1beta1_SyncRegistry_To_search_SyncRegistry(in *SyncRegistry, out *search.SyncRegistry, s conversion.Scope) error
- func Convert_v1beta1_SyncResourcesList_To_search_SyncResourcesList(in *SyncResourcesList, out *search.SyncResourcesList, s conversion.Scope) error
- func Convert_v1beta1_SyncResourcesSpec_To_search_SyncResourcesSpec(in *SyncResourcesSpec, out *search.SyncResourcesSpec, s conversion.Scope) error
- func Convert_v1beta1_SyncResources_To_search_SyncResources(in *SyncResources, out *search.SyncResources, s conversion.Scope) error
- func Convert_v1beta1_TransformRuleList_To_search_TransformRuleList(in *TransformRuleList, out *search.TransformRuleList, s conversion.Scope) error
- func Convert_v1beta1_TransformRuleSpec_To_search_TransformRuleSpec(in *TransformRuleSpec, out *search.TransformRuleSpec, s conversion.Scope) error
- func Convert_v1beta1_TransformRule_To_search_TransformRule(in *TransformRule, out *search.TransformRule, s conversion.Scope) error
- func Convert_v1beta1_TrimRuleList_To_search_TrimRuleList(in *TrimRuleList, out *search.TrimRuleList, s conversion.Scope) error
- func Convert_v1beta1_TrimRuleRetainFields_To_search_TrimRuleRetainFields(in *TrimRuleRetainFields, out *search.TrimRuleRetainFields, s conversion.Scope) error
- func Convert_v1beta1_TrimRuleSpec_To_search_TrimRuleSpec(in *TrimRuleSpec, out *search.TrimRuleSpec, s conversion.Scope) error
- func Convert_v1beta1_TrimRule_To_search_TrimRule(in *TrimRule, out *search.TrimRule, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ClusterResourcesSyncCondition
- type FieldSelector
- type ResourceSyncCondition
- type ResourceSyncRule
- type Selector
- type SyncRegistry
- type SyncRegistryList
- type SyncRegistrySpec
- type SyncRegistryStatus
- type SyncResources
- type SyncResourcesList
- type SyncResourcesSpec
- type TransformRule
- type TransformRuleList
- type TransformRuleSpec
- type TrimRule
- type TrimRuleList
- type TrimRuleRetainFields
- type TrimRuleSpec
Constants ¶
const GroupName = "search.karpor.io"
GroupName holds the API group name.
Variables ¶
var ( // SchemeBuilder allows to add this group to a scheme. // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // AddToScheme adds this group to a scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_search_ClusterResourcesSyncCondition_To_v1beta1_ClusterResourcesSyncCondition ¶
func Convert_search_ClusterResourcesSyncCondition_To_v1beta1_ClusterResourcesSyncCondition(in *search.ClusterResourcesSyncCondition, out *ClusterResourcesSyncCondition, s conversion.Scope) error
Convert_search_ClusterResourcesSyncCondition_To_v1beta1_ClusterResourcesSyncCondition is an autogenerated conversion function.
func Convert_search_FieldSelector_To_v1beta1_FieldSelector ¶
func Convert_search_FieldSelector_To_v1beta1_FieldSelector(in *search.FieldSelector, out *FieldSelector, s conversion.Scope) error
Convert_search_FieldSelector_To_v1beta1_FieldSelector is an autogenerated conversion function.
func Convert_search_ResourceSyncCondition_To_v1beta1_ResourceSyncCondition ¶
func Convert_search_ResourceSyncCondition_To_v1beta1_ResourceSyncCondition(in *search.ResourceSyncCondition, out *ResourceSyncCondition, s conversion.Scope) error
Convert_search_ResourceSyncCondition_To_v1beta1_ResourceSyncCondition is an autogenerated conversion function.
func Convert_search_ResourceSyncRule_To_v1beta1_ResourceSyncRule ¶
func Convert_search_ResourceSyncRule_To_v1beta1_ResourceSyncRule(in *search.ResourceSyncRule, out *ResourceSyncRule, s conversion.Scope) error
Convert_search_ResourceSyncRule_To_v1beta1_ResourceSyncRule is an autogenerated conversion function.
func Convert_search_Selector_To_v1beta1_Selector ¶
func Convert_search_Selector_To_v1beta1_Selector(in *search.Selector, out *Selector, s conversion.Scope) error
Convert_search_Selector_To_v1beta1_Selector is an autogenerated conversion function.
func Convert_search_SyncRegistryList_To_v1beta1_SyncRegistryList ¶
func Convert_search_SyncRegistryList_To_v1beta1_SyncRegistryList(in *search.SyncRegistryList, out *SyncRegistryList, s conversion.Scope) error
Convert_search_SyncRegistryList_To_v1beta1_SyncRegistryList is an autogenerated conversion function.
func Convert_search_SyncRegistrySpec_To_v1beta1_SyncRegistrySpec ¶
func Convert_search_SyncRegistrySpec_To_v1beta1_SyncRegistrySpec(in *search.SyncRegistrySpec, out *SyncRegistrySpec, s conversion.Scope) error
Convert_search_SyncRegistrySpec_To_v1beta1_SyncRegistrySpec is an autogenerated conversion function.
func Convert_search_SyncRegistryStatus_To_v1beta1_SyncRegistryStatus ¶
func Convert_search_SyncRegistryStatus_To_v1beta1_SyncRegistryStatus(in *search.SyncRegistryStatus, out *SyncRegistryStatus, s conversion.Scope) error
Convert_search_SyncRegistryStatus_To_v1beta1_SyncRegistryStatus is an autogenerated conversion function.
func Convert_search_SyncRegistry_To_v1beta1_SyncRegistry ¶
func Convert_search_SyncRegistry_To_v1beta1_SyncRegistry(in *search.SyncRegistry, out *SyncRegistry, s conversion.Scope) error
Convert_search_SyncRegistry_To_v1beta1_SyncRegistry is an autogenerated conversion function.
func Convert_search_SyncResourcesList_To_v1beta1_SyncResourcesList ¶
func Convert_search_SyncResourcesList_To_v1beta1_SyncResourcesList(in *search.SyncResourcesList, out *SyncResourcesList, s conversion.Scope) error
Convert_search_SyncResourcesList_To_v1beta1_SyncResourcesList is an autogenerated conversion function.
func Convert_search_SyncResourcesSpec_To_v1beta1_SyncResourcesSpec ¶
func Convert_search_SyncResourcesSpec_To_v1beta1_SyncResourcesSpec(in *search.SyncResourcesSpec, out *SyncResourcesSpec, s conversion.Scope) error
Convert_search_SyncResourcesSpec_To_v1beta1_SyncResourcesSpec is an autogenerated conversion function.
func Convert_search_SyncResources_To_v1beta1_SyncResources ¶
func Convert_search_SyncResources_To_v1beta1_SyncResources(in *search.SyncResources, out *SyncResources, s conversion.Scope) error
Convert_search_SyncResources_To_v1beta1_SyncResources is an autogenerated conversion function.
func Convert_search_TransformRuleList_To_v1beta1_TransformRuleList ¶
func Convert_search_TransformRuleList_To_v1beta1_TransformRuleList(in *search.TransformRuleList, out *TransformRuleList, s conversion.Scope) error
Convert_search_TransformRuleList_To_v1beta1_TransformRuleList is an autogenerated conversion function.
func Convert_search_TransformRuleSpec_To_v1beta1_TransformRuleSpec ¶
func Convert_search_TransformRuleSpec_To_v1beta1_TransformRuleSpec(in *search.TransformRuleSpec, out *TransformRuleSpec, s conversion.Scope) error
Convert_search_TransformRuleSpec_To_v1beta1_TransformRuleSpec is an autogenerated conversion function.
func Convert_search_TransformRule_To_v1beta1_TransformRule ¶
func Convert_search_TransformRule_To_v1beta1_TransformRule(in *search.TransformRule, out *TransformRule, s conversion.Scope) error
Convert_search_TransformRule_To_v1beta1_TransformRule is an autogenerated conversion function.
func Convert_search_TrimRuleList_To_v1beta1_TrimRuleList ¶ added in v0.5.3
func Convert_search_TrimRuleList_To_v1beta1_TrimRuleList(in *search.TrimRuleList, out *TrimRuleList, s conversion.Scope) error
Convert_search_TrimRuleList_To_v1beta1_TrimRuleList is an autogenerated conversion function.
func Convert_search_TrimRuleRetainFields_To_v1beta1_TrimRuleRetainFields ¶ added in v0.5.3
func Convert_search_TrimRuleRetainFields_To_v1beta1_TrimRuleRetainFields(in *search.TrimRuleRetainFields, out *TrimRuleRetainFields, s conversion.Scope) error
Convert_search_TrimRuleRetainFields_To_v1beta1_TrimRuleRetainFields is an autogenerated conversion function.
func Convert_search_TrimRuleSpec_To_v1beta1_TrimRuleSpec ¶ added in v0.5.3
func Convert_search_TrimRuleSpec_To_v1beta1_TrimRuleSpec(in *search.TrimRuleSpec, out *TrimRuleSpec, s conversion.Scope) error
Convert_search_TrimRuleSpec_To_v1beta1_TrimRuleSpec is an autogenerated conversion function.
func Convert_search_TrimRule_To_v1beta1_TrimRule ¶ added in v0.5.3
func Convert_search_TrimRule_To_v1beta1_TrimRule(in *search.TrimRule, out *TrimRule, s conversion.Scope) error
Convert_search_TrimRule_To_v1beta1_TrimRule is an autogenerated conversion function.
func Convert_v1beta1_ClusterResourcesSyncCondition_To_search_ClusterResourcesSyncCondition ¶
func Convert_v1beta1_ClusterResourcesSyncCondition_To_search_ClusterResourcesSyncCondition(in *ClusterResourcesSyncCondition, out *search.ClusterResourcesSyncCondition, s conversion.Scope) error
Convert_v1beta1_ClusterResourcesSyncCondition_To_search_ClusterResourcesSyncCondition is an autogenerated conversion function.
func Convert_v1beta1_FieldSelector_To_search_FieldSelector ¶
func Convert_v1beta1_FieldSelector_To_search_FieldSelector(in *FieldSelector, out *search.FieldSelector, s conversion.Scope) error
Convert_v1beta1_FieldSelector_To_search_FieldSelector is an autogenerated conversion function.
func Convert_v1beta1_ResourceSyncCondition_To_search_ResourceSyncCondition ¶
func Convert_v1beta1_ResourceSyncCondition_To_search_ResourceSyncCondition(in *ResourceSyncCondition, out *search.ResourceSyncCondition, s conversion.Scope) error
Convert_v1beta1_ResourceSyncCondition_To_search_ResourceSyncCondition is an autogenerated conversion function.
func Convert_v1beta1_ResourceSyncRule_To_search_ResourceSyncRule ¶
func Convert_v1beta1_ResourceSyncRule_To_search_ResourceSyncRule(in *ResourceSyncRule, out *search.ResourceSyncRule, s conversion.Scope) error
Convert_v1beta1_ResourceSyncRule_To_search_ResourceSyncRule is an autogenerated conversion function.
func Convert_v1beta1_Selector_To_search_Selector ¶
func Convert_v1beta1_Selector_To_search_Selector(in *Selector, out *search.Selector, s conversion.Scope) error
Convert_v1beta1_Selector_To_search_Selector is an autogenerated conversion function.
func Convert_v1beta1_SyncRegistryList_To_search_SyncRegistryList ¶
func Convert_v1beta1_SyncRegistryList_To_search_SyncRegistryList(in *SyncRegistryList, out *search.SyncRegistryList, s conversion.Scope) error
Convert_v1beta1_SyncRegistryList_To_search_SyncRegistryList is an autogenerated conversion function.
func Convert_v1beta1_SyncRegistrySpec_To_search_SyncRegistrySpec ¶
func Convert_v1beta1_SyncRegistrySpec_To_search_SyncRegistrySpec(in *SyncRegistrySpec, out *search.SyncRegistrySpec, s conversion.Scope) error
Convert_v1beta1_SyncRegistrySpec_To_search_SyncRegistrySpec is an autogenerated conversion function.
func Convert_v1beta1_SyncRegistryStatus_To_search_SyncRegistryStatus ¶
func Convert_v1beta1_SyncRegistryStatus_To_search_SyncRegistryStatus(in *SyncRegistryStatus, out *search.SyncRegistryStatus, s conversion.Scope) error
Convert_v1beta1_SyncRegistryStatus_To_search_SyncRegistryStatus is an autogenerated conversion function.
func Convert_v1beta1_SyncRegistry_To_search_SyncRegistry ¶
func Convert_v1beta1_SyncRegistry_To_search_SyncRegistry(in *SyncRegistry, out *search.SyncRegistry, s conversion.Scope) error
Convert_v1beta1_SyncRegistry_To_search_SyncRegistry is an autogenerated conversion function.
func Convert_v1beta1_SyncResourcesList_To_search_SyncResourcesList ¶
func Convert_v1beta1_SyncResourcesList_To_search_SyncResourcesList(in *SyncResourcesList, out *search.SyncResourcesList, s conversion.Scope) error
Convert_v1beta1_SyncResourcesList_To_search_SyncResourcesList is an autogenerated conversion function.
func Convert_v1beta1_SyncResourcesSpec_To_search_SyncResourcesSpec ¶
func Convert_v1beta1_SyncResourcesSpec_To_search_SyncResourcesSpec(in *SyncResourcesSpec, out *search.SyncResourcesSpec, s conversion.Scope) error
Convert_v1beta1_SyncResourcesSpec_To_search_SyncResourcesSpec is an autogenerated conversion function.
func Convert_v1beta1_SyncResources_To_search_SyncResources ¶
func Convert_v1beta1_SyncResources_To_search_SyncResources(in *SyncResources, out *search.SyncResources, s conversion.Scope) error
Convert_v1beta1_SyncResources_To_search_SyncResources is an autogenerated conversion function.
func Convert_v1beta1_TransformRuleList_To_search_TransformRuleList ¶
func Convert_v1beta1_TransformRuleList_To_search_TransformRuleList(in *TransformRuleList, out *search.TransformRuleList, s conversion.Scope) error
Convert_v1beta1_TransformRuleList_To_search_TransformRuleList is an autogenerated conversion function.
func Convert_v1beta1_TransformRuleSpec_To_search_TransformRuleSpec ¶
func Convert_v1beta1_TransformRuleSpec_To_search_TransformRuleSpec(in *TransformRuleSpec, out *search.TransformRuleSpec, s conversion.Scope) error
Convert_v1beta1_TransformRuleSpec_To_search_TransformRuleSpec is an autogenerated conversion function.
func Convert_v1beta1_TransformRule_To_search_TransformRule ¶
func Convert_v1beta1_TransformRule_To_search_TransformRule(in *TransformRule, out *search.TransformRule, s conversion.Scope) error
Convert_v1beta1_TransformRule_To_search_TransformRule is an autogenerated conversion function.
func Convert_v1beta1_TrimRuleList_To_search_TrimRuleList ¶ added in v0.5.3
func Convert_v1beta1_TrimRuleList_To_search_TrimRuleList(in *TrimRuleList, out *search.TrimRuleList, s conversion.Scope) error
Convert_v1beta1_TrimRuleList_To_search_TrimRuleList is an autogenerated conversion function.
func Convert_v1beta1_TrimRuleRetainFields_To_search_TrimRuleRetainFields ¶ added in v0.5.3
func Convert_v1beta1_TrimRuleRetainFields_To_search_TrimRuleRetainFields(in *TrimRuleRetainFields, out *search.TrimRuleRetainFields, s conversion.Scope) error
Convert_v1beta1_TrimRuleRetainFields_To_search_TrimRuleRetainFields is an autogenerated conversion function.
func Convert_v1beta1_TrimRuleSpec_To_search_TrimRuleSpec ¶ added in v0.5.3
func Convert_v1beta1_TrimRuleSpec_To_search_TrimRuleSpec(in *TrimRuleSpec, out *search.TrimRuleSpec, s conversion.Scope) error
Convert_v1beta1_TrimRuleSpec_To_search_TrimRuleSpec is an autogenerated conversion function.
func Convert_v1beta1_TrimRule_To_search_TrimRule ¶ added in v0.5.3
func Convert_v1beta1_TrimRule_To_search_TrimRule(in *TrimRule, out *search.TrimRule, s conversion.Scope) error
Convert_v1beta1_TrimRule_To_search_TrimRule is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ClusterResourcesSyncCondition ¶
type ClusterResourcesSyncCondition struct { // +required Cluster string `json:"cluster"` // +required Status string `json:"status"` // +optional Resources []ResourceSyncCondition `json:"resources"` }
func (*ClusterResourcesSyncCondition) DeepCopy ¶
func (in *ClusterResourcesSyncCondition) DeepCopy() *ClusterResourcesSyncCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourcesSyncCondition.
func (*ClusterResourcesSyncCondition) DeepCopyInto ¶
func (in *ClusterResourcesSyncCondition) DeepCopyInto(out *ClusterResourcesSyncCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FieldSelector ¶
type FieldSelector struct { // MatchFields is a map of {field,value} pairs. A single {field,value} in the matchFields // map means that the specified field should have an exact match with the specified value. // Multiple entries are ANDed. // +optional MatchFields map[string]string `json:"matchFields,omitempty"` // ServerSupported indicates whether the matchFields is supported by the API server. // If not supported, the client-side filtering will be utilized instead." // +optional ServerSupported bool `json:"serverSupported,omitempty"` }
FieldSelector is a field filter.
func (*FieldSelector) DeepCopy ¶
func (in *FieldSelector) DeepCopy() *FieldSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldSelector.
func (*FieldSelector) DeepCopyInto ¶
func (in *FieldSelector) DeepCopyInto(out *FieldSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSyncCondition ¶
type ResourceSyncCondition struct { // +required APIVersion string `json:"apiVersion"` // +required Kind string `json:"kind"` // +required Status string `json:"status"` // +optional Reason string `json:"reason,omitempty"` // +optional Message string `json:"message,omitempty"` // +required LastTransitionTime metav1.Time `json:"lastTransitionTime"` }
func (*ResourceSyncCondition) DeepCopy ¶
func (in *ResourceSyncCondition) DeepCopy() *ResourceSyncCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSyncCondition.
func (*ResourceSyncCondition) DeepCopyInto ¶
func (in *ResourceSyncCondition) DeepCopyInto(out *ResourceSyncCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSyncRule ¶
type ResourceSyncRule struct { // APIVersion represents the group version of the target resource. // +required APIVersion string `json:"apiVersion"` // Resource is the the target resource. // +required Resource string `json:"resource"` // Namespace specifies the namespace in which the ListWatch of the target resources is limited // to. // +optional Namespace string `json:"namespace,omitempty"` // ResynPeriod is the period to resync ResyncPeriod *metav1.Duration `json:"resyncPeriod,omitempty"` // MaxConcurrent is the maximum number of workers (default: 10) // +optional MaxConcurrent int `json:"maxConcurrent,omitempty"` // Selectors are used to filter the target resources to sync. Multiple selectors are ORed. // +optional Selectors []Selector `json:"selectors,omitempty"` // Transform is the rule applied to the original resource to transform it to the desired target // resource. // +optional Transform *TransformRuleSpec `json:"transform,omitempty"` // TransformRefName is the name of the TransformRule // +optional TransformRefName string `json:"transformRefName,omitempty"` // Trim defines the trimming strategy for the resources of the current type. // +optional Trim *TrimRuleSpec `json:"trim,omitempty"` // TrimRefName is the name of the TrimRule. // +optional TrimRefName string `json:"trimRefName,omitempty"` }
ResourceSyncRule is used to specify the way to sync the specified resource
func (*ResourceSyncRule) DeepCopy ¶
func (in *ResourceSyncRule) DeepCopy() *ResourceSyncRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSyncRule.
func (*ResourceSyncRule) DeepCopyInto ¶
func (in *ResourceSyncRule) DeepCopyInto(out *ResourceSyncRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct { // LabelSelector is a filter to select resources by labels. // If non-nil and non-empty, only the resource match this filter will be selected. // +optional LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` // FieldSelector is a filter to select resources by fields. // If non-nil and non-empty, only the resource match this filter will be selected. // +optional FieldSelector *FieldSelector `json:"fieldSelector,omitempty"` }
Selector represents a resource filter
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncRegistry ¶
type SyncRegistry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` //nolint:tagliatelle // +optional Spec SyncRegistrySpec `json:"spec,omitempty"` // +optional Status SyncRegistryStatus `json:"status,omitempty"` }
func (*SyncRegistry) DeepCopy ¶
func (in *SyncRegistry) DeepCopy() *SyncRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncRegistry.
func (*SyncRegistry) DeepCopyInto ¶
func (in *SyncRegistry) DeepCopyInto(out *SyncRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncRegistry) DeepCopyObject ¶
func (in *SyncRegistry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncRegistryList ¶
type SyncRegistryList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` //nolint:tagliatelle Items []SyncRegistry `json:"items"` }
func (*SyncRegistryList) DeepCopy ¶
func (in *SyncRegistryList) DeepCopy() *SyncRegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncRegistryList.
func (*SyncRegistryList) DeepCopyInto ¶
func (in *SyncRegistryList) DeepCopyInto(out *SyncRegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncRegistryList) DeepCopyObject ¶
func (in *SyncRegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncRegistrySpec ¶
type SyncRegistrySpec struct { // Clusters is the list of the target clusters to be be synced from. // +optional Clusters []string `json:"clusters,omitempty"` // ClusterLabelSelector is used to filter the target clusters that need to be synced from. // +optional ClusterLabelSelector *metav1.LabelSelector `json:"clusterLabelSelector,omitempty"` // +optional SyncResources []ResourceSyncRule `json:"syncResources,omitempty"` // +optional SyncResourcesRefName string `json:"syncResourcesRefName,omitempty"` }
func (*SyncRegistrySpec) DeepCopy ¶
func (in *SyncRegistrySpec) DeepCopy() *SyncRegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncRegistrySpec.
func (*SyncRegistrySpec) DeepCopyInto ¶
func (in *SyncRegistrySpec) DeepCopyInto(out *SyncRegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncRegistryStatus ¶
type SyncRegistryStatus struct { // +optional Clusters []ClusterResourcesSyncCondition `json:"clusters"` // +required LastTransitionTime metav1.Time `json:"lastTransitionTime"` }
func (*SyncRegistryStatus) DeepCopy ¶
func (in *SyncRegistryStatus) DeepCopy() *SyncRegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncRegistryStatus.
func (*SyncRegistryStatus) DeepCopyInto ¶
func (in *SyncRegistryStatus) DeepCopyInto(out *SyncRegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncResources ¶
type SyncResources struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` //nolint:tagliatelle Spec SyncResourcesSpec `json:"spec,omitempty"` }
func (*SyncResources) DeepCopy ¶
func (in *SyncResources) DeepCopy() *SyncResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncResources.
func (*SyncResources) DeepCopyInto ¶
func (in *SyncResources) DeepCopyInto(out *SyncResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncResources) DeepCopyObject ¶
func (in *SyncResources) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncResourcesList ¶
type SyncResourcesList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` //nolint:tagliatelle Items []SyncResources `json:"items"` }
func (*SyncResourcesList) DeepCopy ¶
func (in *SyncResourcesList) DeepCopy() *SyncResourcesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncResourcesList.
func (*SyncResourcesList) DeepCopyInto ¶
func (in *SyncResourcesList) DeepCopyInto(out *SyncResourcesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncResourcesList) DeepCopyObject ¶
func (in *SyncResourcesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncResourcesSpec ¶
type SyncResourcesSpec struct { // +optional SyncResources []ResourceSyncRule `json:"syncResources,omitempty"` }
func (*SyncResourcesSpec) DeepCopy ¶
func (in *SyncResourcesSpec) DeepCopy() *SyncResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncResourcesSpec.
func (*SyncResourcesSpec) DeepCopyInto ¶
func (in *SyncResourcesSpec) DeepCopyInto(out *SyncResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransformRule ¶
type TransformRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` //nolint:tagliatelle // +optional Spec TransformRuleSpec `json:"spec,omitempty"` }
TransformRule is used to define the rule to transform the original resource into the desired target resource.
func (*TransformRule) DeepCopy ¶
func (in *TransformRule) DeepCopy() *TransformRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformRule.
func (*TransformRule) DeepCopyInto ¶
func (in *TransformRule) DeepCopyInto(out *TransformRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformRule) DeepCopyObject ¶
func (in *TransformRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TransformRuleList ¶
type TransformRuleList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` //nolint:tagliatelle Items []TransformRule `json:"items"` }
func (*TransformRuleList) DeepCopy ¶
func (in *TransformRuleList) DeepCopy() *TransformRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformRuleList.
func (*TransformRuleList) DeepCopyInto ¶
func (in *TransformRuleList) DeepCopyInto(out *TransformRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TransformRuleList) DeepCopyObject ¶
func (in *TransformRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TransformRuleSpec ¶
type TransformRuleSpec struct { // Type is the type of transformer. // +required Type string `json:"type"` // ValueTemplate is the template of the input data to be paased to the transformer // +required ValueTemplate string `json:"valueTemplate"` }
func (*TransformRuleSpec) DeepCopy ¶
func (in *TransformRuleSpec) DeepCopy() *TransformRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformRuleSpec.
func (*TransformRuleSpec) DeepCopyInto ¶
func (in *TransformRuleSpec) DeepCopyInto(out *TransformRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrimRule ¶ added in v0.5.3
type TrimRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` //nolint:tagliatelle // +optional Spec TrimRuleSpec `json:"spec,omitempty"` }
TrimRule defines the strategy of trimming k8s objects, which can save informer memory by discarding redundant fields.
func (*TrimRule) DeepCopy ¶ added in v0.5.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrimRule.
func (*TrimRule) DeepCopyInto ¶ added in v0.5.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TrimRule) DeepCopyObject ¶ added in v0.5.3
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TrimRuleList ¶ added in v0.5.3
type TrimRuleList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` //nolint:tagliatelle Items []TrimRule `json:"items"` }
func (*TrimRuleList) DeepCopy ¶ added in v0.5.3
func (in *TrimRuleList) DeepCopy() *TrimRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrimRuleList.
func (*TrimRuleList) DeepCopyInto ¶ added in v0.5.3
func (in *TrimRuleList) DeepCopyInto(out *TrimRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TrimRuleList) DeepCopyObject ¶ added in v0.5.3
func (in *TrimRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TrimRuleRetainFields ¶ added in v0.5.3
type TrimRuleRetainFields struct { // JSONPaths specifies the path of the field to be retained. // For usage, please refer to https://kubernetes.io/docs/reference/kubectl/jsonpath/ // +optional JSONPaths []string `json:"jsonPaths,omitempty"` }
func (*TrimRuleRetainFields) DeepCopy ¶ added in v0.5.3
func (in *TrimRuleRetainFields) DeepCopy() *TrimRuleRetainFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrimRuleRetainFields.
func (*TrimRuleRetainFields) DeepCopyInto ¶ added in v0.5.3
func (in *TrimRuleRetainFields) DeepCopyInto(out *TrimRuleRetainFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrimRuleSpec ¶ added in v0.5.3
type TrimRuleSpec struct { // Retain specifies which fields should be retained after trimming. // +optional Retain TrimRuleRetainFields `json:"retain,omitempty"` }
func (*TrimRuleSpec) DeepCopy ¶ added in v0.5.3
func (in *TrimRuleSpec) DeepCopy() *TrimRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrimRuleSpec.
func (*TrimRuleSpec) DeepCopyInto ¶ added in v0.5.3
func (in *TrimRuleSpec) DeepCopyInto(out *TrimRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.