Documentation
¶
Index ¶
- Constants
- Variables
- func AddAnnotation(o client.Object, key, value string)
- func AddSuccessfulConditions(obj core.ConditionAwareObject)
- func BuildGatewayTag(gw *gateway.Gateway) string
- func BuildTag(namespace, name string) string
- func CreateOrUpdate(ctx context.Context, obj client.Object, fns ...util.MutateFn) error
- func Delete[T client.Object](ctx context.Context, obj T) error
- func DeployGateway(ctx context.Context, gw *gateway.Gateway, ...) error
- func ErrorToCondition(obj client.Object, err error)
- func FindListenerIndexBySectionName(gw *gwAPIv1.Gateway, sectionName gwAPIv1.SectionName) int
- func GIOPemRegistryLabels(gwName string) map[string]string
- func GetClient() client.Client
- func GetCondition(obj core.ConditionAware, conditionType string) *metav1.Condition
- func GetHTTPHosts(route *gwAPIv1.HTTPRoute, gw *gwAPIv1.Gateway, ref gwAPIv1.ParentReference) []string
- func GetHTTPHostsForListenerAndRoute(httpRoute *gwAPIv1.HTTPRoute, listener gwAPIv1.Listener) []string
- func GetKafkaListener(gw *gwAPIv1.Gateway) *gwAPIv1.Listener
- func GetKafkaListenerStatus(gw *gateway.Gateway) *gwAPIv1.ListenerStatus
- func GetLatest[T client.Object](ctx context.Context, obj T) error
- func GetMatchingGatewayLabels(obj client.Object) map[string]string
- func GetRefNs(referer client.Object, ns string) string
- func GetSupportedRouteKinds(listener gwAPIv1.Listener) []gwAPIv1.RouteGroupKind
- func GwAPIv1GatewayLabels(gwName string) map[string]string
- func GwAPIv1HTTPRouteLabels(routeNAme string) map[string]string
- func HasGatewayClassParameters(gw *gwAPIv1.GatewayClass, params *v1alpha1.GatewayClassParameters) bool
- func HasGraviteeLicense(params *v1alpha1.GatewayClassParameters) bool
- func HasGraviteeYAML(params *v1alpha1.GatewayClassParameters) bool
- func HasHTTPListenerAtIndex(gw *gwAPIv1.Gateway, index int) bool
- func HasHTTPRouteOwner(ownerRefs []metaV1.OwnerReference) bool
- func HasHTTPSupport(listener gwAPIv1.Listener) bool
- func HasHafkaListener(gw *gateway.Gateway) bool
- func HasIntersectingHostName(route *gwAPIv1.HTTPRoute, gw *gwAPIv1.Gateway, ref gwAPIv1.ParentReference) bool
- func HasIntersectingHostNameAtIndex(route *gwAPIv1.HTTPRoute, gw *gwAPIv1.Gateway, index int) bool
- func HasKafkaEnabled(params *v1alpha1.GatewayClassParameters) bool
- func HasUnresolvedRefs(obj core.ConditionAware) bool
- func IsAccepted(obj core.ConditionAware) bool
- func IsAttachedHTTPRoute(ctx context.Context, gw *gwAPIv1.Gateway, listener gwAPIv1.Listener, ...) (bool, error)
- func IsAttachedKafkaRoute(gw *gwAPIv1.Gateway, listener gwAPIv1.Listener, route v1alpha1.KafkaRoute) bool
- func IsConflicted(obj core.ConditionAware) bool
- func IsGatewayComponent(obj client.Object) bool
- func IsGatewayDependent(gw *gateway.Gateway, obj client.Object) bool
- func IsGatewayKind(ref gwAPIv1.ParentReference) bool
- func IsGatewayRef(gw *gwAPIv1.Gateway, ref gwAPIv1.ParentReference) bool
- func IsGrantedReference(ctx context.Context, from client.Object, to gwAPIv1.ObjectReference) (bool, error)
- func IsGraviteeIngress(ingress *netV1.Ingress) bool
- func IsKafkaListener(listener gwAPIv1.Listener) bool
- func IsKafkaListenerStatus(listener gwAPIv1.ListenerStatus) bool
- func IsKafkaRouteKind(routeKind gwAPIv1.RouteGroupKind) bool
- func IsListenerRef(gw *gwAPIv1.Gateway, listener gwAPIv1.Listener, ref gwAPIv1.ParentReference) bool
- func IsResolved(obj core.ConditionAware) bool
- func IsSecretRef(secret *coreV1.Secret, ref gwAPIv1.SecretObjectReference) bool
- func IsServiceKind(ref gwAPIv1.BackendObjectReference) bool
- func MapConditions(conditionsSlice []metav1.Condition) map[string]metav1.Condition
- func NsPtrToStr(ns *gwAPIv1.Namespace) string
- func RegisterClient(c client.Client)
- func ResolveGateway(ctx context.Context, routeMeta metav1.ObjectMeta, ref gwAPIv1.ParentReference) (*gwAPIv1.Gateway, error)
- func ResolveRouteHostnames(ctx context.Context, route *gwAPIv1.HTTPRoute) []string
- func SetCondition(obj core.ConditionAware, condition *metav1.Condition)
- func SetConditions(obj client.Object, conditions []metav1.Condition)
- func SupportsRouteNamespace(ctx context.Context, gw *gwAPIv1.Gateway, ref gwAPIv1.ParentReference, ...) (bool, error)
- func Update[T client.Object](ctx context.Context, objNew T) error
- func UpdateStatus[T client.Object](ctx context.Context, objNew T) error
- type ConditionBuilder
- func NewAcceptedConditionBuilder(generation int64) *ConditionBuilder
- func NewConditionBuilder(cType string) *ConditionBuilder
- func NewGatewayProgrammedConditionBuilder(generation int64) *ConditionBuilder
- func NewHTTPRoutePathConflictedConditionBuilder(generation int64) *ConditionBuilder
- func NewListenerConflictedConditionBuilder(generation int64) *ConditionBuilder
- func NewListenerProgrammedConditionBuilder(generation int64) *ConditionBuilder
- func NewResolvedRefsConditionBuilder(generation int64) *ConditionBuilder
- func (b *ConditionBuilder) Accept(msg string) *ConditionBuilder
- func (b *ConditionBuilder) Build() *metav1.Condition
- func (b *ConditionBuilder) Message(msg string) *ConditionBuilder
- func (b *ConditionBuilder) ObservedGeneration(gen int64) *ConditionBuilder
- func (b *ConditionBuilder) Program(msg string) *ConditionBuilder
- func (b *ConditionBuilder) Reason(reason string) *ConditionBuilder
- func (b *ConditionBuilder) RejectBackendNotFound(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectBackendRefNotPermitted(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectConflictingPath(routeID string) *ConditionBuilder
- func (b *ConditionBuilder) RejectGroupNotFound(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectInvalidBackendKind(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectInvalidCertificateRef(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectInvalidGatewayKind(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectInvalidParameters(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectInvalidRouteKinds(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectLicenseNotFound(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectListenerRefNotPermitted(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectListenersNotValid(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectNoMatchingListenerHostname(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectNoMatchingParent(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectNotAllowedByListener(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectTooManyCertificateRefs(msg string) *ConditionBuilder
- func (b *ConditionBuilder) RejectUnsupportedProtocol(msg string) *ConditionBuilder
- func (b *ConditionBuilder) ResolveRefs(msg string) *ConditionBuilder
- func (b *ConditionBuilder) Status(status metav1.ConditionStatus) *ConditionBuilder
Constants ¶
View Source
const ( ConditionAccepted = "Accepted" ConditionProgrammed = "Programmed" ConditionConflicted = "Conflicted" ConditionPending = "Pending" ConditionResolvedRefs = "ResolvedRefs" ListenerReasonTooManyCertRefs = "TooManyCertificateRefs" ListenerReasonKafkaConflict = "TooManyKafkaListeners" ParamsReasonLicenseNotFound = "LicenseNotFound" ReasonNoConflict = "NoConflicts" ReasonGroupNotFound = "GroupNotFound" ConditionStatusTrue = "True" ConditionStatusFalse = "False" )
View Source
const ( DefaultCPURequest = "200m" DefaultCPULimit = "500m" DefaultMemRequest = "256Mi" DefaultMemLimit = "512Mi" DefaultConfigVolumeName = "config" UserConfigVolumeName = "user-config" DefaultLicenseVolumeName = "license" DefaultConfigFileEntry = "gravitee.yml" DefaultLogConfigFileEntry = "logback.xml" UserConfigFileEntry = "user.yml" DefaultProbePort = 18082 GatewayConfigMapPrefix = "gio-gw-config-" PEMRegistryConfigMapPrefix = "gio-pem-registry-" GatewayContainerName = "gateway" DefaultGatewayImage = "graviteeio/apim-gateway" DefaultGatewayConfigPath = "/opt/graviteeio-gateway/config/" DefaultGatewayLogConfigFile = DefaultGatewayConfigPath + DefaultLogConfigFileEntry DefaultGatewayConfigFile = DefaultGatewayConfigPath + DefaultConfigFileEntry UserGatewayConfigFile = DefaultGatewayConfigPath + "user.yml" DefaultLicenseMountPath = "/opt/graviteeio-gateway/license" InstanceLabelKey = "app.kubernetes.io/instance" ComponentLabelKey = "app.kubernetes.io/component" VersionLabelKey = "app.kubernetes.io/version" NameLabelKey = "app.kubernetes.io/name" PartOfLabelKey = "app.kubernetes.io/part-of" ManagedByLabelKey = "app.kubernetes.io/managed-by" ManagedByLabelValue = "gko.gravitee.io" PartOfLabelValue = "apim.gravitee.io" GatewayComponentLabelValue = "gateway" HTTPRouteComponentlabelValue = "http-route" PEMRegistryComponentLabelValue = "kubernetes-pem-registry" )
View Source
const ( GwAPIv1HTTPRouteKind = "HTTPRoute" GwAPIv1GatewayKind = "Gateway" CoreV1ServiceKind = "Service" CoreV1SecretKind = "Secret" GwAPIv1APIVersion = "gateway.networking.k8s.io/v1" GraviteeAPIVersion = "gravitee.io/v1alpha1" GraviteeKafkaRouteKind = "KafkaRoute" ServiceURIPattern = "http://%s.%s.svc.cluster.local:%d" )
Variables ¶
View Source
var ( DefaultReplicas int32 = 1 DefaultVolumeSourceMode int32 = 420 )
View Source
var ( GwAPIv1Group = gwAPIv1.Group(gwAPIv1.GroupVersion.Group) GraviteeGroup = gwAPIv1.Group(v1alpha1.GroupVersion.Group) )
View Source
var CommonLabels = map[string]string{ PartOfLabelKey: PartOfLabelValue, ManagedByLabelKey: ManagedByLabelValue, }
View Source
var ConfigVolumeMount = coreV1.VolumeMount{ Name: DefaultConfigVolumeName, MountPath: DefaultGatewayConfigFile, SubPath: DefaultConfigFileEntry, ReadOnly: true, }
View Source
var DefaultConfigVolumeSource = coreV1.VolumeSource{ ConfigMap: &coreV1.ConfigMapVolumeSource{ DefaultMode: &DefaultVolumeSourceMode, LocalObjectReference: coreV1.LocalObjectReference{}, }, }
View Source
var DefaultGatewayConfigMap = &coreV1.ConfigMap{ ObjectMeta: metaV1.ObjectMeta{}, Data: map[string]string{}, }
View Source
var DefaultGatewayConfigVolume = coreV1.Volume{ Name: DefaultConfigVolumeName, VolumeSource: DefaultConfigVolumeSource, }
View Source
var DefaultGatewayContainer = coreV1.Container{ Image: DefaultGatewayImage, ImagePullPolicy: coreV1.PullIfNotPresent, Name: GatewayContainerName, LivenessProbe: DefaultLivenessProbe, ReadinessProbe: DefaultReadinessProbe, StartupProbe: DefaultStartupProbe, VolumeMounts: []coreV1.VolumeMount{}, Ports: []coreV1.ContainerPort{}, Resources: *DefaultResources, }
View Source
var DefaultGatewayDeployment = &appV1.Deployment{ ObjectMeta: metaV1.ObjectMeta{}, Spec: *DefaultGatewayDeploymentSpec, }
View Source
var DefaultGatewayDeploymentSpec = &appV1.DeploymentSpec{ Replicas: &DefaultReplicas, Selector: &metaV1.LabelSelector{}, Template: coreV1.PodTemplateSpec{ Spec: *DefaultGatewayPodSpec, }, }
View Source
var DefaultGatewayPodSpec = &coreV1.PodSpec{ Containers: []coreV1.Container{ DefaultGatewayContainer, }, Resources: DefaultResources, Volumes: []coreV1.Volume{}, }
View Source
var DefaultGatewayPodTemplate = &coreV1.PodTemplateSpec{ ObjectMeta: metaV1.ObjectMeta{}, Spec: *DefaultGatewayPodSpec, }
View Source
var DefaultLicenseConfigVolume = coreV1.Volume{ Name: DefaultLicenseVolumeName, VolumeSource: DefaultLicenseVolumeSource, }
View Source
var DefaultLicenseVolumeSource = coreV1.VolumeSource{ Secret: &coreV1.SecretVolumeSource{ DefaultMode: &DefaultVolumeSourceMode, }, }
View Source
var DefaultLivenessProbe = &coreV1.Probe{ FailureThreshold: 300000, PeriodSeconds: 5, SuccessThreshold: 1, TimeoutSeconds: 2, ProbeHandler: coreV1.ProbeHandler{ HTTPGet: &coreV1.HTTPGetAction{ HTTPHeaders: []coreV1.HTTPHeader{ {Name: "Authorization", Value: "Basic YWRtaW46YWRtaW4="}, }, Path: "/_node/health?probes=http-server", Port: intstr.FromInt32(DefaultProbePort), Scheme: "HTTP", }, }, }
View Source
var DefaultPEMRegistryConfigMap = &coreV1.ConfigMap{ ObjectMeta: metaV1.ObjectMeta{}, Data: map[string]string{}, }
View Source
var DefaultReadinessProbe = &coreV1.Probe{ FailureThreshold: 2, PeriodSeconds: 10, SuccessThreshold: 1, TimeoutSeconds: 2, ProbeHandler: coreV1.ProbeHandler{ HTTPGet: &coreV1.HTTPGetAction{ HTTPHeaders: []coreV1.HTTPHeader{ {Name: "Authorization", Value: "Basic YWRtaW46YWRtaW4="}, }, Path: "/_node/health?probes=http-server", Port: intstr.FromInt32(DefaultProbePort), Scheme: "HTTP", }, }, }
View Source
var DefaultResources = &coreV1.ResourceRequirements{ Requests: coreV1.ResourceList{ coreV1.ResourceCPU: resource.MustParse(DefaultCPURequest), coreV1.ResourceMemory: resource.MustParse(DefaultMemRequest), }, Limits: coreV1.ResourceList{ coreV1.ResourceCPU: resource.MustParse(DefaultCPULimit), coreV1.ResourceMemory: resource.MustParse(DefaultMemLimit), }, }
View Source
var DefaultService = &coreV1.Service{ ObjectMeta: metaV1.ObjectMeta{}, Spec: *DefaultServiceSpec, }
View Source
var DefaultServiceSpec = &coreV1.ServiceSpec{ Ports: []coreV1.ServicePort{}, Type: coreV1.ServiceTypeLoadBalancer, }
View Source
var DefaultStartupProbe = &coreV1.Probe{ FailureThreshold: 100, InitialDelaySeconds: 5, PeriodSeconds: 2, SuccessThreshold: 1, TimeoutSeconds: 2, ProbeHandler: coreV1.ProbeHandler{ HTTPGet: &coreV1.HTTPGetAction{ HTTPHeaders: []coreV1.HTTPHeader{ {Name: "Authorization", Value: "Basic YWRtaW46YWRtaW4="}, }, Path: "/_node/health?probes=http-server", Port: intstr.FromInt32(DefaultProbePort), Scheme: "HTTP", }, }, }
View Source
var LicenseVolumeMount = coreV1.VolumeMount{ Name: DefaultLicenseVolumeName, MountPath: DefaultLicenseMountPath, ReadOnly: true, }
View Source
var LogConfigVolumeMount = coreV1.VolumeMount{ Name: DefaultConfigVolumeName, MountPath: DefaultGatewayLogConfigFile, SubPath: DefaultLogConfigFileEntry, ReadOnly: true, }
View Source
var ProtocolToRouteKinds = map[gwAPIv1.ProtocolType][]gwAPIv1.RouteGroupKind{ gwAPIv1.HTTPProtocolType: { { Group: &GwAPIv1Group, Kind: GwAPIv1HTTPRouteKind, }, }, gwAPIv1.HTTPSProtocolType: { { Group: &GwAPIv1Group, Kind: GwAPIv1HTTPRouteKind, }, }, gwAPIv1.TLSProtocolType: { { Group: &GraviteeGroup, Kind: GraviteeKafkaRouteKind, }, }, }
View Source
var ProtocolToServerType = map[gwAPIv1.ProtocolType]string{ gwAPIv1.HTTPProtocolType: "http", gwAPIv1.HTTPSProtocolType: "http", }
View Source
var SupportedGwAPIProtocols = sets.New( gwAPIv1.HTTPProtocolType, gwAPIv1.HTTPSProtocolType, gwAPIv1.TLSProtocolType, )
View Source
var UserConfigVolumeMount = coreV1.VolumeMount{ Name: UserConfigVolumeName, MountPath: UserGatewayConfigFile, SubPath: UserConfigFileEntry, ReadOnly: true, }
View Source
var UserGatewayConfigVolume = coreV1.Volume{ Name: UserConfigVolumeName, VolumeSource: DefaultConfigVolumeSource, }
Functions ¶
func AddAnnotation ¶
func AddSuccessfulConditions ¶
func AddSuccessfulConditions(obj core.ConditionAwareObject)
func BuildGatewayTag ¶
func CreateOrUpdate ¶
func DeployGateway ¶
func ErrorToCondition ¶
func FindListenerIndexBySectionName ¶
func FindListenerIndexBySectionName(gw *gwAPIv1.Gateway, sectionName gwAPIv1.SectionName) int
func GIOPemRegistryLabels ¶
func GetCondition ¶
func GetCondition(obj core.ConditionAware, conditionType string) *metav1.Condition
func GetHTTPHosts ¶
func GetKafkaListenerStatus ¶
func GetKafkaListenerStatus(gw *gateway.Gateway) *gwAPIv1.ListenerStatus
func GetSupportedRouteKinds ¶
func GetSupportedRouteKinds(listener gwAPIv1.Listener) []gwAPIv1.RouteGroupKind
func GwAPIv1GatewayLabels ¶
func GwAPIv1HTTPRouteLabels ¶
func HasGatewayClassParameters ¶
func HasGatewayClassParameters(gw *gwAPIv1.GatewayClass, params *v1alpha1.GatewayClassParameters) bool
func HasGraviteeLicense ¶
func HasGraviteeLicense(params *v1alpha1.GatewayClassParameters) bool
func HasGraviteeYAML ¶
func HasGraviteeYAML(params *v1alpha1.GatewayClassParameters) bool
func HasHTTPRouteOwner ¶
func HasHTTPRouteOwner(ownerRefs []metaV1.OwnerReference) bool
func HasHTTPSupport ¶
func HasHafkaListener ¶
func HasIntersectingHostName ¶
func HasKafkaEnabled ¶
func HasKafkaEnabled(params *v1alpha1.GatewayClassParameters) bool
func HasUnresolvedRefs ¶
func HasUnresolvedRefs(obj core.ConditionAware) bool
func IsAccepted ¶
func IsAccepted(obj core.ConditionAware) bool
func IsAttachedHTTPRoute ¶
func IsAttachedKafkaRoute ¶
func IsConflicted ¶
func IsConflicted(obj core.ConditionAware) bool
func IsGatewayComponent ¶
func IsGatewayKind ¶
func IsGatewayKind(ref gwAPIv1.ParentReference) bool
func IsGatewayRef ¶
func IsGatewayRef(gw *gwAPIv1.Gateway, ref gwAPIv1.ParentReference) bool
func IsGrantedReference ¶
func IsGraviteeIngress ¶
func IsKafkaListener ¶
func IsKafkaListenerStatus ¶
func IsKafkaListenerStatus(listener gwAPIv1.ListenerStatus) bool
func IsKafkaRouteKind ¶
func IsKafkaRouteKind(routeKind gwAPIv1.RouteGroupKind) bool
func IsListenerRef ¶
func IsResolved ¶
func IsResolved(obj core.ConditionAware) bool
func IsSecretRef ¶
func IsSecretRef(secret *coreV1.Secret, ref gwAPIv1.SecretObjectReference) bool
func IsServiceKind ¶
func IsServiceKind(ref gwAPIv1.BackendObjectReference) bool
func MapConditions ¶
func NsPtrToStr ¶
func RegisterClient ¶
func ResolveGateway ¶
func ResolveGateway( ctx context.Context, routeMeta metav1.ObjectMeta, ref gwAPIv1.ParentReference, ) (*gwAPIv1.Gateway, error)
func ResolveRouteHostnames ¶
func SetCondition ¶
func SetCondition(obj core.ConditionAware, condition *metav1.Condition)
func SupportsRouteNamespace ¶
Types ¶
type ConditionBuilder ¶
type ConditionBuilder struct {
// contains filtered or unexported fields
}
func NewAcceptedConditionBuilder ¶
func NewAcceptedConditionBuilder(generation int64) *ConditionBuilder
func NewConditionBuilder ¶
func NewConditionBuilder(cType string) *ConditionBuilder
func NewGatewayProgrammedConditionBuilder ¶
func NewGatewayProgrammedConditionBuilder(generation int64) *ConditionBuilder
func NewHTTPRoutePathConflictedConditionBuilder ¶
func NewHTTPRoutePathConflictedConditionBuilder(generation int64) *ConditionBuilder
func NewListenerConflictedConditionBuilder ¶
func NewListenerConflictedConditionBuilder(generation int64) *ConditionBuilder
func NewListenerProgrammedConditionBuilder ¶
func NewListenerProgrammedConditionBuilder(generation int64) *ConditionBuilder
func NewResolvedRefsConditionBuilder ¶
func NewResolvedRefsConditionBuilder(generation int64) *ConditionBuilder
func (*ConditionBuilder) Accept ¶
func (b *ConditionBuilder) Accept(msg string) *ConditionBuilder
func (*ConditionBuilder) Build ¶
func (b *ConditionBuilder) Build() *metav1.Condition
func (*ConditionBuilder) Message ¶
func (b *ConditionBuilder) Message(msg string) *ConditionBuilder
func (*ConditionBuilder) ObservedGeneration ¶
func (b *ConditionBuilder) ObservedGeneration(gen int64) *ConditionBuilder
func (*ConditionBuilder) Program ¶
func (b *ConditionBuilder) Program(msg string) *ConditionBuilder
func (*ConditionBuilder) Reason ¶
func (b *ConditionBuilder) Reason(reason string) *ConditionBuilder
func (*ConditionBuilder) RejectBackendNotFound ¶
func (b *ConditionBuilder) RejectBackendNotFound(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectBackendRefNotPermitted ¶
func (b *ConditionBuilder) RejectBackendRefNotPermitted(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectConflictingPath ¶
func (b *ConditionBuilder) RejectConflictingPath(routeID string) *ConditionBuilder
func (*ConditionBuilder) RejectGroupNotFound ¶
func (b *ConditionBuilder) RejectGroupNotFound(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectInvalidBackendKind ¶
func (b *ConditionBuilder) RejectInvalidBackendKind(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectInvalidCertificateRef ¶
func (b *ConditionBuilder) RejectInvalidCertificateRef(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectInvalidGatewayKind ¶
func (b *ConditionBuilder) RejectInvalidGatewayKind(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectInvalidParameters ¶
func (b *ConditionBuilder) RejectInvalidParameters(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectInvalidRouteKinds ¶
func (b *ConditionBuilder) RejectInvalidRouteKinds(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectLicenseNotFound ¶
func (b *ConditionBuilder) RejectLicenseNotFound(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectListenerRefNotPermitted ¶
func (b *ConditionBuilder) RejectListenerRefNotPermitted(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectListenersNotValid ¶
func (b *ConditionBuilder) RejectListenersNotValid(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectNoMatchingListenerHostname ¶
func (b *ConditionBuilder) RejectNoMatchingListenerHostname(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectNoMatchingParent ¶
func (b *ConditionBuilder) RejectNoMatchingParent(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectNotAllowedByListener ¶
func (b *ConditionBuilder) RejectNotAllowedByListener(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectTooManyCertificateRefs ¶
func (b *ConditionBuilder) RejectTooManyCertificateRefs(msg string) *ConditionBuilder
func (*ConditionBuilder) RejectUnsupportedProtocol ¶
func (b *ConditionBuilder) RejectUnsupportedProtocol(msg string) *ConditionBuilder
func (*ConditionBuilder) ResolveRefs ¶
func (b *ConditionBuilder) ResolveRefs(msg string) *ConditionBuilder
func (*ConditionBuilder) Status ¶
func (b *ConditionBuilder) Status(status metav1.ConditionStatus) *ConditionBuilder
Source Files
¶
Click to show internal directories.
Click to hide internal directories.