types

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchOptions

type FetchOptions struct {
	RootDir                string
	UseAppDir              bool
	HelmRepoName           string
	HelmRepoURI            string
	HelmOptions            []string
	LocalPath              string
	License                *kotsv1beta1.License
	ConfigValues           *kotsv1beta1.ConfigValues
	IdentityConfig         *kotsv1beta1.IdentityConfig
	Airgap                 *kotsv1beta1.Airgap
	EncryptionKey          string
	CurrentCursor          string
	CurrentChannelID       string
	CurrentChannelName     string
	CurrentVersionLabel    string
	AppSlug                string
	AppSequence            int64
	LocalRegistry          LocalRegistry
	ReportingInfo          *ReportingInfo
	IdentityPostgresConfig *kotsv1beta1.IdentityPostgresConfig
}

type LocalRegistry

type LocalRegistry struct {
	Host      string
	Namespace string
	Username  string
	Password  string
}

type ReportingInfo added in v1.20.0

type ReportingInfo struct {
	InstanceID            string
	ClusterID             string
	DownstreamCursor      string
	DownstreamChannelID   string
	DownstreamChannelName string
	AppStatus             string
	IsKurl                bool
	K8sVersion            string
}

type Upstream

type Upstream struct {
	URI           string
	Name          string
	Type          string
	Files         []UpstreamFile
	UpdateCursor  string
	ChannelID     string
	ChannelName   string
	VersionLabel  string
	ReleaseNotes  string
	ReleasedAt    *time.Time
	EncryptionKey string
}

func (*Upstream) GetBaseDir

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

func (*Upstream) GetSkippedDir

func (u *Upstream) GetSkippedDir(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
	HTTPProxyEnvValue   string
	HTTPSProxyEnvValue  string
	NoProxyEnvValue     string
	// 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
	// Set to true on initial installation when an unencrypted config file is provided
	EncryptConfig  bool
	SharedPassword string
}

Jump to

Keyboard shortcuts

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