Documentation
¶
Index ¶
- Variables
- func NewInstallCmd(o *InstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewUninstallCmd(o *UninstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- type InstallOptions
- type InstallationAsset
- type InstallationComponent
- type NamespaceReadiness
- type NamespaceRemoval
- type PodReadiness
- type UninstallOptions
- type UninstallationComponent
- type YAMLSource
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 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 ¶
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
Click to show internal directories.
Click to hide internal directories.