MCPcopy
hub / github.com/semaphoreui/semaphore / GetAccessKey

Method GetAccessKey

db/Store.go:342–342  ·  view source on GitHub ↗
(projectID int, accessKeyID int)

Source from the content-addressed store, hash-verified

340// AccessKeyManager handles access key-related operations
341type AccessKeyManager interface {
342 GetAccessKey(projectID int, accessKeyID int) (AccessKey, error)
343 GetAccessKeyRefs(projectID int, accessKeyID int) (ObjectReferrers, error)
344 GetAccessKeys(projectID int, options GetAccessKeyOptions, params RetrieveQueryParams) ([]AccessKey, error)
345 UpdateAccessKey(accessKey AccessKey) error

Callers 10

fillInventoryMethod · 0.65
FillIntegrationMethod · 0.65
DeleteMethod · 0.65
UpdateMethod · 0.65
KeyMiddlewareFunction · 0.65
AddKeyMethod · 0.65
FillTemplateVaultFunction · 0.65
ValidateRepositoryFunction · 0.65
ValidateInventoryFunction · 0.65

Implementers 5

mockAccessKeyManagerservices/server/project_svc_test.go
mockAccessKeyReposervices/server/AccessKey_test.go
mockAccessKeyRepoapi/projects/environment_test.go
SqlDbdb/sql/SqlDb.go
BoltDbdb/bolt/BoltDb.go

Calls

no outgoing calls

Tested by

no test coverage detected