dependencytrack_reconciler

package
v0.0.0-...-96f7096 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

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

func NewFromConfig(ctx context.Context, database db.Database, cfg *config.Config, log logger.Logger) (reconcilers.Reconciler, error)

Types

type Client

type Client interface {
	client.Client
}

type DpTrack

type DpTrack struct {
	Endpoint string
	Client   dependencytrack.Client
}

func NewDpTrackWithClient

func NewDpTrackWithClient(endpoint string, client dependencytrack.Client, log logger.Logger) DpTrack

type MockClient

type MockClient struct {
	mock.Mock
}

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

func (_m *MockClient) AddToTeam(ctx context.Context, username string, uuid string) error

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

func (_m *MockClient) DeleteUserMembership(ctx context.Context, uuid string, username string) error

DeleteUserMembership provides a mock function with given fields: ctx, uuid, username

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *MockClient_Expecter

func (*MockClient) GenerateApiKey

func (_m *MockClient) GenerateApiKey(ctx context.Context, uuid string) (string, error)

GenerateApiKey provides a mock function with given fields: ctx, uuid

func (*MockClient) GetOidcUsers

func (_m *MockClient) GetOidcUsers(ctx context.Context) ([]client.User, error)

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

func (_m *MockClient) GetProjects(ctx context.Context) ([]*client.Project, error)

GetProjects provides a mock function with given fields: ctx

func (*MockClient) GetProjectsByTag

func (_m *MockClient) GetProjectsByTag(ctx context.Context, tag string) ([]*client.Project, error)

GetProjectsByTag provides a mock function with given fields: ctx, tag

func (*MockClient) GetTeam

func (_m *MockClient) GetTeam(ctx context.Context, team string) (*client.Team, error)

GetTeam provides a mock function with given fields: ctx, team

func (*MockClient) GetTeams

func (_m *MockClient) GetTeams(ctx context.Context) ([]client.Team, error)

GetTeams provides a mock function with given fields: ctx

func (*MockClient) Headers

func (_m *MockClient) Headers(ctx context.Context) (http.Header, error)

Headers provides a mock function with given fields: ctx

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

func (*MockClient) Version

func (_m *MockClient) Version(ctx context.Context) (string, error)

Version provides a mock function with given fields: ctx

type MockClient_AddToTeam_Call

type MockClient_AddToTeam_Call struct {
	*mock.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 (*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

type MockClient_ChangeAdminPassword_Call

type MockClient_ChangeAdminPassword_Call struct {
	*mock.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 (*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

type MockClient_CreateAdminUsers_Call

type MockClient_CreateAdminUsers_Call struct {
	*mock.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 (*MockClient_CreateAdminUsers_Call) Run

func (*MockClient_CreateAdminUsers_Call) RunAndReturn

type MockClient_CreateChildProject_Call

type MockClient_CreateChildProject_Call struct {
	*mock.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 (*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

type MockClient_CreateManagedUser_Call struct {
	*mock.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 (*MockClient_CreateManagedUser_Call) Run

func (*MockClient_CreateManagedUser_Call) RunAndReturn

type MockClient_CreateOidcUser_Call

type MockClient_CreateOidcUser_Call struct {
	*mock.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 (*MockClient_CreateOidcUser_Call) Run

func (*MockClient_CreateOidcUser_Call) RunAndReturn

type MockClient_CreateProject_Call

type MockClient_CreateProject_Call struct {
	*mock.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 (*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

type MockClient_CreateTeam_Call struct {
	*mock.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 (*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

type MockClient_DeleteManagedUser_Call

type MockClient_DeleteManagedUser_Call struct {
	*mock.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 (*MockClient_DeleteManagedUser_Call) Run

func (*MockClient_DeleteManagedUser_Call) RunAndReturn

type MockClient_DeleteOidcUser_Call

type MockClient_DeleteOidcUser_Call struct {
	*mock.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 (*MockClient_DeleteOidcUser_Call) Run

func (*MockClient_DeleteOidcUser_Call) RunAndReturn

type MockClient_DeleteProject_Call

type MockClient_DeleteProject_Call struct {
	*mock.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 (*MockClient_DeleteProject_Call) Run

func (*MockClient_DeleteProject_Call) RunAndReturn

type MockClient_DeleteProjects_Call

type MockClient_DeleteProjects_Call struct {
	*mock.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 (*MockClient_DeleteProjects_Call) Run

func (*MockClient_DeleteProjects_Call) RunAndReturn

type MockClient_DeleteTeam_Call

type MockClient_DeleteTeam_Call struct {
	*mock.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 (*MockClient_DeleteTeam_Call) Run

func (*MockClient_DeleteTeam_Call) RunAndReturn

type MockClient_DeleteUserMembership_Call

type MockClient_DeleteUserMembership_Call struct {
	*mock.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 (*MockClient_DeleteUserMembership_Call) Run

func (*MockClient_DeleteUserMembership_Call) RunAndReturn

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

type MockClient_GenerateApiKey_Call struct {
	*mock.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 (*MockClient_GenerateApiKey_Call) Run

func (*MockClient_GenerateApiKey_Call) RunAndReturn

type MockClient_GetOidcUsers_Call

type MockClient_GetOidcUsers_Call struct {
	*mock.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 (*MockClient_GetOidcUsers_Call) Run

func (*MockClient_GetOidcUsers_Call) RunAndReturn

type MockClient_GetProject_Call

type MockClient_GetProject_Call struct {
	*mock.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 (*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

type MockClient_GetProjectsByTag_Call

type MockClient_GetProjectsByTag_Call struct {
	*mock.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 (*MockClient_GetProjectsByTag_Call) Run

func (*MockClient_GetProjectsByTag_Call) RunAndReturn

type MockClient_GetProjects_Call

type MockClient_GetProjects_Call struct {
	*mock.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 (*MockClient_GetProjects_Call) Run

func (*MockClient_GetProjects_Call) RunAndReturn

type MockClient_GetTeam_Call

type MockClient_GetTeam_Call struct {
	*mock.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 (*MockClient_GetTeam_Call) Run

func (*MockClient_GetTeam_Call) RunAndReturn

type MockClient_GetTeams_Call

type MockClient_GetTeams_Call struct {
	*mock.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 (*MockClient_GetTeams_Call) Run

func (*MockClient_GetTeams_Call) RunAndReturn

type MockClient_Headers_Call

type MockClient_Headers_Call struct {
	*mock.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 (*MockClient_Headers_Call) Run

func (*MockClient_Headers_Call) RunAndReturn

type MockClient_PortfolioRefresh_Call

type MockClient_PortfolioRefresh_Call struct {
	*mock.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 (*MockClient_PortfolioRefresh_Call) Run

func (*MockClient_PortfolioRefresh_Call) RunAndReturn

type MockClient_RemoveAdminUsers_Call

type MockClient_RemoveAdminUsers_Call struct {
	*mock.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 (*MockClient_RemoveAdminUsers_Call) Run

func (*MockClient_RemoveAdminUsers_Call) RunAndReturn

type MockClient_UpdateProjectInfo_Call

type MockClient_UpdateProjectInfo_Call struct {
	*mock.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 (*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

type MockClient_UpdateProject_Call

type MockClient_UpdateProject_Call struct {
	*mock.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 (*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

type MockClient_UploadProject_Call struct {
	*mock.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 (*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

type MockClient_Version_Call

type MockClient_Version_Call struct {
	*mock.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 (*MockClient_Version_Call) Run

func (*MockClient_Version_Call) RunAndReturn

Jump to

Keyboard shortcuts

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