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

Method CreateOrganization

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

Source from the content-addressed store, hash-verified

51
52type OrgStore interface {
53 CreateOrganization(ctx context.Context, name string, credentials params.ForgeCredentials, webhookSecret string, poolBalancerType params.PoolBalancerType, agentMode bool) (org params.Organization, err error)
54 GetOrganization(ctx context.Context, name, endpointName string) (params.Organization, error)
55 GetOrganizationByID(ctx context.Context, orgID string) (params.Organization, error)
56 ListOrganizations(ctx context.Context, filter params.OrganizationFilter) ([]params.Organization, error)

Implementers 3

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

Calls

no outgoing calls