Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVersionNotAdapted = errors.New("version cannot be adapted") ErrConfigFileNotFound = errors.New("configuration file is not found") )
View Source
var HostPathType = corev1.HostPathDirectoryOrCreate
View Source
var (
UnifiedPort uint
)
Functions ¶
func CollectImages ¶
func CollectImages(edgexConfig, edgeXConfigArm *EdgeXConfig) error
func CollectVersionsInfo ¶
func ModifyImagesName ¶
func ModifyImagesName(edgexConfig *EdgeXConfig, repo string)
Types ¶
type Component ¶
type Component struct { Name string `yaml:"name" json:"name"` Service *corev1.ServiceSpec `yaml:"service,omitempty" json:"service,omitempty"` Deployment *appsv1.DeploymentSpec `yaml:"deployment,omitempty" json:"deployment,omitempty"` // contains filtered or unexported fields }
type EdgeXConfig ¶
type EdgeXConfig struct {
Versions []*Version `yaml:"versions,omitempty" json:"versions,omitempty"`
}
func CollectEdgeXConfig ¶
func CollectEdgeXConfig(versionsInfo []string, isSecurity bool, arch string) (*EdgeXConfig, error)
type Manifest ¶
type Manifest struct { Updated string `yaml:"updated"` Count int `yaml:"count"` LatestVersion string `yaml:"latestVersion"` Versions []string `yaml:"versions"` }
func NewManifest ¶
func NewManifest() *Manifest
Source Files ¶
Click to show internal directories.
Click to hide internal directories.