Documentation ¶
Index ¶
- Constants
- type IngressClassState
- type IngressState
- type StateStore
- func (s *StateStore) BuildState(ingressClass *networkingv1.IngressClass) error
- func (s *StateStore) GetAllBackendSetForIngressClass() sets.String
- func (s *StateStore) GetAllListenersForIngressClass() sets.Int32
- func (s *StateStore) GetBackendSetHealthChecker(bsName string) *ociloadbalancer.HealthCheckerDetails
- func (s *StateStore) GetBackendSetPolicy(bsName string) string
- func (s *StateStore) GetIngressBackendSets(ingressName string) sets.String
- func (s *StateStore) GetIngressPorts(ingressName string) sets.Int32
- func (s *StateStore) GetListenerProtocol(listenerPort int32) string
- func (s *StateStore) GetTLSConfigForBackendSet(bsName string) (string, string)
- func (s *StateStore) GetTLSConfigForListener(port int32) (string, string)
- type TlsConfig
Constants ¶
View Source
const ( DefaultIngressName = "default_ingress" ArtifactTypeSecret = "secret" ArtifactTypeCertificate = "certificate" PortConflictMessage = "validation failure: service port %d configured with multiple certificates or secrets" HealthCheckerConflictMessage = "validation failure: conflict with health checker configured for backend set %s" PolicyConflictMessage = "validation failure: conflict with policy configured for backend set %s" ProtocolConflictMessage = "validation failure: conflict with protocol configured for listener %d" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressClassState ¶
type IngressClassState struct { BackendSets sets.String BackendSetHealthCheckerMap map[string]*ociloadbalancer.HealthCheckerDetails BackendSetPolicyMap map[string]string BackendSetTLSConfigMap map[string]TlsConfig Listeners sets.Int32 ListenerProtocolMap map[int32]string ListenerTLSConfigMap map[int32]TlsConfig }
type IngressState ¶
type StateStore ¶
type StateStore struct { IngressClassLister networkinglisters.IngressClassLister IngressLister networkinglisters.IngressLister ServiceLister corelisters.ServiceLister IngressGroupState IngressClassState IngressState map[string]IngressState // contains filtered or unexported fields }
func NewStateStore ¶
func NewStateStore(ingressClassLister networkinglisters.IngressClassLister, ingressLister networkinglisters.IngressLister, serviceLister corelisters.ServiceLister, collector *metric.IngressCollector) *StateStore
func (*StateStore) BuildState ¶
func (s *StateStore) BuildState(ingressClass *networkingv1.IngressClass) error
func (*StateStore) GetAllBackendSetForIngressClass ¶
func (s *StateStore) GetAllBackendSetForIngressClass() sets.String
func (*StateStore) GetAllListenersForIngressClass ¶
func (s *StateStore) GetAllListenersForIngressClass() sets.Int32
func (*StateStore) GetBackendSetHealthChecker ¶
func (s *StateStore) GetBackendSetHealthChecker(bsName string) *ociloadbalancer.HealthCheckerDetails
func (*StateStore) GetBackendSetPolicy ¶
func (s *StateStore) GetBackendSetPolicy(bsName string) string
func (*StateStore) GetIngressBackendSets ¶
func (s *StateStore) GetIngressBackendSets(ingressName string) sets.String
func (*StateStore) GetIngressPorts ¶
func (s *StateStore) GetIngressPorts(ingressName string) sets.Int32
func (*StateStore) GetListenerProtocol ¶
func (s *StateStore) GetListenerProtocol(listenerPort int32) string
func (*StateStore) GetTLSConfigForBackendSet ¶
func (s *StateStore) GetTLSConfigForBackendSet(bsName string) (string, string)
func (*StateStore) GetTLSConfigForListener ¶
func (s *StateStore) GetTLSConfigForListener(port int32) (string, string)
Click to show internal directories.
Click to hide internal directories.