Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllOverriders ¶
func GetAllOverriders(edgeApp *appsv1alpha1.EdgeApplication) []overridemanager.OverriderInfo
func IsIdentifierSameAsResourceInfo ¶
func IsIdentifierSameAsResourceInfo(identifier appsv1alpha1.ResourceIdentifier, info ResourceInfo) bool
func IsInitStatus ¶
func IsInitStatus(status *appsv1alpha1.ManifestStatus) bool
Types ¶
type ResourceInfo ¶
type ResourceInfo struct {
// Ordinal is the index of the template of this resource in
// the manifests of EdgeApplication.
Ordinal int `json:"ordinal"`
Group string `json:"group"`
Version string `json:"version"`
Kind string `json:"kind"`
Namespace string `json:"namespace"`
Name string `json:"name"`
}
func GetContainedResourceInfos ¶
func GetContainedResourceInfos(edgeApp *appsv1alpha1.EdgeApplication, yamlSerializer runtime.Serializer) ([]ResourceInfo, error)
func GetResourceInfoOfTemplateInfo ¶
func GetResourceInfoOfTemplateInfo(tmplInfo *TemplateInfo) ResourceInfo
func (*ResourceInfo) String ¶
func (c *ResourceInfo) String() string
type TemplateInfo ¶
type TemplateInfo struct {
Ordinal int
Template *unstructured.Unstructured
}
func GetTemplatesInfosOfEdgeApp ¶
func GetTemplatesInfosOfEdgeApp(edgeApp *appsv1alpha1.EdgeApplication, yamlSerializer runtime.Serializer) ([]*TemplateInfo, error)
Click to show internal directories.
Click to hide internal directories.