configuration

package
v0.0.0-...-73e0568 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package configuration is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewConfigurationManager

func NewConfigurationManager(dataDir string) *Manager

func (*Manager) Deregister

func (m *Manager) Deregister() error

func (*Manager) GetConfigurationVersion

func (m *Manager) GetConfigurationVersion() string

func (*Manager) GetDataTransferInterval

func (m *Manager) GetDataTransferInterval() time.Duration

func (*Manager) GetDeviceConfiguration

func (m *Manager) GetDeviceConfiguration() models.DeviceConfiguration

func (*Manager) GetDeviceID

func (m *Manager) GetDeviceID() string

func (*Manager) GetSecrets

func (m *Manager) GetSecrets() models.SecretList

func (*Manager) GetWorkloads

func (m *Manager) GetWorkloads() models.WorkloadList

func (*Manager) IsInitialConfig

func (m *Manager) IsInitialConfig() bool

func (*Manager) RegisterObserver

func (m *Manager) RegisterObserver(observer Observer)

func (*Manager) String

func (m *Manager) String() string

func (*Manager) Update

func (m *Manager) Update(message models.DeviceConfigurationMessage) error

type MockObserver

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

MockObserver is a mock of Observer interface.

func NewMockObserver

func NewMockObserver(ctrl *gomock.Controller) *MockObserver

NewMockObserver creates a new mock instance.

func (*MockObserver) EXPECT

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

func (*MockObserver) Init

Init mocks base method.

func (*MockObserver) Update

Update mocks base method.

type MockObserverMockRecorder

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

MockObserverMockRecorder is the mock recorder for MockObserver.

func (*MockObserverMockRecorder) Init

func (mr *MockObserverMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockObserverMockRecorder) Update

func (mr *MockObserverMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

type Observer

type Observer interface {
	Init(configuration models.DeviceConfigurationMessage) error
	Update(configuration models.DeviceConfigurationMessage) error
}

Jump to

Keyboard shortcuts

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