Documentation ¶
Index ¶
- type MockToolchainService
- func (_m *MockToolchainService) CreateToolchainIntegration(md *training.ToolchainIntegration) error
- func (_m *MockToolchainService) DeleteToolchainIntegration(name string) error
- func (_m *MockToolchainService) GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)
- func (_m *MockToolchainService) GetToolchainIntegrationList(options ...filter.ListOption) ([]training.ToolchainIntegration, error)
- func (_m *MockToolchainService) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
- type Service
- func (tis *Service) CreateToolchainIntegration(md *training.ToolchainIntegration) error
- func (tis *Service) DeleteToolchainIntegration(id string) error
- func (tis *Service) GetToolchainIntegration(id string) (*training.ToolchainIntegration, error)
- func (tis *Service) GetToolchainIntegrationList(options ...filter.ListOption) ([]training.ToolchainIntegration, error)
- func (tis *Service) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockToolchainService ¶
MockToolchainService is an autogenerated mock type for the Service type
func (*MockToolchainService) CreateToolchainIntegration ¶
func (_m *MockToolchainService) CreateToolchainIntegration(md *training.ToolchainIntegration) error
CreateToolchainIntegration provides a mock function with given fields: md
func (*MockToolchainService) DeleteToolchainIntegration ¶
func (_m *MockToolchainService) DeleteToolchainIntegration(name string) error
DeleteToolchainIntegration provides a mock function with given fields: name
func (*MockToolchainService) GetToolchainIntegration ¶
func (_m *MockToolchainService) GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)
GetToolchainIntegration provides a mock function with given fields: name
func (*MockToolchainService) GetToolchainIntegrationList ¶
func (_m *MockToolchainService) GetToolchainIntegrationList(options ...filter.ListOption) ([]training.ToolchainIntegration, error)
GetToolchainIntegrationList provides a mock function with given fields: options
func (*MockToolchainService) UpdateToolchainIntegration ¶
func (_m *MockToolchainService) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
UpdateToolchainIntegration provides a mock function with given fields: md
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(repo training2.ToolchainRepository) *Service
func (*Service) CreateToolchainIntegration ¶
func (tis *Service) CreateToolchainIntegration(md *training.ToolchainIntegration) error
func (*Service) DeleteToolchainIntegration ¶
func (*Service) GetToolchainIntegration ¶
func (tis *Service) GetToolchainIntegration(id string) (*training.ToolchainIntegration, error)
func (*Service) GetToolchainIntegrationList ¶
func (tis *Service) GetToolchainIntegrationList(options ...filter.ListOption) ( []training.ToolchainIntegration, error, )
func (*Service) UpdateToolchainIntegration ¶
func (tis *Service) UpdateToolchainIntegration(md *training.ToolchainIntegration) error
Click to show internal directories.
Click to hide internal directories.