MCPcopy Create free account
hub / github.com/cloudbase/garm / CreateRepository

Method CreateRepository

database/common/store.go:44–44  ·  view source on GitHub ↗
(ctx context.Context, owner, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool)

Source from the content-addressed store, hash-verified

42
43type RepoStore interface {
44 CreateRepository(ctx context.Context, owner, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool) (param params.Repository, err error)
45 GetRepository(ctx context.Context, owner, name, endpointName string) (params.Repository, error)
46 GetRepositoryByID(ctx context.Context, repoID string) (params.Repository, error)
47 ListRepositories(ctx context.Context, filter params.RepositoryFilter) ([]params.Repository, error)

Implementers 3

sqlDatabasedatabase/sql/sql.go
Storedatabase/common/mocks/Store.go
Store_Expecterdatabase/common/mocks/Store.go

Calls

no outgoing calls