Documentation ¶
Overview ¶
Package compute is a generated GoMock package.
Index ¶
- type Interface
- type MockInterface
- func (m *MockInterface) AddMeshRootCertificateEventHandler(arg0 cache.ResourceEventHandler) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetHTTPRouteGroup(arg0 string) *v1alpha4.HTTPRouteGroup
- func (m *MockInterface) GetHostnamesForService(arg0 service.MeshService, arg1 bool) []string
- func (m *MockInterface) GetIngressBackendPolicyForService(arg0 service.MeshService) *v1alpha1.IngressBackend
- func (m *MockInterface) GetMeshConfig() v1alpha2.MeshConfig
- func (m *MockInterface) GetMeshRootCertificate(arg0 string) *v1alpha2.MeshRootCertificate
- func (m *MockInterface) GetMeshService(arg0, arg1 string, arg2 uint16) (service.MeshService, error)
- func (m *MockInterface) GetOSMNamespace() string
- func (m *MockInterface) GetProxyConfig(arg0 *models.Proxy, arg1 string, arg2 *rest.Config) (string, error)
- func (m *MockInterface) GetProxyStatsHeaders(arg0 *models.Proxy) (map[string]string, error)
- func (m *MockInterface) GetResolvableEndpointsForService(arg0 service.MeshService) []endpoint.Endpoint
- func (m *MockInterface) GetSecret(arg0, arg1 string) *models.Secret
- func (m *MockInterface) GetServicesForServiceIdentity(arg0 identity.ServiceIdentity) []service.MeshService
- func (m *MockInterface) GetTCPRoute(arg0 string) *v1alpha4.TCPRoute
- func (m *MockInterface) GetTelemetryConfig(arg0 *models.Proxy) models.TelemetryConfig
- func (m *MockInterface) GetUpstreamTrafficSetting(arg0 *types.NamespacedName) *v1alpha1.UpstreamTrafficSetting
- func (m *MockInterface) GetUpstreamTrafficSettingByHost(arg0 string) *v1alpha1.UpstreamTrafficSetting
- func (m *MockInterface) GetUpstreamTrafficSettingByNamespace(arg0 *types.NamespacedName) *v1alpha1.UpstreamTrafficSetting
- func (m *MockInterface) GetUpstreamTrafficSettingByService(arg0 *service.MeshService) *v1alpha1.UpstreamTrafficSetting
- func (m *MockInterface) IsMetricsEnabled(arg0 *models.Proxy) (bool, error)
- func (m *MockInterface) IsMonitoredNamespace(arg0 string) bool
- func (m *MockInterface) ListEgressPolicies() []*v1alpha1.Egress
- func (m *MockInterface) ListEgressPoliciesForServiceAccount(arg0 identity.K8sServiceAccount) []*v1alpha1.Egress
- func (m *MockInterface) ListEndpointsForIdentity(arg0 identity.ServiceIdentity) []endpoint.Endpoint
- func (m *MockInterface) ListEndpointsForService(arg0 service.MeshService) []endpoint.Endpoint
- func (m *MockInterface) ListHTTPTrafficSpecs() []*v1alpha4.HTTPRouteGroup
- func (m *MockInterface) ListIngressBackendPolicies() []*v1alpha1.IngressBackend
- func (m *MockInterface) ListMeshRootCertificates() ([]*v1alpha2.MeshRootCertificate, error)
- func (m *MockInterface) ListNamespaces() ([]string, error)
- func (m *MockInterface) ListRetryPolicies() []*v1alpha1.Retry
- func (m *MockInterface) ListRetryPoliciesForServiceAccount(arg0 identity.K8sServiceAccount) []*v1alpha1.Retry
- func (m *MockInterface) ListSecrets() []*models.Secret
- func (m *MockInterface) ListServiceExports() []*v1alpha10.ServiceExport
- func (m *MockInterface) ListServiceIdentitiesForService(arg0, arg1 string) ([]identity.ServiceIdentity, error)
- func (m *MockInterface) ListServiceImports() []*v1alpha10.ServiceImport
- func (m *MockInterface) ListServices() []service.MeshService
- func (m *MockInterface) ListServicesForProxy(arg0 *models.Proxy) ([]service.MeshService, error)
- func (m *MockInterface) ListTCPTrafficSpecs() []*v1alpha4.TCPRoute
- func (m *MockInterface) ListTrafficSplits() []*v1alpha20.TrafficSplit
- func (m *MockInterface) ListTrafficTargets() []*v1alpha3.TrafficTarget
- func (m *MockInterface) ListUpstreamTrafficSettings() []*v1alpha1.UpstreamTrafficSetting
- func (m *MockInterface) UpdateIngressBackendStatus(arg0 *v1alpha1.IngressBackend) (*v1alpha1.IngressBackend, error)
- func (m *MockInterface) UpdateMeshRootCertificate(arg0 *v1alpha2.MeshRootCertificate) (*v1alpha2.MeshRootCertificate, error)
- func (m *MockInterface) UpdateMeshRootCertificateStatus(arg0 *v1alpha2.MeshRootCertificate) (*v1alpha2.MeshRootCertificate, error)
- func (m *MockInterface) UpdateSecret(arg0 context.Context, arg1 *models.Secret) error
- func (m *MockInterface) UpdateUpstreamTrafficSettingStatus(arg0 *v1alpha1.UpstreamTrafficSetting) (*v1alpha1.UpstreamTrafficSetting, error)
- func (m *MockInterface) VerifyProxy(arg0 *models.Proxy) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddMeshRootCertificateEventHandler(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetHTTPRouteGroup(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetHostnamesForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetIngressBackendPolicyForService(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMeshConfig() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMeshRootCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetMeshService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetOSMNamespace() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetProxyConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetProxyStatsHeaders(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetResolvableEndpointsForService(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetServicesForServiceIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetTCPRoute(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetTelemetryConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSetting(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByHost(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByService(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsMetricsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsMonitoredNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEgressPolicies() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEgressPoliciesForServiceAccount(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEndpointsForIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListEndpointsForService(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListHTTPTrafficSpecs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListIngressBackendPolicies() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListMeshRootCertificates() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListNamespaces() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListRetryPolicies() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListRetryPoliciesForServiceAccount(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListSecrets() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListServiceExports() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListServiceIdentitiesForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListServiceImports() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListServices() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListServicesForProxy(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListTCPTrafficSpecs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListTrafficSplits() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListTrafficTargets() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListUpstreamTrafficSettings() *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateIngressBackendStatus(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateMeshRootCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateMeshRootCertificateStatus(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateUpstreamTrafficSettingStatus(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) VerifyProxy(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { k8s.PassthroughInterface // GetSecret returns the secret for a given namespace and secret name GetSecret(string, string) *models.Secret // ListSecrets returns a list of secrets ListSecrets() []*models.Secret // UpdateSecret updates the given secret UpdateSecret(context.Context, *models.Secret) error // GetMeshService returns the service.MeshService corresponding to the Port used by clients // to communicate with it GetMeshService(name, namespace string, port uint16) (service.MeshService, error) // GetServicesForServiceIdentity retrieves the namespaced services for a given service identity GetServicesForServiceIdentity(identity.ServiceIdentity) []service.MeshService // ListServices returns a list of services that are part of monitored namespaces ListServices() []service.MeshService // ListServiceIdentitiesForService returns service identities for given service ListServiceIdentitiesForService(name, namespace string) ([]identity.ServiceIdentity, error) // ListEndpointsForService retrieves the IP addresses comprising the given service. ListEndpointsForService(service.MeshService) []endpoint.Endpoint // ListEndpointsForIdentity retrieves the list of IP addresses for the given service account ListEndpointsForIdentity(identity.ServiceIdentity) []endpoint.Endpoint // GetResolvableEndpointsForService returns the expected endpoints that are to be reached when the service FQDN is resolved under // the scope of the provider GetResolvableEndpointsForService(service.MeshService) []endpoint.Endpoint IsMetricsEnabled(*models.Proxy) (bool, error) GetHostnamesForService(svc service.MeshService, localNamespace bool) []string // ListServicesForProxy gets the services that map to the given proxy. ListServicesForProxy(p *models.Proxy) ([]service.MeshService, error) // ListEgressPoliciesForServiceAccount lists the Egress policies for the given source identity based on service accounts ListEgressPoliciesForServiceAccount(sa identity.K8sServiceAccount) []*policyv1alpha1.Egress // GetIngressBackendPolicyForService returns the IngressBackend policy for the given backend MeshService GetIngressBackendPolicyForService(svc service.MeshService) *policyv1alpha1.IngressBackend // ListRetryPoliciesForServiceAccount returns the retry policies for the given source identity based on service accounts. ListRetryPoliciesForServiceAccount(source identity.K8sServiceAccount) []*policyv1alpha1.Retry // GetUpstreamTrafficSettingByNamespace returns the UpstreamTrafficSetting resource that matches the namespace GetUpstreamTrafficSettingByNamespace(ns *types.NamespacedName) *policyv1alpha1.UpstreamTrafficSetting // GetUpstreamTrafficSettingByService returns the UpstreamTrafficSetting resource that matches the given service GetUpstreamTrafficSettingByService(meshService *service.MeshService) *policyv1alpha1.UpstreamTrafficSetting // GetUpstreamTrafficSettingByHost returns the UpstreamTrafficSetting resource that matches the host GetUpstreamTrafficSettingByHost(host string) *policyv1alpha1.UpstreamTrafficSetting GetProxyStatsHeaders(p *models.Proxy) (map[string]string, error) // GetProxyConfig takes the given proxy, port forwards to the pod from this proxy, and returns the envoy config GetProxyConfig(proxy *models.Proxy, configType string, kubeConfig *rest.Config) (string, error) // VerifyProxy attempts to lookup a pod that matches the given proxy instance by service identity, namespace, and UUID VerifyProxy(proxy *models.Proxy) error // ListNamespaces returns the namespaces monitored by the mesh ListNamespaces() ([]string, error) // GetTelemetryConfig returns the Telemetry config for the given proxy instance. // It returns the most specific match if multiple matching policies exist, in the following // order of preference: 1. selector match, 2. namespace match, 3. global match GetTelemetryConfig(*models.Proxy) models.TelemetryConfig // GetMeshConfig returns the current MeshConfig GetMeshConfig() configv1alpha2.MeshConfig }
Interface is an interface to be implemented by components abstracting Kubernetes, and other compute/cluster providers
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) AddMeshRootCertificateEventHandler ¶
func (m *MockInterface) AddMeshRootCertificateEventHandler(arg0 cache.ResourceEventHandler) error
AddMeshRootCertificateEventHandler mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetHTTPRouteGroup ¶
func (m *MockInterface) GetHTTPRouteGroup(arg0 string) *v1alpha4.HTTPRouteGroup
GetHTTPRouteGroup mocks base method.
func (*MockInterface) GetHostnamesForService ¶
func (m *MockInterface) GetHostnamesForService(arg0 service.MeshService, arg1 bool) []string
GetHostnamesForService mocks base method.
func (*MockInterface) GetIngressBackendPolicyForService ¶
func (m *MockInterface) GetIngressBackendPolicyForService(arg0 service.MeshService) *v1alpha1.IngressBackend
GetIngressBackendPolicyForService mocks base method.
func (*MockInterface) GetMeshConfig ¶
func (m *MockInterface) GetMeshConfig() v1alpha2.MeshConfig
GetMeshConfig mocks base method.
func (*MockInterface) GetMeshRootCertificate ¶
func (m *MockInterface) GetMeshRootCertificate(arg0 string) *v1alpha2.MeshRootCertificate
GetMeshRootCertificate mocks base method.
func (*MockInterface) GetMeshService ¶
func (m *MockInterface) GetMeshService(arg0, arg1 string, arg2 uint16) (service.MeshService, error)
GetMeshService mocks base method.
func (*MockInterface) GetOSMNamespace ¶
func (m *MockInterface) GetOSMNamespace() string
GetOSMNamespace mocks base method.
func (*MockInterface) GetProxyConfig ¶
func (m *MockInterface) GetProxyConfig(arg0 *models.Proxy, arg1 string, arg2 *rest.Config) (string, error)
GetProxyConfig mocks base method.
func (*MockInterface) GetProxyStatsHeaders ¶
GetProxyStatsHeaders mocks base method.
func (*MockInterface) GetResolvableEndpointsForService ¶
func (m *MockInterface) GetResolvableEndpointsForService(arg0 service.MeshService) []endpoint.Endpoint
GetResolvableEndpointsForService mocks base method.
func (*MockInterface) GetSecret ¶
func (m *MockInterface) GetSecret(arg0, arg1 string) *models.Secret
GetSecret mocks base method.
func (*MockInterface) GetServicesForServiceIdentity ¶
func (m *MockInterface) GetServicesForServiceIdentity(arg0 identity.ServiceIdentity) []service.MeshService
GetServicesForServiceIdentity mocks base method.
func (*MockInterface) GetTCPRoute ¶
func (m *MockInterface) GetTCPRoute(arg0 string) *v1alpha4.TCPRoute
GetTCPRoute mocks base method.
func (*MockInterface) GetTelemetryConfig ¶
func (m *MockInterface) GetTelemetryConfig(arg0 *models.Proxy) models.TelemetryConfig
GetTelemetryConfig mocks base method.
func (*MockInterface) GetUpstreamTrafficSetting ¶
func (m *MockInterface) GetUpstreamTrafficSetting(arg0 *types.NamespacedName) *v1alpha1.UpstreamTrafficSetting
GetUpstreamTrafficSetting mocks base method.
func (*MockInterface) GetUpstreamTrafficSettingByHost ¶
func (m *MockInterface) GetUpstreamTrafficSettingByHost(arg0 string) *v1alpha1.UpstreamTrafficSetting
GetUpstreamTrafficSettingByHost mocks base method.
func (*MockInterface) GetUpstreamTrafficSettingByNamespace ¶
func (m *MockInterface) GetUpstreamTrafficSettingByNamespace(arg0 *types.NamespacedName) *v1alpha1.UpstreamTrafficSetting
GetUpstreamTrafficSettingByNamespace mocks base method.
func (*MockInterface) GetUpstreamTrafficSettingByService ¶
func (m *MockInterface) GetUpstreamTrafficSettingByService(arg0 *service.MeshService) *v1alpha1.UpstreamTrafficSetting
GetUpstreamTrafficSettingByService mocks base method.
func (*MockInterface) IsMetricsEnabled ¶
func (m *MockInterface) IsMetricsEnabled(arg0 *models.Proxy) (bool, error)
IsMetricsEnabled mocks base method.
func (*MockInterface) IsMonitoredNamespace ¶
func (m *MockInterface) IsMonitoredNamespace(arg0 string) bool
IsMonitoredNamespace mocks base method.
func (*MockInterface) ListEgressPolicies ¶
func (m *MockInterface) ListEgressPolicies() []*v1alpha1.Egress
ListEgressPolicies mocks base method.
func (*MockInterface) ListEgressPoliciesForServiceAccount ¶
func (m *MockInterface) ListEgressPoliciesForServiceAccount(arg0 identity.K8sServiceAccount) []*v1alpha1.Egress
ListEgressPoliciesForServiceAccount mocks base method.
func (*MockInterface) ListEndpointsForIdentity ¶
func (m *MockInterface) ListEndpointsForIdentity(arg0 identity.ServiceIdentity) []endpoint.Endpoint
ListEndpointsForIdentity mocks base method.
func (*MockInterface) ListEndpointsForService ¶
func (m *MockInterface) ListEndpointsForService(arg0 service.MeshService) []endpoint.Endpoint
ListEndpointsForService mocks base method.
func (*MockInterface) ListHTTPTrafficSpecs ¶
func (m *MockInterface) ListHTTPTrafficSpecs() []*v1alpha4.HTTPRouteGroup
ListHTTPTrafficSpecs mocks base method.
func (*MockInterface) ListIngressBackendPolicies ¶
func (m *MockInterface) ListIngressBackendPolicies() []*v1alpha1.IngressBackend
ListIngressBackendPolicies mocks base method.
func (*MockInterface) ListMeshRootCertificates ¶
func (m *MockInterface) ListMeshRootCertificates() ([]*v1alpha2.MeshRootCertificate, error)
ListMeshRootCertificates mocks base method.
func (*MockInterface) ListNamespaces ¶
func (m *MockInterface) ListNamespaces() ([]string, error)
ListNamespaces mocks base method.
func (*MockInterface) ListRetryPolicies ¶
func (m *MockInterface) ListRetryPolicies() []*v1alpha1.Retry
ListRetryPolicies mocks base method.
func (*MockInterface) ListRetryPoliciesForServiceAccount ¶
func (m *MockInterface) ListRetryPoliciesForServiceAccount(arg0 identity.K8sServiceAccount) []*v1alpha1.Retry
ListRetryPoliciesForServiceAccount mocks base method.
func (*MockInterface) ListSecrets ¶
func (m *MockInterface) ListSecrets() []*models.Secret
ListSecrets mocks base method.
func (*MockInterface) ListServiceExports ¶
func (m *MockInterface) ListServiceExports() []*v1alpha10.ServiceExport
ListServiceExports mocks base method.
func (*MockInterface) ListServiceIdentitiesForService ¶
func (m *MockInterface) ListServiceIdentitiesForService(arg0, arg1 string) ([]identity.ServiceIdentity, error)
ListServiceIdentitiesForService mocks base method.
func (*MockInterface) ListServiceImports ¶
func (m *MockInterface) ListServiceImports() []*v1alpha10.ServiceImport
ListServiceImports mocks base method.
func (*MockInterface) ListServices ¶
func (m *MockInterface) ListServices() []service.MeshService
ListServices mocks base method.
func (*MockInterface) ListServicesForProxy ¶
func (m *MockInterface) ListServicesForProxy(arg0 *models.Proxy) ([]service.MeshService, error)
ListServicesForProxy mocks base method.
func (*MockInterface) ListTCPTrafficSpecs ¶
func (m *MockInterface) ListTCPTrafficSpecs() []*v1alpha4.TCPRoute
ListTCPTrafficSpecs mocks base method.
func (*MockInterface) ListTrafficSplits ¶
func (m *MockInterface) ListTrafficSplits() []*v1alpha20.TrafficSplit
ListTrafficSplits mocks base method.
func (*MockInterface) ListTrafficTargets ¶
func (m *MockInterface) ListTrafficTargets() []*v1alpha3.TrafficTarget
ListTrafficTargets mocks base method.
func (*MockInterface) ListUpstreamTrafficSettings ¶
func (m *MockInterface) ListUpstreamTrafficSettings() []*v1alpha1.UpstreamTrafficSetting
ListUpstreamTrafficSettings mocks base method.
func (*MockInterface) UpdateIngressBackendStatus ¶
func (m *MockInterface) UpdateIngressBackendStatus(arg0 *v1alpha1.IngressBackend) (*v1alpha1.IngressBackend, error)
UpdateIngressBackendStatus mocks base method.
func (*MockInterface) UpdateMeshRootCertificate ¶
func (m *MockInterface) UpdateMeshRootCertificate(arg0 *v1alpha2.MeshRootCertificate) (*v1alpha2.MeshRootCertificate, error)
UpdateMeshRootCertificate mocks base method.
func (*MockInterface) UpdateMeshRootCertificateStatus ¶
func (m *MockInterface) UpdateMeshRootCertificateStatus(arg0 *v1alpha2.MeshRootCertificate) (*v1alpha2.MeshRootCertificate, error)
UpdateMeshRootCertificateStatus mocks base method.
func (*MockInterface) UpdateSecret ¶
UpdateSecret mocks base method.
func (*MockInterface) UpdateUpstreamTrafficSettingStatus ¶
func (m *MockInterface) UpdateUpstreamTrafficSettingStatus(arg0 *v1alpha1.UpstreamTrafficSetting) (*v1alpha1.UpstreamTrafficSetting, error)
UpdateUpstreamTrafficSettingStatus mocks base method.
func (*MockInterface) VerifyProxy ¶
func (m *MockInterface) VerifyProxy(arg0 *models.Proxy) error
VerifyProxy mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AddMeshRootCertificateEventHandler ¶
func (mr *MockInterfaceMockRecorder) AddMeshRootCertificateEventHandler(arg0 interface{}) *gomock.Call
AddMeshRootCertificateEventHandler indicates an expected call of AddMeshRootCertificateEventHandler.
func (*MockInterfaceMockRecorder) GetHTTPRouteGroup ¶
func (mr *MockInterfaceMockRecorder) GetHTTPRouteGroup(arg0 interface{}) *gomock.Call
GetHTTPRouteGroup indicates an expected call of GetHTTPRouteGroup.
func (*MockInterfaceMockRecorder) GetHostnamesForService ¶
func (mr *MockInterfaceMockRecorder) GetHostnamesForService(arg0, arg1 interface{}) *gomock.Call
GetHostnamesForService indicates an expected call of GetHostnamesForService.
func (*MockInterfaceMockRecorder) GetIngressBackendPolicyForService ¶
func (mr *MockInterfaceMockRecorder) GetIngressBackendPolicyForService(arg0 interface{}) *gomock.Call
GetIngressBackendPolicyForService indicates an expected call of GetIngressBackendPolicyForService.
func (*MockInterfaceMockRecorder) GetMeshConfig ¶
func (mr *MockInterfaceMockRecorder) GetMeshConfig() *gomock.Call
GetMeshConfig indicates an expected call of GetMeshConfig.
func (*MockInterfaceMockRecorder) GetMeshRootCertificate ¶
func (mr *MockInterfaceMockRecorder) GetMeshRootCertificate(arg0 interface{}) *gomock.Call
GetMeshRootCertificate indicates an expected call of GetMeshRootCertificate.
func (*MockInterfaceMockRecorder) GetMeshService ¶
func (mr *MockInterfaceMockRecorder) GetMeshService(arg0, arg1, arg2 interface{}) *gomock.Call
GetMeshService indicates an expected call of GetMeshService.
func (*MockInterfaceMockRecorder) GetOSMNamespace ¶
func (mr *MockInterfaceMockRecorder) GetOSMNamespace() *gomock.Call
GetOSMNamespace indicates an expected call of GetOSMNamespace.
func (*MockInterfaceMockRecorder) GetProxyConfig ¶
func (mr *MockInterfaceMockRecorder) GetProxyConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetProxyConfig indicates an expected call of GetProxyConfig.
func (*MockInterfaceMockRecorder) GetProxyStatsHeaders ¶
func (mr *MockInterfaceMockRecorder) GetProxyStatsHeaders(arg0 interface{}) *gomock.Call
GetProxyStatsHeaders indicates an expected call of GetProxyStatsHeaders.
func (*MockInterfaceMockRecorder) GetResolvableEndpointsForService ¶
func (mr *MockInterfaceMockRecorder) GetResolvableEndpointsForService(arg0 interface{}) *gomock.Call
GetResolvableEndpointsForService indicates an expected call of GetResolvableEndpointsForService.
func (*MockInterfaceMockRecorder) GetSecret ¶
func (mr *MockInterfaceMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockInterfaceMockRecorder) GetServicesForServiceIdentity ¶
func (mr *MockInterfaceMockRecorder) GetServicesForServiceIdentity(arg0 interface{}) *gomock.Call
GetServicesForServiceIdentity indicates an expected call of GetServicesForServiceIdentity.
func (*MockInterfaceMockRecorder) GetTCPRoute ¶
func (mr *MockInterfaceMockRecorder) GetTCPRoute(arg0 interface{}) *gomock.Call
GetTCPRoute indicates an expected call of GetTCPRoute.
func (*MockInterfaceMockRecorder) GetTelemetryConfig ¶
func (mr *MockInterfaceMockRecorder) GetTelemetryConfig(arg0 interface{}) *gomock.Call
GetTelemetryConfig indicates an expected call of GetTelemetryConfig.
func (*MockInterfaceMockRecorder) GetUpstreamTrafficSetting ¶
func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSetting(arg0 interface{}) *gomock.Call
GetUpstreamTrafficSetting indicates an expected call of GetUpstreamTrafficSetting.
func (*MockInterfaceMockRecorder) GetUpstreamTrafficSettingByHost ¶
func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByHost(arg0 interface{}) *gomock.Call
GetUpstreamTrafficSettingByHost indicates an expected call of GetUpstreamTrafficSettingByHost.
func (*MockInterfaceMockRecorder) GetUpstreamTrafficSettingByNamespace ¶
func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByNamespace(arg0 interface{}) *gomock.Call
GetUpstreamTrafficSettingByNamespace indicates an expected call of GetUpstreamTrafficSettingByNamespace.
func (*MockInterfaceMockRecorder) GetUpstreamTrafficSettingByService ¶
func (mr *MockInterfaceMockRecorder) GetUpstreamTrafficSettingByService(arg0 interface{}) *gomock.Call
GetUpstreamTrafficSettingByService indicates an expected call of GetUpstreamTrafficSettingByService.
func (*MockInterfaceMockRecorder) IsMetricsEnabled ¶
func (mr *MockInterfaceMockRecorder) IsMetricsEnabled(arg0 interface{}) *gomock.Call
IsMetricsEnabled indicates an expected call of IsMetricsEnabled.
func (*MockInterfaceMockRecorder) IsMonitoredNamespace ¶
func (mr *MockInterfaceMockRecorder) IsMonitoredNamespace(arg0 interface{}) *gomock.Call
IsMonitoredNamespace indicates an expected call of IsMonitoredNamespace.
func (*MockInterfaceMockRecorder) ListEgressPolicies ¶
func (mr *MockInterfaceMockRecorder) ListEgressPolicies() *gomock.Call
ListEgressPolicies indicates an expected call of ListEgressPolicies.
func (*MockInterfaceMockRecorder) ListEgressPoliciesForServiceAccount ¶
func (mr *MockInterfaceMockRecorder) ListEgressPoliciesForServiceAccount(arg0 interface{}) *gomock.Call
ListEgressPoliciesForServiceAccount indicates an expected call of ListEgressPoliciesForServiceAccount.
func (*MockInterfaceMockRecorder) ListEndpointsForIdentity ¶
func (mr *MockInterfaceMockRecorder) ListEndpointsForIdentity(arg0 interface{}) *gomock.Call
ListEndpointsForIdentity indicates an expected call of ListEndpointsForIdentity.
func (*MockInterfaceMockRecorder) ListEndpointsForService ¶
func (mr *MockInterfaceMockRecorder) ListEndpointsForService(arg0 interface{}) *gomock.Call
ListEndpointsForService indicates an expected call of ListEndpointsForService.
func (*MockInterfaceMockRecorder) ListHTTPTrafficSpecs ¶
func (mr *MockInterfaceMockRecorder) ListHTTPTrafficSpecs() *gomock.Call
ListHTTPTrafficSpecs indicates an expected call of ListHTTPTrafficSpecs.
func (*MockInterfaceMockRecorder) ListIngressBackendPolicies ¶
func (mr *MockInterfaceMockRecorder) ListIngressBackendPolicies() *gomock.Call
ListIngressBackendPolicies indicates an expected call of ListIngressBackendPolicies.
func (*MockInterfaceMockRecorder) ListMeshRootCertificates ¶
func (mr *MockInterfaceMockRecorder) ListMeshRootCertificates() *gomock.Call
ListMeshRootCertificates indicates an expected call of ListMeshRootCertificates.
func (*MockInterfaceMockRecorder) ListNamespaces ¶
func (mr *MockInterfaceMockRecorder) ListNamespaces() *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockInterfaceMockRecorder) ListRetryPolicies ¶
func (mr *MockInterfaceMockRecorder) ListRetryPolicies() *gomock.Call
ListRetryPolicies indicates an expected call of ListRetryPolicies.
func (*MockInterfaceMockRecorder) ListRetryPoliciesForServiceAccount ¶
func (mr *MockInterfaceMockRecorder) ListRetryPoliciesForServiceAccount(arg0 interface{}) *gomock.Call
ListRetryPoliciesForServiceAccount indicates an expected call of ListRetryPoliciesForServiceAccount.
func (*MockInterfaceMockRecorder) ListSecrets ¶
func (mr *MockInterfaceMockRecorder) ListSecrets() *gomock.Call
ListSecrets indicates an expected call of ListSecrets.
func (*MockInterfaceMockRecorder) ListServiceExports ¶
func (mr *MockInterfaceMockRecorder) ListServiceExports() *gomock.Call
ListServiceExports indicates an expected call of ListServiceExports.
func (*MockInterfaceMockRecorder) ListServiceIdentitiesForService ¶
func (mr *MockInterfaceMockRecorder) ListServiceIdentitiesForService(arg0, arg1 interface{}) *gomock.Call
ListServiceIdentitiesForService indicates an expected call of ListServiceIdentitiesForService.
func (*MockInterfaceMockRecorder) ListServiceImports ¶
func (mr *MockInterfaceMockRecorder) ListServiceImports() *gomock.Call
ListServiceImports indicates an expected call of ListServiceImports.
func (*MockInterfaceMockRecorder) ListServices ¶
func (mr *MockInterfaceMockRecorder) ListServices() *gomock.Call
ListServices indicates an expected call of ListServices.
func (*MockInterfaceMockRecorder) ListServicesForProxy ¶
func (mr *MockInterfaceMockRecorder) ListServicesForProxy(arg0 interface{}) *gomock.Call
ListServicesForProxy indicates an expected call of ListServicesForProxy.
func (*MockInterfaceMockRecorder) ListTCPTrafficSpecs ¶
func (mr *MockInterfaceMockRecorder) ListTCPTrafficSpecs() *gomock.Call
ListTCPTrafficSpecs indicates an expected call of ListTCPTrafficSpecs.
func (*MockInterfaceMockRecorder) ListTrafficSplits ¶
func (mr *MockInterfaceMockRecorder) ListTrafficSplits() *gomock.Call
ListTrafficSplits indicates an expected call of ListTrafficSplits.
func (*MockInterfaceMockRecorder) ListTrafficTargets ¶
func (mr *MockInterfaceMockRecorder) ListTrafficTargets() *gomock.Call
ListTrafficTargets indicates an expected call of ListTrafficTargets.
func (*MockInterfaceMockRecorder) ListUpstreamTrafficSettings ¶
func (mr *MockInterfaceMockRecorder) ListUpstreamTrafficSettings() *gomock.Call
ListUpstreamTrafficSettings indicates an expected call of ListUpstreamTrafficSettings.
func (*MockInterfaceMockRecorder) UpdateIngressBackendStatus ¶
func (mr *MockInterfaceMockRecorder) UpdateIngressBackendStatus(arg0 interface{}) *gomock.Call
UpdateIngressBackendStatus indicates an expected call of UpdateIngressBackendStatus.
func (*MockInterfaceMockRecorder) UpdateMeshRootCertificate ¶
func (mr *MockInterfaceMockRecorder) UpdateMeshRootCertificate(arg0 interface{}) *gomock.Call
UpdateMeshRootCertificate indicates an expected call of UpdateMeshRootCertificate.
func (*MockInterfaceMockRecorder) UpdateMeshRootCertificateStatus ¶
func (mr *MockInterfaceMockRecorder) UpdateMeshRootCertificateStatus(arg0 interface{}) *gomock.Call
UpdateMeshRootCertificateStatus indicates an expected call of UpdateMeshRootCertificateStatus.
func (*MockInterfaceMockRecorder) UpdateSecret ¶
func (mr *MockInterfaceMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.
func (*MockInterfaceMockRecorder) UpdateUpstreamTrafficSettingStatus ¶
func (mr *MockInterfaceMockRecorder) UpdateUpstreamTrafficSettingStatus(arg0 interface{}) *gomock.Call
UpdateUpstreamTrafficSettingStatus indicates an expected call of UpdateUpstreamTrafficSettingStatus.
func (*MockInterfaceMockRecorder) VerifyProxy ¶
func (mr *MockInterfaceMockRecorder) VerifyProxy(arg0 interface{}) *gomock.Call
VerifyProxy indicates an expected call of VerifyProxy.