helm

package
v0.0.0-...-11fd857 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 47 Imported by: 0

Documentation

Index

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

Apply deploys the helm chart for a given deployment

func (*HelmTargetProvider) Get

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

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
}

func (*PostRenderer) Run

func (r *PostRenderer) Run(renderedManifests *bytes.Buffer) (modifiedManifests *bytes.Buffer, err error)

Run implements PostRenderer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL