Documentation ¶
Index ¶
- Constants
- type CreateOrUpdateTraffic
- type DeleteTraffic
- type Ingress
- func (a *Ingress) AddManagedHost(h string) error
- func (a *Ingress) AddTLS(host string, secret *corev1.Secret)
- func (a *Ingress) ExposesOwnController() bool
- func (a *Ingress) GetCacheKey() string
- func (a *Ingress) GetDNSTargets() ([]kuadrantv1.Target, error)
- func (a *Ingress) GetHosts() []string
- func (a *Ingress) GetKind() string
- func (a *Ingress) GetNamespaceName() types.NamespacedName
- func (a *Ingress) GetSpec() interface{}
- func (a *Ingress) GetTLS() []TLSConfig
- func (a *Ingress) GetWebhookConfigurations(host string, caBundle []byte) ([]*admissionv1.ValidatingWebhookConfiguration, ...)
- func (a *Ingress) HasTLS() bool
- func (a *Ingress) RemoveTLS(hosts []string)
- func (a *Ingress) String() string
- type Interface
- type Pending
- type TLSConfig
Constants ¶
View Source
const (
AnnotationManagedHosts = "kuadrant.io/managed-hosts"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrUpdateTraffic ¶
type Ingress ¶
type Ingress struct {
*networkingv1.Ingress
}
func (*Ingress) AddManagedHost ¶
func (*Ingress) ExposesOwnController ¶
func (*Ingress) GetCacheKey ¶
func (*Ingress) GetDNSTargets ¶
func (a *Ingress) GetDNSTargets() ([]kuadrantv1.Target, error)
GetDNSTargets will return the LB hosts and or IPs from the the Ingress object associated with the cluster they came from
func (*Ingress) GetNamespaceName ¶
func (a *Ingress) GetNamespaceName() types.NamespacedName
func (*Ingress) GetWebhookConfigurations ¶
func (a *Ingress) GetWebhookConfigurations(host string, caBundle []byte) ([]*admissionv1.ValidatingWebhookConfiguration, []*admissionv1.MutatingWebhookConfiguration)
type Interface ¶
type Interface interface { runtime.Object metav1.Object AddManagedHost(h string) error GetKind() string GetHosts() []string GetCacheKey() string GetNamespaceName() types.NamespacedName AddTLS(host string, secret *corev1.Secret) HasTLS() bool GetTLS() []TLSConfig RemoveTLS(host []string) GetSpec() interface{} GetDNSTargets() ([]kuadrantv1.Target, error) GetWebhookConfigurations(host string, caBundle []byte) ([]*admissionv1.ValidatingWebhookConfiguration, []*admissionv1.MutatingWebhookConfiguration) ExposesOwnController() bool }
func NewIngress ¶
func NewIngress(i *networkingv1.Ingress) Interface
type Pending ¶
type Pending struct {
Rules []networkingv1.IngressRule `json:"rules"`
}
Click to show internal directories.
Click to hide internal directories.