knative

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstallIstioAsset = InstallationAsset{
		URL:    "https://raw.githubusercontent.com/knative/serving/38c0d500fcd4a65b24b103b54bedf6dacc985170/third_party/istio-1.0.2/istio.yaml",
		SHA256: "92377c1600653bddb7e0e0a3a481e15d4f193f3dee36bb30399cc9aba7d628bf",
	}
	InstallKnativeFullAsset = InstallationAsset{
		URL:    "https://github.com/knative/serving/releases/download/v0.1.1/release.yaml",
		SHA256: "81d619b995ee36650ac4fe5ba54705cde569a92457aee18a03a8a45e5a9b8b77",
	}
	InstallKnativeNoMonAsset = InstallationAsset{
		URL:    "https://github.com/knative/serving/releases/download/v0.1.1/release-no-mon.yaml",
		SHA256: "db82bf221513bf5738bec694f3654df6111d74ad5cd1f3d69cb25422755437a7",
	}
)

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 {
	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