build

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

func (*MockIterableBytesWithID) ID

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

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

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

func (*MockServiceBuild) ID

func (m *MockServiceBuild) ID() string

ID mocks base method

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

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

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

func (*MockServiceConfiguration) ID

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

Bytes indicates an expected call of Bytes

func (*MockServiceConfigurationMockRecorder) ID

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

Jump to

Keyboard shortcuts

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