Documentation ¶
Index ¶
- func GetChart(name string) config.Chart
- func JSONErr(c *gin.Context, status int, obj interface{}, err error)
- func OKErr(c *gin.Context, err error)
- type CoreHandler
- func (ch *CoreHandler) DeployChart(c *gin.Context)
- func (ch *CoreHandler) DeployedCharts(c *gin.Context)
- func (ch *CoreHandler) GetModuleDetail(c *gin.Context)
- func (C *CoreHandler) ManagedChartDetail(c *gin.Context)
- func (C *CoreHandler) ManagedChartVersions(c *gin.Context)
- func (C *CoreHandler) ManagedCharts(c *gin.Context)
- func (ch *CoreHandler) RemoveRelease(c *gin.Context)
- func (C *CoreHandler) SetupRoute(router *gin.RouterGroup)
- func (ch *CoreHandler) UpgradeRelease(c *gin.Context)
- type CoreManager
- func (cm *CoreManager) DeployChart(ctx context.Context, parameters api.DeployParameters) error
- func (cm *CoreManager) DeployedCharts(ctx context.Context) ([]api.SimpleRelease, error)
- func (cm *CoreManager) GetModuleDetail(ctx context.Context, name string) (release.Release, error)
- func (cm *CoreManager) InitHelmCli()
- func (cm *CoreManager) LocateChartFromId(name, version string) (*chart.Chart, error)
- func (cm *CoreManager) ManagedChartDetail(ctx context.Context, name string) (chart.Chart, error)
- func (cm *CoreManager) ManagedChartVersions(ctx context.Context, name string) ([]*repo.ChartVersion, error)
- func (cm *CoreManager) ManagedCharts(ctx context.Context) ([]chart.Metadata, error)
- func (cm *CoreManager) RemoveRelease(ctx context.Context, name string) error
- func (cm *CoreManager) UpgradeRelease(ctx context.Context, name, version string, config map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoreHandler ¶
type CoreHandler struct {
Api api.ICoreManager
}
func NewCoreHandler ¶
func NewCoreHandler() *CoreHandler
func (*CoreHandler) DeployChart ¶
func (ch *CoreHandler) DeployChart(c *gin.Context)
func (*CoreHandler) DeployedCharts ¶
func (ch *CoreHandler) DeployedCharts(c *gin.Context)
func (*CoreHandler) GetModuleDetail ¶
func (ch *CoreHandler) GetModuleDetail(c *gin.Context)
func (*CoreHandler) ManagedChartDetail ¶
func (C *CoreHandler) ManagedChartDetail(c *gin.Context)
func (*CoreHandler) ManagedChartVersions ¶
func (C *CoreHandler) ManagedChartVersions(c *gin.Context)
func (*CoreHandler) ManagedCharts ¶
func (C *CoreHandler) ManagedCharts(c *gin.Context)
func (*CoreHandler) RemoveRelease ¶
func (ch *CoreHandler) RemoveRelease(c *gin.Context)
func (*CoreHandler) SetupRoute ¶
func (C *CoreHandler) SetupRoute(router *gin.RouterGroup)
func (*CoreHandler) UpgradeRelease ¶
func (ch *CoreHandler) UpgradeRelease(c *gin.Context)
type CoreManager ¶
type CoreManager struct {
// contains filtered or unexported fields
}
func (*CoreManager) DeployChart ¶
func (cm *CoreManager) DeployChart(ctx context.Context, parameters api.DeployParameters) error
Actions
func (*CoreManager) DeployedCharts ¶
func (cm *CoreManager) DeployedCharts(ctx context.Context) ([]api.SimpleRelease, error)
func (*CoreManager) GetModuleDetail ¶
func (*CoreManager) InitHelmCli ¶
func (cm *CoreManager) InitHelmCli()
func (*CoreManager) LocateChartFromId ¶
func (cm *CoreManager) LocateChartFromId(name, version string) (*chart.Chart, error)
func (*CoreManager) ManagedChartDetail ¶
func (*CoreManager) ManagedChartVersions ¶
func (cm *CoreManager) ManagedChartVersions(ctx context.Context, name string) ([]*repo.ChartVersion, error)
func (*CoreManager) ManagedCharts ¶
Get info
func (*CoreManager) RemoveRelease ¶
func (cm *CoreManager) RemoveRelease(ctx context.Context, name string) error
func (*CoreManager) UpgradeRelease ¶
Click to show internal directories.
Click to hide internal directories.