airgap

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppFromAirgap

func CreateAppFromAirgap(pendingApp *PendingApp, airgapBundle multipart.File, registryHost string, namespace string, username string, password string) error

CreateAppFromAirgap does a lot. Maybe too much. Definitely too much. This function assumes that there's an app in the database that doesn't have a version After execution, there will be a sequence 0 of the app, and all clusters in the database will also have a version

func UpdateAppFromAirgap

func UpdateAppFromAirgap(a *app.App, airgapBundle multipart.File) error

Types

type PendingApp

type PendingApp struct {
	ID          string
	Slug        string
	Name        string
	LicenseData string
}

func GetPendingAirgapUploadApp

func GetPendingAirgapUploadApp() (*PendingApp, error)

Jump to

Keyboard shortcuts

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