Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type IstioConfigStore
- func (fake *IstioConfigStore) AuthenticationPolicyByDestination(hostname model.Hostname, port *model.Port) *model.Config
- func (fake *IstioConfigStore) AuthenticationPolicyByDestinationArgsForCall(i int) (model.Hostname, *model.Port)
- func (fake *IstioConfigStore) AuthenticationPolicyByDestinationCallCount() int
- func (fake *IstioConfigStore) AuthenticationPolicyByDestinationReturns(result1 *model.Config)
- func (fake *IstioConfigStore) AuthenticationPolicyByDestinationReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) ConfigDescriptor() model.ConfigDescriptor
- func (fake *IstioConfigStore) ConfigDescriptorCallCount() int
- func (fake *IstioConfigStore) ConfigDescriptorReturns(result1 model.ConfigDescriptor)
- func (fake *IstioConfigStore) ConfigDescriptorReturnsOnCall(i int, result1 model.ConfigDescriptor)
- func (fake *IstioConfigStore) Create(config model.Config) (revision string, err error)
- func (fake *IstioConfigStore) CreateArgsForCall(i int) model.Config
- func (fake *IstioConfigStore) CreateCallCount() int
- func (fake *IstioConfigStore) CreateReturns(result1 string, result2 error)
- func (fake *IstioConfigStore) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *IstioConfigStore) Delete(typ string, name string, namespace string) error
- func (fake *IstioConfigStore) DeleteArgsForCall(i int) (string, string, string)
- func (fake *IstioConfigStore) DeleteCallCount() int
- func (fake *IstioConfigStore) DeleteReturns(result1 error)
- func (fake *IstioConfigStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *IstioConfigStore) DestinationRule(hostname model.Hostname) *model.Config
- func (fake *IstioConfigStore) DestinationRuleArgsForCall(i int) model.Hostname
- func (fake *IstioConfigStore) DestinationRuleCallCount() int
- func (fake *IstioConfigStore) DestinationRuleReturns(result1 *model.Config)
- func (fake *IstioConfigStore) DestinationRuleReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) EgressRules() []model.Config
- func (fake *IstioConfigStore) EgressRulesCallCount() int
- func (fake *IstioConfigStore) EgressRulesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) EgressRulesReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) EnvoyFilter(workloadLabels model.LabelsCollection) *model.Config
- func (fake *IstioConfigStore) EnvoyFilterArgsForCall(i int) model.LabelsCollection
- func (fake *IstioConfigStore) EnvoyFilterCallCount() int
- func (fake *IstioConfigStore) EnvoyFilterReturns(result1 *model.Config)
- func (fake *IstioConfigStore) EnvoyFilterReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) Gateways(workloadLabels model.LabelsCollection) []model.Config
- func (fake *IstioConfigStore) GatewaysArgsForCall(i int) model.LabelsCollection
- func (fake *IstioConfigStore) GatewaysCallCount() int
- func (fake *IstioConfigStore) GatewaysReturns(result1 []model.Config)
- func (fake *IstioConfigStore) GatewaysReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) Get(typ string, name string, namespace string) (config *model.Config, exists bool)
- func (fake *IstioConfigStore) GetArgsForCall(i int) (string, string, string)
- func (fake *IstioConfigStore) GetCallCount() int
- func (fake *IstioConfigStore) GetReturns(result1 *model.Config, result2 bool)
- func (fake *IstioConfigStore) GetReturnsOnCall(i int, result1 *model.Config, result2 bool)
- func (fake *IstioConfigStore) HTTPAPISpecByDestination(instance *model.ServiceInstance) []model.Config
- func (fake *IstioConfigStore) HTTPAPISpecByDestinationArgsForCall(i int) *model.ServiceInstance
- func (fake *IstioConfigStore) HTTPAPISpecByDestinationCallCount() int
- func (fake *IstioConfigStore) HTTPAPISpecByDestinationReturns(result1 []model.Config)
- func (fake *IstioConfigStore) HTTPAPISpecByDestinationReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) Invocations() map[string][][]interface{}
- func (fake *IstioConfigStore) List(typ string, namespace string) ([]model.Config, error)
- func (fake *IstioConfigStore) ListArgsForCall(i int) (string, string)
- func (fake *IstioConfigStore) ListCallCount() int
- func (fake *IstioConfigStore) ListReturns(result1 []model.Config, result2 error)
- func (fake *IstioConfigStore) ListReturnsOnCall(i int, result1 []model.Config, result2 error)
- func (fake *IstioConfigStore) Policy(source []*model.ServiceInstance, destination string, labels model.Labels) *model.Config
- func (fake *IstioConfigStore) PolicyArgsForCall(i int) ([]*model.ServiceInstance, string, model.Labels)
- func (fake *IstioConfigStore) PolicyCallCount() int
- func (fake *IstioConfigStore) PolicyReturns(result1 *model.Config)
- func (fake *IstioConfigStore) PolicyReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) QuotaSpecByDestination(instance *model.ServiceInstance) []model.Config
- func (fake *IstioConfigStore) QuotaSpecByDestinationArgsForCall(i int) *model.ServiceInstance
- func (fake *IstioConfigStore) QuotaSpecByDestinationCallCount() int
- func (fake *IstioConfigStore) QuotaSpecByDestinationReturns(result1 []model.Config)
- func (fake *IstioConfigStore) QuotaSpecByDestinationReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) RbacConfig() *model.Config
- func (fake *IstioConfigStore) RbacConfigCallCount() int
- func (fake *IstioConfigStore) RbacConfigReturns(result1 *model.Config)
- func (fake *IstioConfigStore) RbacConfigReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) RouteRules(source []*model.ServiceInstance, destination string) []model.Config
- func (fake *IstioConfigStore) RouteRulesArgsForCall(i int) ([]*model.ServiceInstance, string)
- func (fake *IstioConfigStore) RouteRulesByDestination(destination []*model.ServiceInstance) []model.Config
- func (fake *IstioConfigStore) RouteRulesByDestinationArgsForCall(i int) []*model.ServiceInstance
- func (fake *IstioConfigStore) RouteRulesByDestinationCallCount() int
- func (fake *IstioConfigStore) RouteRulesByDestinationReturns(result1 []model.Config)
- func (fake *IstioConfigStore) RouteRulesByDestinationReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) RouteRulesCallCount() int
- func (fake *IstioConfigStore) RouteRulesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) RouteRulesReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) ServiceEntries() []model.Config
- func (fake *IstioConfigStore) ServiceEntriesCallCount() int
- func (fake *IstioConfigStore) ServiceEntriesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) ServiceEntriesReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) ServiceRoleBindings(namespace string) []model.Config
- func (fake *IstioConfigStore) ServiceRoleBindingsArgsForCall(i int) string
- func (fake *IstioConfigStore) ServiceRoleBindingsCallCount() int
- func (fake *IstioConfigStore) ServiceRoleBindingsReturns(result1 []model.Config)
- func (fake *IstioConfigStore) ServiceRoleBindingsReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) ServiceRoles(namespace string) []model.Config
- func (fake *IstioConfigStore) ServiceRolesArgsForCall(i int) string
- func (fake *IstioConfigStore) ServiceRolesCallCount() int
- func (fake *IstioConfigStore) ServiceRolesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) ServiceRolesReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) SubsetToLabels(subsetName string, hostname model.Hostname) model.LabelsCollection
- func (fake *IstioConfigStore) SubsetToLabelsArgsForCall(i int) (string, model.Hostname)
- func (fake *IstioConfigStore) SubsetToLabelsCallCount() int
- func (fake *IstioConfigStore) SubsetToLabelsReturns(result1 model.LabelsCollection)
- func (fake *IstioConfigStore) SubsetToLabelsReturnsOnCall(i int, result1 model.LabelsCollection)
- func (fake *IstioConfigStore) Update(config model.Config) (newRevision string, err error)
- func (fake *IstioConfigStore) UpdateArgsForCall(i int) model.Config
- func (fake *IstioConfigStore) UpdateCallCount() int
- func (fake *IstioConfigStore) UpdateReturns(result1 string, result2 error)
- func (fake *IstioConfigStore) UpdateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *IstioConfigStore) VirtualServices(gateways map[string]bool) []model.Config
- func (fake *IstioConfigStore) VirtualServicesArgsForCall(i int) map[string]bool
- func (fake *IstioConfigStore) VirtualServicesCallCount() int
- func (fake *IstioConfigStore) VirtualServicesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) VirtualServicesReturnsOnCall(i int, result1 []model.Config)
- type ServiceAccounts
- func (fake *ServiceAccounts) GetIstioServiceAccounts(hostname model.Hostname, ports []string) []string
- func (fake *ServiceAccounts) GetIstioServiceAccountsArgsForCall(i int) (model.Hostname, []string)
- func (fake *ServiceAccounts) GetIstioServiceAccountsCallCount() int
- func (fake *ServiceAccounts) GetIstioServiceAccountsReturns(result1 []string)
- func (fake *ServiceAccounts) GetIstioServiceAccountsReturnsOnCall(i int, result1 []string)
- func (fake *ServiceAccounts) Invocations() map[string][][]interface{}
- type ServiceDiscovery
- func (fake *ServiceDiscovery) GetProxyServiceInstances(arg1 *model.Proxy) ([]*model.ServiceInstance, error)
- func (fake *ServiceDiscovery) GetProxyServiceInstancesArgsForCall(i int) *model.Proxy
- func (fake *ServiceDiscovery) GetProxyServiceInstancesCallCount() int
- func (fake *ServiceDiscovery) GetProxyServiceInstancesReturns(result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) GetProxyServiceInstancesReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) GetService(hostname model.Hostname) (*model.Service, error)
- func (fake *ServiceDiscovery) GetServiceArgsForCall(i int) model.Hostname
- func (fake *ServiceDiscovery) GetServiceAttributes(hostname model.Hostname) (*model.ServiceAttributes, error)
- func (fake *ServiceDiscovery) GetServiceAttributesArgsForCall(i int) model.Hostname
- func (fake *ServiceDiscovery) GetServiceAttributesCallCount() int
- func (fake *ServiceDiscovery) GetServiceAttributesReturns(result1 *model.ServiceAttributes, result2 error)
- func (fake *ServiceDiscovery) GetServiceAttributesReturnsOnCall(i int, result1 *model.ServiceAttributes, result2 error)
- func (fake *ServiceDiscovery) GetServiceCallCount() int
- func (fake *ServiceDiscovery) GetServiceReturns(result1 *model.Service, result2 error)
- func (fake *ServiceDiscovery) GetServiceReturnsOnCall(i int, result1 *model.Service, result2 error)
- func (fake *ServiceDiscovery) Instances(hostname model.Hostname, ports []string, labels model.LabelsCollection) ([]*model.ServiceInstance, error)
- func (fake *ServiceDiscovery) InstancesArgsForCall(i int) (model.Hostname, []string, model.LabelsCollection)
- func (fake *ServiceDiscovery) InstancesByPort(hostname model.Hostname, servicePort int, labels model.LabelsCollection) ([]*model.ServiceInstance, error)
- func (fake *ServiceDiscovery) InstancesByPortArgsForCall(i int) (model.Hostname, int, model.LabelsCollection)
- func (fake *ServiceDiscovery) InstancesByPortCallCount() int
- func (fake *ServiceDiscovery) InstancesByPortReturns(result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) InstancesByPortReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) InstancesCallCount() int
- func (fake *ServiceDiscovery) InstancesReturns(result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) InstancesReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
- func (fake *ServiceDiscovery) Invocations() map[string][][]interface{}
- func (fake *ServiceDiscovery) ManagementPorts(addr string) model.PortList
- func (fake *ServiceDiscovery) ManagementPortsArgsForCall(i int) string
- func (fake *ServiceDiscovery) ManagementPortsCallCount() int
- func (fake *ServiceDiscovery) ManagementPortsReturns(result1 model.PortList)
- func (fake *ServiceDiscovery) ManagementPortsReturnsOnCall(i int, result1 model.PortList)
- func (fake *ServiceDiscovery) Services() ([]*model.Service, error)
- func (fake *ServiceDiscovery) ServicesCallCount() int
- func (fake *ServiceDiscovery) ServicesReturns(result1 []*model.Service, result2 error)
- func (fake *ServiceDiscovery) ServicesReturnsOnCall(i int, result1 []*model.Service, result2 error)
- func (fake *ServiceDiscovery) WorkloadHealthCheckInfo(addr string) model.ProbeList
- func (fake *ServiceDiscovery) WorkloadHealthCheckInfoArgsForCall(i int) string
- func (fake *ServiceDiscovery) WorkloadHealthCheckInfoCallCount() int
- func (fake *ServiceDiscovery) WorkloadHealthCheckInfoReturns(result1 model.ProbeList)
- func (fake *ServiceDiscovery) WorkloadHealthCheckInfoReturnsOnCall(i int, result1 model.ProbeList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IstioConfigStore ¶
type IstioConfigStore struct { ConfigDescriptorStub func() model.ConfigDescriptor GetStub func(typ, name, namespace string) (config *model.Config, exists bool) ListStub func(typ, namespace string) ([]model.Config, error) CreateStub func(config model.Config) (revision string, err error) UpdateStub func(config model.Config) (newRevision string, err error) DeleteStub func(typ, name, namespace string) error EgressRulesStub func() []model.Config ServiceEntriesStub func() []model.Config RouteRulesStub func(source []*model.ServiceInstance, destination string) []model.Config RouteRulesByDestinationStub func(destination []*model.ServiceInstance) []model.Config PolicyStub func(source []*model.ServiceInstance, destination string, labels model.Labels) *model.Config DestinationRuleStub func(hostname model.Hostname) *model.Config VirtualServicesStub func(gateways map[string]bool) []model.Config GatewaysStub func(workloadLabels model.LabelsCollection) []model.Config SubsetToLabelsStub func(subsetName string, hostname model.Hostname) model.LabelsCollection EnvoyFilterStub func(workloadLabels model.LabelsCollection) *model.Config HTTPAPISpecByDestinationStub func(instance *model.ServiceInstance) []model.Config QuotaSpecByDestinationStub func(instance *model.ServiceInstance) []model.Config AuthenticationPolicyByDestinationStub func(hostname model.Hostname, port *model.Port) *model.Config ServiceRolesStub func(namespace string) []model.Config ServiceRoleBindingsStub func(namespace string) []model.Config RbacConfigStub func() *model.Config // contains filtered or unexported fields }
func (*IstioConfigStore) AuthenticationPolicyByDestination ¶
func (*IstioConfigStore) AuthenticationPolicyByDestinationArgsForCall ¶
func (*IstioConfigStore) AuthenticationPolicyByDestinationCallCount ¶
func (fake *IstioConfigStore) AuthenticationPolicyByDestinationCallCount() int
func (*IstioConfigStore) AuthenticationPolicyByDestinationReturns ¶
func (fake *IstioConfigStore) AuthenticationPolicyByDestinationReturns(result1 *model.Config)
func (*IstioConfigStore) AuthenticationPolicyByDestinationReturnsOnCall ¶
func (fake *IstioConfigStore) AuthenticationPolicyByDestinationReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) ConfigDescriptor ¶
func (fake *IstioConfigStore) ConfigDescriptor() model.ConfigDescriptor
func (*IstioConfigStore) ConfigDescriptorCallCount ¶
func (fake *IstioConfigStore) ConfigDescriptorCallCount() int
func (*IstioConfigStore) ConfigDescriptorReturns ¶
func (fake *IstioConfigStore) ConfigDescriptorReturns(result1 model.ConfigDescriptor)
func (*IstioConfigStore) ConfigDescriptorReturnsOnCall ¶
func (fake *IstioConfigStore) ConfigDescriptorReturnsOnCall(i int, result1 model.ConfigDescriptor)
func (*IstioConfigStore) Create ¶
func (fake *IstioConfigStore) Create(config model.Config) (revision string, err error)
func (*IstioConfigStore) CreateArgsForCall ¶
func (fake *IstioConfigStore) CreateArgsForCall(i int) model.Config
func (*IstioConfigStore) CreateCallCount ¶
func (fake *IstioConfigStore) CreateCallCount() int
func (*IstioConfigStore) CreateReturns ¶
func (fake *IstioConfigStore) CreateReturns(result1 string, result2 error)
func (*IstioConfigStore) CreateReturnsOnCall ¶
func (fake *IstioConfigStore) CreateReturnsOnCall(i int, result1 string, result2 error)
func (*IstioConfigStore) Delete ¶
func (fake *IstioConfigStore) Delete(typ string, name string, namespace string) error
func (*IstioConfigStore) DeleteArgsForCall ¶
func (fake *IstioConfigStore) DeleteArgsForCall(i int) (string, string, string)
func (*IstioConfigStore) DeleteCallCount ¶
func (fake *IstioConfigStore) DeleteCallCount() int
func (*IstioConfigStore) DeleteReturns ¶
func (fake *IstioConfigStore) DeleteReturns(result1 error)
func (*IstioConfigStore) DeleteReturnsOnCall ¶
func (fake *IstioConfigStore) DeleteReturnsOnCall(i int, result1 error)
func (*IstioConfigStore) DestinationRule ¶
func (fake *IstioConfigStore) DestinationRule(hostname model.Hostname) *model.Config
func (*IstioConfigStore) DestinationRuleArgsForCall ¶
func (fake *IstioConfigStore) DestinationRuleArgsForCall(i int) model.Hostname
func (*IstioConfigStore) DestinationRuleCallCount ¶
func (fake *IstioConfigStore) DestinationRuleCallCount() int
func (*IstioConfigStore) DestinationRuleReturns ¶
func (fake *IstioConfigStore) DestinationRuleReturns(result1 *model.Config)
func (*IstioConfigStore) DestinationRuleReturnsOnCall ¶
func (fake *IstioConfigStore) DestinationRuleReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) EgressRules ¶
func (fake *IstioConfigStore) EgressRules() []model.Config
func (*IstioConfigStore) EgressRulesCallCount ¶
func (fake *IstioConfigStore) EgressRulesCallCount() int
func (*IstioConfigStore) EgressRulesReturns ¶
func (fake *IstioConfigStore) EgressRulesReturns(result1 []model.Config)
func (*IstioConfigStore) EgressRulesReturnsOnCall ¶
func (fake *IstioConfigStore) EgressRulesReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) EnvoyFilter ¶
func (fake *IstioConfigStore) EnvoyFilter(workloadLabels model.LabelsCollection) *model.Config
func (*IstioConfigStore) EnvoyFilterArgsForCall ¶
func (fake *IstioConfigStore) EnvoyFilterArgsForCall(i int) model.LabelsCollection
func (*IstioConfigStore) EnvoyFilterCallCount ¶
func (fake *IstioConfigStore) EnvoyFilterCallCount() int
func (*IstioConfigStore) EnvoyFilterReturns ¶
func (fake *IstioConfigStore) EnvoyFilterReturns(result1 *model.Config)
func (*IstioConfigStore) EnvoyFilterReturnsOnCall ¶
func (fake *IstioConfigStore) EnvoyFilterReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) Gateways ¶
func (fake *IstioConfigStore) Gateways(workloadLabels model.LabelsCollection) []model.Config
func (*IstioConfigStore) GatewaysArgsForCall ¶
func (fake *IstioConfigStore) GatewaysArgsForCall(i int) model.LabelsCollection
func (*IstioConfigStore) GatewaysCallCount ¶
func (fake *IstioConfigStore) GatewaysCallCount() int
func (*IstioConfigStore) GatewaysReturns ¶
func (fake *IstioConfigStore) GatewaysReturns(result1 []model.Config)
func (*IstioConfigStore) GatewaysReturnsOnCall ¶
func (fake *IstioConfigStore) GatewaysReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) GetArgsForCall ¶
func (fake *IstioConfigStore) GetArgsForCall(i int) (string, string, string)
func (*IstioConfigStore) GetCallCount ¶
func (fake *IstioConfigStore) GetCallCount() int
func (*IstioConfigStore) GetReturns ¶
func (fake *IstioConfigStore) GetReturns(result1 *model.Config, result2 bool)
func (*IstioConfigStore) GetReturnsOnCall ¶
func (fake *IstioConfigStore) GetReturnsOnCall(i int, result1 *model.Config, result2 bool)
func (*IstioConfigStore) HTTPAPISpecByDestination ¶
func (fake *IstioConfigStore) HTTPAPISpecByDestination(instance *model.ServiceInstance) []model.Config
func (*IstioConfigStore) HTTPAPISpecByDestinationArgsForCall ¶
func (fake *IstioConfigStore) HTTPAPISpecByDestinationArgsForCall(i int) *model.ServiceInstance
func (*IstioConfigStore) HTTPAPISpecByDestinationCallCount ¶
func (fake *IstioConfigStore) HTTPAPISpecByDestinationCallCount() int
func (*IstioConfigStore) HTTPAPISpecByDestinationReturns ¶
func (fake *IstioConfigStore) HTTPAPISpecByDestinationReturns(result1 []model.Config)
func (*IstioConfigStore) HTTPAPISpecByDestinationReturnsOnCall ¶
func (fake *IstioConfigStore) HTTPAPISpecByDestinationReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) Invocations ¶
func (fake *IstioConfigStore) Invocations() map[string][][]interface{}
func (*IstioConfigStore) ListArgsForCall ¶
func (fake *IstioConfigStore) ListArgsForCall(i int) (string, string)
func (*IstioConfigStore) ListCallCount ¶
func (fake *IstioConfigStore) ListCallCount() int
func (*IstioConfigStore) ListReturns ¶
func (fake *IstioConfigStore) ListReturns(result1 []model.Config, result2 error)
func (*IstioConfigStore) ListReturnsOnCall ¶
func (fake *IstioConfigStore) ListReturnsOnCall(i int, result1 []model.Config, result2 error)
func (*IstioConfigStore) Policy ¶
func (fake *IstioConfigStore) Policy(source []*model.ServiceInstance, destination string, labels model.Labels) *model.Config
func (*IstioConfigStore) PolicyArgsForCall ¶
func (fake *IstioConfigStore) PolicyArgsForCall(i int) ([]*model.ServiceInstance, string, model.Labels)
func (*IstioConfigStore) PolicyCallCount ¶
func (fake *IstioConfigStore) PolicyCallCount() int
func (*IstioConfigStore) PolicyReturns ¶
func (fake *IstioConfigStore) PolicyReturns(result1 *model.Config)
func (*IstioConfigStore) PolicyReturnsOnCall ¶
func (fake *IstioConfigStore) PolicyReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) QuotaSpecByDestination ¶
func (fake *IstioConfigStore) QuotaSpecByDestination(instance *model.ServiceInstance) []model.Config
func (*IstioConfigStore) QuotaSpecByDestinationArgsForCall ¶
func (fake *IstioConfigStore) QuotaSpecByDestinationArgsForCall(i int) *model.ServiceInstance
func (*IstioConfigStore) QuotaSpecByDestinationCallCount ¶
func (fake *IstioConfigStore) QuotaSpecByDestinationCallCount() int
func (*IstioConfigStore) QuotaSpecByDestinationReturns ¶
func (fake *IstioConfigStore) QuotaSpecByDestinationReturns(result1 []model.Config)
func (*IstioConfigStore) QuotaSpecByDestinationReturnsOnCall ¶
func (fake *IstioConfigStore) QuotaSpecByDestinationReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) RbacConfig ¶
func (fake *IstioConfigStore) RbacConfig() *model.Config
func (*IstioConfigStore) RbacConfigCallCount ¶
func (fake *IstioConfigStore) RbacConfigCallCount() int
func (*IstioConfigStore) RbacConfigReturns ¶
func (fake *IstioConfigStore) RbacConfigReturns(result1 *model.Config)
func (*IstioConfigStore) RbacConfigReturnsOnCall ¶
func (fake *IstioConfigStore) RbacConfigReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) RouteRules ¶
func (fake *IstioConfigStore) RouteRules(source []*model.ServiceInstance, destination string) []model.Config
func (*IstioConfigStore) RouteRulesArgsForCall ¶
func (fake *IstioConfigStore) RouteRulesArgsForCall(i int) ([]*model.ServiceInstance, string)
func (*IstioConfigStore) RouteRulesByDestination ¶
func (fake *IstioConfigStore) RouteRulesByDestination(destination []*model.ServiceInstance) []model.Config
func (*IstioConfigStore) RouteRulesByDestinationArgsForCall ¶
func (fake *IstioConfigStore) RouteRulesByDestinationArgsForCall(i int) []*model.ServiceInstance
func (*IstioConfigStore) RouteRulesByDestinationCallCount ¶
func (fake *IstioConfigStore) RouteRulesByDestinationCallCount() int
func (*IstioConfigStore) RouteRulesByDestinationReturns ¶
func (fake *IstioConfigStore) RouteRulesByDestinationReturns(result1 []model.Config)
func (*IstioConfigStore) RouteRulesByDestinationReturnsOnCall ¶
func (fake *IstioConfigStore) RouteRulesByDestinationReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) RouteRulesCallCount ¶
func (fake *IstioConfigStore) RouteRulesCallCount() int
func (*IstioConfigStore) RouteRulesReturns ¶
func (fake *IstioConfigStore) RouteRulesReturns(result1 []model.Config)
func (*IstioConfigStore) RouteRulesReturnsOnCall ¶
func (fake *IstioConfigStore) RouteRulesReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) ServiceEntries ¶
func (fake *IstioConfigStore) ServiceEntries() []model.Config
func (*IstioConfigStore) ServiceEntriesCallCount ¶
func (fake *IstioConfigStore) ServiceEntriesCallCount() int
func (*IstioConfigStore) ServiceEntriesReturns ¶
func (fake *IstioConfigStore) ServiceEntriesReturns(result1 []model.Config)
func (*IstioConfigStore) ServiceEntriesReturnsOnCall ¶
func (fake *IstioConfigStore) ServiceEntriesReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) ServiceRoleBindings ¶
func (fake *IstioConfigStore) ServiceRoleBindings(namespace string) []model.Config
func (*IstioConfigStore) ServiceRoleBindingsArgsForCall ¶
func (fake *IstioConfigStore) ServiceRoleBindingsArgsForCall(i int) string
func (*IstioConfigStore) ServiceRoleBindingsCallCount ¶
func (fake *IstioConfigStore) ServiceRoleBindingsCallCount() int
func (*IstioConfigStore) ServiceRoleBindingsReturns ¶
func (fake *IstioConfigStore) ServiceRoleBindingsReturns(result1 []model.Config)
func (*IstioConfigStore) ServiceRoleBindingsReturnsOnCall ¶
func (fake *IstioConfigStore) ServiceRoleBindingsReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) ServiceRoles ¶
func (fake *IstioConfigStore) ServiceRoles(namespace string) []model.Config
func (*IstioConfigStore) ServiceRolesArgsForCall ¶
func (fake *IstioConfigStore) ServiceRolesArgsForCall(i int) string
func (*IstioConfigStore) ServiceRolesCallCount ¶
func (fake *IstioConfigStore) ServiceRolesCallCount() int
func (*IstioConfigStore) ServiceRolesReturns ¶
func (fake *IstioConfigStore) ServiceRolesReturns(result1 []model.Config)
func (*IstioConfigStore) ServiceRolesReturnsOnCall ¶
func (fake *IstioConfigStore) ServiceRolesReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) SubsetToLabels ¶
func (fake *IstioConfigStore) SubsetToLabels(subsetName string, hostname model.Hostname) model.LabelsCollection
func (*IstioConfigStore) SubsetToLabelsArgsForCall ¶
func (fake *IstioConfigStore) SubsetToLabelsArgsForCall(i int) (string, model.Hostname)
func (*IstioConfigStore) SubsetToLabelsCallCount ¶
func (fake *IstioConfigStore) SubsetToLabelsCallCount() int
func (*IstioConfigStore) SubsetToLabelsReturns ¶
func (fake *IstioConfigStore) SubsetToLabelsReturns(result1 model.LabelsCollection)
func (*IstioConfigStore) SubsetToLabelsReturnsOnCall ¶
func (fake *IstioConfigStore) SubsetToLabelsReturnsOnCall(i int, result1 model.LabelsCollection)
func (*IstioConfigStore) Update ¶
func (fake *IstioConfigStore) Update(config model.Config) (newRevision string, err error)
func (*IstioConfigStore) UpdateArgsForCall ¶
func (fake *IstioConfigStore) UpdateArgsForCall(i int) model.Config
func (*IstioConfigStore) UpdateCallCount ¶
func (fake *IstioConfigStore) UpdateCallCount() int
func (*IstioConfigStore) UpdateReturns ¶
func (fake *IstioConfigStore) UpdateReturns(result1 string, result2 error)
func (*IstioConfigStore) UpdateReturnsOnCall ¶
func (fake *IstioConfigStore) UpdateReturnsOnCall(i int, result1 string, result2 error)
func (*IstioConfigStore) VirtualServices ¶
func (fake *IstioConfigStore) VirtualServices(gateways map[string]bool) []model.Config
func (*IstioConfigStore) VirtualServicesArgsForCall ¶
func (fake *IstioConfigStore) VirtualServicesArgsForCall(i int) map[string]bool
func (*IstioConfigStore) VirtualServicesCallCount ¶
func (fake *IstioConfigStore) VirtualServicesCallCount() int
func (*IstioConfigStore) VirtualServicesReturns ¶
func (fake *IstioConfigStore) VirtualServicesReturns(result1 []model.Config)
func (*IstioConfigStore) VirtualServicesReturnsOnCall ¶
func (fake *IstioConfigStore) VirtualServicesReturnsOnCall(i int, result1 []model.Config)
type ServiceAccounts ¶
type ServiceAccounts struct { GetIstioServiceAccountsStub func(hostname model.Hostname, ports []string) []string // contains filtered or unexported fields }
func (*ServiceAccounts) GetIstioServiceAccounts ¶
func (fake *ServiceAccounts) GetIstioServiceAccounts(hostname model.Hostname, ports []string) []string
func (*ServiceAccounts) GetIstioServiceAccountsArgsForCall ¶
func (fake *ServiceAccounts) GetIstioServiceAccountsArgsForCall(i int) (model.Hostname, []string)
func (*ServiceAccounts) GetIstioServiceAccountsCallCount ¶
func (fake *ServiceAccounts) GetIstioServiceAccountsCallCount() int
func (*ServiceAccounts) GetIstioServiceAccountsReturns ¶
func (fake *ServiceAccounts) GetIstioServiceAccountsReturns(result1 []string)
func (*ServiceAccounts) GetIstioServiceAccountsReturnsOnCall ¶
func (fake *ServiceAccounts) GetIstioServiceAccountsReturnsOnCall(i int, result1 []string)
func (*ServiceAccounts) Invocations ¶
func (fake *ServiceAccounts) Invocations() map[string][][]interface{}
type ServiceDiscovery ¶
type ServiceDiscovery struct { ServicesStub func() ([]*model.Service, error) GetServiceStub func(hostname model.Hostname) (*model.Service, error) GetServiceAttributesStub func(hostname model.Hostname) (*model.ServiceAttributes, error) InstancesStub func(hostname model.Hostname, ports []string, labels model.LabelsCollection) ([]*model.ServiceInstance, error) InstancesByPortStub func(hostname model.Hostname, servicePort int, labels model.LabelsCollection) ([]*model.ServiceInstance, error) GetProxyServiceInstancesStub func(*model.Proxy) ([]*model.ServiceInstance, error) ManagementPortsStub func(addr string) model.PortList WorkloadHealthCheckInfoStub func(addr string) model.ProbeList // contains filtered or unexported fields }
func (*ServiceDiscovery) GetProxyServiceInstances ¶
func (fake *ServiceDiscovery) GetProxyServiceInstances(arg1 *model.Proxy) ([]*model.ServiceInstance, error)
func (*ServiceDiscovery) GetProxyServiceInstancesArgsForCall ¶
func (fake *ServiceDiscovery) GetProxyServiceInstancesArgsForCall(i int) *model.Proxy
func (*ServiceDiscovery) GetProxyServiceInstancesCallCount ¶
func (fake *ServiceDiscovery) GetProxyServiceInstancesCallCount() int
func (*ServiceDiscovery) GetProxyServiceInstancesReturns ¶
func (fake *ServiceDiscovery) GetProxyServiceInstancesReturns(result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) GetProxyServiceInstancesReturnsOnCall ¶
func (fake *ServiceDiscovery) GetProxyServiceInstancesReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) GetService ¶
func (*ServiceDiscovery) GetServiceArgsForCall ¶
func (fake *ServiceDiscovery) GetServiceArgsForCall(i int) model.Hostname
func (*ServiceDiscovery) GetServiceAttributes ¶
func (fake *ServiceDiscovery) GetServiceAttributes(hostname model.Hostname) (*model.ServiceAttributes, error)
func (*ServiceDiscovery) GetServiceAttributesArgsForCall ¶
func (fake *ServiceDiscovery) GetServiceAttributesArgsForCall(i int) model.Hostname
func (*ServiceDiscovery) GetServiceAttributesCallCount ¶
func (fake *ServiceDiscovery) GetServiceAttributesCallCount() int
func (*ServiceDiscovery) GetServiceAttributesReturns ¶
func (fake *ServiceDiscovery) GetServiceAttributesReturns(result1 *model.ServiceAttributes, result2 error)
func (*ServiceDiscovery) GetServiceAttributesReturnsOnCall ¶
func (fake *ServiceDiscovery) GetServiceAttributesReturnsOnCall(i int, result1 *model.ServiceAttributes, result2 error)
func (*ServiceDiscovery) GetServiceCallCount ¶
func (fake *ServiceDiscovery) GetServiceCallCount() int
func (*ServiceDiscovery) GetServiceReturns ¶
func (fake *ServiceDiscovery) GetServiceReturns(result1 *model.Service, result2 error)
func (*ServiceDiscovery) GetServiceReturnsOnCall ¶
func (fake *ServiceDiscovery) GetServiceReturnsOnCall(i int, result1 *model.Service, result2 error)
func (*ServiceDiscovery) Instances ¶
func (fake *ServiceDiscovery) Instances(hostname model.Hostname, ports []string, labels model.LabelsCollection) ([]*model.ServiceInstance, error)
func (*ServiceDiscovery) InstancesArgsForCall ¶
func (fake *ServiceDiscovery) InstancesArgsForCall(i int) (model.Hostname, []string, model.LabelsCollection)
func (*ServiceDiscovery) InstancesByPort ¶
func (fake *ServiceDiscovery) InstancesByPort(hostname model.Hostname, servicePort int, labels model.LabelsCollection) ([]*model.ServiceInstance, error)
func (*ServiceDiscovery) InstancesByPortArgsForCall ¶
func (fake *ServiceDiscovery) InstancesByPortArgsForCall(i int) (model.Hostname, int, model.LabelsCollection)
func (*ServiceDiscovery) InstancesByPortCallCount ¶
func (fake *ServiceDiscovery) InstancesByPortCallCount() int
func (*ServiceDiscovery) InstancesByPortReturns ¶
func (fake *ServiceDiscovery) InstancesByPortReturns(result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) InstancesByPortReturnsOnCall ¶
func (fake *ServiceDiscovery) InstancesByPortReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) InstancesCallCount ¶
func (fake *ServiceDiscovery) InstancesCallCount() int
func (*ServiceDiscovery) InstancesReturns ¶
func (fake *ServiceDiscovery) InstancesReturns(result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) InstancesReturnsOnCall ¶
func (fake *ServiceDiscovery) InstancesReturnsOnCall(i int, result1 []*model.ServiceInstance, result2 error)
func (*ServiceDiscovery) Invocations ¶
func (fake *ServiceDiscovery) Invocations() map[string][][]interface{}
func (*ServiceDiscovery) ManagementPorts ¶
func (fake *ServiceDiscovery) ManagementPorts(addr string) model.PortList
func (*ServiceDiscovery) ManagementPortsArgsForCall ¶
func (fake *ServiceDiscovery) ManagementPortsArgsForCall(i int) string
func (*ServiceDiscovery) ManagementPortsCallCount ¶
func (fake *ServiceDiscovery) ManagementPortsCallCount() int
func (*ServiceDiscovery) ManagementPortsReturns ¶
func (fake *ServiceDiscovery) ManagementPortsReturns(result1 model.PortList)
func (*ServiceDiscovery) ManagementPortsReturnsOnCall ¶
func (fake *ServiceDiscovery) ManagementPortsReturnsOnCall(i int, result1 model.PortList)
func (*ServiceDiscovery) Services ¶
func (fake *ServiceDiscovery) Services() ([]*model.Service, error)
func (*ServiceDiscovery) ServicesCallCount ¶
func (fake *ServiceDiscovery) ServicesCallCount() int
func (*ServiceDiscovery) ServicesReturns ¶
func (fake *ServiceDiscovery) ServicesReturns(result1 []*model.Service, result2 error)
func (*ServiceDiscovery) ServicesReturnsOnCall ¶
func (fake *ServiceDiscovery) ServicesReturnsOnCall(i int, result1 []*model.Service, result2 error)
func (*ServiceDiscovery) WorkloadHealthCheckInfo ¶
func (fake *ServiceDiscovery) WorkloadHealthCheckInfo(addr string) model.ProbeList
func (*ServiceDiscovery) WorkloadHealthCheckInfoArgsForCall ¶
func (fake *ServiceDiscovery) WorkloadHealthCheckInfoArgsForCall(i int) string
func (*ServiceDiscovery) WorkloadHealthCheckInfoCallCount ¶
func (fake *ServiceDiscovery) WorkloadHealthCheckInfoCallCount() int
func (*ServiceDiscovery) WorkloadHealthCheckInfoReturns ¶
func (fake *ServiceDiscovery) WorkloadHealthCheckInfoReturns(result1 model.ProbeList)
func (*ServiceDiscovery) WorkloadHealthCheckInfoReturnsOnCall ¶
func (fake *ServiceDiscovery) WorkloadHealthCheckInfoReturnsOnCall(i int, result1 model.ProbeList)
Click to show internal directories.
Click to hide internal directories.