appmesh

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package appmesh is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppMeshRegistrationSyncer

func NewAppMeshRegistrationSyncer(
	reporter reporter.Reporter,
	kube kubernetes.Interface,
	secretClient gloov1.SecretClient,
	installer Installer) v1.RegistrationSyncer

Types

type AutoInjectionReconciler

type AutoInjectionReconciler interface {
	Reconcile(autoInjectionEnabled bool) error
}

func NewAutoInjectionReconciler

func NewAutoInjectionReconciler(kube kubernetes.Interface, installer Installer) AutoInjectionReconciler

type Installer

type Installer interface {
	// Delete deletes Kubernetes resources from an io.reader.
	Delete(namespace string, reader io.Reader) error
	// Create creates Kubernetes resources from an io.reader.
	Create(namespace string, reader io.Reader, timeout int64, shouldWait bool) error
}

Hide the client in k8s.io/helm/pkg/kube behind our own interface so we can mock it.

type MockInstaller

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

MockInstaller is a mock of Installer interface

func NewMockInstaller

func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller

NewMockInstaller creates a new mock instance

func (*MockInstaller) Create

func (m *MockInstaller) Create(namespace string, reader io.Reader, timeout int64, shouldWait bool) error

Create mocks base method

func (*MockInstaller) Delete

func (m *MockInstaller) Delete(namespace string, reader io.Reader) error

Delete mocks base method

func (*MockInstaller) EXPECT

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

type MockInstallerMockRecorder

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

MockInstallerMockRecorder is the mock recorder for MockInstaller

func (*MockInstallerMockRecorder) Create

func (mr *MockInstallerMockRecorder) Create(namespace, reader, timeout, shouldWait interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockInstallerMockRecorder) Delete

func (mr *MockInstallerMockRecorder) Delete(namespace, reader interface{}) *gomock.Call

Delete indicates an expected call of Delete

type Validator

type Validator interface {
	Validate(ctx context.Context, appMesh *v1.AwsAppMesh) error
}

func NewAppMeshValidator

func NewAppMeshValidator(kube kubernetes.Interface, secretClient gloov1.SecretClient) Validator

Jump to

Keyboard shortcuts

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