Documentation ¶
Overview ¶
Package build is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterableBytesWithID ¶
type IterableBytesWithID interface { // ID returns a string identifier for the build ID() string // Iter returns an iterator to loop over the contents of the build Iter(bufferSize int) (fs.FileReaderIter, error) }
IterableBytesWithID represents the an iterable byte stream associated with an identifier
type MockIterableBytesWithID ¶
type MockIterableBytesWithID struct {
// contains filtered or unexported fields
}
MockIterableBytesWithID is a mock of IterableBytesWithID interface
func NewMockIterableBytesWithID ¶
func NewMockIterableBytesWithID(ctrl *gomock.Controller) *MockIterableBytesWithID
NewMockIterableBytesWithID creates a new mock instance
func (*MockIterableBytesWithID) EXPECT ¶
func (m *MockIterableBytesWithID) EXPECT() *MockIterableBytesWithIDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIterableBytesWithID) ID ¶
func (m *MockIterableBytesWithID) ID() string
ID mocks base method
func (*MockIterableBytesWithID) Iter ¶
func (m *MockIterableBytesWithID) Iter(bufferSize int) (fs.FileReaderIter, error)
Iter mocks base method
type MockIterableBytesWithIDMockRecorder ¶
type MockIterableBytesWithIDMockRecorder struct {
// contains filtered or unexported fields
}
MockIterableBytesWithIDMockRecorder is the mock recorder for MockIterableBytesWithID
func (*MockIterableBytesWithIDMockRecorder) ID ¶
func (mr *MockIterableBytesWithIDMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockIterableBytesWithIDMockRecorder) Iter ¶
func (mr *MockIterableBytesWithIDMockRecorder) Iter(bufferSize interface{}) *gomock.Call
Iter indicates an expected call of Iter
type MockServiceBuild ¶
type MockServiceBuild struct {
// contains filtered or unexported fields
}
MockServiceBuild is a mock of ServiceBuild interface
func NewMockServiceBuild ¶
func NewMockServiceBuild(ctrl *gomock.Controller) *MockServiceBuild
NewMockServiceBuild creates a new mock instance
func (*MockServiceBuild) EXPECT ¶
func (m *MockServiceBuild) EXPECT() *MockServiceBuildMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceBuild) Iter ¶
func (m *MockServiceBuild) Iter(bufferSize int) (fs.FileReaderIter, error)
Iter mocks base method
func (*MockServiceBuild) SourcePath ¶
func (m *MockServiceBuild) SourcePath() string
SourcePath mocks base method
type MockServiceBuildMockRecorder ¶
type MockServiceBuildMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceBuildMockRecorder is the mock recorder for MockServiceBuild
func (*MockServiceBuildMockRecorder) ID ¶
func (mr *MockServiceBuildMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockServiceBuildMockRecorder) Iter ¶
func (mr *MockServiceBuildMockRecorder) Iter(bufferSize interface{}) *gomock.Call
Iter indicates an expected call of Iter
func (*MockServiceBuildMockRecorder) SourcePath ¶
func (mr *MockServiceBuildMockRecorder) SourcePath() *gomock.Call
SourcePath indicates an expected call of SourcePath
type MockServiceConfiguration ¶
type MockServiceConfiguration struct {
// contains filtered or unexported fields
}
MockServiceConfiguration is a mock of ServiceConfiguration interface
func NewMockServiceConfiguration ¶
func NewMockServiceConfiguration(ctrl *gomock.Controller) *MockServiceConfiguration
NewMockServiceConfiguration creates a new mock instance
func (*MockServiceConfiguration) Bytes ¶
func (m *MockServiceConfiguration) Bytes() ([]byte, error)
Bytes mocks base method
func (*MockServiceConfiguration) EXPECT ¶
func (m *MockServiceConfiguration) EXPECT() *MockServiceConfigurationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceConfiguration) ID ¶
func (m *MockServiceConfiguration) ID() string
ID mocks base method
func (*MockServiceConfiguration) Iter ¶
func (m *MockServiceConfiguration) Iter(bufferSize int) (fs.FileReaderIter, error)
Iter mocks base method
type MockServiceConfigurationMockRecorder ¶
type MockServiceConfigurationMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceConfigurationMockRecorder is the mock recorder for MockServiceConfiguration
func (*MockServiceConfigurationMockRecorder) Bytes ¶
func (mr *MockServiceConfigurationMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes
func (*MockServiceConfigurationMockRecorder) ID ¶
func (mr *MockServiceConfigurationMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockServiceConfigurationMockRecorder) Iter ¶
func (mr *MockServiceConfigurationMockRecorder) Iter(bufferSize interface{}) *gomock.Call
Iter indicates an expected call of Iter
type ServiceBuild ¶
type ServiceBuild interface { IterableBytesWithID // SourcePath returns a local path where the service build is available SourcePath() string }
ServiceBuild represents a single build of a service, available locally.
func NewServiceBuild ¶
func NewServiceBuild(id string, sourcePath string) ServiceBuild
NewServiceBuild constructs a new ServiceBuild representing a Service build
type ServiceConfiguration ¶
type ServiceConfiguration interface { IterableBytesWithID // Bytes returns a UTF-8 serialized representation of the service configuration Bytes() ([]byte, error) }
ServiceConfiguration represents the configuration required to operate a service
func NewServiceConfig ¶
func NewServiceConfig(id string, marshalledBytes []byte) ServiceConfiguration
NewServiceConfig returns a new Service Configuration