Documentation ¶
Overview ¶
Package configurator is a generated GoMock package.
Package configurator implements the Configurator interface that provides APIs to retrieve FSM control plane configurations.
Index ¶
- type Client
- func (c *Client) GetCertKeyBitSize() int
- func (c *Client) GetClusterUID() string
- func (c *Client) GetConfigResyncInterval() time.Duration
- func (c *Client) GetCurlImage() string
- func (c *Client) GetFGWLogLevel() string
- func (c *Client) GetFGWSSLPassthroughUpstreamPort() int32
- func (c *Client) GetFLBSecretName() string
- func (c *Client) GetFSMGatewayLogLevel() string
- func (c *Client) GetFSMIngressLogLevel() string
- func (c *Client) GetFSMLogLevel() string
- func (c *Client) GetFSMNamespace() string
- func (c *Client) GetFeatureFlags() configv1alpha3.FeatureFlags
- func (c *Client) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
- func (c *Client) GetImagePullPolicy() corev1.PullPolicy
- func (c *Client) GetImageRegistry() string
- func (c *Client) GetImageTag() string
- func (c *Client) GetInboundExternalAuthConfig() auth.ExtAuthConfig
- func (c *Client) GetIngressGatewayCertValidityPeriod() time.Duration
- func (c *Client) GetIngressHTTPListenPort() int32
- func (c *Client) GetIngressSSLPassthroughUpstreamPort() int32
- func (c *Client) GetIngressTLSListenPort() int32
- func (c *Client) GetInitContainerImage() string
- func (c *Client) GetLocalDNSProxyPrimaryUpstream() string
- func (c *Client) GetLocalDNSProxySecondaryUpstream() string
- func (c *Client) GetMaxDataPlaneConnections() int
- func (c *Client) GetMeshConfig() configv1alpha3.MeshConfig
- func (c *Client) GetMeshConfigJSON() (string, error)
- func (c *Client) GetMultiClusterControlPlaneUID() string
- func (c *Client) GetProxyResources() corev1.ResourceRequirements
- func (c *Client) GetProxyServerPort() uint32
- func (c *Client) GetRemoteLoggingAuthorization() string
- func (c *Client) GetRemoteLoggingEndpoint() string
- func (c *Client) GetRemoteLoggingHost() string
- func (c *Client) GetRemoteLoggingLevel() uint16
- func (c *Client) GetRemoteLoggingPort() uint32
- func (c *Client) GetRemoteLoggingSampledFraction() float32
- func (c *Client) GetRemoteLoggingSecretName() string
- func (c *Client) GetRepoServerCodebase() string
- func (c *Client) GetRepoServerIPAddr() string
- func (c *Client) GetServiceAccessMode() string
- func (c *Client) GetServiceCertValidityPeriod() time.Duration
- func (c *Client) GetSidecarClass() string
- func (c *Client) GetSidecarDisabledMTLS() bool
- func (c *Client) GetSidecarImage() string
- func (c *Client) GetSidecarLogLevel() string
- func (c *Client) GetSidecarTimeout() int
- func (c *Client) GetTracingEndpoint() string
- func (c *Client) GetTracingHost() string
- func (c *Client) GetTracingPort() uint32
- func (c *Client) GetTracingSampledFraction() float32
- func (c *Client) GetTrafficInterceptionMode() string
- func (c *Client) IsDebugServerEnabled() bool
- func (c *Client) IsEgressEnabled() bool
- func (c *Client) IsFGWHTTP1PerRequestLoadBalancingEnabled() bool
- func (c *Client) IsFGWHTTP2PerRequestLoadBalancingEnabled() bool
- func (c *Client) IsFGWStripAnyHostPort() bool
- func (c *Client) IsFLBEnabled() bool
- func (c *Client) IsFLBStrictModeEnabled() bool
- func (c *Client) IsGatewayAPIEnabled() bool
- func (c *Client) IsIngressEnabled() bool
- func (c *Client) IsIngressHTTPEnabled() bool
- func (c *Client) IsIngressMTLSEnabled() bool
- func (c *Client) IsIngressSSLPassthroughEnabled() bool
- func (c *Client) IsIngressTLSEnabled() bool
- func (c *Client) IsLocalDNSProxyEnabled() bool
- func (c *Client) IsManaged() bool
- func (c *Client) IsMultiClusterControlPlane() bool
- func (c *Client) IsNamespacedIngressEnabled() bool
- func (c *Client) IsPermissiveTrafficPolicyMode() bool
- func (c *Client) IsPrivilegedInitContainer() bool
- func (c *Client) IsRemoteLoggingEnabled() bool
- func (c *Client) IsServiceLBEnabled() bool
- func (c *Client) IsTracingEnabled() bool
- func (c *Client) ServiceLBImage() string
- type Configurator
- type MockConfigurator
- func (m *MockConfigurator) EXPECT() *MockConfiguratorMockRecorder
- func (m *MockConfigurator) GetCertKeyBitSize() int
- func (m *MockConfigurator) GetClusterUID() string
- func (m *MockConfigurator) GetConfigResyncInterval() time.Duration
- func (m *MockConfigurator) GetCurlImage() string
- func (m *MockConfigurator) GetFGWLogLevel() string
- func (m *MockConfigurator) GetFGWSSLPassthroughUpstreamPort() int32
- func (m *MockConfigurator) GetFLBSecretName() string
- func (m *MockConfigurator) GetFSMGatewayLogLevel() string
- func (m *MockConfigurator) GetFSMIngressLogLevel() string
- func (m *MockConfigurator) GetFSMLogLevel() string
- func (m *MockConfigurator) GetFSMNamespace() string
- func (m *MockConfigurator) GetFeatureFlags() v1alpha3.FeatureFlags
- func (m *MockConfigurator) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
- func (m *MockConfigurator) GetImagePullPolicy() v1.PullPolicy
- func (m *MockConfigurator) GetImageRegistry() string
- func (m *MockConfigurator) GetImageTag() string
- func (m *MockConfigurator) GetInboundExternalAuthConfig() auth.ExtAuthConfig
- func (m *MockConfigurator) GetIngressGatewayCertValidityPeriod() time.Duration
- func (m *MockConfigurator) GetIngressHTTPListenPort() int32
- func (m *MockConfigurator) GetIngressSSLPassthroughUpstreamPort() int32
- func (m *MockConfigurator) GetIngressTLSListenPort() int32
- func (m *MockConfigurator) GetInitContainerImage() string
- func (m *MockConfigurator) GetLocalDNSProxyPrimaryUpstream() string
- func (m *MockConfigurator) GetLocalDNSProxySecondaryUpstream() string
- func (m *MockConfigurator) GetMaxDataPlaneConnections() int
- func (m *MockConfigurator) GetMeshConfig() v1alpha3.MeshConfig
- func (m *MockConfigurator) GetMeshConfigJSON() (string, error)
- func (m *MockConfigurator) GetMultiClusterControlPlaneUID() string
- func (m *MockConfigurator) GetProxyResources() v1.ResourceRequirements
- func (m *MockConfigurator) GetProxyServerPort() uint32
- func (m *MockConfigurator) GetRemoteLoggingAuthorization() string
- func (m *MockConfigurator) GetRemoteLoggingEndpoint() string
- func (m *MockConfigurator) GetRemoteLoggingHost() string
- func (m *MockConfigurator) GetRemoteLoggingLevel() uint16
- func (m *MockConfigurator) GetRemoteLoggingPort() uint32
- func (m *MockConfigurator) GetRemoteLoggingSampledFraction() float32
- func (m *MockConfigurator) GetRemoteLoggingSecretName() string
- func (m *MockConfigurator) GetRepoServerCodebase() string
- func (m *MockConfigurator) GetRepoServerIPAddr() string
- func (m *MockConfigurator) GetServiceAccessMode() string
- func (m *MockConfigurator) GetServiceCertValidityPeriod() time.Duration
- func (m *MockConfigurator) GetSidecarClass() string
- func (m *MockConfigurator) GetSidecarDisabledMTLS() bool
- func (m *MockConfigurator) GetSidecarImage() string
- func (m *MockConfigurator) GetSidecarLogLevel() string
- func (m *MockConfigurator) GetSidecarTimeout() int
- func (m *MockConfigurator) GetTracingEndpoint() string
- func (m *MockConfigurator) GetTracingHost() string
- func (m *MockConfigurator) GetTracingPort() uint32
- func (m *MockConfigurator) GetTracingSampledFraction() float32
- func (m *MockConfigurator) GetTrafficInterceptionMode() string
- func (m *MockConfigurator) IsDebugServerEnabled() bool
- func (m *MockConfigurator) IsEgressEnabled() bool
- func (m *MockConfigurator) IsFGWHTTP1PerRequestLoadBalancingEnabled() bool
- func (m *MockConfigurator) IsFGWHTTP2PerRequestLoadBalancingEnabled() bool
- func (m *MockConfigurator) IsFGWStripAnyHostPort() bool
- func (m *MockConfigurator) IsFLBEnabled() bool
- func (m *MockConfigurator) IsFLBStrictModeEnabled() bool
- func (m *MockConfigurator) IsGatewayAPIEnabled() bool
- func (m *MockConfigurator) IsIngressEnabled() bool
- func (m *MockConfigurator) IsIngressHTTPEnabled() bool
- func (m *MockConfigurator) IsIngressMTLSEnabled() bool
- func (m *MockConfigurator) IsIngressSSLPassthroughEnabled() bool
- func (m *MockConfigurator) IsIngressTLSEnabled() bool
- func (m *MockConfigurator) IsLocalDNSProxyEnabled() bool
- func (m *MockConfigurator) IsManaged() bool
- func (m *MockConfigurator) IsMultiClusterControlPlane() bool
- func (m *MockConfigurator) IsNamespacedIngressEnabled() bool
- func (m *MockConfigurator) IsPermissiveTrafficPolicyMode() bool
- func (m *MockConfigurator) IsPrivilegedInitContainer() bool
- func (m *MockConfigurator) IsRemoteLoggingEnabled() bool
- func (m *MockConfigurator) IsServiceLBEnabled() bool
- func (m *MockConfigurator) IsTracingEnabled() bool
- func (m *MockConfigurator) ServiceLBImage() string
- type MockConfiguratorMockRecorder
- func (mr *MockConfiguratorMockRecorder) GetCertKeyBitSize() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetClusterUID() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetConfigResyncInterval() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetCurlImage() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFGWLogLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFGWSSLPassthroughUpstreamPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFLBSecretName() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFSMGatewayLogLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFSMIngressLogLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFSMLogLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFSMNamespace() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetFeatureFlags() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetGlobalPluginChains() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetImagePullPolicy() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetImageRegistry() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetImageTag() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetInboundExternalAuthConfig() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetIngressGatewayCertValidityPeriod() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetIngressHTTPListenPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetIngressSSLPassthroughUpstreamPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetIngressTLSListenPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetInitContainerImage() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetLocalDNSProxyPrimaryUpstream() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetLocalDNSProxySecondaryUpstream() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetMaxDataPlaneConnections() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetMeshConfig() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetMeshConfigJSON() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetMultiClusterControlPlaneUID() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetProxyResources() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetProxyServerPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingAuthorization() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingEndpoint() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingHost() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingSampledFraction() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingSecretName() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRepoServerCodebase() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRepoServerIPAddr() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetServiceAccessMode() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetServiceCertValidityPeriod() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetSidecarClass() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetSidecarDisabledMTLS() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetSidecarImage() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetSidecarLogLevel() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetSidecarTimeout() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetTracingEndpoint() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetTracingHost() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetTracingPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetTracingSampledFraction() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetTrafficInterceptionMode() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsDebugServerEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsEgressEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsFGWHTTP1PerRequestLoadBalancingEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsFGWHTTP2PerRequestLoadBalancingEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsFGWStripAnyHostPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsFLBEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsFLBStrictModeEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsGatewayAPIEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsIngressEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsIngressHTTPEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsIngressMTLSEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsIngressSSLPassthroughEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsIngressTLSEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsLocalDNSProxyEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsManaged() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsMultiClusterControlPlane() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsNamespacedIngressEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsPermissiveTrafficPolicyMode() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsPrivilegedInitContainer() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsRemoteLoggingEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsServiceLBEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsTracingEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) ServiceLBImage() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the type used to represent the Kubernetes Client for the config.flomesh.io API group
func NewConfigurator ¶
func NewConfigurator(informerCollection *informers.InformerCollection, fsmNamespace, meshConfigName string, msgBroker *messaging.Broker) *Client
NewConfigurator implements configurator.Configurator and creates the Kubernetes client to manage namespaces.
func (*Client) GetCertKeyBitSize ¶
GetCertKeyBitSize returns the certificate key bit size to be used
func (*Client) GetClusterUID ¶ added in v1.1.0
GetClusterUID returns the UID of the cluster
func (*Client) GetConfigResyncInterval ¶
GetConfigResyncInterval returns the duration for resync interval. If error or non-parsable value, returns 0 duration
func (*Client) GetCurlImage ¶ added in v1.2.0
func (*Client) GetFGWLogLevel ¶ added in v1.1.4
GetFGWLogLevel returns log level of FGW
func (*Client) GetFGWSSLPassthroughUpstreamPort ¶ added in v1.1.4
GetFGWSSLPassthroughUpstreamPort returns the default upstream port that FGW used for SSL Passthrough
func (*Client) GetFLBSecretName ¶ added in v1.1.0
GetFLBSecretName returns the secret name for FLB
func (*Client) GetFSMGatewayLogLevel ¶ added in v1.1.0
GetFSMGatewayLogLevel returns log level of FSM Gateway
func (*Client) GetFSMIngressLogLevel ¶ added in v1.1.0
GetFSMIngressLogLevel returns the log level of ingress
func (*Client) GetFSMLogLevel ¶
GetFSMLogLevel returns the configured FSM log level
func (*Client) GetFSMNamespace ¶
GetFSMNamespace returns the namespace in which the FSM controller pod resides.
func (*Client) GetFeatureFlags ¶
func (c *Client) GetFeatureFlags() configv1alpha3.FeatureFlags
GetFeatureFlags returns FSM's feature flags
func (*Client) GetGlobalPluginChains ¶
func (c *Client) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
GetGlobalPluginChains returns plugin chains
func (*Client) GetImagePullPolicy ¶ added in v1.1.0
func (c *Client) GetImagePullPolicy() corev1.PullPolicy
func (*Client) GetImageRegistry ¶ added in v1.1.0
GetImageRegistry returns the image registry
func (*Client) GetImageTag ¶ added in v1.1.0
GetImageTag returns the image tag
func (*Client) GetInboundExternalAuthConfig ¶
func (c *Client) GetInboundExternalAuthConfig() auth.ExtAuthConfig
GetInboundExternalAuthConfig returns the External Authentication configuration for incoming traffic, if any
func (*Client) GetIngressGatewayCertValidityPeriod ¶
GetIngressGatewayCertValidityPeriod returns the validity duration for ingress gateway certificates, and a default in case of unspecified or invalid duration
func (*Client) GetIngressHTTPListenPort ¶ added in v1.1.0
GetIngressHTTPListenPort returns the port that ingress listens on for HTTP
func (*Client) GetIngressSSLPassthroughUpstreamPort ¶ added in v1.1.0
GetIngressSSLPassthroughUpstreamPort returns the port that ingress listens on for SSL Passthrough
func (*Client) GetIngressTLSListenPort ¶ added in v1.1.0
GetIngressTLSListenPort returns the port that ingress listens on for TLS
func (*Client) GetInitContainerImage ¶
GetInitContainerImage returns the init container image
func (*Client) GetLocalDNSProxyPrimaryUpstream ¶
GetLocalDNSProxyPrimaryUpstream returns the primary upstream DNS server for local DNS Proxy
func (*Client) GetLocalDNSProxySecondaryUpstream ¶
GetLocalDNSProxySecondaryUpstream returns the secondary upstream DNS server for local DNS Proxy
func (*Client) GetMaxDataPlaneConnections ¶
GetMaxDataPlaneConnections returns the max data plane connections allowed, 0 if disabled
func (*Client) GetMeshConfig ¶
func (c *Client) GetMeshConfig() configv1alpha3.MeshConfig
GetMeshConfig returns the MeshConfig resource corresponding to the control plane
func (*Client) GetMeshConfigJSON ¶
GetMeshConfigJSON returns the MeshConfig in pretty JSON.
func (*Client) GetMultiClusterControlPlaneUID ¶ added in v1.1.0
GetMultiClusterControlPlaneUID returns the UID of the control plane of the multi cluster set
func (*Client) GetProxyResources ¶
func (c *Client) GetProxyResources() corev1.ResourceRequirements
GetProxyResources returns the `Resources` configured for proxies, if any
func (*Client) GetProxyServerPort ¶
GetProxyServerPort returns the port on which the Discovery Service listens for new connections from Sidecars
func (*Client) GetRemoteLoggingAuthorization ¶
GetRemoteLoggingAuthorization returns the access entity that allows to authorize someone in remote logging service.
func (*Client) GetRemoteLoggingEndpoint ¶
GetRemoteLoggingEndpoint returns the collector endpoint
func (*Client) GetRemoteLoggingHost ¶
GetRemoteLoggingHost is the host to which we send logging spans
func (*Client) GetRemoteLoggingLevel ¶ added in v1.1.1
GetRemoteLoggingLevel returns the remote logging level
func (*Client) GetRemoteLoggingPort ¶
GetRemoteLoggingPort returns the remote logging listener port
func (*Client) GetRemoteLoggingSampledFraction ¶
GetRemoteLoggingSampledFraction returns the sampled fraction
func (*Client) GetRemoteLoggingSecretName ¶ added in v1.1.0
GetRemoteLoggingSecretName returns the name of the secret that contains the credentials to access the remote logging service.
func (*Client) GetRepoServerCodebase ¶
GetRepoServerCodebase returns the codebase of RepoServer
func (*Client) GetRepoServerIPAddr ¶
GetRepoServerIPAddr returns the ip address of RepoServer
func (*Client) GetServiceAccessMode ¶ added in v1.0.1
GetServiceAccessMode tells us which service access mode,
func (*Client) GetServiceCertValidityPeriod ¶
GetServiceCertValidityPeriod returns the validity duration for service certificates, and a default in case of invalid duration
func (*Client) GetSidecarClass ¶
GetSidecarClass returns the sidecar class
func (*Client) GetSidecarDisabledMTLS ¶
GetSidecarDisabledMTLS returns the status of mTLS
func (*Client) GetSidecarImage ¶
GetSidecarImage returns the sidecar image
func (*Client) GetSidecarLogLevel ¶
GetSidecarLogLevel returns the sidecar log level
func (*Client) GetSidecarTimeout ¶ added in v1.1.1
GetSidecarTimeout returns connect/idle/read/write timeout
func (*Client) GetTracingEndpoint ¶
GetTracingEndpoint returns the listener's collector endpoint
func (*Client) GetTracingHost ¶
GetTracingHost is the host to which we send tracing spans
func (*Client) GetTracingPort ¶
GetTracingPort returns the tracing listener port
func (*Client) GetTracingSampledFraction ¶
GetTracingSampledFraction returns the sampled fraction
func (*Client) GetTrafficInterceptionMode ¶
GetTrafficInterceptionMode returns the traffic interception mode
func (*Client) IsDebugServerEnabled ¶
IsDebugServerEnabled determines whether fsm debug HTTP server is enabled
func (*Client) IsEgressEnabled ¶
IsEgressEnabled determines whether egress is globally enabled in the mesh or not.
func (*Client) IsFGWHTTP1PerRequestLoadBalancingEnabled ¶ added in v1.1.4
IsFGWHTTP1PerRequestLoadBalancingEnabled returns whether per-request load balancing is enabled for HTTP1 protocol
func (*Client) IsFGWHTTP2PerRequestLoadBalancingEnabled ¶ added in v1.1.4
IsFGWHTTP2PerRequestLoadBalancingEnabled returns whether per-request load balancing is enabled for HTTP2 protocol
func (*Client) IsFGWStripAnyHostPort ¶ added in v1.1.4
IsFGWStripAnyHostPort returns whether to strip any host port
func (*Client) IsFLBEnabled ¶ added in v1.1.0
IsFLBEnabled returns whether FLB is enabled
func (*Client) IsFLBStrictModeEnabled ¶ added in v1.1.0
IsFLBStrictModeEnabled returns whether FLB is in strict mode
func (*Client) IsGatewayAPIEnabled ¶ added in v1.1.0
IsGatewayAPIEnabled returns whether GatewayAPI is enabled
func (*Client) IsIngressEnabled ¶ added in v1.1.0
IsIngressEnabled returns whether Ingress is enabled
func (*Client) IsIngressHTTPEnabled ¶ added in v1.1.0
IsIngressHTTPEnabled returns whether HTTP is enabled for ingress
func (*Client) IsIngressMTLSEnabled ¶ added in v1.1.0
IsIngressMTLSEnabled returns whether mTLS is enabled for ingress
func (*Client) IsIngressSSLPassthroughEnabled ¶ added in v1.1.0
IsIngressSSLPassthroughEnabled returns whether SSL Passthrough is enabled for ingress
func (*Client) IsIngressTLSEnabled ¶ added in v1.1.0
IsIngressTLSEnabled returns whether TLS is enabled for ingress
func (*Client) IsLocalDNSProxyEnabled ¶
IsLocalDNSProxyEnabled returns whether local DNS proxy is enabled
func (*Client) IsMultiClusterControlPlane ¶ added in v1.1.0
IsMultiClusterControlPlane returns whether current cluster is the control plane of a multi cluster set
func (*Client) IsNamespacedIngressEnabled ¶ added in v1.1.0
IsNamespacedIngressEnabled returns whether Namespaced Ingress is enabled
func (*Client) IsPermissiveTrafficPolicyMode ¶
IsPermissiveTrafficPolicyMode tells us whether the FSM Control Plane is in permissive mode, where all existing traffic is allowed to flow as it is, or it is in SMI Spec mode, in which only traffic between source/destinations referenced in SMI policies is allowed.
func (*Client) IsPrivilegedInitContainer ¶
IsPrivilegedInitContainer returns whether init containers should be privileged
func (*Client) IsRemoteLoggingEnabled ¶
IsRemoteLoggingEnabled returns whether remote logging is enabled
func (*Client) IsServiceLBEnabled ¶ added in v1.1.0
IsServiceLBEnabled returns whether ServiceLB is enabled
func (*Client) IsTracingEnabled ¶
IsTracingEnabled returns whether tracing is enabled
func (*Client) ServiceLBImage ¶ added in v1.1.0
ServiceLBImage returns the image for service load balancer
type Configurator ¶
type Configurator interface { // GetMeshConfig returns the MeshConfig resource corresponding to the control plane GetMeshConfig() configv1alpha3.MeshConfig // GetFSMNamespace returns the namespace in which FSM controller pod resides GetFSMNamespace() string // GetMeshConfigJSON returns the MeshConfig in pretty JSON (human readable) GetMeshConfigJSON() (string, error) // GetTrafficInterceptionMode returns the traffic interception mode GetTrafficInterceptionMode() string // IsPermissiveTrafficPolicyMode determines whether we are in "allow-all" mode or SMI policy (block by default) mode IsPermissiveTrafficPolicyMode() bool // GetServiceAccessMode returns the service access mode GetServiceAccessMode() string // IsEgressEnabled determines whether egress is globally enabled in the mesh or not IsEgressEnabled() bool // IsDebugServerEnabled determines whether fsm debug HTTP server is enabled IsDebugServerEnabled() bool // IsTracingEnabled returns whether tracing is enabled IsTracingEnabled() bool // IsLocalDNSProxyEnabled returns whether local DNS proxy is enabled IsLocalDNSProxyEnabled() bool // GetLocalDNSProxyPrimaryUpstream returns the primary upstream DNS server for local DNS Proxy GetLocalDNSProxyPrimaryUpstream() string // GetLocalDNSProxySecondaryUpstream returns the secondary upstream DNS server for local DNS Proxy GetLocalDNSProxySecondaryUpstream() string // GetTracingHost is the host to which we send tracing spans GetTracingHost() string // GetTracingPort returns the tracing listener port GetTracingPort() uint32 // GetTracingEndpoint returns the collector endpoint GetTracingEndpoint() string // GetTracingSampledFraction returns the sampled fraction GetTracingSampledFraction() float32 // IsRemoteLoggingEnabled returns whether remote logging is enabled IsRemoteLoggingEnabled() bool // GetRemoteLoggingLevel returns the remote logging level GetRemoteLoggingLevel() uint16 // GetRemoteLoggingHost is the host to which we send logging spans GetRemoteLoggingHost() string // GetRemoteLoggingPort returns the remote logging listener port GetRemoteLoggingPort() uint32 // GetRemoteLoggingEndpoint returns the collector endpoint GetRemoteLoggingEndpoint() string // GetRemoteLoggingAuthorization returns the access entity that allows to authorize someone in remote logging service. GetRemoteLoggingAuthorization() string // GetRemoteLoggingSampledFraction returns the sampled fraction GetRemoteLoggingSampledFraction() float32 // GetRemoteLoggingSecretName returns the name of secret that contains the access entity that allows to authorize someone in remote logging service. GetRemoteLoggingSecretName() string // GetMaxDataPlaneConnections returns the max data plane connections allowed, 0 if disabled GetMaxDataPlaneConnections() int // GetSidecarTimeout returns connect/idle/read/write timeout GetSidecarTimeout() int // GetFSMLogLevel returns the configured FSM log level GetFSMLogLevel() string // GetSidecarLogLevel returns the sidecar log level GetSidecarLogLevel() string // GetSidecarClass returns the sidecar class GetSidecarClass() string // GetSidecarImage returns the sidecar image GetSidecarImage() string // GetInitContainerImage returns the init container image GetInitContainerImage() string // GetProxyServerPort returns the port on which the Discovery Service listens for new connections from Sidecars GetProxyServerPort() uint32 // GetSidecarDisabledMTLS returns the status of mTLS GetSidecarDisabledMTLS() bool // GetRepoServerIPAddr returns the ip address of RepoServer GetRepoServerIPAddr() string // GetRepoServerCodebase returns the codebase of RepoServer GetRepoServerCodebase() string // GetServiceCertValidityPeriod returns the validity duration for service certificates GetServiceCertValidityPeriod() time.Duration // GetIngressGatewayCertValidityPeriod returns the validity duration for the Ingress // Gateway certificate, default value if not specified GetIngressGatewayCertValidityPeriod() time.Duration // GetCertKeyBitSize returns the certificate key bit size GetCertKeyBitSize() int // IsPrivilegedInitContainer determines whether init containers should be privileged IsPrivilegedInitContainer() bool // GetConfigResyncInterval returns the duration for resync interval. // If error or non-parsable value, returns 0 duration GetConfigResyncInterval() time.Duration // GetProxyResources returns the `Resources` configured for proxies, if any GetProxyResources() corev1.ResourceRequirements // GetInboundExternalAuthConfig returns the External Authentication configuration for incoming traffic, if any GetInboundExternalAuthConfig() auth.ExtAuthConfig // GetFeatureFlags returns FSM's feature flags GetFeatureFlags() configv1alpha3.FeatureFlags // GetGlobalPluginChains returns plugin chains GetGlobalPluginChains() map[string][]trafficpolicy.Plugin // IsGatewayAPIEnabled returns whether GatewayAPI is enabled IsGatewayAPIEnabled() bool // GetFSMGatewayLogLevel returns log level of FSM Gateway GetFSMGatewayLogLevel() string // GetFGWLogLevel returns log level of FSM Gateway GetFGWLogLevel() string // IsFGWStripAnyHostPort returns whether to strip any host port IsFGWStripAnyHostPort() bool // GetFGWSSLPassthroughUpstreamPort returns the default upstream port that FGW used for SSL Passthrough GetFGWSSLPassthroughUpstreamPort() int32 // IsFGWHTTP1PerRequestLoadBalancingEnabled returns whether per-request load balancing is enabled for HTTP1 protocol IsFGWHTTP1PerRequestLoadBalancingEnabled() bool // IsFGWHTTP2PerRequestLoadBalancingEnabled returns whether per-request load balancing is enabled for HTTP2 protocol IsFGWHTTP2PerRequestLoadBalancingEnabled() bool // IsIngressEnabled returns whether Ingress is enabled IsIngressEnabled() bool // IsIngressTLSEnabled returns whether Ingress is enabled IsIngressTLSEnabled() bool // GetIngressTLSListenPort returns the listen port of Ingress TLS GetIngressTLSListenPort() int32 // IsIngressMTLSEnabled returns whether Ingress mTLS is enabled IsIngressMTLSEnabled() bool // IsIngressSSLPassthroughEnabled returns whether Ingress is enabled IsIngressSSLPassthroughEnabled() bool // GetIngressSSLPassthroughUpstreamPort returns the upstream port for SSL passthrough GetIngressSSLPassthroughUpstreamPort() int32 // IsNamespacedIngressEnabled returns whether Namespaced Ingress is enabled IsNamespacedIngressEnabled() bool // IsIngressHTTPEnabled returns whether http port of Ingress is enabled IsIngressHTTPEnabled() bool // GetIngressHTTPListenPort returns the listen port of Ingress HTTP GetIngressHTTPListenPort() int32 // GetFSMIngressLogLevel returns log level of FSM Gateway GetFSMIngressLogLevel() string // IsServiceLBEnabled returns whether ServiceLB is enabled IsServiceLBEnabled() bool // IsFLBEnabled returns whether FLB is enabled IsFLBEnabled() bool // GetFLBSecretName returns the secret name of FLB GetFLBSecretName() string // IsFLBStrictModeEnabled returns whether FLB Strict Mode is enabled IsFLBStrictModeEnabled() bool // IsMultiClusterControlPlane returns whether current cluster is the control plane of a multi cluster set IsMultiClusterControlPlane() bool // IsManaged returns whether the current cluster is managed by multicluster control plane IsManaged() bool // GetClusterUID returns the UID of the cluster GetClusterUID() string // GetMultiClusterControlPlaneUID returns the UID of the control plane if it's managed, or empty if not managed GetMultiClusterControlPlaneUID() string // GetImageRegistry returns the image registry GetImageRegistry() string // GetImageTag returns the image tag GetImageTag() string // GetImagePullPolicy returns the image pull policy GetImagePullPolicy() corev1.PullPolicy // ServiceLBImage string returns the service-lb image ServiceLBImage() string // GetCurlImage returns the curl image GetCurlImage() string }
Configurator is the controller interface for K8s namespaces
type MockConfigurator ¶
type MockConfigurator struct {
// contains filtered or unexported fields
}
MockConfigurator is a mock of Configurator interface.
func NewMockConfigurator ¶
func NewMockConfigurator(ctrl *gomock.Controller) *MockConfigurator
NewMockConfigurator creates a new mock instance.
func (*MockConfigurator) EXPECT ¶
func (m *MockConfigurator) EXPECT() *MockConfiguratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigurator) GetCertKeyBitSize ¶
func (m *MockConfigurator) GetCertKeyBitSize() int
GetCertKeyBitSize mocks base method.
func (*MockConfigurator) GetClusterUID ¶ added in v1.1.0
func (m *MockConfigurator) GetClusterUID() string
GetClusterUID mocks base method.
func (*MockConfigurator) GetConfigResyncInterval ¶
func (m *MockConfigurator) GetConfigResyncInterval() time.Duration
GetConfigResyncInterval mocks base method.
func (*MockConfigurator) GetCurlImage ¶ added in v1.2.0
func (m *MockConfigurator) GetCurlImage() string
GetCurlImage mocks base method.
func (*MockConfigurator) GetFGWLogLevel ¶ added in v1.1.4
func (m *MockConfigurator) GetFGWLogLevel() string
GetFGWLogLevel mocks base method.
func (*MockConfigurator) GetFGWSSLPassthroughUpstreamPort ¶ added in v1.1.4
func (m *MockConfigurator) GetFGWSSLPassthroughUpstreamPort() int32
GetFGWSSLPassthroughUpstreamPort mocks base method.
func (*MockConfigurator) GetFLBSecretName ¶ added in v1.1.0
func (m *MockConfigurator) GetFLBSecretName() string
GetFLBSecretName mocks base method.
func (*MockConfigurator) GetFSMGatewayLogLevel ¶ added in v1.1.0
func (m *MockConfigurator) GetFSMGatewayLogLevel() string
GetFSMGatewayLogLevel mocks base method.
func (*MockConfigurator) GetFSMIngressLogLevel ¶ added in v1.1.0
func (m *MockConfigurator) GetFSMIngressLogLevel() string
GetFSMIngressLogLevel mocks base method.
func (*MockConfigurator) GetFSMLogLevel ¶
func (m *MockConfigurator) GetFSMLogLevel() string
GetFSMLogLevel mocks base method.
func (*MockConfigurator) GetFSMNamespace ¶
func (m *MockConfigurator) GetFSMNamespace() string
GetFSMNamespace mocks base method.
func (*MockConfigurator) GetFeatureFlags ¶
func (m *MockConfigurator) GetFeatureFlags() v1alpha3.FeatureFlags
GetFeatureFlags mocks base method.
func (*MockConfigurator) GetGlobalPluginChains ¶
func (m *MockConfigurator) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
GetGlobalPluginChains mocks base method.
func (*MockConfigurator) GetImagePullPolicy ¶ added in v1.1.0
func (m *MockConfigurator) GetImagePullPolicy() v1.PullPolicy
GetImagePullPolicy mocks base method.
func (*MockConfigurator) GetImageRegistry ¶ added in v1.1.0
func (m *MockConfigurator) GetImageRegistry() string
GetImageRegistry mocks base method.
func (*MockConfigurator) GetImageTag ¶ added in v1.1.0
func (m *MockConfigurator) GetImageTag() string
GetImageTag mocks base method.
func (*MockConfigurator) GetInboundExternalAuthConfig ¶
func (m *MockConfigurator) GetInboundExternalAuthConfig() auth.ExtAuthConfig
GetInboundExternalAuthConfig mocks base method.
func (*MockConfigurator) GetIngressGatewayCertValidityPeriod ¶
func (m *MockConfigurator) GetIngressGatewayCertValidityPeriod() time.Duration
GetIngressGatewayCertValidityPeriod mocks base method.
func (*MockConfigurator) GetIngressHTTPListenPort ¶ added in v1.1.0
func (m *MockConfigurator) GetIngressHTTPListenPort() int32
GetIngressHTTPListenPort mocks base method.
func (*MockConfigurator) GetIngressSSLPassthroughUpstreamPort ¶ added in v1.1.0
func (m *MockConfigurator) GetIngressSSLPassthroughUpstreamPort() int32
GetIngressSSLPassthroughUpstreamPort mocks base method.
func (*MockConfigurator) GetIngressTLSListenPort ¶ added in v1.1.0
func (m *MockConfigurator) GetIngressTLSListenPort() int32
GetIngressTLSListenPort mocks base method.
func (*MockConfigurator) GetInitContainerImage ¶
func (m *MockConfigurator) GetInitContainerImage() string
GetInitContainerImage mocks base method.
func (*MockConfigurator) GetLocalDNSProxyPrimaryUpstream ¶
func (m *MockConfigurator) GetLocalDNSProxyPrimaryUpstream() string
GetLocalDNSProxyPrimaryUpstream mocks base method.
func (*MockConfigurator) GetLocalDNSProxySecondaryUpstream ¶
func (m *MockConfigurator) GetLocalDNSProxySecondaryUpstream() string
GetLocalDNSProxySecondaryUpstream mocks base method.
func (*MockConfigurator) GetMaxDataPlaneConnections ¶
func (m *MockConfigurator) GetMaxDataPlaneConnections() int
GetMaxDataPlaneConnections mocks base method.
func (*MockConfigurator) GetMeshConfig ¶
func (m *MockConfigurator) GetMeshConfig() v1alpha3.MeshConfig
GetMeshConfig mocks base method.
func (*MockConfigurator) GetMeshConfigJSON ¶
func (m *MockConfigurator) GetMeshConfigJSON() (string, error)
GetMeshConfigJSON mocks base method.
func (*MockConfigurator) GetMultiClusterControlPlaneUID ¶ added in v1.1.0
func (m *MockConfigurator) GetMultiClusterControlPlaneUID() string
GetMultiClusterControlPlaneUID mocks base method.
func (*MockConfigurator) GetProxyResources ¶
func (m *MockConfigurator) GetProxyResources() v1.ResourceRequirements
GetProxyResources mocks base method.
func (*MockConfigurator) GetProxyServerPort ¶
func (m *MockConfigurator) GetProxyServerPort() uint32
GetProxyServerPort mocks base method.
func (*MockConfigurator) GetRemoteLoggingAuthorization ¶
func (m *MockConfigurator) GetRemoteLoggingAuthorization() string
GetRemoteLoggingAuthorization mocks base method.
func (*MockConfigurator) GetRemoteLoggingEndpoint ¶
func (m *MockConfigurator) GetRemoteLoggingEndpoint() string
GetRemoteLoggingEndpoint mocks base method.
func (*MockConfigurator) GetRemoteLoggingHost ¶
func (m *MockConfigurator) GetRemoteLoggingHost() string
GetRemoteLoggingHost mocks base method.
func (*MockConfigurator) GetRemoteLoggingLevel ¶ added in v1.1.1
func (m *MockConfigurator) GetRemoteLoggingLevel() uint16
GetRemoteLoggingLevel mocks base method.
func (*MockConfigurator) GetRemoteLoggingPort ¶
func (m *MockConfigurator) GetRemoteLoggingPort() uint32
GetRemoteLoggingPort mocks base method.
func (*MockConfigurator) GetRemoteLoggingSampledFraction ¶
func (m *MockConfigurator) GetRemoteLoggingSampledFraction() float32
GetRemoteLoggingSampledFraction mocks base method.
func (*MockConfigurator) GetRemoteLoggingSecretName ¶ added in v1.1.0
func (m *MockConfigurator) GetRemoteLoggingSecretName() string
GetRemoteLoggingSecretName mocks base method.
func (*MockConfigurator) GetRepoServerCodebase ¶
func (m *MockConfigurator) GetRepoServerCodebase() string
GetRepoServerCodebase mocks base method.
func (*MockConfigurator) GetRepoServerIPAddr ¶
func (m *MockConfigurator) GetRepoServerIPAddr() string
GetRepoServerIPAddr mocks base method.
func (*MockConfigurator) GetServiceAccessMode ¶ added in v1.0.1
func (m *MockConfigurator) GetServiceAccessMode() string
GetServiceAccessMode mocks base method.
func (*MockConfigurator) GetServiceCertValidityPeriod ¶
func (m *MockConfigurator) GetServiceCertValidityPeriod() time.Duration
GetServiceCertValidityPeriod mocks base method.
func (*MockConfigurator) GetSidecarClass ¶
func (m *MockConfigurator) GetSidecarClass() string
GetSidecarClass mocks base method.
func (*MockConfigurator) GetSidecarDisabledMTLS ¶
func (m *MockConfigurator) GetSidecarDisabledMTLS() bool
GetSidecarDisabledMTLS mocks base method.
func (*MockConfigurator) GetSidecarImage ¶
func (m *MockConfigurator) GetSidecarImage() string
GetSidecarImage mocks base method.
func (*MockConfigurator) GetSidecarLogLevel ¶
func (m *MockConfigurator) GetSidecarLogLevel() string
GetSidecarLogLevel mocks base method.
func (*MockConfigurator) GetSidecarTimeout ¶ added in v1.1.1
func (m *MockConfigurator) GetSidecarTimeout() int
GetSidecarTimeout mocks base method.
func (*MockConfigurator) GetTracingEndpoint ¶
func (m *MockConfigurator) GetTracingEndpoint() string
GetTracingEndpoint mocks base method.
func (*MockConfigurator) GetTracingHost ¶
func (m *MockConfigurator) GetTracingHost() string
GetTracingHost mocks base method.
func (*MockConfigurator) GetTracingPort ¶
func (m *MockConfigurator) GetTracingPort() uint32
GetTracingPort mocks base method.
func (*MockConfigurator) GetTracingSampledFraction ¶
func (m *MockConfigurator) GetTracingSampledFraction() float32
GetTracingSampledFraction mocks base method.
func (*MockConfigurator) GetTrafficInterceptionMode ¶
func (m *MockConfigurator) GetTrafficInterceptionMode() string
GetTrafficInterceptionMode mocks base method.
func (*MockConfigurator) IsDebugServerEnabled ¶
func (m *MockConfigurator) IsDebugServerEnabled() bool
IsDebugServerEnabled mocks base method.
func (*MockConfigurator) IsEgressEnabled ¶
func (m *MockConfigurator) IsEgressEnabled() bool
IsEgressEnabled mocks base method.
func (*MockConfigurator) IsFGWHTTP1PerRequestLoadBalancingEnabled ¶ added in v1.1.4
func (m *MockConfigurator) IsFGWHTTP1PerRequestLoadBalancingEnabled() bool
IsFGWHTTP1PerRequestLoadBalancingEnabled mocks base method.
func (*MockConfigurator) IsFGWHTTP2PerRequestLoadBalancingEnabled ¶ added in v1.1.4
func (m *MockConfigurator) IsFGWHTTP2PerRequestLoadBalancingEnabled() bool
IsFGWHTTP2PerRequestLoadBalancingEnabled mocks base method.
func (*MockConfigurator) IsFGWStripAnyHostPort ¶ added in v1.1.4
func (m *MockConfigurator) IsFGWStripAnyHostPort() bool
IsFGWStripAnyHostPort mocks base method.
func (*MockConfigurator) IsFLBEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsFLBEnabled() bool
IsFLBEnabled mocks base method.
func (*MockConfigurator) IsFLBStrictModeEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsFLBStrictModeEnabled() bool
IsFLBStrictModeEnabled mocks base method.
func (*MockConfigurator) IsGatewayAPIEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsGatewayAPIEnabled() bool
IsGatewayAPIEnabled mocks base method.
func (*MockConfigurator) IsIngressEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsIngressEnabled() bool
IsIngressEnabled mocks base method.
func (*MockConfigurator) IsIngressHTTPEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsIngressHTTPEnabled() bool
IsIngressHTTPEnabled mocks base method.
func (*MockConfigurator) IsIngressMTLSEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsIngressMTLSEnabled() bool
IsIngressMTLSEnabled mocks base method.
func (*MockConfigurator) IsIngressSSLPassthroughEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsIngressSSLPassthroughEnabled() bool
IsIngressSSLPassthroughEnabled mocks base method.
func (*MockConfigurator) IsIngressTLSEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsIngressTLSEnabled() bool
IsIngressTLSEnabled mocks base method.
func (*MockConfigurator) IsLocalDNSProxyEnabled ¶
func (m *MockConfigurator) IsLocalDNSProxyEnabled() bool
IsLocalDNSProxyEnabled mocks base method.
func (*MockConfigurator) IsManaged ¶ added in v1.1.0
func (m *MockConfigurator) IsManaged() bool
IsManaged mocks base method.
func (*MockConfigurator) IsMultiClusterControlPlane ¶ added in v1.1.0
func (m *MockConfigurator) IsMultiClusterControlPlane() bool
IsMultiClusterControlPlane mocks base method.
func (*MockConfigurator) IsNamespacedIngressEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsNamespacedIngressEnabled() bool
IsNamespacedIngressEnabled mocks base method.
func (*MockConfigurator) IsPermissiveTrafficPolicyMode ¶
func (m *MockConfigurator) IsPermissiveTrafficPolicyMode() bool
IsPermissiveTrafficPolicyMode mocks base method.
func (*MockConfigurator) IsPrivilegedInitContainer ¶
func (m *MockConfigurator) IsPrivilegedInitContainer() bool
IsPrivilegedInitContainer mocks base method.
func (*MockConfigurator) IsRemoteLoggingEnabled ¶
func (m *MockConfigurator) IsRemoteLoggingEnabled() bool
IsRemoteLoggingEnabled mocks base method.
func (*MockConfigurator) IsServiceLBEnabled ¶ added in v1.1.0
func (m *MockConfigurator) IsServiceLBEnabled() bool
IsServiceLBEnabled mocks base method.
func (*MockConfigurator) IsTracingEnabled ¶
func (m *MockConfigurator) IsTracingEnabled() bool
IsTracingEnabled mocks base method.
func (*MockConfigurator) ServiceLBImage ¶ added in v1.1.0
func (m *MockConfigurator) ServiceLBImage() string
ServiceLBImage mocks base method.
type MockConfiguratorMockRecorder ¶
type MockConfiguratorMockRecorder struct {
// contains filtered or unexported fields
}
MockConfiguratorMockRecorder is the mock recorder for MockConfigurator.
func (*MockConfiguratorMockRecorder) GetCertKeyBitSize ¶
func (mr *MockConfiguratorMockRecorder) GetCertKeyBitSize() *gomock.Call
GetCertKeyBitSize indicates an expected call of GetCertKeyBitSize.
func (*MockConfiguratorMockRecorder) GetClusterUID ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetClusterUID() *gomock.Call
GetClusterUID indicates an expected call of GetClusterUID.
func (*MockConfiguratorMockRecorder) GetConfigResyncInterval ¶
func (mr *MockConfiguratorMockRecorder) GetConfigResyncInterval() *gomock.Call
GetConfigResyncInterval indicates an expected call of GetConfigResyncInterval.
func (*MockConfiguratorMockRecorder) GetCurlImage ¶ added in v1.2.0
func (mr *MockConfiguratorMockRecorder) GetCurlImage() *gomock.Call
GetCurlImage indicates an expected call of GetCurlImage.
func (*MockConfiguratorMockRecorder) GetFGWLogLevel ¶ added in v1.1.4
func (mr *MockConfiguratorMockRecorder) GetFGWLogLevel() *gomock.Call
GetFGWLogLevel indicates an expected call of GetFGWLogLevel.
func (*MockConfiguratorMockRecorder) GetFGWSSLPassthroughUpstreamPort ¶ added in v1.1.4
func (mr *MockConfiguratorMockRecorder) GetFGWSSLPassthroughUpstreamPort() *gomock.Call
GetFGWSSLPassthroughUpstreamPort indicates an expected call of GetFGWSSLPassthroughUpstreamPort.
func (*MockConfiguratorMockRecorder) GetFLBSecretName ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetFLBSecretName() *gomock.Call
GetFLBSecretName indicates an expected call of GetFLBSecretName.
func (*MockConfiguratorMockRecorder) GetFSMGatewayLogLevel ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetFSMGatewayLogLevel() *gomock.Call
GetFSMGatewayLogLevel indicates an expected call of GetFSMGatewayLogLevel.
func (*MockConfiguratorMockRecorder) GetFSMIngressLogLevel ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetFSMIngressLogLevel() *gomock.Call
GetFSMIngressLogLevel indicates an expected call of GetFSMIngressLogLevel.
func (*MockConfiguratorMockRecorder) GetFSMLogLevel ¶
func (mr *MockConfiguratorMockRecorder) GetFSMLogLevel() *gomock.Call
GetFSMLogLevel indicates an expected call of GetFSMLogLevel.
func (*MockConfiguratorMockRecorder) GetFSMNamespace ¶
func (mr *MockConfiguratorMockRecorder) GetFSMNamespace() *gomock.Call
GetFSMNamespace indicates an expected call of GetFSMNamespace.
func (*MockConfiguratorMockRecorder) GetFeatureFlags ¶
func (mr *MockConfiguratorMockRecorder) GetFeatureFlags() *gomock.Call
GetFeatureFlags indicates an expected call of GetFeatureFlags.
func (*MockConfiguratorMockRecorder) GetGlobalPluginChains ¶
func (mr *MockConfiguratorMockRecorder) GetGlobalPluginChains() *gomock.Call
GetGlobalPluginChains indicates an expected call of GetGlobalPluginChains.
func (*MockConfiguratorMockRecorder) GetImagePullPolicy ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetImagePullPolicy() *gomock.Call
GetImagePullPolicy indicates an expected call of GetImagePullPolicy.
func (*MockConfiguratorMockRecorder) GetImageRegistry ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetImageRegistry() *gomock.Call
GetImageRegistry indicates an expected call of GetImageRegistry.
func (*MockConfiguratorMockRecorder) GetImageTag ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetImageTag() *gomock.Call
GetImageTag indicates an expected call of GetImageTag.
func (*MockConfiguratorMockRecorder) GetInboundExternalAuthConfig ¶
func (mr *MockConfiguratorMockRecorder) GetInboundExternalAuthConfig() *gomock.Call
GetInboundExternalAuthConfig indicates an expected call of GetInboundExternalAuthConfig.
func (*MockConfiguratorMockRecorder) GetIngressGatewayCertValidityPeriod ¶
func (mr *MockConfiguratorMockRecorder) GetIngressGatewayCertValidityPeriod() *gomock.Call
GetIngressGatewayCertValidityPeriod indicates an expected call of GetIngressGatewayCertValidityPeriod.
func (*MockConfiguratorMockRecorder) GetIngressHTTPListenPort ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetIngressHTTPListenPort() *gomock.Call
GetIngressHTTPListenPort indicates an expected call of GetIngressHTTPListenPort.
func (*MockConfiguratorMockRecorder) GetIngressSSLPassthroughUpstreamPort ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetIngressSSLPassthroughUpstreamPort() *gomock.Call
GetIngressSSLPassthroughUpstreamPort indicates an expected call of GetIngressSSLPassthroughUpstreamPort.
func (*MockConfiguratorMockRecorder) GetIngressTLSListenPort ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetIngressTLSListenPort() *gomock.Call
GetIngressTLSListenPort indicates an expected call of GetIngressTLSListenPort.
func (*MockConfiguratorMockRecorder) GetInitContainerImage ¶
func (mr *MockConfiguratorMockRecorder) GetInitContainerImage() *gomock.Call
GetInitContainerImage indicates an expected call of GetInitContainerImage.
func (*MockConfiguratorMockRecorder) GetLocalDNSProxyPrimaryUpstream ¶
func (mr *MockConfiguratorMockRecorder) GetLocalDNSProxyPrimaryUpstream() *gomock.Call
GetLocalDNSProxyPrimaryUpstream indicates an expected call of GetLocalDNSProxyPrimaryUpstream.
func (*MockConfiguratorMockRecorder) GetLocalDNSProxySecondaryUpstream ¶
func (mr *MockConfiguratorMockRecorder) GetLocalDNSProxySecondaryUpstream() *gomock.Call
GetLocalDNSProxySecondaryUpstream indicates an expected call of GetLocalDNSProxySecondaryUpstream.
func (*MockConfiguratorMockRecorder) GetMaxDataPlaneConnections ¶
func (mr *MockConfiguratorMockRecorder) GetMaxDataPlaneConnections() *gomock.Call
GetMaxDataPlaneConnections indicates an expected call of GetMaxDataPlaneConnections.
func (*MockConfiguratorMockRecorder) GetMeshConfig ¶
func (mr *MockConfiguratorMockRecorder) GetMeshConfig() *gomock.Call
GetMeshConfig indicates an expected call of GetMeshConfig.
func (*MockConfiguratorMockRecorder) GetMeshConfigJSON ¶
func (mr *MockConfiguratorMockRecorder) GetMeshConfigJSON() *gomock.Call
GetMeshConfigJSON indicates an expected call of GetMeshConfigJSON.
func (*MockConfiguratorMockRecorder) GetMultiClusterControlPlaneUID ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetMultiClusterControlPlaneUID() *gomock.Call
GetMultiClusterControlPlaneUID indicates an expected call of GetMultiClusterControlPlaneUID.
func (*MockConfiguratorMockRecorder) GetProxyResources ¶
func (mr *MockConfiguratorMockRecorder) GetProxyResources() *gomock.Call
GetProxyResources indicates an expected call of GetProxyResources.
func (*MockConfiguratorMockRecorder) GetProxyServerPort ¶
func (mr *MockConfiguratorMockRecorder) GetProxyServerPort() *gomock.Call
GetProxyServerPort indicates an expected call of GetProxyServerPort.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingAuthorization ¶
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingAuthorization() *gomock.Call
GetRemoteLoggingAuthorization indicates an expected call of GetRemoteLoggingAuthorization.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingEndpoint ¶
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingEndpoint() *gomock.Call
GetRemoteLoggingEndpoint indicates an expected call of GetRemoteLoggingEndpoint.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingHost ¶
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingHost() *gomock.Call
GetRemoteLoggingHost indicates an expected call of GetRemoteLoggingHost.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingLevel ¶ added in v1.1.1
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingLevel() *gomock.Call
GetRemoteLoggingLevel indicates an expected call of GetRemoteLoggingLevel.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingPort ¶
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingPort() *gomock.Call
GetRemoteLoggingPort indicates an expected call of GetRemoteLoggingPort.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingSampledFraction ¶
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingSampledFraction() *gomock.Call
GetRemoteLoggingSampledFraction indicates an expected call of GetRemoteLoggingSampledFraction.
func (*MockConfiguratorMockRecorder) GetRemoteLoggingSecretName ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingSecretName() *gomock.Call
GetRemoteLoggingSecretName indicates an expected call of GetRemoteLoggingSecretName.
func (*MockConfiguratorMockRecorder) GetRepoServerCodebase ¶
func (mr *MockConfiguratorMockRecorder) GetRepoServerCodebase() *gomock.Call
GetRepoServerCodebase indicates an expected call of GetRepoServerCodebase.
func (*MockConfiguratorMockRecorder) GetRepoServerIPAddr ¶
func (mr *MockConfiguratorMockRecorder) GetRepoServerIPAddr() *gomock.Call
GetRepoServerIPAddr indicates an expected call of GetRepoServerIPAddr.
func (*MockConfiguratorMockRecorder) GetServiceAccessMode ¶ added in v1.0.1
func (mr *MockConfiguratorMockRecorder) GetServiceAccessMode() *gomock.Call
GetServiceAccessMode indicates an expected call of GetServiceAccessMode.
func (*MockConfiguratorMockRecorder) GetServiceCertValidityPeriod ¶
func (mr *MockConfiguratorMockRecorder) GetServiceCertValidityPeriod() *gomock.Call
GetServiceCertValidityPeriod indicates an expected call of GetServiceCertValidityPeriod.
func (*MockConfiguratorMockRecorder) GetSidecarClass ¶
func (mr *MockConfiguratorMockRecorder) GetSidecarClass() *gomock.Call
GetSidecarClass indicates an expected call of GetSidecarClass.
func (*MockConfiguratorMockRecorder) GetSidecarDisabledMTLS ¶
func (mr *MockConfiguratorMockRecorder) GetSidecarDisabledMTLS() *gomock.Call
GetSidecarDisabledMTLS indicates an expected call of GetSidecarDisabledMTLS.
func (*MockConfiguratorMockRecorder) GetSidecarImage ¶
func (mr *MockConfiguratorMockRecorder) GetSidecarImage() *gomock.Call
GetSidecarImage indicates an expected call of GetSidecarImage.
func (*MockConfiguratorMockRecorder) GetSidecarLogLevel ¶
func (mr *MockConfiguratorMockRecorder) GetSidecarLogLevel() *gomock.Call
GetSidecarLogLevel indicates an expected call of GetSidecarLogLevel.
func (*MockConfiguratorMockRecorder) GetSidecarTimeout ¶ added in v1.1.1
func (mr *MockConfiguratorMockRecorder) GetSidecarTimeout() *gomock.Call
GetSidecarTimeout indicates an expected call of GetSidecarTimeout.
func (*MockConfiguratorMockRecorder) GetTracingEndpoint ¶
func (mr *MockConfiguratorMockRecorder) GetTracingEndpoint() *gomock.Call
GetTracingEndpoint indicates an expected call of GetTracingEndpoint.
func (*MockConfiguratorMockRecorder) GetTracingHost ¶
func (mr *MockConfiguratorMockRecorder) GetTracingHost() *gomock.Call
GetTracingHost indicates an expected call of GetTracingHost.
func (*MockConfiguratorMockRecorder) GetTracingPort ¶
func (mr *MockConfiguratorMockRecorder) GetTracingPort() *gomock.Call
GetTracingPort indicates an expected call of GetTracingPort.
func (*MockConfiguratorMockRecorder) GetTracingSampledFraction ¶
func (mr *MockConfiguratorMockRecorder) GetTracingSampledFraction() *gomock.Call
GetTracingSampledFraction indicates an expected call of GetTracingSampledFraction.
func (*MockConfiguratorMockRecorder) GetTrafficInterceptionMode ¶
func (mr *MockConfiguratorMockRecorder) GetTrafficInterceptionMode() *gomock.Call
GetTrafficInterceptionMode indicates an expected call of GetTrafficInterceptionMode.
func (*MockConfiguratorMockRecorder) IsDebugServerEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsDebugServerEnabled() *gomock.Call
IsDebugServerEnabled indicates an expected call of IsDebugServerEnabled.
func (*MockConfiguratorMockRecorder) IsEgressEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsEgressEnabled() *gomock.Call
IsEgressEnabled indicates an expected call of IsEgressEnabled.
func (*MockConfiguratorMockRecorder) IsFGWHTTP1PerRequestLoadBalancingEnabled ¶ added in v1.1.4
func (mr *MockConfiguratorMockRecorder) IsFGWHTTP1PerRequestLoadBalancingEnabled() *gomock.Call
IsFGWHTTP1PerRequestLoadBalancingEnabled indicates an expected call of IsFGWHTTP1PerRequestLoadBalancingEnabled.
func (*MockConfiguratorMockRecorder) IsFGWHTTP2PerRequestLoadBalancingEnabled ¶ added in v1.1.4
func (mr *MockConfiguratorMockRecorder) IsFGWHTTP2PerRequestLoadBalancingEnabled() *gomock.Call
IsFGWHTTP2PerRequestLoadBalancingEnabled indicates an expected call of IsFGWHTTP2PerRequestLoadBalancingEnabled.
func (*MockConfiguratorMockRecorder) IsFGWStripAnyHostPort ¶ added in v1.1.4
func (mr *MockConfiguratorMockRecorder) IsFGWStripAnyHostPort() *gomock.Call
IsFGWStripAnyHostPort indicates an expected call of IsFGWStripAnyHostPort.
func (*MockConfiguratorMockRecorder) IsFLBEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsFLBEnabled() *gomock.Call
IsFLBEnabled indicates an expected call of IsFLBEnabled.
func (*MockConfiguratorMockRecorder) IsFLBStrictModeEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsFLBStrictModeEnabled() *gomock.Call
IsFLBStrictModeEnabled indicates an expected call of IsFLBStrictModeEnabled.
func (*MockConfiguratorMockRecorder) IsGatewayAPIEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsGatewayAPIEnabled() *gomock.Call
IsGatewayAPIEnabled indicates an expected call of IsGatewayAPIEnabled.
func (*MockConfiguratorMockRecorder) IsIngressEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsIngressEnabled() *gomock.Call
IsIngressEnabled indicates an expected call of IsIngressEnabled.
func (*MockConfiguratorMockRecorder) IsIngressHTTPEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsIngressHTTPEnabled() *gomock.Call
IsIngressHTTPEnabled indicates an expected call of IsIngressHTTPEnabled.
func (*MockConfiguratorMockRecorder) IsIngressMTLSEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsIngressMTLSEnabled() *gomock.Call
IsIngressMTLSEnabled indicates an expected call of IsIngressMTLSEnabled.
func (*MockConfiguratorMockRecorder) IsIngressSSLPassthroughEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsIngressSSLPassthroughEnabled() *gomock.Call
IsIngressSSLPassthroughEnabled indicates an expected call of IsIngressSSLPassthroughEnabled.
func (*MockConfiguratorMockRecorder) IsIngressTLSEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsIngressTLSEnabled() *gomock.Call
IsIngressTLSEnabled indicates an expected call of IsIngressTLSEnabled.
func (*MockConfiguratorMockRecorder) IsLocalDNSProxyEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsLocalDNSProxyEnabled() *gomock.Call
IsLocalDNSProxyEnabled indicates an expected call of IsLocalDNSProxyEnabled.
func (*MockConfiguratorMockRecorder) IsManaged ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsManaged() *gomock.Call
IsManaged indicates an expected call of IsManaged.
func (*MockConfiguratorMockRecorder) IsMultiClusterControlPlane ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsMultiClusterControlPlane() *gomock.Call
IsMultiClusterControlPlane indicates an expected call of IsMultiClusterControlPlane.
func (*MockConfiguratorMockRecorder) IsNamespacedIngressEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsNamespacedIngressEnabled() *gomock.Call
IsNamespacedIngressEnabled indicates an expected call of IsNamespacedIngressEnabled.
func (*MockConfiguratorMockRecorder) IsPermissiveTrafficPolicyMode ¶
func (mr *MockConfiguratorMockRecorder) IsPermissiveTrafficPolicyMode() *gomock.Call
IsPermissiveTrafficPolicyMode indicates an expected call of IsPermissiveTrafficPolicyMode.
func (*MockConfiguratorMockRecorder) IsPrivilegedInitContainer ¶
func (mr *MockConfiguratorMockRecorder) IsPrivilegedInitContainer() *gomock.Call
IsPrivilegedInitContainer indicates an expected call of IsPrivilegedInitContainer.
func (*MockConfiguratorMockRecorder) IsRemoteLoggingEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsRemoteLoggingEnabled() *gomock.Call
IsRemoteLoggingEnabled indicates an expected call of IsRemoteLoggingEnabled.
func (*MockConfiguratorMockRecorder) IsServiceLBEnabled ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) IsServiceLBEnabled() *gomock.Call
IsServiceLBEnabled indicates an expected call of IsServiceLBEnabled.
func (*MockConfiguratorMockRecorder) IsTracingEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsTracingEnabled() *gomock.Call
IsTracingEnabled indicates an expected call of IsTracingEnabled.
func (*MockConfiguratorMockRecorder) ServiceLBImage ¶ added in v1.1.0
func (mr *MockConfiguratorMockRecorder) ServiceLBImage() *gomock.Call
ServiceLBImage indicates an expected call of ServiceLBImage.