Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudbase/garm
/ GetEntity
Method
GetEntity
params/interfaces.go:26–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
// It defines the GetEntity() function which returns a github entity.
25
type
EntityGetter
interface
{
26
GetEntity() (ForgeEntity, error)
27
}
28
29
type
IDGetter
interface
{
Callers
15
GetInstanceMetadata
Method · 0.95
getGHCliFromInstance
Method · 0.95
GetAgentJWTToken
Method · 0.95
GetForgeEntity
Method · 0.95
getForgeEntityFromInstance
Function · 0.95
handleEntityEvent
Method · 0.95
handleWatcherEvent
Method · 0.95
GetEntityForScaleSet
Method · 0.65
GetEntityForPool
Method · 0.65
ReplaceEntityPools
Method · 0.65
ReplaceEntityScaleSets
Method · 0.65
SetEntityPool
Method · 0.65
Implementers
12
EntityCache
cache/entity_cache.go
stubGithubClient
runner/pool/stub_client.go
GithubEntityOperations
runner/common/mocks/GithubEntityOperat
GithubEntityOperations_Expecter
runner/common/mocks/GithubEntityOperat
GithubClient
runner/common/mocks/GithubClient.go
GithubClient_Expecter
runner/common/mocks/GithubClient.go
Pool
params/params.go
ScaleSet
params/params.go
Repository
params/params.go
Organization
params/params.go
Enterprise
params/params.go
githubClient
util/github/client.go
Calls
no outgoing calls
Tested by
15
SetupTest
Method · 0.52
TestCreateEnterprisePool
Method · 0.52
TestCreateEnterprisePoolMissingTags
Method · 0.52
TestCreateEnterprisePoolDBFetchTagErr
Method · 0.52
TestCreateEnterprisePoolDBAddingPoolErr
Method · 0.52
TestCreateEnterprisePoolDBSaveTagErr
Method · 0.52
TestCreateEnterprisePoolDBFetchPoolErr
Method · 0.52
TestListEnterprisePools
Method · 0.52
TestGetEnterprisePool
Method · 0.52
TestDeleteEnterprisePool
Method · 0.52
TestDeleteEnterprisePoolDBDeleteErr
Method · 0.52
TestListEnterpriseInstances
Method · 0.52