Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Create template release Create(ctx context.Context, templateRelease *models.TemplateRelease) (*models.TemplateRelease, error) // ListByTemplateName list all releases by template name ListByTemplateName(ctx context.Context, templateName string) ([]*models.TemplateRelease, error) // ListByTemplateID list all releases by template ID ListByTemplateID(ctx context.Context, id uint) ([]*models.TemplateRelease, error) // GetByTemplateNameAndRelease get release by template name and release name GetByTemplateNameAndRelease(ctx context.Context, templateName, release string) (*models.TemplateRelease, error) // GetByID gets release by releaseID GetByID(ctx context.Context, releaseID uint) (*models.TemplateRelease, error) GetRefOfApplication(ctx context.Context, id uint) ([]*amodels.Application, uint, error) GetRefOfCluster(ctx context.Context, id uint) ([]*cmodel.Cluster, uint, error) UpdateByID(ctx context.Context, releaseID uint, release *models.TemplateRelease) error DeleteByID(ctx context.Context, id uint) error }
nolint
Click to show internal directories.
Click to hide internal directories.