Documentation ¶
Index ¶
- Constants
- func TempDir(t *testing.T) string
- type CirrusCIServiceMock
- func (m *CirrusCIServiceMock) Address() string
- func (m *CirrusCIServiceMock) Finished() bool
- func (m *CirrusCIServiceMock) InitialCommands(ctx context.Context, request *api.InitialCommandsRequest) (*api.CommandsResponse, error)
- func (m *CirrusCIServiceMock) ReportAgentFinished(ctx context.Context, request *api.ReportAgentFinishedRequest) (*api.ReportAgentFinishedResponse, error)
- func (m *CirrusCIServiceMock) ReportCommandUpdates(ctx context.Context, request *api.ReportCommandUpdatesRequest) (*api.ReportCommandUpdatesResponse, error)
- func (m *CirrusCIServiceMock) SaveLogs(server api.CirrusCIService_SaveLogsServer) error
- func (m *CirrusCIServiceMock) StreamLogs(server api.CirrusCIService_StreamLogsServer) error
- func (m *CirrusCIServiceMock) Succeeded() bool
Constants ¶
View Source
const VaultContainerImage = "hashicorp/vault:latest"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CirrusCIServiceMock ¶
type CirrusCIServiceMock struct { api.UnimplementedCirrusCIServiceServer // contains filtered or unexported fields }
func NewCirrusCIServiceMock ¶
func NewCirrusCIServiceMock(t *testing.T, commandsResponse *api.CommandsResponse) *CirrusCIServiceMock
func (*CirrusCIServiceMock) Address ¶
func (m *CirrusCIServiceMock) Address() string
func (*CirrusCIServiceMock) Finished ¶
func (m *CirrusCIServiceMock) Finished() bool
func (*CirrusCIServiceMock) InitialCommands ¶
func (m *CirrusCIServiceMock) InitialCommands(ctx context.Context, request *api.InitialCommandsRequest) (*api.CommandsResponse, error)
func (*CirrusCIServiceMock) ReportAgentFinished ¶
func (m *CirrusCIServiceMock) ReportAgentFinished(ctx context.Context, request *api.ReportAgentFinishedRequest) (*api.ReportAgentFinishedResponse, error)
func (*CirrusCIServiceMock) ReportCommandUpdates ¶
func (m *CirrusCIServiceMock) ReportCommandUpdates(ctx context.Context, request *api.ReportCommandUpdatesRequest) (*api.ReportCommandUpdatesResponse, error)
func (*CirrusCIServiceMock) SaveLogs ¶
func (m *CirrusCIServiceMock) SaveLogs(server api.CirrusCIService_SaveLogsServer) error
func (*CirrusCIServiceMock) StreamLogs ¶
func (m *CirrusCIServiceMock) StreamLogs(server api.CirrusCIService_StreamLogsServer) error
func (*CirrusCIServiceMock) Succeeded ¶
func (m *CirrusCIServiceMock) Succeeded() bool
Click to show internal directories.
Click to hide internal directories.