Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandidateResolver ¶
type CandidateResolver struct { Resolver *types.ClusterResolverAll ClusterCandidateID uint ProjectID uint UserID uint // contains filtered or unexported fields }
CandidateResolver will resolve a cluster candidate to create a new cluster
func (*CandidateResolver) ResolveCluster ¶
func (rcf *CandidateResolver) ResolveCluster( repo repository.Repository, ) (*models.Cluster, error)
ResolveCluster writes a new cluster to the DB -- this must be called after rcf.ResolveIntegration, since it relies on the previously created integration.
func (*CandidateResolver) ResolveIntegration ¶
func (rcf *CandidateResolver) ResolveIntegration( repo repository.Repository, ) error
ResolveIntegration creates an integration in the DB
Click to show internal directories.
Click to hide internal directories.