Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
- type ActiveHealthCheck
- type Certificate
- type CertificateList
- type Configuration
- type Consumer
- type ConsumerList
- type Credential
- type CredentialList
- type Healthchecks
- type Healthy
- type InlineService
- type Passive
- type Plugin
- type PluginList
- type Required
- type RequiredList
- type Route
- type RouteList
- type SNI
- type SNIList
- type Service
- type ServiceList
- type Target
- type TargetList
- type Unhealthy
- type Upstream
- type UpstreamList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveHealthCheck ¶
type ActiveHealthCheck struct { Concurrency int `json:"concurrency,omitempty"` Healthy *Healthy `json:"healthy,omitempty"` HTTPPath string `json:"http_path,omitempty"` Timeout int `json:"timeout,omitempty"` Unhealthy *Unhealthy `json:"unhealthy,omitempty"` }
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 Certificate ¶
type Certificate struct { Required `json:",inline"` Cert string `json:"cert"` Key string `json:"key"` Hosts []string `json:"snis"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) DeepCopyObject ¶
func (in *Certificate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateList ¶
type CertificateList struct { RequiredList `json:",inline"` Items []Certificate `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CertificateList) DeepCopy ¶
func (in *CertificateList) DeepCopy() *CertificateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList.
func (*CertificateList) DeepCopyInto ¶
func (in *CertificateList) DeepCopyInto(out *CertificateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateList) DeepCopyObject ¶
func (in *CertificateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Configuration ¶
type Configuration map[string]interface{}
Configuration contains a plugin configuration +k8s:deepcopy-gen=false
type Consumer ¶
type Consumer struct { Required `json:",inline"` Username string `json:"username,omitempty"` CustomID string `json:"custom_id,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Consumer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Consumer.
func (*Consumer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Consumer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsumerList ¶
type ConsumerList struct { RequiredList `json:",inline"` Items []Consumer `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ConsumerList) DeepCopy ¶
func (in *ConsumerList) DeepCopy() *ConsumerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerList.
func (*ConsumerList) DeepCopyInto ¶
func (in *ConsumerList) DeepCopyInto(out *ConsumerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsumerList) DeepCopyObject ¶
func (in *ConsumerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Credential ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Credential) DeepCopy ¶
func (in *Credential) DeepCopy() *Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.
func (*Credential) DeepCopyInto ¶
func (in *Credential) DeepCopyInto(out *Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Credential) DeepCopyObject ¶
func (in *Credential) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CredentialList ¶
type CredentialList struct { RequiredList `json:",inline"` Items []Credential `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CredentialList) DeepCopy ¶
func (in *CredentialList) DeepCopy() *CredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList.
func (*CredentialList) DeepCopyInto ¶
func (in *CredentialList) DeepCopyInto(out *CredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CredentialList) DeepCopyObject ¶
func (in *CredentialList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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,omitempty"` Interval int `json:"interval,omitempty"` Successes int `json:"successes,omitempty"` }
func (*Healthy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthy.
func (*Healthy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InlineService ¶
type InlineService struct {
ID string `json:"id"`
}
func (*InlineService) DeepCopy ¶
func (in *InlineService) DeepCopy() *InlineService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InlineService.
func (*InlineService) DeepCopyInto ¶
func (in *InlineService) DeepCopyInto(out *InlineService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Passive ¶
type Passive struct { Healthy Healthy `json:"healthy,omitempty"` Unhealthy *Unhealthy `json:"unhealthy,omitempty"` }
func (*Passive) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Passive.
func (*Passive) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plugin ¶
type Plugin struct { Required `json:",inline"` Name string `json:"name"` Config Configuration `json:"config,omitempty"` Enabled bool `json:"enabled,omitempty"` Service string `json:"service_id,omitempty"` Route string `json:"route_id,omitempty"` Consumer string `json:"consumer_id,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plugin) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PluginList ¶
type PluginList struct { RequiredList `json:",inline"` Items []Plugin `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PluginList) DeepCopy ¶
func (in *PluginList) DeepCopy() *PluginList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginList.
func (*PluginList) DeepCopyInto ¶
func (in *PluginList) DeepCopyInto(out *PluginList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PluginList) DeepCopyObject ¶
func (in *PluginList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Required ¶
type Required struct { metav1.TypeMeta `json:"-"` metav1.ObjectMeta `json:"-"` ID string `json:"id,omitempty"` Tags []string `json:"tags,omitempty"` CreatedAt int `json:"created_at,omitempty"` UpdatedAt int `json:"updated_at,omitempty"` }
Required defines the required fields to work between Kubernetes and Kong and also defines common field present in Kong entities +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Required) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Required.
func (*Required) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Required) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RequiredList ¶
type RequiredList struct { metav1.TypeMeta `json:"-"` metav1.ListMeta `json:"-"` NextPage string `json:"next"` Offset string `json:"offset"` }
RequiredList ... +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*RequiredList) DeepCopy ¶
func (in *RequiredList) DeepCopy() *RequiredList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredList.
func (*RequiredList) DeepCopyInto ¶
func (in *RequiredList) DeepCopyInto(out *RequiredList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RequiredList) DeepCopyObject ¶
func (in *RequiredList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Route ¶
type Route struct { Required `json:",inline"` Protocols []string `json:"protocols"` Hosts []string `json:"hosts"` Paths []string `json:"paths"` Methods []string `json:"methods"` PreserveHost bool `json:"preserve_host"` StripPath bool `json:"strip_path"` RegexPriority int `json:"regex_priority"` Service InlineService `json:"service"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteList ¶
type RouteList struct { RequiredList `json:",inline"` Items []Route `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*RouteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
func (*RouteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SNI ¶
type SNI struct { Required `json:",inline"` Name string `json:"name"` Certificate string `json:"ssl_certificate_id"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SNI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNI.
func (*SNI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SNI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SNIList ¶
type SNIList struct { RequiredList `json:",inline"` Items []SNI `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*SNIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNIList.
func (*SNIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SNIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Service ¶
type Service struct { Required `json:",inline"` Name string `json:"name"` Protocol string `json:"protocol,omitempty"` Host string `json:"host,omitempty"` Port int `json:"port,omitempty"` Path string `json:"path,omitempty"` Retries int `json:"retries,omitempty"` ConnectTimeout int `json:"connect_timeout,omitempty"` ReadTimeout int `json:"read_timeout,omitempty"` WriteTimeout int `json:"write_timeout,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceList ¶
type ServiceList struct { metav1.TypeMeta `json:"-"` metav1.ListMeta `json:"-"` Items []Service `json:"data"` NextPage string `json:"next"` Offset string `json:"offset"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Target ¶
type Target struct { Required `json:",inline"` Target string `json:"target"` Weight int `json:"weight,omitempty"` Upstream string `json:"upstream_id"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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.
func (*Target) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetList ¶
type TargetList struct { RequiredList `json:",inline"` Items []Target `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TargetList) DeepCopy ¶
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Unhealthy ¶
type Unhealthy struct { HTTPFailures int `json:"http_failures,omitempty"` HTTPStatuses []int `json:"http_statuses,omitempty"` Interval int `json:"interval,omitempty"` TCPFailures int `json:"tcp_failures,omitempty"` Timeouts int `json:"timeouts,omitempty"` }
func (*Unhealthy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unhealthy.
func (*Unhealthy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Upstream ¶
type Upstream struct { Required `json:",inline"` Name string `json:"name"` HashOn string `json:"hash_on,omitempty"` HashOnHeader string `json:"hash_on_header,omitempty"` HashFallback string `json:"hash_fallback,omitempty"` Healthchecks *Healthchecks `json:"healthchecks,omitempty"` Slots int `json:"slots,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewUpstream ¶
func (*Upstream) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream.
func (*Upstream) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Upstream) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpstreamList ¶
type UpstreamList struct { RequiredList `json:",inline"` Items []Upstream `json:"data"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*UpstreamList) DeepCopy ¶
func (in *UpstreamList) DeepCopy() *UpstreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamList.
func (*UpstreamList) DeepCopyInto ¶
func (in *UpstreamList) DeepCopyInto(out *UpstreamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpstreamList) DeepCopyObject ¶
func (in *UpstreamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.