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

Interface ForgeEntity

database/sql/models.go:534–537  ·  view source on GitHub ↗

ForgeEntity represents an entity (Repository, Organization, Enterprise) that can have forge credentials

Source from the content-addressed store, hash-verified

532
533// ForgeEntity represents an entity (Repository, Organization, Enterprise) that can have forge credentials
534type ForgeEntity interface {
535 GetEndpoint() GithubEndpoint
536 GetEndpointName() *string
537}
538
539// Repository implements ForgeEntity
540func (r *Repository) GetEndpoint() GithubEndpoint {

Callers 25

GetEndpointFunction · 0.65
TestCreateOrgForGiteaMethod · 0.80
TestCreateRepositoryMethod · 0.80
WithEntityScaleSetFilterFunction · 0.80
StartMethod · 0.80
StartMethod · 0.80
GetInstanceMetadataMethod · 0.80
addInstanceToProviderMethod · 0.80

Implementers 3

Repositorydatabase/sql/models.go
Organizationdatabase/sql/models.go
Enterprisedatabase/sql/models.go

Calls

no outgoing calls

Tested by

no test coverage detected