v1alpha1

package
v0.0.0-...-45ed318 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=apisix.apache.org

Index

Constants

View Source
const (
	AmeshPluginConfigTypePreRequest  = "pre-req"
	AmeshPluginConfigTypePostRequest = "post-req"
)
View Source
const GroupName = "apisix.apache.org"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AmeshPluginConfig

type AmeshPluginConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AmeshPluginConfigSpec   `json:"spec,omitempty"`
	Status AmeshPluginConfigStatus `json:"status,omitempty"`
}

AmeshPluginConfig is the Schema for the ameshpluginconfigs API

func (*AmeshPluginConfig) DeepCopy

func (in *AmeshPluginConfig) DeepCopy() *AmeshPluginConfig

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

func (*AmeshPluginConfig) DeepCopyInto

func (in *AmeshPluginConfig) DeepCopyInto(out *AmeshPluginConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AmeshPluginConfig) DeepCopyObject

func (in *AmeshPluginConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AmeshPluginConfigList

type AmeshPluginConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AmeshPluginConfig `json:"items"`
}

AmeshPluginConfigList contains a list of AmeshPluginConfig

func (*AmeshPluginConfigList) DeepCopy

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

func (*AmeshPluginConfigList) DeepCopyInto

func (in *AmeshPluginConfigList) DeepCopyInto(out *AmeshPluginConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AmeshPluginConfigList) DeepCopyObject

func (in *AmeshPluginConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AmeshPluginConfigPlugin

type AmeshPluginConfigPlugin struct {
	//+optional
	//+kubebuilder:validation:Enum="";pre-req;post-req
	//+kubebuilder:default=""
	Type AmeshPluginConfigType `json:"type,omitempty" yaml:"type,omitempty"`
	//+kubebuilder:validation:Required
	//+kubebuilder:validation:MinLength=1
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
	//+kubebuilder:validation:Required
	//+kubebuilder:validation:MinLength=2
	Config string `json:"config,omitempty" yaml:"config,omitempty"`
}

AmeshPluginConfigPlugin is the plugin config detail

func (*AmeshPluginConfigPlugin) DeepCopy

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

func (*AmeshPluginConfigPlugin) DeepCopyInto

func (in *AmeshPluginConfigPlugin) DeepCopyInto(out *AmeshPluginConfigPlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AmeshPluginConfigSpec

type AmeshPluginConfigSpec struct {
	//+required
	//+kubebuilder:validation:Required
	//+kubebuilder:validation:MinItems=1
	Plugins []AmeshPluginConfigPlugin `json:"plugins,omitempty" yaml:"plugins,omitempty"`

	// Label selector for pods.
	Selector *metav1.LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty"`
}

AmeshPluginConfigSpec defines the desired state of AmeshPluginConfig

func (*AmeshPluginConfigSpec) DeepCopy

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

func (*AmeshPluginConfigSpec) DeepCopyInto

func (in *AmeshPluginConfigSpec) DeepCopyInto(out *AmeshPluginConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AmeshPluginConfigStatus

type AmeshPluginConfigStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

AmeshPluginConfigStatus defines the observed state of AmeshPluginConfig

func (*AmeshPluginConfigStatus) DeepCopy

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

func (*AmeshPluginConfigStatus) DeepCopyInto

func (in *AmeshPluginConfigStatus) DeepCopyInto(out *AmeshPluginConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AmeshPluginConfigType

type AmeshPluginConfigType string

AmeshPluginConfigType is the config type

Jump to

Keyboard shortcuts

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