knative

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstallIstioAsset = InstallationAsset{
		Version: "1.0.2",
		URL:     "https://github.com/knative/serving/releases/download/v0.2.1/istio.yaml",
		SHA256:  "92377c1600653bddb7e0e0a3a481e15d4f193f3dee36bb30399cc9aba7d628bf",
	}
	InstallKnativeFullAsset = InstallationAsset{
		Version: "0.2.1",
		URL:     "https://github.com/knative/serving/releases/download/v0.2.1/release.yaml",
		SHA256:  "83539bc2257217f230b031566204aa52848b52bc3f64f19156c3d540016f7d11",
	}
	InstallKnativeNoMonAsset = InstallationAsset{
		Version: "0.2.1",
		URL:     "https://github.com/knative/serving/releases/download/v0.2.1/release-no-mon.yaml",
		SHA256:  "6ec74658556241300af1e0c0ae6f08d92f36209c54ae7a213cc52c3adec972d5",
	}
)

Functions

func NewInstallCmd

func NewInstallCmd(o *InstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command

func NewUninstallCmd

func NewUninstallCmd(o *UninstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command

Types

type InstallOptions

type InstallOptions struct {
	NodePorts         bool
	ExcludeMonitoring bool
	VersionCheck      bool
	// contains filtered or unexported fields
}

func NewInstallOptions

func NewInstallOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, kubeconfigFlags *cmdcore.KubeconfigFlags) *InstallOptions

func (*InstallOptions) Run

func (o *InstallOptions) Run() error

type InstallationAsset

type InstallationAsset struct {
	Version string
	URL     string
	SHA256  string
}

type InstallationComponent

type InstallationComponent struct {
	Name string
	// contains filtered or unexported fields
}

func (InstallationComponent) Install

func (c InstallationComponent) Install() error

func (InstallationComponent) Monitor

func (c InstallationComponent) Monitor() error

type NamespaceReadiness

type NamespaceReadiness struct {
	Namespace string
	// contains filtered or unexported fields
}

func (NamespaceReadiness) Monitor

func (n NamespaceReadiness) Monitor() error

type NamespaceRemoval

type NamespaceRemoval struct {
	Namespace string
	// contains filtered or unexported fields
}

func (NamespaceRemoval) Monitor

func (n NamespaceRemoval) Monitor() error

func (NamespaceRemoval) Remove

func (n NamespaceRemoval) Remove() error

type PodReadiness

type PodReadiness struct {
	Pod corev1.Pod
}

func (PodReadiness) IsRunningOrComplete

func (p PodReadiness) IsRunningOrComplete() bool

type UninstallOptions

type UninstallOptions struct {
	ExcludeMonitoring bool
	// contains filtered or unexported fields
}

func NewUninstallOptions

func NewUninstallOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *UninstallOptions

func (*UninstallOptions) Run

func (o *UninstallOptions) Run() error

type UninstallationComponent

type UninstallationComponent struct {
	Name string
	// contains filtered or unexported fields
}

func (UninstallationComponent) Monitor

func (c UninstallationComponent) Monitor() error

func (UninstallationComponent) Uninstall

func (c UninstallationComponent) Uninstall() error

type YAMLSource

type YAMLSource struct {
	Asset     InstallationAsset
	NodePorts bool
}

func (YAMLSource) Content

func (s YAMLSource) Content() (string, error)

func (YAMLSource) Source

func (s YAMLSource) Source() string

Jump to

Keyboard shortcuts

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