Documentation
¶
Index ¶
- func InitPreflight() (string, []byte, error)
- type PreflightConfig
- func (p *PreflightConfig) AddImage(imageFor, imageName string)
- func (p *PreflightConfig) AddMinK8sV(version string)
- func (p *PreflightConfig) GetConfigFilePath() string
- func (p *PreflightConfig) GetImageMap() map[string]string
- func (p *PreflightConfig) GetImageName(imageFor string) string
- func (p *PreflightConfig) GetMinK8sVersion() string
- func (p *PreflightConfig) Initialize() error
- func (p *PreflightConfig) IsExistOnDisk() bool
- func (p *PreflightConfig) Write() error
- type PreflightSpec
- type QliksensePreflight
- func (qp *QliksensePreflight) CheckDeployment(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) CheckDns(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) CheckK8sVersion(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) CheckPod(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) CheckService(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) CreateRoleCheck(namespace string, kubeConfigContents []byte) error
- func (qp *QliksensePreflight) GetPreflightConfigObj() *PreflightConfig
- func (qp *QliksensePreflight) RunAllPreflightChecks(namespace string, kubeConfigContents []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPreflight ¶ added in v0.9.11
Types ¶
type PreflightConfig ¶ added in v0.9.13
type PreflightConfig struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec *PreflightSpec `json:"spec" yaml:"spec"` QliksenseHomePath string `json:"-" yaml:"-"` }
func NewPreflightConfig ¶ added in v0.9.13
func NewPreflightConfig(qHome string) *PreflightConfig
NewPreflightConfig create empty PreflightConfig object if preflit/preflight-config.yaml not exist
func NewPreflightConfigEmpty ¶ added in v0.9.13
func NewPreflightConfigEmpty(qHome string) *PreflightConfig
NewPreflightConfigEmpty create empty PreflightConfig object
func (*PreflightConfig) AddImage ¶ added in v0.9.13
func (p *PreflightConfig) AddImage(imageFor, imageName string)
func (*PreflightConfig) AddMinK8sV ¶ added in v0.9.13
func (p *PreflightConfig) AddMinK8sV(version string)
func (*PreflightConfig) GetConfigFilePath ¶ added in v0.9.13
func (p *PreflightConfig) GetConfigFilePath() string
GetConfigFilePath return preflight-config.yaml file path
func (*PreflightConfig) GetImageMap ¶ added in v0.9.13
func (p *PreflightConfig) GetImageMap() map[string]string
func (*PreflightConfig) GetImageName ¶ added in v0.9.13
func (p *PreflightConfig) GetImageName(imageFor string) string
func (*PreflightConfig) GetMinK8sVersion ¶ added in v0.9.13
func (p *PreflightConfig) GetMinK8sVersion() string
func (*PreflightConfig) Initialize ¶ added in v0.9.13
func (p *PreflightConfig) Initialize() error
func (*PreflightConfig) IsExistOnDisk ¶ added in v0.9.13
func (p *PreflightConfig) IsExistOnDisk() bool
func (*PreflightConfig) Write ¶ added in v0.9.13
func (p *PreflightConfig) Write() error
Write write PreflightConfig object into the ~/.qliksense/preflight/preflight-config.yaml file
type PreflightSpec ¶ added in v0.9.13
type QliksensePreflight ¶
func (*QliksensePreflight) CheckDeployment ¶ added in v0.9.12
func (qp *QliksensePreflight) CheckDeployment(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) CheckDns ¶
func (qp *QliksensePreflight) CheckDns(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) CheckK8sVersion ¶
func (qp *QliksensePreflight) CheckK8sVersion(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) CheckPod ¶ added in v0.9.12
func (qp *QliksensePreflight) CheckPod(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) CheckService ¶ added in v0.9.12
func (qp *QliksensePreflight) CheckService(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) CreateRoleCheck ¶ added in v0.9.12
func (qp *QliksensePreflight) CreateRoleCheck(namespace string, kubeConfigContents []byte) error
func (*QliksensePreflight) GetPreflightConfigObj ¶ added in v0.9.13
func (qp *QliksensePreflight) GetPreflightConfigObj() *PreflightConfig
func (*QliksensePreflight) RunAllPreflightChecks ¶
func (qp *QliksensePreflight) RunAllPreflightChecks(namespace string, kubeConfigContents []byte)
Click to show internal directories.
Click to hide internal directories.