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) GetConfigResyncInterval() time.Duration
- func (c *Client) GetFSMLogLevel() string
- func (c *Client) GetFSMNamespace() string
- func (c *Client) GetFeatureFlags() configv1alpha2.FeatureFlags
- func (c *Client) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
- func (c *Client) GetInboundExternalAuthConfig() auth.ExtAuthConfig
- func (c *Client) GetIngressGatewayCertValidityPeriod() time.Duration
- func (c *Client) GetInitContainerImage() string
- func (c *Client) GetLocalDNSProxyPrimaryUpstream() string
- func (c *Client) GetLocalDNSProxySecondaryUpstream() string
- func (c *Client) GetMaxDataPlaneConnections() int
- func (c *Client) GetMeshConfig() configv1alpha2.MeshConfig
- func (c *Client) GetMeshConfigJSON() (string, error)
- 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) GetRemoteLoggingPort() uint32
- func (c *Client) GetRemoteLoggingSampledFraction() float32
- 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) 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) IsLocalDNSProxyEnabled() bool
- func (c *Client) IsPermissiveTrafficPolicyMode() bool
- func (c *Client) IsPrivilegedInitContainer() bool
- func (c *Client) IsRemoteLoggingEnabled() bool
- func (c *Client) IsTracingEnabled() bool
- type Configurator
- type MockConfigurator
- func (m *MockConfigurator) EXPECT() *MockConfiguratorMockRecorder
- func (m *MockConfigurator) GetCertKeyBitSize() int
- func (m *MockConfigurator) GetConfigResyncInterval() time.Duration
- func (m *MockConfigurator) GetFSMLogLevel() string
- func (m *MockConfigurator) GetFSMNamespace() string
- func (m *MockConfigurator) GetFeatureFlags() v1alpha2.FeatureFlags
- func (m *MockConfigurator) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
- func (m *MockConfigurator) GetInboundExternalAuthConfig() auth.ExtAuthConfig
- func (m *MockConfigurator) GetIngressGatewayCertValidityPeriod() time.Duration
- func (m *MockConfigurator) GetInitContainerImage() string
- func (m *MockConfigurator) GetLocalDNSProxyPrimaryUpstream() string
- func (m *MockConfigurator) GetLocalDNSProxySecondaryUpstream() string
- func (m *MockConfigurator) GetMaxDataPlaneConnections() int
- func (m *MockConfigurator) GetMeshConfig() v1alpha2.MeshConfig
- func (m *MockConfigurator) GetMeshConfigJSON() (string, error)
- 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) GetRemoteLoggingPort() uint32
- func (m *MockConfigurator) GetRemoteLoggingSampledFraction() float32
- 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) 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) IsLocalDNSProxyEnabled() bool
- func (m *MockConfigurator) IsPermissiveTrafficPolicyMode() bool
- func (m *MockConfigurator) IsPrivilegedInitContainer() bool
- func (m *MockConfigurator) IsRemoteLoggingEnabled() bool
- func (m *MockConfigurator) IsTracingEnabled() bool
- type MockConfiguratorMockRecorder
- func (mr *MockConfiguratorMockRecorder) GetCertKeyBitSize() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetConfigResyncInterval() *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) GetInboundExternalAuthConfig() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetIngressGatewayCertValidityPeriod() *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) 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) GetRemoteLoggingPort() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) GetRemoteLoggingSampledFraction() *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) 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) IsLocalDNSProxyEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsPermissiveTrafficPolicyMode() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsPrivilegedInitContainer() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsRemoteLoggingEnabled() *gomock.Call
- func (mr *MockConfiguratorMockRecorder) IsTracingEnabled() *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) GetConfigResyncInterval ¶
GetConfigResyncInterval returns the duration for resync interval. If error or non-parsable value, returns 0 duration
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() configv1alpha2.FeatureFlags
GetFeatureFlags returns FSM's feature flags
func (*Client) GetGlobalPluginChains ¶
func (c *Client) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
GetGlobalPluginChains returns plugin chains
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) 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() configv1alpha2.MeshConfig
GetMeshConfig returns the MeshConfig resource corresponding to the control plane
func (*Client) GetMeshConfigJSON ¶
GetMeshConfigJSON returns the MeshConfig in pretty JSON.
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) GetRemoteLoggingPort ¶
GetRemoteLoggingPort returns the remote logging listener port
func (*Client) GetRemoteLoggingSampledFraction ¶
GetRemoteLoggingSampledFraction returns the sampled fraction
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) 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) IsLocalDNSProxyEnabled ¶
IsLocalDNSProxyEnabled returns whether local DNS proxy 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) IsTracingEnabled ¶
IsTracingEnabled returns whether tracing is enabled
type Configurator ¶
type Configurator interface { // GetMeshConfig returns the MeshConfig resource corresponding to the control plane GetMeshConfig() configv1alpha2.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 // 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 // GetMaxDataPlaneConnections returns the max data plane connections allowed, 0 if disabled GetMaxDataPlaneConnections() 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() configv1alpha2.FeatureFlags // GetGlobalPluginChains returns plugin chains GetGlobalPluginChains() map[string][]trafficpolicy.Plugin }
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) GetConfigResyncInterval ¶
func (m *MockConfigurator) GetConfigResyncInterval() time.Duration
GetConfigResyncInterval 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() v1alpha2.FeatureFlags
GetFeatureFlags mocks base method.
func (*MockConfigurator) GetGlobalPluginChains ¶
func (m *MockConfigurator) GetGlobalPluginChains() map[string][]trafficpolicy.Plugin
GetGlobalPluginChains 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) 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() v1alpha2.MeshConfig
GetMeshConfig mocks base method.
func (*MockConfigurator) GetMeshConfigJSON ¶
func (m *MockConfigurator) GetMeshConfigJSON() (string, error)
GetMeshConfigJSON 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) GetRemoteLoggingPort ¶
func (m *MockConfigurator) GetRemoteLoggingPort() uint32
GetRemoteLoggingPort mocks base method.
func (*MockConfigurator) GetRemoteLoggingSampledFraction ¶
func (m *MockConfigurator) GetRemoteLoggingSampledFraction() float32
GetRemoteLoggingSampledFraction 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) 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) IsLocalDNSProxyEnabled ¶
func (m *MockConfigurator) IsLocalDNSProxyEnabled() bool
IsLocalDNSProxyEnabled 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) IsTracingEnabled ¶
func (m *MockConfigurator) IsTracingEnabled() bool
IsTracingEnabled 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) GetConfigResyncInterval ¶
func (mr *MockConfiguratorMockRecorder) GetConfigResyncInterval() *gomock.Call
GetConfigResyncInterval indicates an expected call of GetConfigResyncInterval.
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) 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) 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) 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) 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) 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) 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) IsLocalDNSProxyEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsLocalDNSProxyEnabled() *gomock.Call
IsLocalDNSProxyEnabled indicates an expected call of IsLocalDNSProxyEnabled.
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) IsTracingEnabled ¶
func (mr *MockConfiguratorMockRecorder) IsTracingEnabled() *gomock.Call
IsTracingEnabled indicates an expected call of IsTracingEnabled.