bundle

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(
	kubeClient *kubernetes.Clientset,
	ns string, bundleName string,
	fromFile string,
	repoUrl string,
	repoPath string,
	repoRevision string,
	srcType string,
	desc string,
	tags string,
) error

func Delete

func Delete(
	kubeClient *kubernetes.Clientset,
	ns string,
	bundleName string,
) error

func Update

func Update(
	kubeClient *kubernetes.Clientset,
	ns string, bundleName string,
	fromFile string,
	repoUrl string,
	repoPath string,
	desc string,
	tags string,
) error

Types

type Bundle

type Bundle struct {
	Name string
	Data []byte
	// The following are only set on dynamic bundles
	RepoUrl      string
	RepoPath     string
	RepoRevision string
	SrcType      string
}

func GetBundlesFromProfile

func GetBundlesFromProfile(
	profile *arlonv1.Profile,
	corev1 corev1types.CoreV1Interface,
	arlonNs string,
) (bundles []Bundle, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳