Versions in this module Expand all Collapse all v1 v1.131.0 Nov 17, 2026 v1.130.0 Nov 10, 2026 Changes in this version + const NamespaceID + func Answer[Req, Resp any](calls chan<- Call[Req], resp Resp, err error) func(context.Context, Req) (Resp, error) + func MakeToken(t *testing.T, gitlabClaims map[string]any) string + func NewTestExec(t *testing.T, cmdFunc cmdtest.CmdFunc, opts ...cmdtest.FactoryOption) (cmdtest.CmdExecFunc, string) + func NewTokenServer(t *testing.T, gotBody *tokenexchangetest.WireRequest) (*httptest.Server, *atomic.Int32, string) + func WriteFile(t *testing.T, content string) string + type Call struct + Auth []string + Req Req + func Received[Req any](t *testing.T, calls <-chan Call[Req]) Call[Req] + type MockAutoFlowServiceServer struct + func NewMockAutoFlowServiceServer(ctrl *gomock.Controller) *MockAutoFlowServiceServer + func (m *MockAutoFlowServiceServer) CancelWorkflow(arg0 context.Context, arg1 *rpcv1.CancelWorkflowRequest) (*rpcv1.CancelWorkflowResponse, error) + func (m *MockAutoFlowServiceServer) EXPECT() *MockAutoFlowServiceServerMockRecorder + func (m *MockAutoFlowServiceServer) GetWorkflow(arg0 context.Context, arg1 *rpcv1.GetWorkflowRequest) (*rpcv1.GetWorkflowResponse, error) + func (m *MockAutoFlowServiceServer) SendToWorkflowChannel(arg0 context.Context, arg1 *rpcv1.SendToWorkflowChannelRequest) (*rpcv1.SendToWorkflowChannelResponse, error) + func (m *MockAutoFlowServiceServer) StartWorkflow(arg0 context.Context, arg1 *rpcv1.StartWorkflowRequest) (*rpcv1.StartWorkflowResponse, error) + type MockAutoFlowServiceServerCancelWorkflowCall struct + func (c *MockAutoFlowServiceServerCancelWorkflowCall) Do(...) *MockAutoFlowServiceServerCancelWorkflowCall + func (c *MockAutoFlowServiceServerCancelWorkflowCall) DoAndReturn(...) *MockAutoFlowServiceServerCancelWorkflowCall + func (c *MockAutoFlowServiceServerCancelWorkflowCall) Return(arg0 *rpcv1.CancelWorkflowResponse, arg1 error) *MockAutoFlowServiceServerCancelWorkflowCall + type MockAutoFlowServiceServerGetWorkflowCall struct + func (c *MockAutoFlowServiceServerGetWorkflowCall) Do(...) *MockAutoFlowServiceServerGetWorkflowCall + func (c *MockAutoFlowServiceServerGetWorkflowCall) DoAndReturn(...) *MockAutoFlowServiceServerGetWorkflowCall + func (c *MockAutoFlowServiceServerGetWorkflowCall) Return(arg0 *rpcv1.GetWorkflowResponse, arg1 error) *MockAutoFlowServiceServerGetWorkflowCall + type MockAutoFlowServiceServerMockRecorder struct + func (mr *MockAutoFlowServiceServerMockRecorder) CancelWorkflow(arg0, arg1 any) *MockAutoFlowServiceServerCancelWorkflowCall + func (mr *MockAutoFlowServiceServerMockRecorder) GetWorkflow(arg0, arg1 any) *MockAutoFlowServiceServerGetWorkflowCall + func (mr *MockAutoFlowServiceServerMockRecorder) SendToWorkflowChannel(arg0, arg1 any) *MockAutoFlowServiceServerSendToWorkflowChannelCall + func (mr *MockAutoFlowServiceServerMockRecorder) StartWorkflow(arg0, arg1 any) *MockAutoFlowServiceServerStartWorkflowCall + type MockAutoFlowServiceServerSendToWorkflowChannelCall struct + func (c *MockAutoFlowServiceServerSendToWorkflowChannelCall) Do(...) *MockAutoFlowServiceServerSendToWorkflowChannelCall + func (c *MockAutoFlowServiceServerSendToWorkflowChannelCall) DoAndReturn(...) *MockAutoFlowServiceServerSendToWorkflowChannelCall + func (c *MockAutoFlowServiceServerSendToWorkflowChannelCall) Return(arg0 *rpcv1.SendToWorkflowChannelResponse, arg1 error) *MockAutoFlowServiceServerSendToWorkflowChannelCall + type MockAutoFlowServiceServerStartWorkflowCall struct + func (c *MockAutoFlowServiceServerStartWorkflowCall) Do(...) *MockAutoFlowServiceServerStartWorkflowCall + func (c *MockAutoFlowServiceServerStartWorkflowCall) DoAndReturn(...) *MockAutoFlowServiceServerStartWorkflowCall + func (c *MockAutoFlowServiceServerStartWorkflowCall) Return(arg0 *rpcv1.StartWorkflowResponse, arg1 error) *MockAutoFlowServiceServerStartWorkflowCall + type MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall struct + func (c *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall) Do(f func()) *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall + func (c *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall) DoAndReturn(f func()) *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall + func (c *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall) Return() *MockAutoFlowServiceServermustEmbedUnimplementedAutoFlowServiceServerCall + type Relay struct + Address string + CACertFile string + Mock *MockAutoFlowServiceServer + func NewCleartextRelay(t *testing.T) *Relay + func NewRelay(t *testing.T) *Relay + func (r *Relay) Args() string