unforker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasTiller

func HasTiller(configFlags *genericclioptions.ConfigFlags) (bool, error)

func Unfork

func Unfork(localChart *LocalChart, upstreamChartMatch chartindex.ChartMatch) (string, error)

Unfork creates a kustomize overlay that generates localChart when applied to upstreamChart returns the directory that was unforked to and an error

Types

type LocalChart

type LocalChart struct {
	IsTiller     bool
	HelmName     string
	ChartName    string
	ChartVersion string
	AppVersion   string
	Keywords     []string
	Templates    []*chart.Template
	Values       map[string]*chart.Value
	Chart        *chart.Chart
	Namespace    string
}

type MinimalK8sMetadata

type MinimalK8sMetadata struct {
	Name      string `json:"name" yaml:"name"`
	Namespace string `json:"namespace" yaml:"namespace"`
}

type MinimalK8sYaml

type MinimalK8sYaml struct {
	Kind     string             `json:"kind" yaml:"kind"`
	Metadata MinimalK8sMetadata `json:"metadata" yaml:"metadata"`
}

type UIEvent

type UIEvent struct {
	EventName string
	Payload   interface{}
}

type Unforker

type Unforker struct {
	// contains filtered or unexported fields
}

func NewUnforker

func NewUnforker(configFlags *genericclioptions.ConfigFlags, uiCh chan UIEvent) (*Unforker, error)

func (*Unforker) StartDiscovery

func (u *Unforker) StartDiscovery() error

Jump to

Keyboard shortcuts

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