Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDConfig ¶
type CRDConfig struct {
GVK metav1.GroupVersionKind `json:"gvk,omitempty"`
Categories []string `json:"categories,omitempty"`
Mappings []CRDMapping `json:"mappings,omitempty"`
ShortNames []string `json:"shortNames,omitempty"`
PluginSet string `json:"pluginSet,omitempty"`
}
func (*CRDConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDConfig.
func (*CRDConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CRDMapping ¶
type CRDMapping struct {
OpenAPIRef LocalObjectReference `json:"openAPIRef,omitempty"`
MajorVersion string `json:"majorVersion,omitempty"`
ParametersMapping PropertyMapping `json:"parameters,omitempty"`
EntryMapping PropertyMapping `json:"entry,omitempty"`
StatusMapping PropertyMapping `json:"status,omitempty"`
Extensions []Extension `json:"extensions,omitempty"`
}
func (*CRDMapping) DeepCopy ¶
func (in *CRDMapping) DeepCopy() *CRDMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDMapping.
func (*CRDMapping) DeepCopyInto ¶
func (in *CRDMapping) DeepCopyInto(out *CRDMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extension ¶
type Extension struct {
Property string `json:"property,omitempty"`
XKubernetesValidations apiextensionsv1.ValidationRules `json:"x-kubernetes-validations,omitempty"`
}
func (*Extension) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filters ¶
type Filters struct {
ReadOnly bool `json:"readOnly,omitempty"`
ReadWriteOnly bool `json:"readWriteOnly,omitempty"`
SkipProperties []string `json:"skipProperties,omitempty"`
SensitiveProperties []string `json:"sensitiveProperties,omitempty"`
}
func (*Filters) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filters.
func (*Filters) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalObjectReference ¶
type LocalObjectReference struct {
// Name of the resource being referred to
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Name string `json:"name"`
}
LocalObjectReference is a reference to an object in the same namespace as the referent
func (*LocalObjectReference) DeepCopy ¶
func (in *LocalObjectReference) DeepCopy() *LocalObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
func (*LocalObjectReference) DeepCopyInto ¶
func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenAPIDefinition ¶
type OpenAPIDefinition struct {
Name string `json:"name"`
Path string `json:"path"`
Package string `json:"package"`
}
func (*OpenAPIDefinition) DeepCopy ¶
func (in *OpenAPIDefinition) DeepCopy() *OpenAPIDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenAPIDefinition.
func (*OpenAPIDefinition) DeepCopyInto ¶
func (in *OpenAPIDefinition) DeepCopyInto(out *OpenAPIDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluginSet ¶
type PluginSet struct {
Name string `json:"name"`
Default bool `json:"default,omitempty"`
InheritFrom string `json:"inheritFrom,omitempty"`
Plugins []string
}
func (*PluginSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSet.
func (*PluginSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PropertyMapping ¶
type PropertyMapping struct {
Schema string `json:"schema,omitempty"`
Path PropertyPath `json:"path,omitempty"`
Filters Filters `json:"filters,omitempty"`
References []Reference `json:"references,omitempty"`
}
func (*PropertyMapping) DeepCopy ¶
func (in *PropertyMapping) DeepCopy() *PropertyMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyMapping.
func (*PropertyMapping) DeepCopyInto ¶
func (in *PropertyMapping) DeepCopyInto(out *PropertyMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PropertyPath ¶
type PropertyPath struct {
Name string `json:"name,omitempty"`
Verb string `json:"verb,omitempty"`
RequestBody RequestBody `json:"requestBody,omitempty"`
}
func (*PropertyPath) DeepCopy ¶
func (in *PropertyPath) DeepCopy() *PropertyPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyPath.
func (*PropertyPath) DeepCopyInto ¶
func (in *PropertyPath) DeepCopyInto(out *PropertyPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Reference ¶
type Reference struct {
Name string `json:"name,omitempty"` // Name of the reference
Property string `json:"property,omitempty"` // The OpenAPI property to map to
Target Target `json:"target,omitempty"` // The target CRD to map to
}
func (*Reference) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reference.
func (*Reference) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequestBody ¶
type RequestBody struct {
MimeType string `json:"mimeType,omitempty"`
}
func (*RequestBody) DeepCopy ¶
func (in *RequestBody) DeepCopy() *RequestBody
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestBody.
func (*RequestBody) DeepCopyInto ¶
func (in *RequestBody) DeepCopyInto(out *RequestBody)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Spec ¶
type Spec struct {
PluginSets []PluginSet `json:"pluginSets,omitempty"`
CRDConfig []CRDConfig `json:"crd,omitempty"`
OpenAPIDefinitions []OpenAPIDefinition `json:"openapi,omitempty"`
}
func (*Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
func (*Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct {
Type Type `json:"type,omitempty"` // The GroupVersionResource of the target CRD.
Properties []string `json:"properties,omitempty"` // The target CRD properties to map to.
}
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Type ¶
type Type struct {
Group string `json:"group,omitempty"`
Version string `json:"version,omitempty"`
Kind string `json:"kind,omitempty"`
Resource string `json:"resource,omitempty"`
}
func (*Type) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Type.
func (*Type) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XKubernetesMapping ¶
type XKubernetesMapping struct {
GVR string `json:"gvr,omitempty"`
PropertySelector string `json:"property-selector,omitempty"` // Selector in the referenced resource for the property to map to.
Properties []string `json:"properties,omitempty"` // List of properties to map to. First available value wins.
Property string `json:"property,omitempty"` // Single property to map to.
}
func (*XKubernetesMapping) DeepCopy ¶
func (in *XKubernetesMapping) DeepCopy() *XKubernetesMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XKubernetesMapping.
func (*XKubernetesMapping) DeepCopyInto ¶
func (in *XKubernetesMapping) DeepCopyInto(out *XKubernetesMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XOpenApiMapping ¶
type XOpenApiMapping struct {
Property string `json:"property,omitempty"`
Type string `json:"type,omitempty"`
}
func (*XOpenApiMapping) DeepCopy ¶
func (in *XOpenApiMapping) DeepCopy() *XOpenApiMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XOpenApiMapping.
func (*XOpenApiMapping) DeepCopyInto ¶
func (in *XOpenApiMapping) DeepCopyInto(out *XOpenApiMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.