Documentation ¶
Index ¶
- type HelmChartProperty
- type HelmProperty
- type HelmTargetProvider
- func (i *HelmTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, ...) (map[string]model.ComponentResultSpec, error)
- func (i *HelmTargetProvider) Get(ctx context.Context, deployment model.DeploymentSpec, ...) ([]model.ComponentSpec, error)
- func (*HelmTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
- func (i *HelmTargetProvider) Init(config providers.IProviderConfig) error
- func (i *HelmTargetProvider) InitWithMap(properties map[string]string) error
- func (s *HelmTargetProvider) SetContext(ctx *contexts.ManagerContext)
- type HelmTargetProviderConfig
- type PostRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmChartProperty ¶
type HelmChartProperty struct { Repo string `json:"repo"` Name string `json:"name,omitempty"` Version string `json:"version"` Wait bool `json:"wait"` Timeout string `json:"timeout,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
HelmChartProperty is the property for the Helm Charts
type HelmProperty ¶
type HelmProperty struct { Chart HelmChartProperty `json:"chart"` Values map[string]interface{} `json:"values,omitempty"` }
HelmProperty is the property for the Helm chart
type HelmTargetProvider ¶
type HelmTargetProvider struct { Config HelmTargetProviderConfig Context *contexts.ManagerContext MetaPopulator metahelper.MetaPopulator }
HelmTargetProvider is the Helm provider
func (*HelmTargetProvider) Apply ¶
func (i *HelmTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, step model.DeploymentStep, isDryRun bool) (map[string]model.ComponentResultSpec, error)
Apply deploys the helm chart for a given deployment
func (*HelmTargetProvider) Get ¶
func (i *HelmTargetProvider) Get(ctx context.Context, deployment model.DeploymentSpec, references []model.ComponentStep) ([]model.ComponentSpec, error)
Get returns the list of components for a given deployment
func (*HelmTargetProvider) GetValidationRule ¶
func (*HelmTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
GetValidationRule returns the validation rule for this provider
func (*HelmTargetProvider) Init ¶
func (i *HelmTargetProvider) Init(config providers.IProviderConfig) error
Init initializes the HelmTargetProvider
func (*HelmTargetProvider) InitWithMap ¶
func (i *HelmTargetProvider) InitWithMap(properties map[string]string) error
InitWithMap initializes the HelmTargetProvider with a map
func (*HelmTargetProvider) SetContext ¶
func (s *HelmTargetProvider) SetContext(ctx *contexts.ManagerContext)
type HelmTargetProviderConfig ¶
type HelmTargetProviderConfig struct { Name string `json:"name"` ConfigType string `json:"configType,omitempty"` ConfigData string `json:"configData,omitempty"` Context string `json:"context,omitempty"` InCluster bool `json:"inCluster"` }
HelmTargetProviderConfig is the configuration for the Helm provider
func HelmTargetProviderConfigFromMap ¶
func HelmTargetProviderConfigFromMap(properties map[string]string) (HelmTargetProviderConfig, error)
HelmTargetProviderConfigFromMap converts a map to a HelmTargetProviderConfig
type PostRenderer ¶
type PostRenderer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.