Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartLoader ¶
type ChartLoader interface {
Load(ctx context.Context, c *castai.ChartSource) (*chart.Chart, error)
}
func NewChartLoader ¶
func NewChartLoader(log logrus.FieldLogger) ChartLoader
type Client ¶
type Client interface {
Install(ctx context.Context, opts InstallOptions) (*release.Release, error)
Uninstall(opts UninstallOptions) (*release.UninstallReleaseResponse, error)
Upgrade(ctx context.Context, opts UpgradeOptions) (*release.Release, error)
Rollback(opts RollbackOptions) error
GetRelease(opts GetReleaseOptions) (*release.Release, error)
}
func NewClient ¶
func NewClient(log logrus.FieldLogger, loader ChartLoader, restConfig *rest.Config) Client
type ConfigurationGetter ¶
type ConfigurationGetter interface {
Get(namespace string) (*action.Configuration, error)
}
ConfigurationGetter wraps helm actions configuration setup for mocking in unit tests.
type GetReleaseOptions ¶
type InstallOptions ¶
type RollbackOptions ¶
type UninstallOptions ¶
type UpgradeOptions ¶
Click to show internal directories.
Click to hide internal directories.