toolchain

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockToolchainService

type MockToolchainService struct {
	mock.Mock
}

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 (tis *Service) DeleteToolchainIntegration(id string) error

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

Jump to

Keyboard shortcuts

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