types

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Upstream

type Upstream struct {
	URI           string
	Name          string
	Type          string
	Files         []UpstreamFile
	UpdateCursor  string
	ChannelName   string
	VersionLabel  string
	ReleaseNotes  string
	EncryptionKey string
}

func (*Upstream) GetBaseDir

func (u *Upstream) GetBaseDir(options WriteOptions) string

func (*Upstream) GetUpstreamDir

func (u *Upstream) GetUpstreamDir(options WriteOptions) string

type UpstreamFile

type UpstreamFile struct {
	Path    string
	Content []byte
}

type WriteOptions

type WriteOptions struct {
	RootDir             string
	CreateAppDir        bool
	IncludeAdminConsole bool
	// This should be set to true when updating due to license sync, config update, registry settings update.
	// and should be false when it's an upstream update.
	// When true, the channel name in Installation yaml will not be changed.
	PreserveInstallation bool
	SharedPassword       string
}

Jump to

Keyboard shortcuts

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