Documentation

Overview

    Package mock is a generated GoMock package.

    Package mock is a generated GoMock package.

    Package mock is a generated GoMock package.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type MockAMI

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

      MockAMI is a mock of AMI interface

      func NewMockAMI

      func NewMockAMI(ctrl *gomock.Controller) *MockAMI

        NewMockAMI creates a new mock instance

        func (*MockAMI) ApplyApp

        func (m *MockAMI) ApplyApp(arg0 string, arg1 v1.Application, arg2 map[string]v1.Configuration, arg3 map[string]v1.Secret) error

          ApplyApp mocks base method

          func (*MockAMI) CollectNodeInfo

          func (m *MockAMI) CollectNodeInfo() (*v1.NodeInfo, error)

            CollectNodeInfo mocks base method

            func (*MockAMI) CollectNodeStats

            func (m *MockAMI) CollectNodeStats() (*v1.NodeStats, error)

              CollectNodeStats mocks base method

              func (*MockAMI) DeleteApp

              func (m *MockAMI) DeleteApp(arg0, arg1 string) error

                DeleteApp mocks base method

                func (*MockAMI) EXPECT

                func (m *MockAMI) EXPECT() *MockAMIMockRecorder

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

                  func (*MockAMI) FetchLog

                  func (m *MockAMI) FetchLog(arg0, arg1 string, arg2, arg3 int64) (io.ReadCloser, error)

                    FetchLog mocks base method

                    func (*MockAMI) RemoteCommand

                    func (m *MockAMI) RemoteCommand(arg0 ami.DebugOptions, arg1 io.Reader, arg2, arg3 io.Writer) error

                      RemoteCommand mocks base method

                      func (*MockAMI) StatsApps

                      func (m *MockAMI) StatsApps(arg0 string) ([]v1.AppStats, error)

                        StatsApps mocks base method

                        type MockAMIMockRecorder

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

                          MockAMIMockRecorder is the mock recorder for MockAMI

                          func (*MockAMIMockRecorder) ApplyApp

                          func (mr *MockAMIMockRecorder) ApplyApp(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

                            ApplyApp indicates an expected call of ApplyApp

                            func (*MockAMIMockRecorder) CollectNodeInfo

                            func (mr *MockAMIMockRecorder) CollectNodeInfo() *gomock.Call

                              CollectNodeInfo indicates an expected call of CollectNodeInfo

                              func (*MockAMIMockRecorder) CollectNodeStats

                              func (mr *MockAMIMockRecorder) CollectNodeStats() *gomock.Call

                                CollectNodeStats indicates an expected call of CollectNodeStats

                                func (*MockAMIMockRecorder) DeleteApp

                                func (mr *MockAMIMockRecorder) DeleteApp(arg0, arg1 interface{}) *gomock.Call

                                  DeleteApp indicates an expected call of DeleteApp

                                  func (*MockAMIMockRecorder) FetchLog

                                  func (mr *MockAMIMockRecorder) FetchLog(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

                                    FetchLog indicates an expected call of FetchLog

                                    func (*MockAMIMockRecorder) RemoteCommand

                                    func (mr *MockAMIMockRecorder) RemoteCommand(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

                                      RemoteCommand indicates an expected call of RemoteCommand

                                      func (*MockAMIMockRecorder) StatsApps

                                      func (mr *MockAMIMockRecorder) StatsApps(arg0 interface{}) *gomock.Call

                                        StatsApps indicates an expected call of StatsApps

                                        type MockSecurity

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

                                          MockSecurity is a mock of Security interface

                                          func NewMockSecurity

                                          func NewMockSecurity(ctrl *gomock.Controller) *MockSecurity

                                            NewMockSecurity creates a new mock instance

                                            func (*MockSecurity) EXPECT

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

                                              func (*MockSecurity) GetCA

                                              func (m *MockSecurity) GetCA() ([]byte, error)

                                                GetCA mocks base method

                                                func (*MockSecurity) IssueCertificate

                                                func (m *MockSecurity) IssueCertificate(arg0 string, arg1 security.AltNames) (*pki.CertPem, error)

                                                  IssueCertificate mocks base method

                                                  func (*MockSecurity) RevokeCertificate

                                                  func (m *MockSecurity) RevokeCertificate(arg0 string) error

                                                    RevokeCertificate mocks base method

                                                    func (*MockSecurity) RotateCertificate

                                                    func (m *MockSecurity) RotateCertificate(arg0 string) (*pki.CertPem, error)

                                                      RotateCertificate mocks base method

                                                      type MockSecurityMockRecorder

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

                                                        MockSecurityMockRecorder is the mock recorder for MockSecurity

                                                        func (*MockSecurityMockRecorder) GetCA

                                                        func (mr *MockSecurityMockRecorder) GetCA() *gomock.Call

                                                          GetCA indicates an expected call of GetCA

                                                          func (*MockSecurityMockRecorder) IssueCertificate

                                                          func (mr *MockSecurityMockRecorder) IssueCertificate(arg0, arg1 interface{}) *gomock.Call

                                                            IssueCertificate indicates an expected call of IssueCertificate

                                                            func (*MockSecurityMockRecorder) RevokeCertificate

                                                            func (mr *MockSecurityMockRecorder) RevokeCertificate(arg0 interface{}) *gomock.Call

                                                              RevokeCertificate indicates an expected call of RevokeCertificate

                                                              func (*MockSecurityMockRecorder) RotateCertificate

                                                              func (mr *MockSecurityMockRecorder) RotateCertificate(arg0 interface{}) *gomock.Call

                                                                RotateCertificate indicates an expected call of RotateCertificate

                                                                type MockSync

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

                                                                  MockSync is a mock of Sync interface

                                                                  func NewMockSync

                                                                  func NewMockSync(ctrl *gomock.Controller) *MockSync

                                                                    NewMockSync creates a new mock instance

                                                                    func (*MockSync) Close

                                                                    func (m *MockSync) Close()

                                                                      Close mocks base method

                                                                      func (*MockSync) EXPECT

                                                                      func (m *MockSync) EXPECT() *MockSyncMockRecorder

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

                                                                        func (*MockSync) Report

                                                                        func (m *MockSync) Report(arg0 v1.Report) (v1.Desire, error)

                                                                          Report mocks base method

                                                                          func (*MockSync) Start

                                                                          func (m *MockSync) Start()

                                                                            Start mocks base method

                                                                            func (*MockSync) SyncApps

                                                                            func (m *MockSync) SyncApps(arg0 []v1.AppInfo) (map[string]v1.Application, error)

                                                                              SyncApps mocks base method

                                                                              func (*MockSync) SyncResource

                                                                              func (m *MockSync) SyncResource(arg0 v1.AppInfo) error

                                                                                SyncResource mocks base method

                                                                                type MockSyncMockRecorder

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

                                                                                  MockSyncMockRecorder is the mock recorder for MockSync

                                                                                  func (*MockSyncMockRecorder) Close

                                                                                  func (mr *MockSyncMockRecorder) Close() *gomock.Call

                                                                                    Close indicates an expected call of Close

                                                                                    func (*MockSyncMockRecorder) Report

                                                                                    func (mr *MockSyncMockRecorder) Report(arg0 interface{}) *gomock.Call

                                                                                      Report indicates an expected call of Report

                                                                                      func (*MockSyncMockRecorder) Start

                                                                                      func (mr *MockSyncMockRecorder) Start() *gomock.Call

                                                                                        Start indicates an expected call of Start

                                                                                        func (*MockSyncMockRecorder) SyncApps

                                                                                        func (mr *MockSyncMockRecorder) SyncApps(arg0 interface{}) *gomock.Call

                                                                                          SyncApps indicates an expected call of SyncApps

                                                                                          func (*MockSyncMockRecorder) SyncResource

                                                                                          func (mr *MockSyncMockRecorder) SyncResource(arg0 interface{}) *gomock.Call

                                                                                            SyncResource indicates an expected call of SyncResource

                                                                                            Directories

                                                                                            Path Synopsis
                                                                                            Package helper is a generated GoMock package.
                                                                                            Package helper is a generated GoMock package.
                                                                                            Package plugin is a generated GoMock package.
                                                                                            Package plugin is a generated GoMock package.