Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type IstioConfigStore
- func (fake *IstioConfigStore) AuthenticationPolicyForWorkload(service *model.Service, labels model.Labels, port *model.Port) *model.Config
- func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadArgsForCall(i int) (*model.Service, model.Labels, *model.Port)
- func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadCallCount() int
- func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadReturns(result1 *model.Config)
- func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadReturnsOnCall(i int, result1 *model.Config)
- func (fake *IstioConfigStore) AuthorizationPolicies(namespace string) []model.Config
- func (fake *IstioConfigStore) AuthorizationPoliciesArgsForCall(i int) string
- func (fake *IstioConfigStore) AuthorizationPoliciesCallCount() int
- func (fake *IstioConfigStore) AuthorizationPoliciesReturns(result1 []model.Config)
- func (fake *IstioConfigStore) AuthorizationPoliciesReturnsOnCall(i int, result1 []model.Config)
- func (fake *IstioConfigStore) ClusterRbacConfig() *model.Config
- func (fake *IstioConfigStore) ClusterRbacConfigCallCount() int
- func (fake *IstioConfigStore) ClusterRbacConfigReturns(result1 *model.Config)
- func (fake *IstioConfigStore) ClusterRbacConfigReturnsOnCall(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) 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) *model.Config
- func (fake *IstioConfigStore) GetArgsForCall(i int) (string, string, string)
- func (fake *IstioConfigStore) GetCallCount() int
- func (fake *IstioConfigStore) GetReturns(result1 *model.Config)
- func (fake *IstioConfigStore) GetReturnsOnCall(i int, result1 *model.Config)
- 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) 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) 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) 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)
- type ServiceDiscovery
- func (fake *ServiceDiscovery) GetIstioServiceAccounts(hostname model.Hostname, ports []int) []string
- func (fake *ServiceDiscovery) GetIstioServiceAccountsArgsForCall(i int) (model.Hostname, []int)
- func (fake *ServiceDiscovery) GetIstioServiceAccountsCallCount() int
- func (fake *ServiceDiscovery) GetIstioServiceAccountsReturns(result1 []string)
- func (fake *ServiceDiscovery) GetIstioServiceAccountsReturnsOnCall(i int, result1 []string)
- 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) GetProxyWorkloadLabels(arg1 *model.Proxy) (model.LabelsCollection, error)
- func (fake *ServiceDiscovery) GetProxyWorkloadLabelsArgsForCall(i int) *model.Proxy
- func (fake *ServiceDiscovery) GetProxyWorkloadLabelsCallCount() int
- func (fake *ServiceDiscovery) GetProxyWorkloadLabelsReturns(result1 model.LabelsCollection, result2 error)
- func (fake *ServiceDiscovery) GetProxyWorkloadLabelsReturnsOnCall(i int, result1 model.LabelsCollection, result2 error)
- func (fake *ServiceDiscovery) GetService(hostname model.Hostname) (*model.Service, error)
- func (fake *ServiceDiscovery) GetServiceArgsForCall(i int) model.Hostname
- 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) 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) 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) *model.Config 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 ServiceEntriesStub func() []model.Config GatewaysStub func(workloadLabels model.LabelsCollection) []model.Config EnvoyFilterStub func(workloadLabels model.LabelsCollection) *model.Config HTTPAPISpecByDestinationStub func(instance *model.ServiceInstance) []model.Config QuotaSpecByDestinationStub func(instance *model.ServiceInstance) []model.Config AuthenticationPolicyForWorkloadStub func(service *model.Service, labels model.Labels, port *model.Port) *model.Config ServiceRolesStub func(namespace string) []model.Config ServiceRoleBindingsStub func(namespace string) []model.Config AuthorizationPoliciesStub func(namespace string) []model.Config RbacConfigStub func() *model.Config ClusterRbacConfigStub func() *model.Config // contains filtered or unexported fields }
func (*IstioConfigStore) AuthenticationPolicyForWorkload ¶
func (*IstioConfigStore) AuthenticationPolicyForWorkloadArgsForCall ¶
func (*IstioConfigStore) AuthenticationPolicyForWorkloadCallCount ¶
func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadCallCount() int
func (*IstioConfigStore) AuthenticationPolicyForWorkloadReturns ¶
func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadReturns(result1 *model.Config)
func (*IstioConfigStore) AuthenticationPolicyForWorkloadReturnsOnCall ¶
func (fake *IstioConfigStore) AuthenticationPolicyForWorkloadReturnsOnCall(i int, result1 *model.Config)
func (*IstioConfigStore) AuthorizationPolicies ¶
func (fake *IstioConfigStore) AuthorizationPolicies(namespace string) []model.Config
func (*IstioConfigStore) AuthorizationPoliciesArgsForCall ¶
func (fake *IstioConfigStore) AuthorizationPoliciesArgsForCall(i int) string
func (*IstioConfigStore) AuthorizationPoliciesCallCount ¶
func (fake *IstioConfigStore) AuthorizationPoliciesCallCount() int
func (*IstioConfigStore) AuthorizationPoliciesReturns ¶
func (fake *IstioConfigStore) AuthorizationPoliciesReturns(result1 []model.Config)
func (*IstioConfigStore) AuthorizationPoliciesReturnsOnCall ¶
func (fake *IstioConfigStore) AuthorizationPoliciesReturnsOnCall(i int, result1 []model.Config)
func (*IstioConfigStore) ClusterRbacConfig ¶
func (fake *IstioConfigStore) ClusterRbacConfig() *model.Config
func (*IstioConfigStore) ClusterRbacConfigCallCount ¶
func (fake *IstioConfigStore) ClusterRbacConfigCallCount() int
func (*IstioConfigStore) ClusterRbacConfigReturns ¶
func (fake *IstioConfigStore) ClusterRbacConfigReturns(result1 *model.Config)
func (*IstioConfigStore) ClusterRbacConfigReturnsOnCall ¶
func (fake *IstioConfigStore) ClusterRbacConfigReturnsOnCall(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) 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)
func (*IstioConfigStore) GetReturnsOnCall ¶
func (fake *IstioConfigStore) GetReturnsOnCall(i int, result1 *model.Config)
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) 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) 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) 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)
type ServiceDiscovery ¶
type ServiceDiscovery struct { ServicesStub func() ([]*model.Service, error) GetServiceStub func(hostname model.Hostname) (*model.Service, error) InstancesByPortStub func(hostname model.Hostname, servicePort int, labels model.LabelsCollection) ([]*model.ServiceInstance, error) GetProxyServiceInstancesStub func(*model.Proxy) ([]*model.ServiceInstance, error) GetProxyWorkloadLabelsStub func(*model.Proxy) (model.LabelsCollection, error) ManagementPortsStub func(addr string) model.PortList WorkloadHealthCheckInfoStub func(addr string) model.ProbeList GetIstioServiceAccountsStub func(hostname model.Hostname, ports []int) []string // contains filtered or unexported fields }
func (*ServiceDiscovery) GetIstioServiceAccounts ¶
func (fake *ServiceDiscovery) GetIstioServiceAccounts(hostname model.Hostname, ports []int) []string
func (*ServiceDiscovery) GetIstioServiceAccountsArgsForCall ¶
func (fake *ServiceDiscovery) GetIstioServiceAccountsArgsForCall(i int) (model.Hostname, []int)
func (*ServiceDiscovery) GetIstioServiceAccountsCallCount ¶
func (fake *ServiceDiscovery) GetIstioServiceAccountsCallCount() int
func (*ServiceDiscovery) GetIstioServiceAccountsReturns ¶
func (fake *ServiceDiscovery) GetIstioServiceAccountsReturns(result1 []string)
func (*ServiceDiscovery) GetIstioServiceAccountsReturnsOnCall ¶
func (fake *ServiceDiscovery) GetIstioServiceAccountsReturnsOnCall(i int, result1 []string)
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) GetProxyWorkloadLabels ¶
func (fake *ServiceDiscovery) GetProxyWorkloadLabels(arg1 *model.Proxy) (model.LabelsCollection, error)
func (*ServiceDiscovery) GetProxyWorkloadLabelsArgsForCall ¶
func (fake *ServiceDiscovery) GetProxyWorkloadLabelsArgsForCall(i int) *model.Proxy
func (*ServiceDiscovery) GetProxyWorkloadLabelsCallCount ¶
func (fake *ServiceDiscovery) GetProxyWorkloadLabelsCallCount() int
func (*ServiceDiscovery) GetProxyWorkloadLabelsReturns ¶
func (fake *ServiceDiscovery) GetProxyWorkloadLabelsReturns(result1 model.LabelsCollection, result2 error)
func (*ServiceDiscovery) GetProxyWorkloadLabelsReturnsOnCall ¶
func (fake *ServiceDiscovery) GetProxyWorkloadLabelsReturnsOnCall(i int, result1 model.LabelsCollection, result2 error)
func (*ServiceDiscovery) GetService ¶
func (*ServiceDiscovery) GetServiceArgsForCall ¶
func (fake *ServiceDiscovery) GetServiceArgsForCall(i int) model.Hostname
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) 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) 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.