Documentation ¶
Overview ¶
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(interface{})) func(interface{}) error
- func EnqueueRoutesOfVirtualService(enqueue func(interface{}), routeLister kflisters.RouteLister) func(obj interface{}) error
- func FilterVSWithNamespace(namespace string) func(obj interface{}) bool
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- type FakeKfAlpha1Interface
- func (m *FakeKfAlpha1Interface) Apps(arg0 string) v1alpha10.AppInterface
- func (m *FakeKfAlpha1Interface) EXPECT() *FakeKfAlpha1InterfaceMockRecorder
- func (m *FakeKfAlpha1Interface) RESTClient() rest.Interface
- func (m *FakeKfAlpha1Interface) RouteClaims(arg0 string) v1alpha10.RouteClaimInterface
- func (m *FakeKfAlpha1Interface) Routes(arg0 string) v1alpha10.RouteInterface
- func (m *FakeKfAlpha1Interface) Sources(arg0 string) v1alpha10.SourceInterface
- func (m *FakeKfAlpha1Interface) Spaces() v1alpha10.SpaceInterface
- type FakeKfAlpha1InterfaceMockRecorder
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Apps(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) RouteClaims(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Routes(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Sources(arg0 interface{}) *gomock.Call
- func (mr *FakeKfAlpha1InterfaceMockRecorder) Spaces() *gomock.Call
- type FakeKfInterface
- type FakeKfInterfaceMockRecorder
- type FakeNamespaceLister
- type FakeNamespaceListerMockRecorder
- type FakeNetworking
- func (m *FakeNetworking) DestinationRules(arg0 string) v1alpha30.DestinationRuleInterface
- func (m *FakeNetworking) EXPECT() *FakeNetworkingMockRecorder
- func (m *FakeNetworking) Gateways(arg0 string) v1alpha30.GatewayInterface
- func (m *FakeNetworking) RESTClient() rest.Interface
- func (m *FakeNetworking) VirtualServices(arg0 string) v1alpha30.VirtualServiceInterface
- type FakeNetworkingMockRecorder
- func (mr *FakeNetworkingMockRecorder) DestinationRules(arg0 interface{}) *gomock.Call
- func (mr *FakeNetworkingMockRecorder) Gateways(arg0 interface{}) *gomock.Call
- func (mr *FakeNetworkingMockRecorder) RESTClient() *gomock.Call
- func (mr *FakeNetworkingMockRecorder) VirtualServices(arg0 interface{}) *gomock.Call
- type FakeReconciler
- type FakeReconcilerMockRecorder
- type FakeRouteClaimLister
- type FakeRouteClaimListerMockRecorder
- type FakeRouteClaimNamespaceLister
- type FakeRouteClaimNamespaceListerMockRecorder
- type FakeRouteInterface
- func (m *FakeRouteInterface) Create(arg0 *v1alpha1.Route) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Delete(arg0 string, arg1 *v1.DeleteOptions) error
- func (m *FakeRouteInterface) DeleteCollection(arg0 *v1.DeleteOptions, arg1 v1.ListOptions) error
- func (m *FakeRouteInterface) EXPECT() *FakeRouteInterfaceMockRecorder
- func (m *FakeRouteInterface) Get(arg0 string, arg1 v1.GetOptions) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) List(arg0 v1.ListOptions) (*v1alpha1.RouteList, error)
- func (m *FakeRouteInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Update(arg0 *v1alpha1.Route) (*v1alpha1.Route, error)
- func (m *FakeRouteInterface) Watch(arg0 v1.ListOptions) (watch.Interface, error)
- type FakeRouteInterfaceMockRecorder
- func (mr *FakeRouteInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *FakeRouteInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type FakeRouteLister
- type FakeRouteListerMockRecorder
- type FakeRouteNamespaceLister
- type FakeRouteNamespaceListerMockRecorder
- type FakeSharedClient
- func (m *FakeSharedClient) Authentication() v1alpha1.AuthenticationV1alpha1Interface
- func (m *FakeSharedClient) AuthenticationV1alpha1() v1alpha1.AuthenticationV1alpha1Interface
- func (m *FakeSharedClient) Discovery() discovery.DiscoveryInterface
- func (m *FakeSharedClient) EXPECT() *FakeSharedClientMockRecorder
- func (m *FakeSharedClient) Networking() v1alpha3.NetworkingV1alpha3Interface
- func (m *FakeSharedClient) NetworkingV1alpha3() v1alpha3.NetworkingV1alpha3Interface
- type FakeSharedClientMockRecorder
- func (mr *FakeSharedClientMockRecorder) Authentication() *gomock.Call
- func (mr *FakeSharedClientMockRecorder) AuthenticationV1alpha1() *gomock.Call
- func (mr *FakeSharedClientMockRecorder) Discovery() *gomock.Call
- func (mr *FakeSharedClientMockRecorder) Networking() *gomock.Call
- func (mr *FakeSharedClientMockRecorder) NetworkingV1alpha3() *gomock.Call
- type FakeVirtualServiceInterface
- func (m *FakeVirtualServiceInterface) Create(arg0 *v1alpha3.VirtualService) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Delete(arg0 string, arg1 *v1.DeleteOptions) error
- func (m *FakeVirtualServiceInterface) DeleteCollection(arg0 *v1.DeleteOptions, arg1 v1.ListOptions) error
- func (m *FakeVirtualServiceInterface) EXPECT() *FakeVirtualServiceInterfaceMockRecorder
- func (m *FakeVirtualServiceInterface) Get(arg0 string, arg1 v1.GetOptions) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) List(arg0 v1.ListOptions) (*v1alpha3.VirtualServiceList, error)
- func (m *FakeVirtualServiceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Update(arg0 *v1alpha3.VirtualService) (*v1alpha3.VirtualService, error)
- func (m *FakeVirtualServiceInterface) Watch(arg0 v1.ListOptions) (watch.Interface, error)
- type FakeVirtualServiceInterfaceMockRecorder
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *FakeVirtualServiceInterfaceMockRecorder) Watch(arg0 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(interface{})) func(interface{}) error
BuildEnqueuer returns a function that will enqueue a JSON marshalled namespacedRouteSpecFields from a Route or RouteClaim.
func EnqueueRoutesOfVirtualService ¶
func EnqueueRoutesOfVirtualService( enqueue func(interface{}), routeLister kflisters.RouteLister, ) func(obj interface{}) error
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 FilterVSWithNamespace ¶
FilterVSWithNamespace makes it simple to create FilterFunc's for use with cache.FilteringResourceEventHandler that filter based on a namespace and if the type is a VirtualService.
func NewController ¶
NewController creates a new controller capable of reconciling Kf Routes.
Types ¶
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) 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) RouteClaims ¶
func (m *FakeKfAlpha1Interface) RouteClaims(arg0 string) v1alpha10.RouteClaimInterface
RouteClaims mocks base method
func (*FakeKfAlpha1Interface) Routes ¶
func (m *FakeKfAlpha1Interface) Routes(arg0 string) v1alpha10.RouteInterface
Routes mocks base method
func (*FakeKfAlpha1Interface) Sources ¶
func (m *FakeKfAlpha1Interface) Sources(arg0 string) v1alpha10.SourceInterface
Sources mocks base method
func (*FakeKfAlpha1Interface) Spaces ¶
func (m *FakeKfAlpha1Interface) Spaces() v1alpha10.SpaceInterface
Spaces 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) RESTClient ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient
func (*FakeKfAlpha1InterfaceMockRecorder) RouteClaims ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) RouteClaims(arg0 interface{}) *gomock.Call
RouteClaims indicates an expected call of RouteClaims
func (*FakeKfAlpha1InterfaceMockRecorder) Routes ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Routes(arg0 interface{}) *gomock.Call
Routes indicates an expected call of Routes
func (*FakeKfAlpha1InterfaceMockRecorder) Sources ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Sources(arg0 interface{}) *gomock.Call
Sources indicates an expected call of Sources
func (*FakeKfAlpha1InterfaceMockRecorder) Spaces ¶
func (mr *FakeKfAlpha1InterfaceMockRecorder) Spaces() *gomock.Call
Spaces indicates an expected call of Spaces
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) Kf ¶
func (m *FakeKfInterface) Kf() v1alpha1.KfV1alpha1Interface
Kf mocks base method
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) Kf ¶
func (mr *FakeKfInterfaceMockRecorder) Kf() *gomock.Call
Kf indicates an expected call of Kf
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) DestinationRules ¶
func (m *FakeNetworking) DestinationRules(arg0 string) v1alpha30.DestinationRuleInterface
DestinationRules mocks base method
func (*FakeNetworking) EXPECT ¶
func (m *FakeNetworking) EXPECT() *FakeNetworkingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*FakeNetworking) Gateways ¶
func (m *FakeNetworking) Gateways(arg0 string) v1alpha30.GatewayInterface
Gateways mocks base method
func (*FakeNetworking) RESTClient ¶
func (m *FakeNetworking) RESTClient() rest.Interface
RESTClient mocks base method
func (*FakeNetworking) VirtualServices ¶
func (m *FakeNetworking) VirtualServices(arg0 string) v1alpha30.VirtualServiceInterface
VirtualServices mocks base method
type FakeNetworkingMockRecorder ¶
type FakeNetworkingMockRecorder struct {
// contains filtered or unexported fields
}
FakeNetworkingMockRecorder is the mock recorder for FakeNetworking
func (*FakeNetworkingMockRecorder) DestinationRules ¶
func (mr *FakeNetworkingMockRecorder) DestinationRules(arg0 interface{}) *gomock.Call
DestinationRules indicates an expected call of DestinationRules
func (*FakeNetworkingMockRecorder) Gateways ¶
func (mr *FakeNetworkingMockRecorder) Gateways(arg0 interface{}) *gomock.Call
Gateways indicates an expected call of Gateways
func (*FakeNetworkingMockRecorder) RESTClient ¶
func (mr *FakeNetworkingMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient
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 FakeRouteClaimLister ¶
type FakeRouteClaimLister struct {
// contains filtered or unexported fields
}
FakeRouteClaimLister is a mock of RouteClaimLister interface
func NewFakeRouteClaimLister ¶
func NewFakeRouteClaimLister(ctrl *gomock.Controller) *FakeRouteClaimLister
NewFakeRouteClaimLister creates a new mock instance
func (*FakeRouteClaimLister) EXPECT ¶
func (m *FakeRouteClaimLister) EXPECT() *FakeRouteClaimListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*FakeRouteClaimLister) List ¶
func (m *FakeRouteClaimLister) List(arg0 labels.Selector) ([]*v1alpha1.RouteClaim, error)
List mocks base method
func (*FakeRouteClaimLister) RouteClaims ¶
func (m *FakeRouteClaimLister) RouteClaims(arg0 string) v1alpha10.RouteClaimNamespaceLister
RouteClaims mocks base method
type FakeRouteClaimListerMockRecorder ¶
type FakeRouteClaimListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeRouteClaimListerMockRecorder is the mock recorder for FakeRouteClaimLister
func (*FakeRouteClaimListerMockRecorder) List ¶
func (mr *FakeRouteClaimListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*FakeRouteClaimListerMockRecorder) RouteClaims ¶
func (mr *FakeRouteClaimListerMockRecorder) RouteClaims(arg0 interface{}) *gomock.Call
RouteClaims indicates an expected call of RouteClaims
type FakeRouteClaimNamespaceLister ¶
type FakeRouteClaimNamespaceLister struct {
// contains filtered or unexported fields
}
FakeRouteClaimNamespaceLister is a mock of RouteClaimNamespaceLister interface
func NewFakeRouteClaimNamespaceLister ¶
func NewFakeRouteClaimNamespaceLister(ctrl *gomock.Controller) *FakeRouteClaimNamespaceLister
NewFakeRouteClaimNamespaceLister creates a new mock instance
func (*FakeRouteClaimNamespaceLister) EXPECT ¶
func (m *FakeRouteClaimNamespaceLister) EXPECT() *FakeRouteClaimNamespaceListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*FakeRouteClaimNamespaceLister) Get ¶
func (m *FakeRouteClaimNamespaceLister) Get(arg0 string) (*v1alpha1.RouteClaim, error)
Get mocks base method
func (*FakeRouteClaimNamespaceLister) List ¶
func (m *FakeRouteClaimNamespaceLister) List(arg0 labels.Selector) ([]*v1alpha1.RouteClaim, error)
List mocks base method
type FakeRouteClaimNamespaceListerMockRecorder ¶
type FakeRouteClaimNamespaceListerMockRecorder struct {
// contains filtered or unexported fields
}
FakeRouteClaimNamespaceListerMockRecorder is the mock recorder for FakeRouteClaimNamespaceLister
func (*FakeRouteClaimNamespaceListerMockRecorder) Get ¶
func (mr *FakeRouteClaimNamespaceListerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*FakeRouteClaimNamespaceListerMockRecorder) List ¶
func (mr *FakeRouteClaimNamespaceListerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
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) Delete ¶
func (m *FakeRouteInterface) Delete(arg0 string, arg1 *v1.DeleteOptions) error
Delete mocks base method
func (*FakeRouteInterface) DeleteCollection ¶
func (m *FakeRouteInterface) DeleteCollection(arg0 *v1.DeleteOptions, arg1 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 string, arg1 v1.GetOptions) (*v1alpha1.Route, error)
Get mocks base method
func (*FakeRouteInterface) List ¶
func (m *FakeRouteInterface) List(arg0 v1.ListOptions) (*v1alpha1.RouteList, error)
List mocks base method
func (*FakeRouteInterface) Patch ¶
func (m *FakeRouteInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1alpha1.Route, error)
Patch mocks base method
func (*FakeRouteInterface) Watch ¶
func (m *FakeRouteInterface) Watch(arg0 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 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*FakeRouteInterfaceMockRecorder) Delete ¶
func (mr *FakeRouteInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*FakeRouteInterfaceMockRecorder) DeleteCollection ¶
func (mr *FakeRouteInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*FakeRouteInterfaceMockRecorder) Get ¶
func (mr *FakeRouteInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*FakeRouteInterfaceMockRecorder) List ¶
func (mr *FakeRouteInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*FakeRouteInterfaceMockRecorder) Patch ¶
func (mr *FakeRouteInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*FakeRouteInterfaceMockRecorder) Update ¶
func (mr *FakeRouteInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*FakeRouteInterfaceMockRecorder) Watch ¶
func (mr *FakeRouteInterfaceMockRecorder) Watch(arg0 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 FakeSharedClient ¶
type FakeSharedClient struct {
// contains filtered or unexported fields
}
FakeSharedClient is a mock of Interface interface
func NewFakeSharedClient ¶
func NewFakeSharedClient(ctrl *gomock.Controller) *FakeSharedClient
NewFakeSharedClient creates a new mock instance
func (*FakeSharedClient) Authentication ¶
func (m *FakeSharedClient) Authentication() v1alpha1.AuthenticationV1alpha1Interface
Authentication mocks base method
func (*FakeSharedClient) AuthenticationV1alpha1 ¶
func (m *FakeSharedClient) AuthenticationV1alpha1() v1alpha1.AuthenticationV1alpha1Interface
AuthenticationV1alpha1 mocks base method
func (*FakeSharedClient) Discovery ¶
func (m *FakeSharedClient) Discovery() discovery.DiscoveryInterface
Discovery mocks base method
func (*FakeSharedClient) EXPECT ¶
func (m *FakeSharedClient) EXPECT() *FakeSharedClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*FakeSharedClient) Networking ¶
func (m *FakeSharedClient) Networking() v1alpha3.NetworkingV1alpha3Interface
Networking mocks base method
func (*FakeSharedClient) NetworkingV1alpha3 ¶
func (m *FakeSharedClient) NetworkingV1alpha3() v1alpha3.NetworkingV1alpha3Interface
NetworkingV1alpha3 mocks base method
type FakeSharedClientMockRecorder ¶
type FakeSharedClientMockRecorder struct {
// contains filtered or unexported fields
}
FakeSharedClientMockRecorder is the mock recorder for FakeSharedClient
func (*FakeSharedClientMockRecorder) Authentication ¶
func (mr *FakeSharedClientMockRecorder) Authentication() *gomock.Call
Authentication indicates an expected call of Authentication
func (*FakeSharedClientMockRecorder) AuthenticationV1alpha1 ¶
func (mr *FakeSharedClientMockRecorder) AuthenticationV1alpha1() *gomock.Call
AuthenticationV1alpha1 indicates an expected call of AuthenticationV1alpha1
func (*FakeSharedClientMockRecorder) Discovery ¶
func (mr *FakeSharedClientMockRecorder) Discovery() *gomock.Call
Discovery indicates an expected call of Discovery
func (*FakeSharedClientMockRecorder) Networking ¶
func (mr *FakeSharedClientMockRecorder) Networking() *gomock.Call
Networking indicates an expected call of Networking
func (*FakeSharedClientMockRecorder) NetworkingV1alpha3 ¶
func (mr *FakeSharedClientMockRecorder) NetworkingV1alpha3() *gomock.Call
NetworkingV1alpha3 indicates an expected call of NetworkingV1alpha3
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 *v1alpha3.VirtualService) (*v1alpha3.VirtualService, error)
Create mocks base method
func (*FakeVirtualServiceInterface) Delete ¶
func (m *FakeVirtualServiceInterface) Delete(arg0 string, arg1 *v1.DeleteOptions) error
Delete mocks base method
func (*FakeVirtualServiceInterface) DeleteCollection ¶
func (m *FakeVirtualServiceInterface) DeleteCollection(arg0 *v1.DeleteOptions, arg1 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 string, arg1 v1.GetOptions) (*v1alpha3.VirtualService, error)
Get mocks base method
func (*FakeVirtualServiceInterface) List ¶
func (m *FakeVirtualServiceInterface) List(arg0 v1.ListOptions) (*v1alpha3.VirtualServiceList, error)
List mocks base method
func (*FakeVirtualServiceInterface) Patch ¶
func (m *FakeVirtualServiceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1alpha3.VirtualService, error)
Patch mocks base method
func (*FakeVirtualServiceInterface) Update ¶
func (m *FakeVirtualServiceInterface) Update(arg0 *v1alpha3.VirtualService) (*v1alpha3.VirtualService, error)
Update mocks base method
func (*FakeVirtualServiceInterface) Watch ¶
func (m *FakeVirtualServiceInterface) Watch(arg0 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 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*FakeVirtualServiceInterfaceMockRecorder) Delete ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*FakeVirtualServiceInterfaceMockRecorder) DeleteCollection ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*FakeVirtualServiceInterfaceMockRecorder) Get ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*FakeVirtualServiceInterfaceMockRecorder) List ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*FakeVirtualServiceInterfaceMockRecorder) Patch ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*FakeVirtualServiceInterfaceMockRecorder) Update ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*FakeVirtualServiceInterfaceMockRecorder) Watch ¶
func (mr *FakeVirtualServiceInterfaceMockRecorder) Watch(arg0 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 ¶
func (r *Reconciler) ApplyChanges( ctx context.Context, namespace string, fields v1alpha1.RouteSpecFields, ) error
ApplyChanges updates the linked resources in the cluster with the current status of the Route .