v1alpha1

package
v0.0.0-...-e88a9bf Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

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

func (in *CRDConfig) DeepCopy() *CRDConfig

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

func (*CRDConfig) DeepCopyInto

func (in *CRDConfig) DeepCopyInto(out *CRDConfig)

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

type Config struct {
	metav1.TypeMeta `json:",inline"`
	Spec            Spec `json:"spec"`
}

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto

func (in *Extension) DeepCopyInto(out *Extension)

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

func (in *Filters) DeepCopy() *Filters

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

func (*Filters) DeepCopyInto

func (in *Filters) DeepCopyInto(out *Filters)

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

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

func (in *PluginSet) DeepCopy() *PluginSet

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

func (*PluginSet) DeepCopyInto

func (in *PluginSet) DeepCopyInto(out *PluginSet)

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

func (in *Reference) DeepCopy() *Reference

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

func (*Reference) DeepCopyInto

func (in *Reference) DeepCopyInto(out *Reference)

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

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (in *Type) DeepCopy() *Type

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

func (*Type) DeepCopyInto

func (in *Type) DeepCopyInto(out *Type)

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.

Jump to

Keyboard shortcuts

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