Documentation ¶
Index ¶
- Variables
- func InstallCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func InstallGloo(opts *options.Options, spec GlooInstallSpec, client GlooKubeInstallClient) error
- func UninstallCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func UninstallGloo(opts *options.Options, cli install.KubeCli) error
- type DefaultGlooKubeInstallClient
- type DefaultGlooStagedInstaller
- type DryRunManifestInstaller
- type GlooInstallSpec
- type GlooKubeInstallClient
- type GlooKubeManifestInstaller
- type GlooStagedInstaller
- type KnativeInstallStatus
- type ManifestInstaller
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // These will get cleaned up by uninstall always GlooSystemKinds []string // These will get cleaned up only if uninstall all is chosen GlooRbacKinds []string // These will get cleaned up by uninstall if delete-crds or all is chosen GlooCrdNames []string // Set up during pre-install (for OS gloo, namespace only) GlooPreInstallKinds []string GlooInstallKinds []string ExpectedLabels map[string]string KnativeCrdNames []string )
Functions ¶
func InstallCmd ¶
func InstallGloo ¶ added in v0.13.0
func InstallGloo(opts *options.Options, spec GlooInstallSpec, client GlooKubeInstallClient) error
func UninstallCmd ¶
Types ¶
type DefaultGlooKubeInstallClient ¶ added in v0.13.0
type DefaultGlooKubeInstallClient struct{}
func (*DefaultGlooKubeInstallClient) CheckKnativeInstallation ¶ added in v0.13.0
func (i *DefaultGlooKubeInstallClient) CheckKnativeInstallation() (bool, bool, error)
func (*DefaultGlooKubeInstallClient) KubectlApply ¶ added in v0.13.0
func (i *DefaultGlooKubeInstallClient) KubectlApply(manifest []byte) error
func (*DefaultGlooKubeInstallClient) WaitForCrdsToBeRegistered ¶ added in v0.13.0
func (i *DefaultGlooKubeInstallClient) WaitForCrdsToBeRegistered(crds []string, timeout, interval time.Duration) error
type DefaultGlooStagedInstaller ¶ added in v0.13.0
type DefaultGlooStagedInstaller struct {
// contains filtered or unexported fields
}
func (*DefaultGlooStagedInstaller) DoCrdInstall ¶ added in v0.13.0
func (i *DefaultGlooStagedInstaller) DoCrdInstall() error
func (*DefaultGlooStagedInstaller) DoInstall ¶ added in v0.13.0
func (i *DefaultGlooStagedInstaller) DoInstall() error
func (*DefaultGlooStagedInstaller) DoKnativeInstall ¶ added in v0.13.0
func (i *DefaultGlooStagedInstaller) DoKnativeInstall() error
This is a bit tricky. The manifest is already filtered based on the values file. If the values file includes knative stuff, then we may want to do a knative install -- if there isn't an install already, or if there is an install and it's ours (i.e. an upgrade)
func (*DefaultGlooStagedInstaller) DoPreInstall ¶ added in v0.13.0
func (i *DefaultGlooStagedInstaller) DoPreInstall() error
type DryRunManifestInstaller ¶ added in v0.13.0
type DryRunManifestInstaller struct{}
func (*DryRunManifestInstaller) InstallCrds ¶ added in v0.13.0
func (i *DryRunManifestInstaller) InstallCrds(crdNames []string, manifest []byte) error
func (*DryRunManifestInstaller) InstallManifest ¶ added in v0.13.0
func (i *DryRunManifestInstaller) InstallManifest(manifest []byte) error
type GlooInstallSpec ¶ added in v0.13.0
type GlooInstallSpec struct { ProductName string // gloo or glooe HelmArchiveUri string ValueFileName string ExtraValues map[string]string ExcludeResources install.ResourceMatcherFunc }
func GetInstallSpec ¶ added in v0.13.0
func GetInstallSpec(opts *options.Options, valueFileName string) (*GlooInstallSpec, error)
type GlooKubeInstallClient ¶ added in v0.13.0
type GlooKubeManifestInstaller ¶ added in v0.13.0
type GlooKubeManifestInstaller struct {
GlooKubeInstallClient GlooKubeInstallClient
}
func (*GlooKubeManifestInstaller) InstallCrds ¶ added in v0.13.0
func (i *GlooKubeManifestInstaller) InstallCrds(crdNames []string, manifest []byte) error
func (*GlooKubeManifestInstaller) InstallManifest ¶ added in v0.13.0
func (i *GlooKubeManifestInstaller) InstallManifest(manifest []byte) error
type GlooStagedInstaller ¶ added in v0.13.0
type GlooStagedInstaller interface { DoCrdInstall() error DoPreInstall() error DoInstall() error DoKnativeInstall() error }
func NewGlooStagedInstaller ¶ added in v0.13.0
func NewGlooStagedInstaller(opts *options.Options, spec GlooInstallSpec, client GlooKubeInstallClient) (GlooStagedInstaller, error)
type KnativeInstallStatus ¶ added in v0.13.0
type KnativeInstallStatus struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.