route

package
v0.0.0-...-8f52349 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 35 Imported by: 0

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

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

func FilterVSWithNamespace(namespace string) func(obj interface{}) bool

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

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

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

Apps mocks base method

func (*FakeKfAlpha1Interface) EXPECT

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

RouteClaims mocks base method

func (*FakeKfAlpha1Interface) Routes

Routes mocks base method

func (*FakeKfAlpha1Interface) Sources

Sources mocks base method

func (*FakeKfAlpha1Interface) Spaces

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

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

Discovery mocks base method

func (*FakeKfInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeKfInterface) Kf

Kf mocks base method

func (*FakeKfInterface) KfV1alpha1

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeNamespaceLister) Get

func (m *FakeNamespaceLister) Get(arg0 string) (*v1.Namespace, error)

Get mocks base method

func (*FakeNamespaceLister) List

func (m *FakeNamespaceLister) List(arg0 labels.Selector) ([]*v1.Namespace, error)

List mocks base method

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeReconciler) Reconcile

func (m *FakeReconciler) Reconcile(arg0 context.Context, arg1 string) error

Reconcile mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeRouteClaimLister) List

List mocks base method

func (*FakeRouteClaimLister) RouteClaims

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeRouteClaimNamespaceLister) Get

Get mocks base method

func (*FakeRouteClaimNamespaceLister) List

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) Create

func (m *FakeRouteInterface) Create(arg0 *v1alpha1.Route) (*v1alpha1.Route, error)

Create mocks base method

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

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

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) Update

func (m *FakeRouteInterface) Update(arg0 *v1alpha1.Route) (*v1alpha1.Route, error)

Update mocks base method

func (*FakeRouteInterface) Watch

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeRouteLister) List

func (m *FakeRouteLister) List(arg0 labels.Selector) ([]*v1alpha1.Route, error)

List mocks base method

func (*FakeRouteLister) Routes

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeRouteNamespaceLister) Get

Get mocks base method

func (*FakeRouteNamespaceLister) List

List mocks base method

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

Authentication mocks base method

func (*FakeSharedClient) AuthenticationV1alpha1

func (m *FakeSharedClient) AuthenticationV1alpha1() v1alpha1.AuthenticationV1alpha1Interface

AuthenticationV1alpha1 mocks base method

func (*FakeSharedClient) Discovery

Discovery mocks base method

func (*FakeSharedClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeSharedClient) Networking

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeVirtualServiceInterface) Get

Get mocks base method

func (*FakeVirtualServiceInterface) List

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

Update mocks base method

func (*FakeVirtualServiceInterface) Watch

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeVirtualServiceLister) List

List mocks base method

func (*FakeVirtualServiceLister) VirtualServices

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

EXPECT returns an object that allows the caller to indicate expected use

func (*FakeVirtualServiceNamespaceLister) Get

Get mocks base method

func (*FakeVirtualServiceNamespaceLister) List

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 .

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile is called by Kubernetes.

Directories

Path Synopsis
Package resources holds simple functions for synthesizing child resources from a Route.
Package resources holds simple functions for synthesizing child resources from a Route.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL