# Functions
ExtractEntityFieldDefinitions extracts the fields in response of retrieving entity schema from Kong gateway and fill the definition of each field in the `Fields` map of returning value.
GetKongUpstreamPolicyForServices scans all Services in the group to see if their KongUpstreamPolicy is consistent and returns a non-nil KongUpstreamPolicy if it is.
IsKnownEntityType returns true if the entities of the type are "standard" and processed elsewhere in KIC.
NamespacedSecretToConfiguration fetches specified value from given namespace, secret and key, then parse the value to Kong plugin configurations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewServiceBackend creates a new ServiceBackend with an arbitrary backend type.
NewServiceBackendForService creates a new ServiceBackend for a Kubernetes Service.
NewServiceBackendForServiceFacade creates a new ServiceBackend for a KongServiceFacade.
RawConfigToConfiguration decodes raw JSON to the format of Kong configuration.
RawConfigurationWithNamespacedPatchesToConfiguration converts config and add patches from configPatches of KongClusterPlugin.
RawConfigurationWithPatchesToConfiguration converts config and add patches from configPatches of KongPlugin.
SecretToConfiguration fetches specified value from secret and key in the namespace, then parse the value to Kong plugin configurations.
TranslateKongUpstreamPolicy translates KongUpstreamPolicySpec to kong.Upstream.
# Constants
No description provided by the author
No description provided by the author
EntityFieldTypeForeign means that this field refers to another entity by the key (typically ID).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PortModeByName means that the Ingress specifies the Service port by its name field.
PortModeByNumber means that the Ingress specifies the Service port by raw port number.
PortModeImplicit means that the Ingress does not specify the Kubernetes Service port, and that KIC should expect the Service to have only one port defined.
ServiceBackendTypeKongServiceFacade means that the backend is an incubatorv1alpha1.KongServiceFacade.
ServiceBackendTypeKubernetesService means that the backend is a Kubernetes Service.
# Variables
No description provided by the author
No description provided by the author
# Structs
ACLGroup represents an ACL associated with a consumer.
BasicAuth represents a basic authentication credential.
Certificate represents the certificate object in Kong.
Consumer holds a Kong consumer and its plugins and credentials.
ConsumerGroup holds a Kong Consumer.
CredentialConflict represents a conflict in credentials.
CredentialConflictsDetector registers all credentials and detects conflicts globally using indices.
CredentialWithConsumer represents a credential and its associated consumer.
CustomEntity saves content of a Kong custom entity with the pointer to the k8s resource translating to it.
No description provided by the author
EntitySchema is the schema of an entity.
HMACAuth represents a HMAC credential.
JWTAuth represents a JWT credential.
KeyAuth represents a key-auth credential.
KongCustomEntityCollection is a collection of custom Kong entities with the same type.
KongState holds the configuration that should be applied to Kong.
License represents the license object in Kong.
MTLSAuth represents an MTLS auth credential.
No description provided by the author
Oauth2Credential represents an OAuth2 client configuration including credentials.
Plugin represents a plugin Object in Kong.
No description provided by the author
No description provided by the author
No description provided by the author
Route represents a Kong Route and holds a reference to the Ingress rule.
Service represents a service in Kong and holds routes associated with the service and other k8s metadata.
ServiceBackend represents a backend for a Kong Service.
Target is a wrapper around Target object in Kong.
Upstream is a wrapper around Upstream object in Kong.
No description provided by the author
# Interfaces
SchemaService is the interface to fetch the schema of a Kong entity by its type.
No description provided by the author
# Type aliases
EntityFieldType represents type of a Kong entity field.
No description provided by the author
No description provided by the author
No description provided by the author
ServiceBackendType is the type of the backend.
Services is a list of kongstate.Service objects with sorting enabled based on a lexographical comparison of the underlying kong.Service names which are always expected to be unique.