Documentation ¶
Index ¶
- type Interface
- type MockActionMgr
- func (m *MockActionMgr) Delete(ctx context.Context, req *pb.PipelineActionDeleteRequest) (*pb.PipelineActionDeleteResponse, error)
- func (m *MockActionMgr) List(ctx context.Context, req *pb.PipelineActionListRequest) (*extensionpb.QueryExtensionsResponse, error)
- func (m *MockActionMgr) MakeActionLocationsBySource(source apistructs.PipelineSource) []string
- func (m *MockActionMgr) MakeActionTypeVersion(action *pipelineyml.Action) string
- func (m *MockActionMgr) Save(ctx context.Context, req *pb.PipelineActionSaveRequest) (*extensionpb.ExtensionVersionCreateResponse, error)
- func (m *MockActionMgr) SearchActions(items []string, ops ...OpOption) (map[string]*diceyml.Job, map[string]*apistructs.ActionSpec, error)
- type OpOption
- type SearchOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { pb.ActionServiceServer SearchActions(items []string, ops ...OpOption) (map[string]*diceyml.Job, map[string]*apistructs.ActionSpec, error) MakeActionTypeVersion(action *pipelineyml.Action) string MakeActionLocationsBySource(source apistructs.PipelineSource) []string }
type MockActionMgr ¶
type MockActionMgr struct{}
func (*MockActionMgr) Delete ¶
func (m *MockActionMgr) Delete(ctx context.Context, req *pb.PipelineActionDeleteRequest) (*pb.PipelineActionDeleteResponse, error)
func (*MockActionMgr) List ¶
func (m *MockActionMgr) List(ctx context.Context, req *pb.PipelineActionListRequest) (*extensionpb.QueryExtensionsResponse, error)
func (*MockActionMgr) MakeActionLocationsBySource ¶
func (m *MockActionMgr) MakeActionLocationsBySource(source apistructs.PipelineSource) []string
func (*MockActionMgr) MakeActionTypeVersion ¶
func (m *MockActionMgr) MakeActionTypeVersion(action *pipelineyml.Action) string
func (*MockActionMgr) Save ¶
func (m *MockActionMgr) Save(ctx context.Context, req *pb.PipelineActionSaveRequest) (*extensionpb.ExtensionVersionCreateResponse, error)
func (*MockActionMgr) SearchActions ¶
func (m *MockActionMgr) SearchActions(items []string, ops ...OpOption) (map[string]*diceyml.Job, map[string]*apistructs.ActionSpec, error)
type OpOption ¶
type OpOption func(*SearchOption)
func SearchOpWithClusterInfo ¶
func SearchOpWithRender ¶
Click to show internal directories.
Click to hide internal directories.