Versions in this module Expand all Collapse all v1 v1.0.0 Dec 19, 2022 Changes in this version + type Definition struct + Commit string + Definition T + type DiskRepository struct + Git git.Factory + Path string + func (d DiskRepository) GetPath() string + func (d DiskRepository) GetSubnet(name string) (Definition[types.Subnet], error) + func (d DiskRepository) GetVM(name string) (Definition[types.VM], error) + type File struct + InstallationRegistry map[string]*InstallInfo + Sources map[string]*SourceInfo + func New(path string) (File, error) + func (s *File) Commit() error + type InstallInfo struct + Commit string + ID string + type MockRepository struct + func NewMockRepository(ctrl *gomock.Controller) *MockRepository + func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder + func (m *MockRepository) GetPath() string + func (m *MockRepository) GetSubnet(name string) (Definition[types.Subnet], error) + func (m *MockRepository) GetVM(name string) (Definition[types.VM], error) + type MockRepositoryFactory struct + func NewMockRepositoryFactory(ctrl *gomock.Controller) *MockRepositoryFactory + func (m *MockRepositoryFactory) EXPECT() *MockRepositoryFactoryMockRecorder + func (m *MockRepositoryFactory) GetRepository(alias string) (Repository, error) + type MockRepositoryFactoryMockRecorder struct + func (mr *MockRepositoryFactoryMockRecorder) GetRepository(alias interface{}) *gomock.Call + type MockRepositoryMockRecorder struct + func (mr *MockRepositoryMockRecorder) GetPath() *gomock.Call + func (mr *MockRepositoryMockRecorder) GetSubnet(name interface{}) *gomock.Call + func (mr *MockRepositoryMockRecorder) GetVM(name interface{}) *gomock.Call + type Repository interface + GetPath func() string + GetSubnet func(name string) (Definition[types.Subnet], error) + GetVM func(name string) (Definition[types.VM], error) + type RepositoryFactory interface + GetRepository func(alias string) (Repository, error) + func NewRepositoryFactory(reposPath string) RepositoryFactory + type SourceInfo struct + Branch plumbing.ReferenceName + Commit string + URL string