Documentation ¶
Overview ¶
Package route contains the reconciler for three types:
* VirtualServices * Routes * Apps
Unlike traditional Kubernetes resources which project out, this reconciler is a funnel in. There are N:1 Apps to Route and N:1 Routes to VirtualServices. A VirtualService represents all the hosts on a single domain.
In order to trigger updates, this reconciler watches Routes, Apps and VirtualServices. It then enqueues the domain of the VirtualService that needs to be updated.
Routes are a resource that's not controlled. They are created by Apps but the App doesn't retain ownership. Deleting a Route should (but currently doesn't) cascade to remove the route binding on Apps.
VirtualServices are created by this reconciler, but aren't controlled by any one Route, instead they're owned by all meaning that if all are deleted, the VirtualService will be as well.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Package route is a generated GoMock package.
Index ¶
- func BuildEnqueuer(enqueue func(types.NamespacedName)) func(interface{}) error
- func EnqueueRoutesOfVirtualService(enqueue func(interface{})) func(obj interface{})
- func FilterVSManagedByKf() func(obj interface{}) bool
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- type FakeAppLister
- type FakeAppListerMockRecorder
- type FakeAppNamespaceLister
- type FakeAppNamespaceListerMockRecorder
- type FakeKfAlpha1Interface
- func (m *FakeKfAlpha1Interface) Apps(arg0 string) v1alpha10.AppInterface
- func (m *FakeKfAlpha1Interface) Builds(arg0 string) v1alpha10.BuildInterface
- func (m *FakeKfAlpha1Interface) ClusterServiceBrokers() v1alpha10.ClusterServiceBrokerInterface
- func (m *FakeKfAlpha1Interface) EXPECT() *FakeKfAlpha1InterfaceMockRecorder
- func (m *FakeKfAlpha1Interface) RESTClient() rest.Interface
- func (m *FakeKfAlpha1Interface) Routes(arg0 string) v1alpha10.RouteInterface
- func (m *FakeKfAlpha1Interface) Scales(arg0 string) v1alpha10.ScaleInterface
- func (m *FakeKfAlpha1Interface) ServiceBrokers(arg0 string) v1alpha10.ServiceBrokerInterface
- func (m *FakeKfAlpha1Interface) ServiceInstanceBindings(arg0 string) v1alpha10.ServiceInstanceBindingInterface
- func (m *FakeKfAlpha1Interface) ServiceInstances(arg0 string) v1alpha10.ServiceInstanceInterface
- func (m *FakeKfAlpha1Interface) SourcePackages(arg0 string) v1alpha10.SourcePackageInterface
- func (m *FakeKfAlpha1Interface) Spaces() v1alpha10.SpaceInterface
- func (m *FakeKfAlpha1Interface) TaskSchedules(arg0 string) v1alpha10.TaskScheduleInterface
- func (m *FakeKfAlpha1Interface) Tasks(arg0 string) v1alpha10.TaskInterface
- type FakeKfAlpha1InterfaceMockRecorder
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Apps(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Builds(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) ClusterServiceBrokers() *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Routes(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Scales(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceBrokers(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceInstanceBindings(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceInstances(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) SourcePackages(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Spaces() *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) TaskSchedules(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Tasks(arg0 interface{}) *gomock.Call
- type FakeKfInterface
- type FakeKfInterfaceMockRecorder
- type FakeNamespaceLister
- type FakeNamespaceListerMockRecorder
- type FakeNetworking
- type FakeNetworkingClient
- type FakeNetworkingClientMockRecorder
- type FakeNetworkingMockRecorder
- type FakeReconciler
- type FakeReconcilerMockRecorder
- type FakeRouteInterface
- func (m *FakeRouteInterface) Create(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.CreateOptions) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error
- func (m *FakeRouteInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
- func (m *FakeRouteInterface) EXPECT() *FakeRouteInterfaceMockRecorder
- func (m *FakeRouteInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1alpha1.RouteList, error)
- func (m *FakeRouteInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Update(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.UpdateOptions) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) UpdateStatus(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.UpdateOptions) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
- type FakeRouteInterfaceMockRecorder
- func (mr *FakeRouteInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type FakeRouteLister
- type FakeRouteListerMockRecorder
- type FakeRouteNamespaceLister
- type FakeRouteNamespaceListerMockRecorder
- type FakeServiceInstanceBindingLister
- func (m *FakeServiceInstanceBindingLister) EXPECT() *FakeServiceInstanceBindingListerMockRecorder
- func (m *FakeServiceInstanceBindingLister) List(arg0 labels.Selector) ([]*v1alpha1.ServiceInstanceBinding, error)
- func (m *FakeServiceInstanceBindingLister) ServiceInstanceBindings(arg0 string) v1alpha10.ServiceInstanceBindingNamespaceLister
- type FakeServiceInstanceBindingListerMockRecorder
- type FakeServiceInstanceBindingNamespaceLister
- func (m *FakeServiceInstanceBindingNamespaceLister) EXPECT() *FakeServiceInstanceBindingNamespaceListerMockRecorder
- func (m *FakeServiceInstanceBindingNamespaceLister) Get(arg0 string) (*v1alpha1.ServiceInstanceBinding, error)
- func (m *FakeServiceInstanceBindingNamespaceLister) List(arg0 labels.Selector) ([]*v1alpha1.ServiceInstanceBinding, error)
- type FakeServiceInstanceBindingNamespaceListerMockRecorder
- type FakeSpaceLister
- type FakeSpaceListerMockRecorder
- type FakeVirtualServiceInterface
- func (m *FakeVirtualServiceInterface) Create(arg0 context.Context, arg1 *v1alpha3.VirtualService, arg2 v1.CreateOptions) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error
- func (m *FakeVirtualServiceInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
- func (m *FakeVirtualServiceInterface) EXPECT() *FakeVirtualServiceInterfaceMockRecorder
- func (m *FakeVirtualServiceInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1alpha3.VirtualServiceList, error)
- func (m *FakeVirtualServiceInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, ...) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Update(arg0 context.Context, arg1 *v1alpha3.VirtualService, arg2 v1.UpdateOptions) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
- type FakeVirtualServiceInterfaceMockRecorder
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type FakeVirtualServiceLister
- type FakeVirtualServiceListerMockRecorder
- type FakeVirtualServiceNamespaceLister
- func (m *FakeVirtualServiceNamespaceLister) EXPECT() *FakeVirtualServiceNamespaceListerMockRecorder
- func (m *FakeVirtualServiceNamespaceLister) Get(arg0 string) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceNamespaceLister) List(arg0 labels.Selector) ([]*v1alpha3.VirtualService, error)
- type FakeVirtualServiceNamespaceListerMockRecorder
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEnqueuer ¶
func BuildEnqueuer(enqueue func(types.NamespacedName)) func(interface{}) error
BuildEnqueuer returns a function that will enqueue a JSON marshalled RouteSpecFields from a Route or Route.
func EnqueueRoutesOfVirtualService ¶
func EnqueueRoutesOfVirtualService(enqueue func(interface{})) func(obj interface{})
EnqueueRoutesOfVirtualService will find the corresponding routes for the VirtualService. It will Enqueue a key for each one. We aren't able to use EnqueueControllerOf (as other components do), because a VirtualService is NOT owned by a single Route. Therefore, when one changes, we need to grab the collection of corresponding Routes.
func FilterVSManagedByKf ¶
func FilterVSManagedByKf() func(obj interface{}) bool
FilterVSManagedByKf makes it simple to create FilterFunc's for use with cache.FilteringResourceEventHandler that filter based on the "app.kubernetes.io/managed-by": "kf" label and if the type is a VirtualService.
func NewController ¶
NewController creates a new controller capable of reconciling Kf Routes.
Types ¶
type FakeAppLister ¶
type FakeAppLister struct {
// contains filtered or unexported fields
}
FakeAppLister is a mock of AppLister interface.
func NewFakeAppLister ¶
func NewFakeAppLister(ctrl *gomock.Controller) *FakeAppLister
NewFakeAppLister creates a new mock instance.
func (*FakeAppLister) Apps ¶
func (m *FakeAppLister) Apps(arg0 string) v1alpha10.AppNamespaceLister
Apps mocks base method.
func (*FakeAppLister) EXPECT ¶
func (m *FakeAppLister) EXPECT() *FakeAppListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeAppListerMockRecorder ¶
type FakeAppListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeAppListerMockRecorder is the mock recorder for FakeAppLister.
func (*FakeAppListerMockRecorder) Apps ¶
func (mr *FakeAppListerMockRecorder) Apps(arg0 interface{}) *gomock.Call
Apps indicates an expected call of Apps.
func (*FakeAppListerMockRecorder) List ¶
func (mr *FakeAppListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeAppNamespaceLister ¶
type FakeAppNamespaceLister struct {
// contains filtered or unexported fields
}
FakeAppNamespaceLister is a mock of AppNamespaceLister interface.
func NewFakeAppNamespaceLister ¶
func NewFakeAppNamespaceLister(ctrl *gomock.Controller) *FakeAppNamespaceLister
NewFakeAppNamespaceLister creates a new mock instance.
func (*FakeAppNamespaceLister) EXPECT ¶
func (m *FakeAppNamespaceLister) EXPECT() *FakeAppNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeAppNamespaceListerMockRecorder ¶
type FakeAppNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeAppNamespaceListerMockRecorder is the mock recorder for FakeAppNamespaceLister.
func (*FakeAppNamespaceListerMockRecorder) Get ¶
func (mr *FakeAppNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeAppNamespaceListerMockRecorder) List ¶
func (mr *FakeAppNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeKfAlpha1Interface ¶
type FakeKfAlpha1Interface struct {
// contains filtered or unexported fields
}
FakeKfAlpha1Interface is a mock of KfV1alpha1Interface interface.
func NewFakeKfAlpha1Interface ¶
func NewFakeKfAlpha1Interface(ctrl *gomock.Controller) *FakeKfAlpha1Interface
NewFakeKfAlpha1Interface creates a new mock instance.
func (*FakeKfAlpha1Interface) Apps ¶
func (m *FakeKfAlpha1Interface) Apps(arg0 string) v1alpha10.AppInterface
Apps mocks base method.
func (*FakeKfAlpha1Interface) Builds ¶
func (m *FakeKfAlpha1Interface) Builds(arg0 string) v1alpha10.BuildInterface
Builds mocks base method.
func (*FakeKfAlpha1Interface) ClusterServiceBrokers ¶
func (m *FakeKfAlpha1Interface) ClusterServiceBrokers() v1alpha10.ClusterServiceBrokerInterface
ClusterServiceBrokers mocks base method.
func (*FakeKfAlpha1Interface) EXPECT ¶
func (m *FakeKfAlpha1Interface) EXPECT() *FakeKfAlpha1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeKfAlpha1Interface) RESTClient ¶
func (m *FakeKfAlpha1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*FakeKfAlpha1Interface) Routes ¶
func (m *FakeKfAlpha1Interface) Routes(arg0 string) v1alpha10.RouteInterface
Routes mocks base method.
func (*FakeKfAlpha1Interface) Scales ¶
func (m *FakeKfAlpha1Interface) Scales(arg0 string) v1alpha10.ScaleInterface
Scales mocks base method.
func (*FakeKfAlpha1Interface) ServiceBrokers ¶
func (m *FakeKfAlpha1Interface) ServiceBrokers(arg0 string) v1alpha10.ServiceBrokerInterface
ServiceBrokers mocks base method.
func (*FakeKfAlpha1Interface) ServiceInstanceBindings ¶
func (m *FakeKfAlpha1Interface) ServiceInstanceBindings(arg0 string) v1alpha10.ServiceInstanceBindingInterface
ServiceInstanceBindings mocks base method.
func (*FakeKfAlpha1Interface) ServiceInstances ¶
func (m *FakeKfAlpha1Interface) ServiceInstances(arg0 string) v1alpha10.ServiceInstanceInterface
ServiceInstances mocks base method.
func (*FakeKfAlpha1Interface) SourcePackages ¶
func (m *FakeKfAlpha1Interface) SourcePackages(arg0 string) v1alpha10.SourcePackageInterface
SourcePackages mocks base method.
func (*FakeKfAlpha1Interface) Spaces ¶
func (m *FakeKfAlpha1Interface) Spaces() v1alpha10.SpaceInterface
Spaces mocks base method.
func (*FakeKfAlpha1Interface) TaskSchedules ¶
func (m *FakeKfAlpha1Interface) TaskSchedules(arg0 string) v1alpha10.TaskScheduleInterface
TaskSchedules mocks base method.
func (*FakeKfAlpha1Interface) Tasks ¶
func (m *FakeKfAlpha1Interface) Tasks(arg0 string) v1alpha10.TaskInterface
Tasks mocks base method.
type FakeKfAlpha1InterfaceMockRecorder ¶
type FakeKfAlpha1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
FakeKfAlpha1InterfaceMockRecorder is the mock recorder for FakeKfAlpha1Interface.
func (*FakeKfAlpha1InterfaceMockRecorder) Apps ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Apps(arg0 interface{}) *gomock.Call
Apps indicates an expected call of Apps.
func (*FakeKfAlpha1InterfaceMockRecorder) Builds ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Builds(arg0 interface{}) *gomock.Call
Builds indicates an expected call of Builds.
func (*FakeKfAlpha1InterfaceMockRecorder) ClusterServiceBrokers ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) ClusterServiceBrokers() *gomock.Call
ClusterServiceBrokers indicates an expected call of ClusterServiceBrokers.
func (*FakeKfAlpha1InterfaceMockRecorder) RESTClient ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*FakeKfAlpha1InterfaceMockRecorder) Routes ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Routes(arg0 interface{}) *gomock.Call
Routes indicates an expected call of Routes.
func (*FakeKfAlpha1InterfaceMockRecorder) Scales ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Scales(arg0 interface{}) *gomock.Call
Scales indicates an expected call of Scales.
func (*FakeKfAlpha1InterfaceMockRecorder) ServiceBrokers ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceBrokers(arg0 interface{}) *gomock.Call
ServiceBrokers indicates an expected call of ServiceBrokers.
func (*FakeKfAlpha1InterfaceMockRecorder) ServiceInstanceBindings ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceInstanceBindings(arg0 interface{}) *gomock.Call
ServiceInstanceBindings indicates an expected call of ServiceInstanceBindings.
func (*FakeKfAlpha1InterfaceMockRecorder) ServiceInstances ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) ServiceInstances(arg0 interface{}) *gomock.Call
ServiceInstances indicates an expected call of ServiceInstances.
func (*FakeKfAlpha1InterfaceMockRecorder) SourcePackages ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) SourcePackages(arg0 interface{}) *gomock.Call
SourcePackages indicates an expected call of SourcePackages.
func (*FakeKfAlpha1InterfaceMockRecorder) Spaces ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Spaces() *gomock.Call
Spaces indicates an expected call of Spaces.
func (*FakeKfAlpha1InterfaceMockRecorder) TaskSchedules ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) TaskSchedules(arg0 interface{}) *gomock.Call
TaskSchedules indicates an expected call of TaskSchedules.
func (*FakeKfAlpha1InterfaceMockRecorder) Tasks ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Tasks(arg0 interface{}) *gomock.Call
Tasks indicates an expected call of Tasks.
type FakeKfInterface ¶
type FakeKfInterface struct {
// contains filtered or unexported fields
}
FakeKfInterface is a mock of Interface interface.
func NewFakeKfInterface ¶
func NewFakeKfInterface(ctrl *gomock.Controller) *FakeKfInterface
NewFakeKfInterface creates a new mock instance.
func (*FakeKfInterface) Discovery ¶
func (m *FakeKfInterface) Discovery() discovery.DiscoveryInterface
Discovery mocks base method.
func (*FakeKfInterface) EXPECT ¶
func (m *FakeKfInterface) EXPECT() *FakeKfInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeKfInterface) KfV1alpha1 ¶
func (m *FakeKfInterface) KfV1alpha1() v1alpha1.KfV1alpha1Interface
KfV1alpha1 mocks base method.
type FakeKfInterfaceMockRecorder ¶
type FakeKfInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
FakeKfInterfaceMockRecorder is the mock recorder for FakeKfInterface.
func (*FakeKfInterfaceMockRecorder) Discovery ¶
func (mr *FakeKfInterfaceMockRecorder) Discovery() *gomock.Call
Discovery indicates an expected call of Discovery.
func (*FakeKfInterfaceMockRecorder) KfV1alpha1 ¶
func (mr *FakeKfInterfaceMockRecorder) KfV1alpha1() *gomock.Call
KfV1alpha1 indicates an expected call of KfV1alpha1.
type FakeNamespaceLister ¶
type FakeNamespaceLister struct {
// contains filtered or unexported fields
}
FakeNamespaceLister is a mock of NamespaceLister interface.
func NewFakeNamespaceLister ¶
func NewFakeNamespaceLister(ctrl *gomock.Controller) *FakeNamespaceLister
NewFakeNamespaceLister creates a new mock instance.
func (*FakeNamespaceLister) EXPECT ¶
func (m *FakeNamespaceLister) EXPECT() *FakeNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeNamespaceListerMockRecorder ¶
type FakeNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeNamespaceListerMockRecorder is the mock recorder for FakeNamespaceLister.
func (*FakeNamespaceListerMockRecorder) Get ¶
func (mr *FakeNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeNamespaceListerMockRecorder) List ¶
func (mr *FakeNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeNetworking ¶
type FakeNetworking struct {
// contains filtered or unexported fields
}
FakeNetworking is a mock of NetworkingV1alpha3Interface interface.
func NewFakeNetworking ¶
func NewFakeNetworking(ctrl *gomock.Controller) *FakeNetworking
NewFakeNetworking creates a new mock instance.
func (*FakeNetworking) EXPECT ¶
func (m *FakeNetworking) EXPECT() *FakeNetworkingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeNetworking) RESTClient ¶
func (m *FakeNetworking) RESTClient() rest.Interface
RESTClient mocks base method.
func (*FakeNetworking) ServiceEntries ¶
func (m *FakeNetworking) ServiceEntries(arg0 string) v1alpha30.ServiceEntryInterface
ServiceEntries mocks base method.
func (*FakeNetworking) VirtualServices ¶
func (m *FakeNetworking) VirtualServices(arg0 string) v1alpha30.VirtualServiceInterface
VirtualServices mocks base method.
type FakeNetworkingClient ¶
type FakeNetworkingClient struct {
// contains filtered or unexported fields
}
FakeNetworkingClient is a mock of Interface interface.
func NewFakeNetworkingClient ¶
func NewFakeNetworkingClient(ctrl *gomock.Controller) *FakeNetworkingClient
NewFakeNetworkingClient creates a new mock instance.
func (*FakeNetworkingClient) Discovery ¶
func (m *FakeNetworkingClient) Discovery() discovery.DiscoveryInterface
Discovery mocks base method.
func (*FakeNetworkingClient) EXPECT ¶
func (m *FakeNetworkingClient) EXPECT() *FakeNetworkingClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeNetworkingClient) NetworkingV1alpha3 ¶
func (m *FakeNetworkingClient) NetworkingV1alpha3() v1alpha3.NetworkingV1alpha3Interface
NetworkingV1alpha3 mocks base method.
type FakeNetworkingClientMockRecorder ¶
type FakeNetworkingClientMockRecorder struct {
// contains filtered or unexported fields
}
FakeNetworkingClientMockRecorder is the mock recorder for FakeNetworkingClient.
func (*FakeNetworkingClientMockRecorder) Discovery ¶
func (mr *FakeNetworkingClientMockRecorder) Discovery() *gomock.Call
Discovery indicates an expected call of Discovery.
func (*FakeNetworkingClientMockRecorder) NetworkingV1alpha3 ¶
func (mr *FakeNetworkingClientMockRecorder) NetworkingV1alpha3() *gomock.Call
NetworkingV1alpha3 indicates an expected call of NetworkingV1alpha3.
type FakeNetworkingMockRecorder ¶
type FakeNetworkingMockRecorder struct {
// contains filtered or unexported fields
}
FakeNetworkingMockRecorder is the mock recorder for FakeNetworking.
func (*FakeNetworkingMockRecorder) RESTClient ¶
func (mr *FakeNetworkingMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*FakeNetworkingMockRecorder) ServiceEntries ¶
func (mr *FakeNetworkingMockRecorder) ServiceEntries(arg0 interface{}) *gomock.Call
ServiceEntries indicates an expected call of ServiceEntries.
func (*FakeNetworkingMockRecorder) VirtualServices ¶
func (mr *FakeNetworkingMockRecorder) VirtualServices(arg0 interface{}) *gomock.Call
VirtualServices indicates an expected call of VirtualServices.
type FakeReconciler ¶
type FakeReconciler struct {
// contains filtered or unexported fields
}
FakeReconciler is a mock of Reconciler interface.
func NewFakeReconciler ¶
func NewFakeReconciler(ctrl *gomock.Controller) *FakeReconciler
NewFakeReconciler creates a new mock instance.
func (*FakeReconciler) EXPECT ¶
func (m *FakeReconciler) EXPECT() *FakeReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeReconcilerMockRecorder ¶
type FakeReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
FakeReconcilerMockRecorder is the mock recorder for FakeReconciler.
func (*FakeReconcilerMockRecorder) Reconcile ¶
func (mr *FakeReconcilerMockRecorder) Reconcile(arg0, arg1 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.
type FakeRouteInterface ¶
type FakeRouteInterface struct {
// contains filtered or unexported fields
}
FakeRouteInterface is a mock of RouteInterface interface.
func NewFakeRouteInterface ¶
func NewFakeRouteInterface(ctrl *gomock.Controller) *FakeRouteInterface
NewFakeRouteInterface creates a new mock instance.
func (*FakeRouteInterface) Create ¶
func (m *FakeRouteInterface) Create(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.CreateOptions) (*v1alpha1.Route, error)
Create mocks base method.
func (*FakeRouteInterface) Delete ¶
func (m *FakeRouteInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error
Delete mocks base method.
func (*FakeRouteInterface) DeleteCollection ¶
func (m *FakeRouteInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
DeleteCollection mocks base method.
func (*FakeRouteInterface) EXPECT ¶
func (m *FakeRouteInterface) EXPECT() *FakeRouteInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeRouteInterface) Get ¶
func (m *FakeRouteInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1alpha1.Route, error)
Get mocks base method.
func (*FakeRouteInterface) List ¶
func (m *FakeRouteInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1alpha1.RouteList, error)
List mocks base method.
func (*FakeRouteInterface) Patch ¶
func (m *FakeRouteInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*v1alpha1.Route, error)
Patch mocks base method.
func (*FakeRouteInterface) Update ¶
func (m *FakeRouteInterface) Update(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.UpdateOptions) (*v1alpha1.Route, error)
Update mocks base method.
func (*FakeRouteInterface) UpdateStatus ¶
func (m *FakeRouteInterface) UpdateStatus(arg0 context.Context, arg1 *v1alpha1.Route, arg2 v1.UpdateOptions) (*v1alpha1.Route, error)
UpdateStatus mocks base method.
func (*FakeRouteInterface) Watch ¶
func (m *FakeRouteInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type FakeRouteInterfaceMockRecorder ¶
type FakeRouteInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
FakeRouteInterfaceMockRecorder is the mock recorder for FakeRouteInterface.
func (*FakeRouteInterfaceMockRecorder) Create ¶
func (mr *FakeRouteInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*FakeRouteInterfaceMockRecorder) Delete ¶
func (mr *FakeRouteInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*FakeRouteInterfaceMockRecorder) DeleteCollection ¶
func (mr *FakeRouteInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*FakeRouteInterfaceMockRecorder) Get ¶
func (mr *FakeRouteInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeRouteInterfaceMockRecorder) List ¶
func (mr *FakeRouteInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*FakeRouteInterfaceMockRecorder) Patch ¶
func (mr *FakeRouteInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*FakeRouteInterfaceMockRecorder) Update ¶
func (mr *FakeRouteInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*FakeRouteInterfaceMockRecorder) UpdateStatus ¶
func (mr *FakeRouteInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*FakeRouteInterfaceMockRecorder) Watch ¶
func (mr *FakeRouteInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type FakeRouteLister ¶
type FakeRouteLister struct {
// contains filtered or unexported fields
}
FakeRouteLister is a mock of RouteLister interface.
func NewFakeRouteLister ¶
func NewFakeRouteLister(ctrl *gomock.Controller) *FakeRouteLister
NewFakeRouteLister creates a new mock instance.
func (*FakeRouteLister) EXPECT ¶
func (m *FakeRouteLister) EXPECT() *FakeRouteListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeRouteLister) Routes ¶
func (m *FakeRouteLister) Routes(arg0 string) v1alpha10.RouteNamespaceLister
Routes mocks base method.
type FakeRouteListerMockRecorder ¶
type FakeRouteListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeRouteListerMockRecorder is the mock recorder for FakeRouteLister.
func (*FakeRouteListerMockRecorder) List ¶
func (mr *FakeRouteListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*FakeRouteListerMockRecorder) Routes ¶
func (mr *FakeRouteListerMockRecorder) Routes(arg0 interface{}) *gomock.Call
Routes indicates an expected call of Routes.
type FakeRouteNamespaceLister ¶
type FakeRouteNamespaceLister struct {
// contains filtered or unexported fields
}
FakeRouteNamespaceLister is a mock of RouteNamespaceLister interface.
func NewFakeRouteNamespaceLister ¶
func NewFakeRouteNamespaceLister(ctrl *gomock.Controller) *FakeRouteNamespaceLister
NewFakeRouteNamespaceLister creates a new mock instance.
func (*FakeRouteNamespaceLister) EXPECT ¶
func (m *FakeRouteNamespaceLister) EXPECT() *FakeRouteNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeRouteNamespaceListerMockRecorder ¶
type FakeRouteNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeRouteNamespaceListerMockRecorder is the mock recorder for FakeRouteNamespaceLister.
func (*FakeRouteNamespaceListerMockRecorder) Get ¶
func (mr *FakeRouteNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeRouteNamespaceListerMockRecorder) List ¶
func (mr *FakeRouteNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeServiceInstanceBindingLister ¶
type FakeServiceInstanceBindingLister struct {
// contains filtered or unexported fields
}
FakeServiceInstanceBindingLister is a mock of ServiceInstanceBindingLister interface.
func NewFakeServiceInstanceBindingLister ¶
func NewFakeServiceInstanceBindingLister(ctrl *gomock.Controller) *FakeServiceInstanceBindingLister
NewFakeServiceInstanceBindingLister creates a new mock instance.
func (*FakeServiceInstanceBindingLister) EXPECT ¶
func (m *FakeServiceInstanceBindingLister) EXPECT() *FakeServiceInstanceBindingListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeServiceInstanceBindingLister) List ¶
func (m *FakeServiceInstanceBindingLister) List(arg0 labels.Selector) ([]*v1alpha1.ServiceInstanceBinding, error)
List mocks base method.
func (*FakeServiceInstanceBindingLister) ServiceInstanceBindings ¶
func (m *FakeServiceInstanceBindingLister) ServiceInstanceBindings(arg0 string) v1alpha10.ServiceInstanceBindingNamespaceLister
ServiceInstanceBindings mocks base method.
type FakeServiceInstanceBindingListerMockRecorder ¶
type FakeServiceInstanceBindingListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeServiceInstanceBindingListerMockRecorder is the mock recorder for FakeServiceInstanceBindingLister.
func (*FakeServiceInstanceBindingListerMockRecorder) List ¶
func (mr *FakeServiceInstanceBindingListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*FakeServiceInstanceBindingListerMockRecorder) ServiceInstanceBindings ¶
func (mr *FakeServiceInstanceBindingListerMockRecorder) ServiceInstanceBindings(arg0 interface{}) *gomock.Call
ServiceInstanceBindings indicates an expected call of ServiceInstanceBindings.
type FakeServiceInstanceBindingNamespaceLister ¶
type FakeServiceInstanceBindingNamespaceLister struct {
// contains filtered or unexported fields
}
FakeServiceInstanceBindingNamespaceLister is a mock of ServiceInstanceBindingNamespaceLister interface.
func NewFakeServiceInstanceBindingNamespaceLister ¶
func NewFakeServiceInstanceBindingNamespaceLister(ctrl *gomock.Controller) *FakeServiceInstanceBindingNamespaceLister
NewFakeServiceInstanceBindingNamespaceLister creates a new mock instance.
func (*FakeServiceInstanceBindingNamespaceLister) EXPECT ¶
func (m *FakeServiceInstanceBindingNamespaceLister) EXPECT() *FakeServiceInstanceBindingNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeServiceInstanceBindingNamespaceLister) Get ¶
func (m *FakeServiceInstanceBindingNamespaceLister) Get(arg0 string) (*v1alpha1.ServiceInstanceBinding, error)
Get mocks base method.
func (*FakeServiceInstanceBindingNamespaceLister) List ¶
func (m *FakeServiceInstanceBindingNamespaceLister) List(arg0 labels.Selector) ([]*v1alpha1.ServiceInstanceBinding, error)
List mocks base method.
type FakeServiceInstanceBindingNamespaceListerMockRecorder ¶
type FakeServiceInstanceBindingNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeServiceInstanceBindingNamespaceListerMockRecorder is the mock recorder for FakeServiceInstanceBindingNamespaceLister.
func (*FakeServiceInstanceBindingNamespaceListerMockRecorder) Get ¶
func (mr *FakeServiceInstanceBindingNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeServiceInstanceBindingNamespaceListerMockRecorder) List ¶
func (mr *FakeServiceInstanceBindingNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeSpaceLister ¶
type FakeSpaceLister struct {
// contains filtered or unexported fields
}
FakeSpaceLister is a mock of SpaceLister interface.
func NewFakeSpaceLister ¶
func NewFakeSpaceLister(ctrl *gomock.Controller) *FakeSpaceLister
NewFakeSpaceLister creates a new mock instance.
func (*FakeSpaceLister) EXPECT ¶
func (m *FakeSpaceLister) EXPECT() *FakeSpaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FakeSpaceListerMockRecorder ¶
type FakeSpaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeSpaceListerMockRecorder is the mock recorder for FakeSpaceLister.
func (*FakeSpaceListerMockRecorder) Get ¶
func (mr *FakeSpaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeSpaceListerMockRecorder) List ¶
func (mr *FakeSpaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type FakeVirtualServiceInterface ¶
type FakeVirtualServiceInterface struct {
// contains filtered or unexported fields
}
FakeVirtualServiceInterface is a mock of VirtualServiceInterface interface.
func NewFakeVirtualServiceInterface ¶
func NewFakeVirtualServiceInterface(ctrl *gomock.Controller) *FakeVirtualServiceInterface
NewFakeVirtualServiceInterface creates a new mock instance.
func (*FakeVirtualServiceInterface) Create ¶
func (m *FakeVirtualServiceInterface) Create(arg0 context.Context, arg1 *v1alpha3.VirtualService, arg2 v1.CreateOptions) (*v1alpha3.VirtualService, error)
Create mocks base method.
func (*FakeVirtualServiceInterface) Delete ¶
func (m *FakeVirtualServiceInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error
Delete mocks base method.
func (*FakeVirtualServiceInterface) DeleteCollection ¶
func (m *FakeVirtualServiceInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error
DeleteCollection mocks base method.
func (*FakeVirtualServiceInterface) EXPECT ¶
func (m *FakeVirtualServiceInterface) EXPECT() *FakeVirtualServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeVirtualServiceInterface) Get ¶
func (m *FakeVirtualServiceInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1alpha3.VirtualService, error)
Get mocks base method.
func (*FakeVirtualServiceInterface) List ¶
func (m *FakeVirtualServiceInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1alpha3.VirtualServiceList, error)
List mocks base method.
func (*FakeVirtualServiceInterface) Patch ¶
func (m *FakeVirtualServiceInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*v1alpha3.VirtualService, error)
Patch mocks base method.
func (*FakeVirtualServiceInterface) Update ¶
func (m *FakeVirtualServiceInterface) Update(arg0 context.Context, arg1 *v1alpha3.VirtualService, arg2 v1.UpdateOptions) (*v1alpha3.VirtualService, error)
Update mocks base method.
func (*FakeVirtualServiceInterface) Watch ¶
func (m *FakeVirtualServiceInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type FakeVirtualServiceInterfaceMockRecorder ¶
type FakeVirtualServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
FakeVirtualServiceInterfaceMockRecorder is the mock recorder for FakeVirtualServiceInterface.
func (*FakeVirtualServiceInterfaceMockRecorder) Create ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*FakeVirtualServiceInterfaceMockRecorder) Delete ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*FakeVirtualServiceInterfaceMockRecorder) DeleteCollection ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*FakeVirtualServiceInterfaceMockRecorder) Get ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeVirtualServiceInterfaceMockRecorder) List ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*FakeVirtualServiceInterfaceMockRecorder) Patch ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*FakeVirtualServiceInterfaceMockRecorder) Update ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*FakeVirtualServiceInterfaceMockRecorder) Watch ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type FakeVirtualServiceLister ¶
type FakeVirtualServiceLister struct {
// contains filtered or unexported fields
}
FakeVirtualServiceLister is a mock of VirtualServiceLister interface.
func NewFakeVirtualServiceLister ¶
func NewFakeVirtualServiceLister(ctrl *gomock.Controller) *FakeVirtualServiceLister
NewFakeVirtualServiceLister creates a new mock instance.
func (*FakeVirtualServiceLister) EXPECT ¶
func (m *FakeVirtualServiceLister) EXPECT() *FakeVirtualServiceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeVirtualServiceLister) List ¶
func (m *FakeVirtualServiceLister) List(arg0 labels.Selector) ([]*v1alpha3.VirtualService, error)
List mocks base method.
func (*FakeVirtualServiceLister) VirtualServices ¶
func (m *FakeVirtualServiceLister) VirtualServices(arg0 string) v1alpha30.VirtualServiceNamespaceLister
VirtualServices mocks base method.
type FakeVirtualServiceListerMockRecorder ¶
type FakeVirtualServiceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeVirtualServiceListerMockRecorder is the mock recorder for FakeVirtualServiceLister.
func (*FakeVirtualServiceListerMockRecorder) List ¶
func (mr *FakeVirtualServiceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*FakeVirtualServiceListerMockRecorder) VirtualServices ¶
func (mr *FakeVirtualServiceListerMockRecorder) VirtualServices(arg0 interface{}) *gomock.Call
VirtualServices indicates an expected call of VirtualServices.
type FakeVirtualServiceNamespaceLister ¶
type FakeVirtualServiceNamespaceLister struct {
// contains filtered or unexported fields
}
FakeVirtualServiceNamespaceLister is a mock of VirtualServiceNamespaceLister interface.
func NewFakeVirtualServiceNamespaceLister ¶
func NewFakeVirtualServiceNamespaceLister(ctrl *gomock.Controller) *FakeVirtualServiceNamespaceLister
NewFakeVirtualServiceNamespaceLister creates a new mock instance.
func (*FakeVirtualServiceNamespaceLister) EXPECT ¶
func (m *FakeVirtualServiceNamespaceLister) EXPECT() *FakeVirtualServiceNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FakeVirtualServiceNamespaceLister) Get ¶
func (m *FakeVirtualServiceNamespaceLister) Get(arg0 string) (*v1alpha3.VirtualService, error)
Get mocks base method.
func (*FakeVirtualServiceNamespaceLister) List ¶
func (m *FakeVirtualServiceNamespaceLister) List(arg0 labels.Selector) ([]*v1alpha3.VirtualService, error)
List mocks base method.
type FakeVirtualServiceNamespaceListerMockRecorder ¶
type FakeVirtualServiceNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeVirtualServiceNamespaceListerMockRecorder is the mock recorder for FakeVirtualServiceNamespaceLister.
func (*FakeVirtualServiceNamespaceListerMockRecorder) Get ¶
func (mr *FakeVirtualServiceNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*FakeVirtualServiceNamespaceListerMockRecorder) List ¶
func (mr *FakeVirtualServiceNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler reconciles a Route object with the K8s cluster.
func (*Reconciler) ApplyChanges ¶
ApplyChanges updates the linked resources in the cluster with the current status of the Route.