config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package config is a generated GoMock package.

Package config implements the Kubernetes client for the resources in the multiclusterservice.openservicemesh.io API group

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	ListMultiClusterServices() []v1alpha1.MultiClusterService
	GetMultiClusterService(name, namespace string) *v1alpha1.MultiClusterService
	GetMultiClusterServiceByServiceAccount(serviceAccount, namespace string) []v1alpha1.MultiClusterService
}

Controller is the interface for the functionality provided by the resources part of the multiclusterservice.openservicemesh.io API group

func NewConfigController

func NewConfigController(kubeConfig *rest.Config, kubeController k8s.Controller, stop chan struct{}) (Controller, error)

NewConfigController returns a config.Controller struct related to functionality provided by the resources in the config.openservicemesh.io API group

type MockController

type MockController struct {
	// contains filtered or unexported fields
}

MockController is a mock of Controller interface

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance

func (*MockController) EXPECT

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

func (*MockController) GetMultiClusterService

func (m *MockController) GetMultiClusterService(arg0, arg1 string) *v1alpha1.MultiClusterService

GetMultiClusterService mocks base method

func (*MockController) GetMultiClusterServiceByServiceAccount

func (m *MockController) GetMultiClusterServiceByServiceAccount(arg0, arg1 string) []v1alpha1.MultiClusterService

GetMultiClusterServiceByServiceAccount mocks base method

func (*MockController) ListMultiClusterServices

func (m *MockController) ListMultiClusterServices() []v1alpha1.MultiClusterService

ListMultiClusterServices mocks base method

type MockControllerMockRecorder

type MockControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockControllerMockRecorder is the mock recorder for MockController

func (*MockControllerMockRecorder) GetMultiClusterService

func (mr *MockControllerMockRecorder) GetMultiClusterService(arg0, arg1 interface{}) *gomock.Call

GetMultiClusterService indicates an expected call of GetMultiClusterService

func (*MockControllerMockRecorder) GetMultiClusterServiceByServiceAccount

func (mr *MockControllerMockRecorder) GetMultiClusterServiceByServiceAccount(arg0, arg1 interface{}) *gomock.Call

GetMultiClusterServiceByServiceAccount indicates an expected call of GetMultiClusterServiceByServiceAccount

func (*MockControllerMockRecorder) ListMultiClusterServices

func (mr *MockControllerMockRecorder) ListMultiClusterServices() *gomock.Call

ListMultiClusterServices indicates an expected call of ListMultiClusterServices

Jump to

Keyboard shortcuts

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