v1beta1

package
v0.3.23 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 Package v1beta1 is the v1beta1 version of the API.

Index

Constants

View Source
const GroupName = "search.karpor.io"

GroupName holds the API group name.

Variables

View Source
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
)
View Source
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_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 RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

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

func (*ClusterResourcesSyncCondition) DeepCopyInto

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

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"`
}

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

func (in *Selector) DeepCopy() *Selector

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

func (*Selector) DeepCopyInto

func (in *Selector) DeepCopyInto(out *Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL