Documentation

Overview

    Package v1 is the v1 version of the API. +groupName=configuration.konghq.com

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var (
    	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
    	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
    	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    
    	AddToScheme = localSchemeBuilder.AddToScheme
    )
    View Source
    var SchemeGroupVersion = info.SchemeGroupVersion

    Functions

    func Resource

    func Resource(resource string) schema.GroupResource

      Resource takes an unqualified resource and returns a Group qualified GroupResource

      Types

      type ActiveHealthCheck

      type ActiveHealthCheck struct {
      	Concurrency int        `json:"concurrency"`
      	Healthy     *Healthy   `json:"healthy"`
      	HTTPPath    string     `json:"http_path"`
      	Timeout     int        `json:"timeout"`
      	Unhealthy   *Unhealthy `json:"unhealthy"`
      }

      func (*ActiveHealthCheck) DeepCopy

      func (in *ActiveHealthCheck) DeepCopy() *ActiveHealthCheck

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

        func (*ActiveHealthCheck) DeepCopyInto

        func (in *ActiveHealthCheck) DeepCopyInto(out *ActiveHealthCheck)

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

          type Healthchecks

          type Healthchecks struct {
          	Active  *ActiveHealthCheck `json:"active,omitempty"`
          	Passive *Passive           `json:"passive,omitempty"`
          }

          func (*Healthchecks) DeepCopy

          func (in *Healthchecks) DeepCopy() *Healthchecks

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

            func (*Healthchecks) DeepCopyInto

            func (in *Healthchecks) DeepCopyInto(out *Healthchecks)

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

              type Healthy

              type Healthy struct {
              	HTTPStatuses []int `json:"http_statuses"`
              	Interval     int   `json:"interval"`
              	Successes    int   `json:"successes"`
              }

              func (*Healthy) DeepCopy

              func (in *Healthy) DeepCopy() *Healthy

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

                func (*Healthy) DeepCopyInto

                func (in *Healthy) DeepCopyInto(out *Healthy)

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

                  type KongIngress

                  type KongIngress struct {
                  	metav1.TypeMeta `json:",inline"`
                  	// +optional
                  	metav1.ObjectMeta `json:"metadata,omitempty"`
                  
                  	Upstream *Upstream `json:"upstream,omitempty"`
                  	Proxy    *Proxy    `json:"proxy,omitempty"`
                  	Route    *Route    `json:"route,omitempty"`
                  }

                    KongIngress is a top-level type. A client is created for it. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

                    func (*KongIngress) DeepCopy

                    func (in *KongIngress) DeepCopy() *KongIngress

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

                      func (*KongIngress) DeepCopyInto

                      func (in *KongIngress) DeepCopyInto(out *KongIngress)

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

                        func (*KongIngress) DeepCopyObject

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

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

                          type KongIngressList

                          type KongIngressList struct {
                          	metav1.TypeMeta `json:",inline"`
                          	// +optional
                          	metav1.ListMeta `json:"metadata,omitempty"`
                          	// +optional
                          	Items []KongIngress `json:"items"`
                          }

                            KongIngressList is a top-level list type. The client methods for lists are automatically created. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

                            func (*KongIngressList) DeepCopy

                            func (in *KongIngressList) DeepCopy() *KongIngressList

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

                              func (*KongIngressList) DeepCopyInto

                              func (in *KongIngressList) DeepCopyInto(out *KongIngressList)

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

                                func (*KongIngressList) DeepCopyObject

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

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

                                  type Passive

                                  type Passive struct {
                                  	Healthy   *Healthy   `json:"healthy,omitempty"`
                                  	Unhealthy *Unhealthy `json:"unhealthy,omitempty"`
                                  }

                                  func (*Passive) DeepCopy

                                  func (in *Passive) DeepCopy() *Passive

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

                                    func (*Passive) DeepCopyInto

                                    func (in *Passive) DeepCopyInto(out *Passive)

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

                                      type Proxy

                                      type Proxy struct {
                                      	Path           string `json:"path"`
                                      	ConnectTimeout int    `json:"connect_timeout"`
                                      	Retries        int    `json:"retries"`
                                      	ReadTimeout    int    `json:"read_timeout"`
                                      	WriteTimeout   int    `json:"write_timeout"`
                                      }

                                      func (*Proxy) DeepCopy

                                      func (in *Proxy) DeepCopy() *Proxy

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

                                        func (*Proxy) DeepCopyInto

                                        func (in *Proxy) DeepCopyInto(out *Proxy)

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

                                          type Route

                                          type Route struct {
                                          	Methods       []string `json:"methods"`
                                          	RegexPriority int      `json:"regex_priority"`
                                          	StripPath     bool     `json:"strip_path"`
                                          	PreserveHost  bool     `json:"preserve_host"`
                                          }

                                            Route defines optional settings defined in Kong Routes

                                            func (*Route) DeepCopy

                                            func (in *Route) DeepCopy() *Route

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

                                              func (*Route) DeepCopyInto

                                              func (in *Route) DeepCopyInto(out *Route)

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

                                                type Unhealthy

                                                type Unhealthy struct {
                                                	HTTPFailures int   `json:"http_failures"`
                                                	HTTPStatuses []int `json:"http_statuses"`
                                                	Interval     int   `json:"interval"`
                                                	TCPFailures  int   `json:"tcp_failures"`
                                                	Timeouts     int   `json:"timeouts"`
                                                }

                                                func (*Unhealthy) DeepCopy

                                                func (in *Unhealthy) DeepCopy() *Unhealthy

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

                                                  func (*Unhealthy) DeepCopyInto

                                                  func (in *Unhealthy) DeepCopyInto(out *Unhealthy)

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

                                                    type Upstream

                                                    type Upstream struct {
                                                    	HashOn       string        `json:"hash_on"`
                                                    	HashOnHeader string        `json:"hash_on_header"`
                                                    	HashFallback string        `json:"hash_fallback"`
                                                    	Healthchecks *Healthchecks `json:"healthchecks,omitempty"`
                                                    	Slots        int           `json:"slots"`
                                                    }

                                                    func (*Upstream) DeepCopy

                                                    func (in *Upstream) DeepCopy() *Upstream

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

                                                      func (*Upstream) DeepCopyInto

                                                      func (in *Upstream) DeepCopyInto(out *Upstream)

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