Documentation ¶
Overview ¶
Package appmesh is a generated GoMock package.
Index ¶
Constants ¶
View Source
const AppMeshAvailableRegions = "ap-south-1,ap-northeast-2,ap-southeast-1,ap-southeast-2,ap-northeast-1," +
"us-east-2,us-east-1,us-west-1,us-west-2,eu-west-1,eu-central-1,ca-central-1"
Variables ¶
This section is empty.
Functions ¶
func NewAppMeshRegistrationSyncer ¶
func NewAppMeshRegistrationSyncer( reporter reporter.Reporter, kube kubernetes.Interface, secretClient gloov1.SecretClient, installer Installer, sgNamespace, sidecarInjectorImage, sidecarInjectorImagePullPolicy string) v1.RegistrationSyncer
Types ¶
type AutoInjectionReconciler ¶
func NewAutoInjectionReconciler ¶
func NewAutoInjectionReconciler(kube kubernetes.Interface, installer Installer, sgNamespace, sidecarInjectorImage, sidecarInjectorImagePullPolicy string) 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 ¶
func (m *MockInstaller) EXPECT() *MockInstallerMockRecorder
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
Click to show internal directories.
Click to hide internal directories.