Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Installed The item is installed. Installed Status = "Installed" // Uninstalled The item is not longer installed. Uninstalled = "Uninstalled" // Unknown We cannot know if the item is installed or not. Unknown = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
func SiteWhereInfrastructure ¶
func SiteWhereInfrastructure(minimal bool, waitReady bool, statikFS http.FileSystem, clientset kubernetes.Interface, apiextensionsClientset apiextensionsclientset.Interface, config *rest.Config) error
SiteWhereInfrastructure Install SiteWhere Infrastructure components in the cluster
Types ¶
type SiteWhereCRDStatus ¶
type SiteWhereCRDStatus struct { // Name of the Custom Resource Definition Name string `json:"name,omitempty"` // Install Status Status Status `json:"status,omitempty"` }
SiteWhereCRDStatus represents that status of a CRD installation
func SiteWhereCRDs ¶
func SiteWhereCRDs(statikFS http.FileSystem, clientset kubernetes.Interface, apiextensionsClientset apiextensionsclientset.Interface, config *rest.Config) ([]SiteWhereCRDStatus, error)
SiteWhereCRDs Install SiteWhere Custom Resource Definitions
type SiteWhereInstall ¶
type SiteWhereInstall struct { // Status of SiteWhere CDR installation CDRStatues []SiteWhereCRDStatus `json:"crdStatues,omitempty"` // Status of SiteWhere Templates installation TemplatesStatues []SiteWhereTemplateStatus `json:"templatesStatues,omitempty"` // Status of SiteWhere Operator OperatorStatuses []SiteWhereOperatorStatus `json:"operatorStatuses,omitempty"` }
SiteWhereInstall destribe the installation of SiteWhere.
type SiteWhereOperatorStatus ¶
type SiteWhereOperatorStatus struct { // Name of the Operator resource Name string `json:"name,omitempty"` // Install Status Status Status `json:"status,omitempty"` }
SiteWhereOperatorStatus represents that status of a CRD installation
func SiteWhereOperator ¶
func SiteWhereOperator(waitReady bool, statikFS http.FileSystem, clientset kubernetes.Interface, apiextensionsClientset apiextensionsclientset.Interface, config *rest.Config) ([]SiteWhereOperatorStatus, error)
SiteWhereOperator Install SiteWhere Operator resource file in the cluster
type SiteWhereTemplateStatus ¶
type SiteWhereTemplateStatus struct { // Name of the Template Name string `json:"name,omitempty"` // Install Status Status Status `json:"status,omitempty"` }
SiteWhereTemplateStatus represents that status of a CRD installation
func SiteWhereTemplates ¶
func SiteWhereTemplates(statikFS http.FileSystem, clientset kubernetes.Interface, apiextensionsClientset apiextensionsclientset.Interface, config *rest.Config) ([]SiteWhereTemplateStatus, error)
SiteWhereTemplates Install SiteWhere Templates CRD
Click to show internal directories.
Click to hide internal directories.