Documentation
¶
Index ¶
- func GetAllOverriders(edgeApp *appsv1alpha1.EdgeApplication) []overridemanager.OverriderInfo
- func IsIdentifierSameAsResourceInfo(identifier appsv1alpha1.ResourceIdentifier, info ResourceInfo) bool
- func IsInitStatus(status *appsv1alpha1.ManifestStatus) bool
- func IsNodeSelected(edgeapp appsv1alpha1.EdgeApplication, node core.Node) bool
- type ResourceInfo
- type TemplateInfo
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
func IsNodeSelected ¶ added in v1.20.0
func IsNodeSelected(edgeapp appsv1alpha1.EdgeApplication, node core.Node) 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.