Documentation ¶
Index ¶
- Constants
- func New(database db.Database, auditLogger auditlogger.AuditLogger, dp DpTrack, ...) (reconcilers.Reconciler, error)
- func NewFromConfig(ctx context.Context, database db.Database, cfg *config.Config, ...) (reconcilers.Reconciler, error)
- type Client
- type DpTrack
- type MockClient
- func (_m *MockClient) AddToTeam(ctx context.Context, username string, uuid string) error
- func (_m *MockClient) ChangeAdminPassword(ctx context.Context, oldPassword string, newPassword string) error
- func (_m *MockClient) CreateAdminUsers(ctx context.Context, users *client.AdminUsers, teamUuid string) error
- func (_m *MockClient) CreateChildProject(ctx context.Context, project *client.Project, name string, version string, ...) (*client.Project, error)
- func (_m *MockClient) CreateManagedUser(ctx context.Context, username string, password string) error
- func (_m *MockClient) CreateOidcUser(ctx context.Context, email string) error
- func (_m *MockClient) CreateProject(ctx context.Context, name string, version string, group string, tags []string) (*client.Project, error)
- func (_m *MockClient) CreateTeam(ctx context.Context, teamName string, permissions []client.Permission) (*client.Team, error)
- func (_m *MockClient) DeleteManagedUser(ctx context.Context, username string) error
- func (_m *MockClient) DeleteOidcUser(ctx context.Context, username string) error
- func (_m *MockClient) DeleteProject(ctx context.Context, uuid string) error
- func (_m *MockClient) DeleteProjects(ctx context.Context, name string) error
- func (_m *MockClient) DeleteTeam(ctx context.Context, uuid string) error
- func (_m *MockClient) DeleteUserMembership(ctx context.Context, uuid string, username string) error
- func (_m *MockClient) EXPECT() *MockClient_Expecter
- func (_m *MockClient) GenerateApiKey(ctx context.Context, uuid string) (string, error)
- func (_m *MockClient) GetOidcUsers(ctx context.Context) ([]client.User, error)
- func (_m *MockClient) GetProject(ctx context.Context, name string, version string) (*client.Project, error)
- func (_m *MockClient) GetProjects(ctx context.Context) ([]*client.Project, error)
- func (_m *MockClient) GetProjectsByTag(ctx context.Context, tag string) ([]*client.Project, error)
- func (_m *MockClient) GetTeam(ctx context.Context, team string) (*client.Team, error)
- func (_m *MockClient) GetTeams(ctx context.Context) ([]client.Team, error)
- func (_m *MockClient) Headers(ctx context.Context) (http.Header, error)
- func (_m *MockClient) PortfolioRefresh(ctx context.Context) error
- func (_m *MockClient) RemoveAdminUsers(ctx context.Context, users *client.AdminUsers) error
- func (_m *MockClient) UpdateProject(ctx context.Context, uuid string, name string, version string, group string, ...) (*client.Project, error)
- func (_m *MockClient) UpdateProjectInfo(ctx context.Context, uuid string, version string, group string, tags []string) error
- func (_m *MockClient) UploadProject(ctx context.Context, name string, version string, bom []byte) error
- func (_m *MockClient) Version(ctx context.Context) (string, error)
- type MockClient_AddToTeam_Call
- func (_c *MockClient_AddToTeam_Call) Return(_a0 error) *MockClient_AddToTeam_Call
- func (_c *MockClient_AddToTeam_Call) Run(run func(ctx context.Context, username string, uuid string)) *MockClient_AddToTeam_Call
- func (_c *MockClient_AddToTeam_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_AddToTeam_Call
- type MockClient_ChangeAdminPassword_Call
- func (_c *MockClient_ChangeAdminPassword_Call) Return(_a0 error) *MockClient_ChangeAdminPassword_Call
- func (_c *MockClient_ChangeAdminPassword_Call) Run(run func(ctx context.Context, oldPassword string, newPassword string)) *MockClient_ChangeAdminPassword_Call
- func (_c *MockClient_ChangeAdminPassword_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_ChangeAdminPassword_Call
- type MockClient_CreateAdminUsers_Call
- func (_c *MockClient_CreateAdminUsers_Call) Return(_a0 error) *MockClient_CreateAdminUsers_Call
- func (_c *MockClient_CreateAdminUsers_Call) Run(run func(ctx context.Context, users *client.AdminUsers, teamUuid string)) *MockClient_CreateAdminUsers_Call
- func (_c *MockClient_CreateAdminUsers_Call) RunAndReturn(run func(context.Context, *client.AdminUsers, string) error) *MockClient_CreateAdminUsers_Call
- type MockClient_CreateChildProject_Call
- func (_c *MockClient_CreateChildProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_CreateChildProject_Call
- func (_c *MockClient_CreateChildProject_Call) Run(...) *MockClient_CreateChildProject_Call
- func (_c *MockClient_CreateChildProject_Call) RunAndReturn(...) *MockClient_CreateChildProject_Call
- type MockClient_CreateManagedUser_Call
- func (_c *MockClient_CreateManagedUser_Call) Return(_a0 error) *MockClient_CreateManagedUser_Call
- func (_c *MockClient_CreateManagedUser_Call) Run(run func(ctx context.Context, username string, password string)) *MockClient_CreateManagedUser_Call
- func (_c *MockClient_CreateManagedUser_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_CreateManagedUser_Call
- type MockClient_CreateOidcUser_Call
- func (_c *MockClient_CreateOidcUser_Call) Return(_a0 error) *MockClient_CreateOidcUser_Call
- func (_c *MockClient_CreateOidcUser_Call) Run(run func(ctx context.Context, email string)) *MockClient_CreateOidcUser_Call
- func (_c *MockClient_CreateOidcUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_CreateOidcUser_Call
- type MockClient_CreateProject_Call
- type MockClient_CreateTeam_Call
- func (_c *MockClient_CreateTeam_Call) Return(_a0 *client.Team, _a1 error) *MockClient_CreateTeam_Call
- func (_c *MockClient_CreateTeam_Call) Run(...) *MockClient_CreateTeam_Call
- func (_c *MockClient_CreateTeam_Call) RunAndReturn(run func(context.Context, string, []client.Permission) (*client.Team, error)) *MockClient_CreateTeam_Call
- type MockClient_DeleteManagedUser_Call
- func (_c *MockClient_DeleteManagedUser_Call) Return(_a0 error) *MockClient_DeleteManagedUser_Call
- func (_c *MockClient_DeleteManagedUser_Call) Run(run func(ctx context.Context, username string)) *MockClient_DeleteManagedUser_Call
- func (_c *MockClient_DeleteManagedUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteManagedUser_Call
- type MockClient_DeleteOidcUser_Call
- func (_c *MockClient_DeleteOidcUser_Call) Return(_a0 error) *MockClient_DeleteOidcUser_Call
- func (_c *MockClient_DeleteOidcUser_Call) Run(run func(ctx context.Context, username string)) *MockClient_DeleteOidcUser_Call
- func (_c *MockClient_DeleteOidcUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteOidcUser_Call
- type MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) Return(_a0 error) *MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteProject_Call
- type MockClient_DeleteProjects_Call
- func (_c *MockClient_DeleteProjects_Call) Return(_a0 error) *MockClient_DeleteProjects_Call
- func (_c *MockClient_DeleteProjects_Call) Run(run func(ctx context.Context, name string)) *MockClient_DeleteProjects_Call
- func (_c *MockClient_DeleteProjects_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteProjects_Call
- type MockClient_DeleteTeam_Call
- func (_c *MockClient_DeleteTeam_Call) Return(_a0 error) *MockClient_DeleteTeam_Call
- func (_c *MockClient_DeleteTeam_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_DeleteTeam_Call
- func (_c *MockClient_DeleteTeam_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteTeam_Call
- type MockClient_DeleteUserMembership_Call
- func (_c *MockClient_DeleteUserMembership_Call) Return(_a0 error) *MockClient_DeleteUserMembership_Call
- func (_c *MockClient_DeleteUserMembership_Call) Run(run func(ctx context.Context, uuid string, username string)) *MockClient_DeleteUserMembership_Call
- func (_c *MockClient_DeleteUserMembership_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_DeleteUserMembership_Call
- type MockClient_Expecter
- func (_e *MockClient_Expecter) AddToTeam(ctx interface{}, username interface{}, uuid interface{}) *MockClient_AddToTeam_Call
- func (_e *MockClient_Expecter) ChangeAdminPassword(ctx interface{}, oldPassword interface{}, newPassword interface{}) *MockClient_ChangeAdminPassword_Call
- func (_e *MockClient_Expecter) CreateAdminUsers(ctx interface{}, users interface{}, teamUuid interface{}) *MockClient_CreateAdminUsers_Call
- func (_e *MockClient_Expecter) CreateChildProject(ctx interface{}, project interface{}, name interface{}, version interface{}, ...) *MockClient_CreateChildProject_Call
- func (_e *MockClient_Expecter) CreateManagedUser(ctx interface{}, username interface{}, password interface{}) *MockClient_CreateManagedUser_Call
- func (_e *MockClient_Expecter) CreateOidcUser(ctx interface{}, email interface{}) *MockClient_CreateOidcUser_Call
- func (_e *MockClient_Expecter) CreateProject(ctx interface{}, name interface{}, version interface{}, group interface{}, ...) *MockClient_CreateProject_Call
- func (_e *MockClient_Expecter) CreateTeam(ctx interface{}, teamName interface{}, permissions interface{}) *MockClient_CreateTeam_Call
- func (_e *MockClient_Expecter) DeleteManagedUser(ctx interface{}, username interface{}) *MockClient_DeleteManagedUser_Call
- func (_e *MockClient_Expecter) DeleteOidcUser(ctx interface{}, username interface{}) *MockClient_DeleteOidcUser_Call
- func (_e *MockClient_Expecter) DeleteProject(ctx interface{}, uuid interface{}) *MockClient_DeleteProject_Call
- func (_e *MockClient_Expecter) DeleteProjects(ctx interface{}, name interface{}) *MockClient_DeleteProjects_Call
- func (_e *MockClient_Expecter) DeleteTeam(ctx interface{}, uuid interface{}) *MockClient_DeleteTeam_Call
- func (_e *MockClient_Expecter) DeleteUserMembership(ctx interface{}, uuid interface{}, username interface{}) *MockClient_DeleteUserMembership_Call
- func (_e *MockClient_Expecter) GenerateApiKey(ctx interface{}, uuid interface{}) *MockClient_GenerateApiKey_Call
- func (_e *MockClient_Expecter) GetOidcUsers(ctx interface{}) *MockClient_GetOidcUsers_Call
- func (_e *MockClient_Expecter) GetProject(ctx interface{}, name interface{}, version interface{}) *MockClient_GetProject_Call
- func (_e *MockClient_Expecter) GetProjects(ctx interface{}) *MockClient_GetProjects_Call
- func (_e *MockClient_Expecter) GetProjectsByTag(ctx interface{}, tag interface{}) *MockClient_GetProjectsByTag_Call
- func (_e *MockClient_Expecter) GetTeam(ctx interface{}, team interface{}) *MockClient_GetTeam_Call
- func (_e *MockClient_Expecter) GetTeams(ctx interface{}) *MockClient_GetTeams_Call
- func (_e *MockClient_Expecter) Headers(ctx interface{}) *MockClient_Headers_Call
- func (_e *MockClient_Expecter) PortfolioRefresh(ctx interface{}) *MockClient_PortfolioRefresh_Call
- func (_e *MockClient_Expecter) RemoveAdminUsers(ctx interface{}, users interface{}) *MockClient_RemoveAdminUsers_Call
- func (_e *MockClient_Expecter) UpdateProject(ctx interface{}, uuid interface{}, name interface{}, version interface{}, ...) *MockClient_UpdateProject_Call
- func (_e *MockClient_Expecter) UpdateProjectInfo(ctx interface{}, uuid interface{}, version interface{}, group interface{}, ...) *MockClient_UpdateProjectInfo_Call
- func (_e *MockClient_Expecter) UploadProject(ctx interface{}, name interface{}, version interface{}, bom interface{}) *MockClient_UploadProject_Call
- func (_e *MockClient_Expecter) Version(ctx interface{}) *MockClient_Version_Call
- type MockClient_GenerateApiKey_Call
- func (_c *MockClient_GenerateApiKey_Call) Return(_a0 string, _a1 error) *MockClient_GenerateApiKey_Call
- func (_c *MockClient_GenerateApiKey_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_GenerateApiKey_Call
- func (_c *MockClient_GenerateApiKey_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockClient_GenerateApiKey_Call
- type MockClient_GetOidcUsers_Call
- func (_c *MockClient_GetOidcUsers_Call) Return(_a0 []client.User, _a1 error) *MockClient_GetOidcUsers_Call
- func (_c *MockClient_GetOidcUsers_Call) Run(run func(ctx context.Context)) *MockClient_GetOidcUsers_Call
- func (_c *MockClient_GetOidcUsers_Call) RunAndReturn(run func(context.Context) ([]client.User, error)) *MockClient_GetOidcUsers_Call
- type MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) Run(run func(ctx context.Context, name string, version string)) *MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) RunAndReturn(run func(context.Context, string, string) (*client.Project, error)) *MockClient_GetProject_Call
- type MockClient_GetProjectsByTag_Call
- func (_c *MockClient_GetProjectsByTag_Call) Return(_a0 []*client.Project, _a1 error) *MockClient_GetProjectsByTag_Call
- func (_c *MockClient_GetProjectsByTag_Call) Run(run func(ctx context.Context, tag string)) *MockClient_GetProjectsByTag_Call
- func (_c *MockClient_GetProjectsByTag_Call) RunAndReturn(run func(context.Context, string) ([]*client.Project, error)) *MockClient_GetProjectsByTag_Call
- type MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) Return(_a0 []*client.Project, _a1 error) *MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) Run(run func(ctx context.Context)) *MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) RunAndReturn(run func(context.Context) ([]*client.Project, error)) *MockClient_GetProjects_Call
- type MockClient_GetTeam_Call
- func (_c *MockClient_GetTeam_Call) Return(_a0 *client.Team, _a1 error) *MockClient_GetTeam_Call
- func (_c *MockClient_GetTeam_Call) Run(run func(ctx context.Context, team string)) *MockClient_GetTeam_Call
- func (_c *MockClient_GetTeam_Call) RunAndReturn(run func(context.Context, string) (*client.Team, error)) *MockClient_GetTeam_Call
- type MockClient_GetTeams_Call
- func (_c *MockClient_GetTeams_Call) Return(_a0 []client.Team, _a1 error) *MockClient_GetTeams_Call
- func (_c *MockClient_GetTeams_Call) Run(run func(ctx context.Context)) *MockClient_GetTeams_Call
- func (_c *MockClient_GetTeams_Call) RunAndReturn(run func(context.Context) ([]client.Team, error)) *MockClient_GetTeams_Call
- type MockClient_Headers_Call
- func (_c *MockClient_Headers_Call) Return(_a0 http.Header, _a1 error) *MockClient_Headers_Call
- func (_c *MockClient_Headers_Call) Run(run func(ctx context.Context)) *MockClient_Headers_Call
- func (_c *MockClient_Headers_Call) RunAndReturn(run func(context.Context) (http.Header, error)) *MockClient_Headers_Call
- type MockClient_PortfolioRefresh_Call
- func (_c *MockClient_PortfolioRefresh_Call) Return(_a0 error) *MockClient_PortfolioRefresh_Call
- func (_c *MockClient_PortfolioRefresh_Call) Run(run func(ctx context.Context)) *MockClient_PortfolioRefresh_Call
- func (_c *MockClient_PortfolioRefresh_Call) RunAndReturn(run func(context.Context) error) *MockClient_PortfolioRefresh_Call
- type MockClient_RemoveAdminUsers_Call
- func (_c *MockClient_RemoveAdminUsers_Call) Return(_a0 error) *MockClient_RemoveAdminUsers_Call
- func (_c *MockClient_RemoveAdminUsers_Call) Run(run func(ctx context.Context, users *client.AdminUsers)) *MockClient_RemoveAdminUsers_Call
- func (_c *MockClient_RemoveAdminUsers_Call) RunAndReturn(run func(context.Context, *client.AdminUsers) error) *MockClient_RemoveAdminUsers_Call
- type MockClient_UpdateProjectInfo_Call
- func (_c *MockClient_UpdateProjectInfo_Call) Return(_a0 error) *MockClient_UpdateProjectInfo_Call
- func (_c *MockClient_UpdateProjectInfo_Call) Run(...) *MockClient_UpdateProjectInfo_Call
- func (_c *MockClient_UpdateProjectInfo_Call) RunAndReturn(run func(context.Context, string, string, string, []string) error) *MockClient_UpdateProjectInfo_Call
- type MockClient_UpdateProject_Call
- type MockClient_UploadProject_Call
- func (_c *MockClient_UploadProject_Call) Return(_a0 error) *MockClient_UploadProject_Call
- func (_c *MockClient_UploadProject_Call) Run(run func(ctx context.Context, name string, version string, bom []byte)) *MockClient_UploadProject_Call
- func (_c *MockClient_UploadProject_Call) RunAndReturn(run func(context.Context, string, string, []byte) error) *MockClient_UploadProject_Call
- type MockClient_Version_Call
- func (_c *MockClient_Version_Call) Return(_a0 string, _a1 error) *MockClient_Version_Call
- func (_c *MockClient_Version_Call) Run(run func(ctx context.Context)) *MockClient_Version_Call
- func (_c *MockClient_Version_Call) RunAndReturn(run func(context.Context) (string, error)) *MockClient_Version_Call
Constants ¶
const (
Name = sqlc.ReconcilerNameNaisDependencytrack
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(database db.Database, auditLogger auditlogger.AuditLogger, dp DpTrack, log logger.Logger) (reconcilers.Reconciler, error)
func NewFromConfig ¶
Types ¶
type DpTrack ¶
type DpTrack struct { Endpoint string Client dependencytrack.Client }
func NewDpTrackWithClient ¶
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }, ) *MockClient
NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockClient) AddToTeam ¶
AddToTeam provides a mock function with given fields: ctx, username, uuid
func (*MockClient) ChangeAdminPassword ¶
func (_m *MockClient) ChangeAdminPassword(ctx context.Context, oldPassword string, newPassword string) error
ChangeAdminPassword provides a mock function with given fields: ctx, oldPassword, newPassword
func (*MockClient) CreateAdminUsers ¶
func (_m *MockClient) CreateAdminUsers(ctx context.Context, users *client.AdminUsers, teamUuid string) error
CreateAdminUsers provides a mock function with given fields: ctx, users, teamUuid
func (*MockClient) CreateChildProject ¶
func (_m *MockClient) CreateChildProject(ctx context.Context, project *client.Project, name string, version string, group string, tags []string) (*client.Project, error)
CreateChildProject provides a mock function with given fields: ctx, project, name, version, group, tags
func (*MockClient) CreateManagedUser ¶
func (_m *MockClient) CreateManagedUser(ctx context.Context, username string, password string) error
CreateManagedUser provides a mock function with given fields: ctx, username, password
func (*MockClient) CreateOidcUser ¶
func (_m *MockClient) CreateOidcUser(ctx context.Context, email string) error
CreateOidcUser provides a mock function with given fields: ctx, email
func (*MockClient) CreateProject ¶
func (_m *MockClient) CreateProject(ctx context.Context, name string, version string, group string, tags []string) (*client.Project, error)
CreateProject provides a mock function with given fields: ctx, name, version, group, tags
func (*MockClient) CreateTeam ¶
func (_m *MockClient) CreateTeam(ctx context.Context, teamName string, permissions []client.Permission) (*client.Team, error)
CreateTeam provides a mock function with given fields: ctx, teamName, permissions
func (*MockClient) DeleteManagedUser ¶
func (_m *MockClient) DeleteManagedUser(ctx context.Context, username string) error
DeleteManagedUser provides a mock function with given fields: ctx, username
func (*MockClient) DeleteOidcUser ¶
func (_m *MockClient) DeleteOidcUser(ctx context.Context, username string) error
DeleteOidcUser provides a mock function with given fields: ctx, username
func (*MockClient) DeleteProject ¶
func (_m *MockClient) DeleteProject(ctx context.Context, uuid string) error
DeleteProject provides a mock function with given fields: ctx, uuid
func (*MockClient) DeleteProjects ¶
func (_m *MockClient) DeleteProjects(ctx context.Context, name string) error
DeleteProjects provides a mock function with given fields: ctx, name
func (*MockClient) DeleteTeam ¶
func (_m *MockClient) DeleteTeam(ctx context.Context, uuid string) error
DeleteTeam provides a mock function with given fields: ctx, uuid
func (*MockClient) DeleteUserMembership ¶
DeleteUserMembership provides a mock function with given fields: ctx, uuid, username
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *MockClient_Expecter
func (*MockClient) GenerateApiKey ¶
GenerateApiKey provides a mock function with given fields: ctx, uuid
func (*MockClient) GetOidcUsers ¶
GetOidcUsers provides a mock function with given fields: ctx
func (*MockClient) GetProject ¶
func (_m *MockClient) GetProject(ctx context.Context, name string, version string) (*client.Project, error)
GetProject provides a mock function with given fields: ctx, name, version
func (*MockClient) GetProjects ¶
GetProjects provides a mock function with given fields: ctx
func (*MockClient) GetProjectsByTag ¶
GetProjectsByTag provides a mock function with given fields: ctx, tag
func (*MockClient) PortfolioRefresh ¶
func (_m *MockClient) PortfolioRefresh(ctx context.Context) error
PortfolioRefresh provides a mock function with given fields: ctx
func (*MockClient) RemoveAdminUsers ¶
func (_m *MockClient) RemoveAdminUsers(ctx context.Context, users *client.AdminUsers) error
RemoveAdminUsers provides a mock function with given fields: ctx, users
func (*MockClient) UpdateProject ¶
func (_m *MockClient) UpdateProject(ctx context.Context, uuid string, name string, version string, group string, tags []string) (*client.Project, error)
UpdateProject provides a mock function with given fields: ctx, uuid, name, version, group, tags
func (*MockClient) UpdateProjectInfo ¶
func (_m *MockClient) UpdateProjectInfo(ctx context.Context, uuid string, version string, group string, tags []string) error
UpdateProjectInfo provides a mock function with given fields: ctx, uuid, version, group, tags
func (*MockClient) UploadProject ¶
func (_m *MockClient) UploadProject(ctx context.Context, name string, version string, bom []byte) error
UploadProject provides a mock function with given fields: ctx, name, version, bom
type MockClient_AddToTeam_Call ¶
MockClient_AddToTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddToTeam'
func (*MockClient_AddToTeam_Call) Return ¶
func (_c *MockClient_AddToTeam_Call) Return(_a0 error) *MockClient_AddToTeam_Call
func (*MockClient_AddToTeam_Call) Run ¶
func (_c *MockClient_AddToTeam_Call) Run(run func(ctx context.Context, username string, uuid string)) *MockClient_AddToTeam_Call
func (*MockClient_AddToTeam_Call) RunAndReturn ¶
func (_c *MockClient_AddToTeam_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_AddToTeam_Call
type MockClient_ChangeAdminPassword_Call ¶
MockClient_ChangeAdminPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeAdminPassword'
func (*MockClient_ChangeAdminPassword_Call) Return ¶
func (_c *MockClient_ChangeAdminPassword_Call) Return(_a0 error) *MockClient_ChangeAdminPassword_Call
func (*MockClient_ChangeAdminPassword_Call) Run ¶
func (_c *MockClient_ChangeAdminPassword_Call) Run(run func(ctx context.Context, oldPassword string, newPassword string)) *MockClient_ChangeAdminPassword_Call
func (*MockClient_ChangeAdminPassword_Call) RunAndReturn ¶
func (_c *MockClient_ChangeAdminPassword_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_ChangeAdminPassword_Call
type MockClient_CreateAdminUsers_Call ¶
MockClient_CreateAdminUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAdminUsers'
func (*MockClient_CreateAdminUsers_Call) Return ¶
func (_c *MockClient_CreateAdminUsers_Call) Return(_a0 error) *MockClient_CreateAdminUsers_Call
func (*MockClient_CreateAdminUsers_Call) Run ¶
func (_c *MockClient_CreateAdminUsers_Call) Run(run func(ctx context.Context, users *client.AdminUsers, teamUuid string)) *MockClient_CreateAdminUsers_Call
func (*MockClient_CreateAdminUsers_Call) RunAndReturn ¶
func (_c *MockClient_CreateAdminUsers_Call) RunAndReturn(run func(context.Context, *client.AdminUsers, string) error) *MockClient_CreateAdminUsers_Call
type MockClient_CreateChildProject_Call ¶
MockClient_CreateChildProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateChildProject'
func (*MockClient_CreateChildProject_Call) Return ¶
func (_c *MockClient_CreateChildProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_CreateChildProject_Call
func (*MockClient_CreateChildProject_Call) Run ¶
func (_c *MockClient_CreateChildProject_Call) Run(run func(ctx context.Context, project *client.Project, name string, version string, group string, tags []string)) *MockClient_CreateChildProject_Call
func (*MockClient_CreateChildProject_Call) RunAndReturn ¶
type MockClient_CreateManagedUser_Call ¶
MockClient_CreateManagedUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateManagedUser'
func (*MockClient_CreateManagedUser_Call) Return ¶
func (_c *MockClient_CreateManagedUser_Call) Return(_a0 error) *MockClient_CreateManagedUser_Call
func (*MockClient_CreateManagedUser_Call) Run ¶
func (_c *MockClient_CreateManagedUser_Call) Run(run func(ctx context.Context, username string, password string)) *MockClient_CreateManagedUser_Call
func (*MockClient_CreateManagedUser_Call) RunAndReturn ¶
func (_c *MockClient_CreateManagedUser_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_CreateManagedUser_Call
type MockClient_CreateOidcUser_Call ¶
MockClient_CreateOidcUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOidcUser'
func (*MockClient_CreateOidcUser_Call) Return ¶
func (_c *MockClient_CreateOidcUser_Call) Return(_a0 error) *MockClient_CreateOidcUser_Call
func (*MockClient_CreateOidcUser_Call) Run ¶
func (_c *MockClient_CreateOidcUser_Call) Run(run func(ctx context.Context, email string)) *MockClient_CreateOidcUser_Call
func (*MockClient_CreateOidcUser_Call) RunAndReturn ¶
func (_c *MockClient_CreateOidcUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_CreateOidcUser_Call
type MockClient_CreateProject_Call ¶
MockClient_CreateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateProject'
func (*MockClient_CreateProject_Call) Return ¶
func (_c *MockClient_CreateProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_CreateProject_Call
func (*MockClient_CreateProject_Call) Run ¶
func (_c *MockClient_CreateProject_Call) Run(run func(ctx context.Context, name string, version string, group string, tags []string)) *MockClient_CreateProject_Call
func (*MockClient_CreateProject_Call) RunAndReturn ¶
type MockClient_CreateTeam_Call ¶
MockClient_CreateTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeam'
func (*MockClient_CreateTeam_Call) Return ¶
func (_c *MockClient_CreateTeam_Call) Return(_a0 *client.Team, _a1 error) *MockClient_CreateTeam_Call
func (*MockClient_CreateTeam_Call) Run ¶
func (_c *MockClient_CreateTeam_Call) Run(run func(ctx context.Context, teamName string, permissions []client.Permission)) *MockClient_CreateTeam_Call
func (*MockClient_CreateTeam_Call) RunAndReturn ¶
func (_c *MockClient_CreateTeam_Call) RunAndReturn(run func(context.Context, string, []client.Permission) (*client.Team, error)) *MockClient_CreateTeam_Call
type MockClient_DeleteManagedUser_Call ¶
MockClient_DeleteManagedUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteManagedUser'
func (*MockClient_DeleteManagedUser_Call) Return ¶
func (_c *MockClient_DeleteManagedUser_Call) Return(_a0 error) *MockClient_DeleteManagedUser_Call
func (*MockClient_DeleteManagedUser_Call) Run ¶
func (_c *MockClient_DeleteManagedUser_Call) Run(run func(ctx context.Context, username string)) *MockClient_DeleteManagedUser_Call
func (*MockClient_DeleteManagedUser_Call) RunAndReturn ¶
func (_c *MockClient_DeleteManagedUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteManagedUser_Call
type MockClient_DeleteOidcUser_Call ¶
MockClient_DeleteOidcUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOidcUser'
func (*MockClient_DeleteOidcUser_Call) Return ¶
func (_c *MockClient_DeleteOidcUser_Call) Return(_a0 error) *MockClient_DeleteOidcUser_Call
func (*MockClient_DeleteOidcUser_Call) Run ¶
func (_c *MockClient_DeleteOidcUser_Call) Run(run func(ctx context.Context, username string)) *MockClient_DeleteOidcUser_Call
func (*MockClient_DeleteOidcUser_Call) RunAndReturn ¶
func (_c *MockClient_DeleteOidcUser_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteOidcUser_Call
type MockClient_DeleteProject_Call ¶
MockClient_DeleteProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteProject'
func (*MockClient_DeleteProject_Call) Return ¶
func (_c *MockClient_DeleteProject_Call) Return(_a0 error) *MockClient_DeleteProject_Call
func (*MockClient_DeleteProject_Call) Run ¶
func (_c *MockClient_DeleteProject_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_DeleteProject_Call
func (*MockClient_DeleteProject_Call) RunAndReturn ¶
func (_c *MockClient_DeleteProject_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteProject_Call
type MockClient_DeleteProjects_Call ¶
MockClient_DeleteProjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteProjects'
func (*MockClient_DeleteProjects_Call) Return ¶
func (_c *MockClient_DeleteProjects_Call) Return(_a0 error) *MockClient_DeleteProjects_Call
func (*MockClient_DeleteProjects_Call) Run ¶
func (_c *MockClient_DeleteProjects_Call) Run(run func(ctx context.Context, name string)) *MockClient_DeleteProjects_Call
func (*MockClient_DeleteProjects_Call) RunAndReturn ¶
func (_c *MockClient_DeleteProjects_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteProjects_Call
type MockClient_DeleteTeam_Call ¶
MockClient_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'
func (*MockClient_DeleteTeam_Call) Return ¶
func (_c *MockClient_DeleteTeam_Call) Return(_a0 error) *MockClient_DeleteTeam_Call
func (*MockClient_DeleteTeam_Call) Run ¶
func (_c *MockClient_DeleteTeam_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_DeleteTeam_Call
func (*MockClient_DeleteTeam_Call) RunAndReturn ¶
func (_c *MockClient_DeleteTeam_Call) RunAndReturn(run func(context.Context, string) error) *MockClient_DeleteTeam_Call
type MockClient_DeleteUserMembership_Call ¶
MockClient_DeleteUserMembership_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUserMembership'
func (*MockClient_DeleteUserMembership_Call) Return ¶
func (_c *MockClient_DeleteUserMembership_Call) Return(_a0 error) *MockClient_DeleteUserMembership_Call
func (*MockClient_DeleteUserMembership_Call) Run ¶
func (_c *MockClient_DeleteUserMembership_Call) Run(run func(ctx context.Context, uuid string, username string)) *MockClient_DeleteUserMembership_Call
func (*MockClient_DeleteUserMembership_Call) RunAndReturn ¶
func (_c *MockClient_DeleteUserMembership_Call) RunAndReturn(run func(context.Context, string, string) error) *MockClient_DeleteUserMembership_Call
type MockClient_Expecter ¶
type MockClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClient_Expecter) AddToTeam ¶
func (_e *MockClient_Expecter) AddToTeam(ctx interface{}, username interface{}, uuid interface{}) *MockClient_AddToTeam_Call
AddToTeam is a helper method to define mock.On call
- ctx context.Context
- username string
- uuid string
func (*MockClient_Expecter) ChangeAdminPassword ¶
func (_e *MockClient_Expecter) ChangeAdminPassword(ctx interface{}, oldPassword interface{}, newPassword interface{}) *MockClient_ChangeAdminPassword_Call
ChangeAdminPassword is a helper method to define mock.On call
- ctx context.Context
- oldPassword string
- newPassword string
func (*MockClient_Expecter) CreateAdminUsers ¶
func (_e *MockClient_Expecter) CreateAdminUsers(ctx interface{}, users interface{}, teamUuid interface{}) *MockClient_CreateAdminUsers_Call
CreateAdminUsers is a helper method to define mock.On call
- ctx context.Context
- users *client.AdminUsers
- teamUuid string
func (*MockClient_Expecter) CreateChildProject ¶
func (_e *MockClient_Expecter) CreateChildProject(ctx interface{}, project interface{}, name interface{}, version interface{}, group interface{}, tags interface{}) *MockClient_CreateChildProject_Call
CreateChildProject is a helper method to define mock.On call
- ctx context.Context
- project *client.Project
- name string
- version string
- group string
- tags []string
func (*MockClient_Expecter) CreateManagedUser ¶
func (_e *MockClient_Expecter) CreateManagedUser(ctx interface{}, username interface{}, password interface{}) *MockClient_CreateManagedUser_Call
CreateManagedUser is a helper method to define mock.On call
- ctx context.Context
- username string
- password string
func (*MockClient_Expecter) CreateOidcUser ¶
func (_e *MockClient_Expecter) CreateOidcUser(ctx interface{}, email interface{}) *MockClient_CreateOidcUser_Call
CreateOidcUser is a helper method to define mock.On call
- ctx context.Context
- email string
func (*MockClient_Expecter) CreateProject ¶
func (_e *MockClient_Expecter) CreateProject(ctx interface{}, name interface{}, version interface{}, group interface{}, tags interface{}) *MockClient_CreateProject_Call
CreateProject is a helper method to define mock.On call
- ctx context.Context
- name string
- version string
- group string
- tags []string
func (*MockClient_Expecter) CreateTeam ¶
func (_e *MockClient_Expecter) CreateTeam(ctx interface{}, teamName interface{}, permissions interface{}) *MockClient_CreateTeam_Call
CreateTeam is a helper method to define mock.On call
- ctx context.Context
- teamName string
- permissions []client.Permission
func (*MockClient_Expecter) DeleteManagedUser ¶
func (_e *MockClient_Expecter) DeleteManagedUser(ctx interface{}, username interface{}) *MockClient_DeleteManagedUser_Call
DeleteManagedUser is a helper method to define mock.On call
- ctx context.Context
- username string
func (*MockClient_Expecter) DeleteOidcUser ¶
func (_e *MockClient_Expecter) DeleteOidcUser(ctx interface{}, username interface{}) *MockClient_DeleteOidcUser_Call
DeleteOidcUser is a helper method to define mock.On call
- ctx context.Context
- username string
func (*MockClient_Expecter) DeleteProject ¶
func (_e *MockClient_Expecter) DeleteProject(ctx interface{}, uuid interface{}) *MockClient_DeleteProject_Call
DeleteProject is a helper method to define mock.On call
- ctx context.Context
- uuid string
func (*MockClient_Expecter) DeleteProjects ¶
func (_e *MockClient_Expecter) DeleteProjects(ctx interface{}, name interface{}) *MockClient_DeleteProjects_Call
DeleteProjects is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockClient_Expecter) DeleteTeam ¶
func (_e *MockClient_Expecter) DeleteTeam(ctx interface{}, uuid interface{}) *MockClient_DeleteTeam_Call
DeleteTeam is a helper method to define mock.On call
- ctx context.Context
- uuid string
func (*MockClient_Expecter) DeleteUserMembership ¶
func (_e *MockClient_Expecter) DeleteUserMembership(ctx interface{}, uuid interface{}, username interface{}) *MockClient_DeleteUserMembership_Call
DeleteUserMembership is a helper method to define mock.On call
- ctx context.Context
- uuid string
- username string
func (*MockClient_Expecter) GenerateApiKey ¶
func (_e *MockClient_Expecter) GenerateApiKey(ctx interface{}, uuid interface{}) *MockClient_GenerateApiKey_Call
GenerateApiKey is a helper method to define mock.On call
- ctx context.Context
- uuid string
func (*MockClient_Expecter) GetOidcUsers ¶
func (_e *MockClient_Expecter) GetOidcUsers(ctx interface{}) *MockClient_GetOidcUsers_Call
GetOidcUsers is a helper method to define mock.On call
- ctx context.Context
func (*MockClient_Expecter) GetProject ¶
func (_e *MockClient_Expecter) GetProject(ctx interface{}, name interface{}, version interface{}) *MockClient_GetProject_Call
GetProject is a helper method to define mock.On call
- ctx context.Context
- name string
- version string
func (*MockClient_Expecter) GetProjects ¶
func (_e *MockClient_Expecter) GetProjects(ctx interface{}) *MockClient_GetProjects_Call
GetProjects is a helper method to define mock.On call
- ctx context.Context
func (*MockClient_Expecter) GetProjectsByTag ¶
func (_e *MockClient_Expecter) GetProjectsByTag(ctx interface{}, tag interface{}) *MockClient_GetProjectsByTag_Call
GetProjectsByTag is a helper method to define mock.On call
- ctx context.Context
- tag string
func (*MockClient_Expecter) GetTeam ¶
func (_e *MockClient_Expecter) GetTeam(ctx interface{}, team interface{}) *MockClient_GetTeam_Call
GetTeam is a helper method to define mock.On call
- ctx context.Context
- team string
func (*MockClient_Expecter) GetTeams ¶
func (_e *MockClient_Expecter) GetTeams(ctx interface{}) *MockClient_GetTeams_Call
GetTeams is a helper method to define mock.On call
- ctx context.Context
func (*MockClient_Expecter) Headers ¶
func (_e *MockClient_Expecter) Headers(ctx interface{}) *MockClient_Headers_Call
Headers is a helper method to define mock.On call
- ctx context.Context
func (*MockClient_Expecter) PortfolioRefresh ¶
func (_e *MockClient_Expecter) PortfolioRefresh(ctx interface{}) *MockClient_PortfolioRefresh_Call
PortfolioRefresh is a helper method to define mock.On call
- ctx context.Context
func (*MockClient_Expecter) RemoveAdminUsers ¶
func (_e *MockClient_Expecter) RemoveAdminUsers(ctx interface{}, users interface{}) *MockClient_RemoveAdminUsers_Call
RemoveAdminUsers is a helper method to define mock.On call
- ctx context.Context
- users *client.AdminUsers
func (*MockClient_Expecter) UpdateProject ¶
func (_e *MockClient_Expecter) UpdateProject(ctx interface{}, uuid interface{}, name interface{}, version interface{}, group interface{}, tags interface{}) *MockClient_UpdateProject_Call
UpdateProject is a helper method to define mock.On call
- ctx context.Context
- uuid string
- name string
- version string
- group string
- tags []string
func (*MockClient_Expecter) UpdateProjectInfo ¶
func (_e *MockClient_Expecter) UpdateProjectInfo(ctx interface{}, uuid interface{}, version interface{}, group interface{}, tags interface{}) *MockClient_UpdateProjectInfo_Call
UpdateProjectInfo is a helper method to define mock.On call
- ctx context.Context
- uuid string
- version string
- group string
- tags []string
func (*MockClient_Expecter) UploadProject ¶
func (_e *MockClient_Expecter) UploadProject(ctx interface{}, name interface{}, version interface{}, bom interface{}) *MockClient_UploadProject_Call
UploadProject is a helper method to define mock.On call
- ctx context.Context
- name string
- version string
- bom []byte
func (*MockClient_Expecter) Version ¶
func (_e *MockClient_Expecter) Version(ctx interface{}) *MockClient_Version_Call
Version is a helper method to define mock.On call
- ctx context.Context
type MockClient_GenerateApiKey_Call ¶
MockClient_GenerateApiKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateApiKey'
func (*MockClient_GenerateApiKey_Call) Return ¶
func (_c *MockClient_GenerateApiKey_Call) Return(_a0 string, _a1 error) *MockClient_GenerateApiKey_Call
func (*MockClient_GenerateApiKey_Call) Run ¶
func (_c *MockClient_GenerateApiKey_Call) Run(run func(ctx context.Context, uuid string)) *MockClient_GenerateApiKey_Call
func (*MockClient_GenerateApiKey_Call) RunAndReturn ¶
func (_c *MockClient_GenerateApiKey_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockClient_GenerateApiKey_Call
type MockClient_GetOidcUsers_Call ¶
MockClient_GetOidcUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOidcUsers'
func (*MockClient_GetOidcUsers_Call) Return ¶
func (_c *MockClient_GetOidcUsers_Call) Return(_a0 []client.User, _a1 error) *MockClient_GetOidcUsers_Call
func (*MockClient_GetOidcUsers_Call) Run ¶
func (_c *MockClient_GetOidcUsers_Call) Run(run func(ctx context.Context)) *MockClient_GetOidcUsers_Call
func (*MockClient_GetOidcUsers_Call) RunAndReturn ¶
func (_c *MockClient_GetOidcUsers_Call) RunAndReturn(run func(context.Context) ([]client.User, error)) *MockClient_GetOidcUsers_Call
type MockClient_GetProject_Call ¶
MockClient_GetProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProject'
func (*MockClient_GetProject_Call) Return ¶
func (_c *MockClient_GetProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_GetProject_Call
func (*MockClient_GetProject_Call) Run ¶
func (_c *MockClient_GetProject_Call) Run(run func(ctx context.Context, name string, version string)) *MockClient_GetProject_Call
func (*MockClient_GetProject_Call) RunAndReturn ¶
func (_c *MockClient_GetProject_Call) RunAndReturn(run func(context.Context, string, string) (*client.Project, error)) *MockClient_GetProject_Call
type MockClient_GetProjectsByTag_Call ¶
MockClient_GetProjectsByTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectsByTag'
func (*MockClient_GetProjectsByTag_Call) Return ¶
func (_c *MockClient_GetProjectsByTag_Call) Return(_a0 []*client.Project, _a1 error) *MockClient_GetProjectsByTag_Call
func (*MockClient_GetProjectsByTag_Call) Run ¶
func (_c *MockClient_GetProjectsByTag_Call) Run(run func(ctx context.Context, tag string)) *MockClient_GetProjectsByTag_Call
func (*MockClient_GetProjectsByTag_Call) RunAndReturn ¶
func (_c *MockClient_GetProjectsByTag_Call) RunAndReturn(run func(context.Context, string) ([]*client.Project, error)) *MockClient_GetProjectsByTag_Call
type MockClient_GetProjects_Call ¶
MockClient_GetProjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjects'
func (*MockClient_GetProjects_Call) Return ¶
func (_c *MockClient_GetProjects_Call) Return(_a0 []*client.Project, _a1 error) *MockClient_GetProjects_Call
func (*MockClient_GetProjects_Call) Run ¶
func (_c *MockClient_GetProjects_Call) Run(run func(ctx context.Context)) *MockClient_GetProjects_Call
func (*MockClient_GetProjects_Call) RunAndReturn ¶
func (_c *MockClient_GetProjects_Call) RunAndReturn(run func(context.Context) ([]*client.Project, error)) *MockClient_GetProjects_Call
type MockClient_GetTeam_Call ¶
MockClient_GetTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeam'
func (*MockClient_GetTeam_Call) Return ¶
func (_c *MockClient_GetTeam_Call) Return(_a0 *client.Team, _a1 error) *MockClient_GetTeam_Call
func (*MockClient_GetTeam_Call) Run ¶
func (_c *MockClient_GetTeam_Call) Run(run func(ctx context.Context, team string)) *MockClient_GetTeam_Call
func (*MockClient_GetTeam_Call) RunAndReturn ¶
func (_c *MockClient_GetTeam_Call) RunAndReturn(run func(context.Context, string) (*client.Team, error)) *MockClient_GetTeam_Call
type MockClient_GetTeams_Call ¶
MockClient_GetTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeams'
func (*MockClient_GetTeams_Call) Return ¶
func (_c *MockClient_GetTeams_Call) Return(_a0 []client.Team, _a1 error) *MockClient_GetTeams_Call
func (*MockClient_GetTeams_Call) Run ¶
func (_c *MockClient_GetTeams_Call) Run(run func(ctx context.Context)) *MockClient_GetTeams_Call
func (*MockClient_GetTeams_Call) RunAndReturn ¶
func (_c *MockClient_GetTeams_Call) RunAndReturn(run func(context.Context) ([]client.Team, error)) *MockClient_GetTeams_Call
type MockClient_Headers_Call ¶
MockClient_Headers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Headers'
func (*MockClient_Headers_Call) Return ¶
func (_c *MockClient_Headers_Call) Return(_a0 http.Header, _a1 error) *MockClient_Headers_Call
func (*MockClient_Headers_Call) Run ¶
func (_c *MockClient_Headers_Call) Run(run func(ctx context.Context)) *MockClient_Headers_Call
func (*MockClient_Headers_Call) RunAndReturn ¶
func (_c *MockClient_Headers_Call) RunAndReturn(run func(context.Context) (http.Header, error)) *MockClient_Headers_Call
type MockClient_PortfolioRefresh_Call ¶
MockClient_PortfolioRefresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PortfolioRefresh'
func (*MockClient_PortfolioRefresh_Call) Return ¶
func (_c *MockClient_PortfolioRefresh_Call) Return(_a0 error) *MockClient_PortfolioRefresh_Call
func (*MockClient_PortfolioRefresh_Call) Run ¶
func (_c *MockClient_PortfolioRefresh_Call) Run(run func(ctx context.Context)) *MockClient_PortfolioRefresh_Call
func (*MockClient_PortfolioRefresh_Call) RunAndReturn ¶
func (_c *MockClient_PortfolioRefresh_Call) RunAndReturn(run func(context.Context) error) *MockClient_PortfolioRefresh_Call
type MockClient_RemoveAdminUsers_Call ¶
MockClient_RemoveAdminUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveAdminUsers'
func (*MockClient_RemoveAdminUsers_Call) Return ¶
func (_c *MockClient_RemoveAdminUsers_Call) Return(_a0 error) *MockClient_RemoveAdminUsers_Call
func (*MockClient_RemoveAdminUsers_Call) Run ¶
func (_c *MockClient_RemoveAdminUsers_Call) Run(run func(ctx context.Context, users *client.AdminUsers)) *MockClient_RemoveAdminUsers_Call
func (*MockClient_RemoveAdminUsers_Call) RunAndReturn ¶
func (_c *MockClient_RemoveAdminUsers_Call) RunAndReturn(run func(context.Context, *client.AdminUsers) error) *MockClient_RemoveAdminUsers_Call
type MockClient_UpdateProjectInfo_Call ¶
MockClient_UpdateProjectInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectInfo'
func (*MockClient_UpdateProjectInfo_Call) Return ¶
func (_c *MockClient_UpdateProjectInfo_Call) Return(_a0 error) *MockClient_UpdateProjectInfo_Call
func (*MockClient_UpdateProjectInfo_Call) Run ¶
func (_c *MockClient_UpdateProjectInfo_Call) Run(run func(ctx context.Context, uuid string, version string, group string, tags []string)) *MockClient_UpdateProjectInfo_Call
func (*MockClient_UpdateProjectInfo_Call) RunAndReturn ¶
func (_c *MockClient_UpdateProjectInfo_Call) RunAndReturn(run func(context.Context, string, string, string, []string) error) *MockClient_UpdateProjectInfo_Call
type MockClient_UpdateProject_Call ¶
MockClient_UpdateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProject'
func (*MockClient_UpdateProject_Call) Return ¶
func (_c *MockClient_UpdateProject_Call) Return(_a0 *client.Project, _a1 error) *MockClient_UpdateProject_Call
func (*MockClient_UpdateProject_Call) Run ¶
func (_c *MockClient_UpdateProject_Call) Run(run func(ctx context.Context, uuid string, name string, version string, group string, tags []string)) *MockClient_UpdateProject_Call
func (*MockClient_UpdateProject_Call) RunAndReturn ¶
type MockClient_UploadProject_Call ¶
MockClient_UploadProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadProject'
func (*MockClient_UploadProject_Call) Return ¶
func (_c *MockClient_UploadProject_Call) Return(_a0 error) *MockClient_UploadProject_Call
func (*MockClient_UploadProject_Call) Run ¶
func (_c *MockClient_UploadProject_Call) Run(run func(ctx context.Context, name string, version string, bom []byte)) *MockClient_UploadProject_Call
func (*MockClient_UploadProject_Call) RunAndReturn ¶
func (_c *MockClient_UploadProject_Call) RunAndReturn(run func(context.Context, string, string, []byte) error) *MockClient_UploadProject_Call
type MockClient_Version_Call ¶
MockClient_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockClient_Version_Call) Return ¶
func (_c *MockClient_Version_Call) Return(_a0 string, _a1 error) *MockClient_Version_Call
func (*MockClient_Version_Call) Run ¶
func (_c *MockClient_Version_Call) Run(run func(ctx context.Context)) *MockClient_Version_Call
func (*MockClient_Version_Call) RunAndReturn ¶
func (_c *MockClient_Version_Call) RunAndReturn(run func(context.Context) (string, error)) *MockClient_Version_Call