v1

package
v0.0.0-...-0acf67a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the github.com v1 API group +kubebuilder:object:generate=true +groupName=github.com.my.domain

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "github.com.my.domain", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ApisixPluginsObject

type ApisixPluginsObject struct {
	ProxyRewrite ApisixPluginsProxyRewrite `json:"proxy-rewrite"`
}

func (*ApisixPluginsObject) DeepCopy

func (in *ApisixPluginsObject) DeepCopy() *ApisixPluginsObject

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

func (*ApisixPluginsObject) DeepCopyInto

func (in *ApisixPluginsObject) DeepCopyInto(out *ApisixPluginsObject)

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

type ApisixPluginsProxyRewrite

type ApisixPluginsProxyRewrite struct {
	Uri     string            `json:"uri"`
	Host    string            `json:"host"`
	Scheme  string            `json:"scheme"`
	Headers map[string]string `json:"headers"`
}

func (*ApisixPluginsProxyRewrite) DeepCopy

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

func (*ApisixPluginsProxyRewrite) DeepCopyInto

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

type ApisixRoutes

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

	Spec   ApisixRoutesSpec   `json:"spec,omitempty"`
	Status ApisixRoutesStatus `json:"status,omitempty"`
}

ApisixRoutes is the Schema for the apisixroutes API

func (*ApisixRoutes) DeepCopy

func (in *ApisixRoutes) DeepCopy() *ApisixRoutes

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

func (*ApisixRoutes) DeepCopyInto

func (in *ApisixRoutes) DeepCopyInto(out *ApisixRoutes)

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

func (*ApisixRoutes) DeepCopyObject

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

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

type ApisixRoutesIngressRef

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

func (*ApisixRoutesIngressRef) DeepCopy

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

func (*ApisixRoutesIngressRef) DeepCopyInto

func (in *ApisixRoutesIngressRef) DeepCopyInto(out *ApisixRoutesIngressRef)

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

type ApisixRoutesList

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

ApisixRoutesList contains a list of ApisixRoutes

func (*ApisixRoutesList) DeepCopy

func (in *ApisixRoutesList) DeepCopy() *ApisixRoutesList

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

func (*ApisixRoutesList) DeepCopyInto

func (in *ApisixRoutesList) DeepCopyInto(out *ApisixRoutesList)

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

func (*ApisixRoutesList) DeepCopyObject

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

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

type ApisixRoutesSpec

type ApisixRoutesSpec struct {

	// Foo is an example field of ApisixRoutes. Edit ApisixRoutes_types.go to remove/update
	IngressRef ApisixRoutesIngressRef `json:"ingressRef"`
	Type       string                 `json:"type"`
}

ApisixRoutesSpec defines the desired state of ApisixRoutes

func (*ApisixRoutesSpec) DeepCopy

func (in *ApisixRoutesSpec) DeepCopy() *ApisixRoutesSpec

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

func (*ApisixRoutesSpec) DeepCopyInto

func (in *ApisixRoutesSpec) DeepCopyInto(out *ApisixRoutesSpec)

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

type ApisixRoutesStatus

type ApisixRoutesStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Uri             string              `json:"uri"`
	Host            string              `json:"host"`
	Priority        int64               `json:"priority"`
	Methods         []string            `json:"methods"`
	Plugins         ApisixPluginsObject `json:"plugins"`
	ServiceProtocol string              `json:"service_protocol"`
	UpstreamId      string              `json:"upstream_id"`
}

ApisixRoutesStatus defines the observed state of ApisixRoutes

func (*ApisixRoutesStatus) DeepCopy

func (in *ApisixRoutesStatus) DeepCopy() *ApisixRoutesStatus

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

func (*ApisixRoutesStatus) DeepCopyInto

func (in *ApisixRoutesStatus) DeepCopyInto(out *ApisixRoutesStatus)

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

type ApisixServiceRef

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

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

func (*ApisixServiceRef) DeepCopy

func (in *ApisixServiceRef) DeepCopy() *ApisixServiceRef

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

func (*ApisixServiceRef) DeepCopyInto

func (in *ApisixServiceRef) DeepCopyInto(out *ApisixServiceRef)

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

type ApisixUpstreamNode

type ApisixUpstreamNode struct {
	Host   string `json:"host"`
	Port   int64  `json:"port"`
	Weight int64  `json:"weight"`
}

func (*ApisixUpstreamNode) DeepCopy

func (in *ApisixUpstreamNode) DeepCopy() *ApisixUpstreamNode

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

func (*ApisixUpstreamNode) DeepCopyInto

func (in *ApisixUpstreamNode) DeepCopyInto(out *ApisixUpstreamNode)

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

type ApisixUpstreamTimeout

type ApisixUpstreamTimeout struct {
	Connect int64 `json:"connect"`
	Send    int64 `json:"send"`
	Read    int64 `json:"read"`
}

func (*ApisixUpstreamTimeout) DeepCopy

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

func (*ApisixUpstreamTimeout) DeepCopyInto

func (in *ApisixUpstreamTimeout) DeepCopyInto(out *ApisixUpstreamTimeout)

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

type ApisixUpstreams

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

	Spec   ApisixUpstreamsSpec   `json:"spec,omitempty"`
	Status ApisixUpstreamsStatus `json:"status,omitempty"`
}

ApisixUpstreams is the Schema for the apisixupstreams API

func (*ApisixUpstreams) DeepCopy

func (in *ApisixUpstreams) DeepCopy() *ApisixUpstreams

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

func (*ApisixUpstreams) DeepCopyInto

func (in *ApisixUpstreams) DeepCopyInto(out *ApisixUpstreams)

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

func (*ApisixUpstreams) DeepCopyObject

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

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

type ApisixUpstreamsList

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

ApisixUpstreamsList contains a list of ApisixUpstreams

func (*ApisixUpstreamsList) DeepCopy

func (in *ApisixUpstreamsList) DeepCopy() *ApisixUpstreamsList

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

func (*ApisixUpstreamsList) DeepCopyInto

func (in *ApisixUpstreamsList) DeepCopyInto(out *ApisixUpstreamsList)

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

func (*ApisixUpstreamsList) DeepCopyObject

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

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

type ApisixUpstreamsSpec

type ApisixUpstreamsSpec struct {

	// Foo is an example field of ApisixUpstreams. Edit ApisixUpstreams_types.go to remove/update
	ServiceRef ApisixServiceRef `json:"serviceRef"`
	Type       string           `json:"type"`
}

ApisixUpstreamsSpec defines the desired state of ApisixUpstreams

func (*ApisixUpstreamsSpec) DeepCopy

func (in *ApisixUpstreamsSpec) DeepCopy() *ApisixUpstreamsSpec

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

func (*ApisixUpstreamsSpec) DeepCopyInto

func (in *ApisixUpstreamsSpec) DeepCopyInto(out *ApisixUpstreamsSpec)

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

type ApisixUpstreamsStatus

type ApisixUpstreamsStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Nodes   []ApisixUpstreamNode  `json:"nodes"`
	Retries int64                 `json:"retries"`
	Type    string                `json:"type"`
	Timeout ApisixUpstreamTimeout `json:"timeout"`
}

ApisixUpstreamsStatus defines the observed state of ApisixUpstreams

func (*ApisixUpstreamsStatus) DeepCopy

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

func (*ApisixUpstreamsStatus) DeepCopyInto

func (in *ApisixUpstreamsStatus) DeepCopyInto(out *ApisixUpstreamsStatus)

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
JackTT - Gopher 🇻🇳