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