Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationFile ¶
type ApplicationFile struct {
Path string
DocumentIndex int
Application argoappv1.Application
Tier SourceTier
InputPaths []string
// ParentKey and RenderedDir record what rendered the Application, for
// changed-only ownership only; they never key a cache or fingerprint.
// ParentKey is the caller's namespace/name key of the Application whose
// render declared it (SourceTierRenderedFleet). RenderedDir is the
// repository directory rendered to declare it without a parent
// Application (SourceTierExplicitRendered, SourceTierPolicyBootstrap).
ParentKey string
RenderedDir string
}
type ApplicationSetFile ¶
type ApplicationSetFile struct {
Path string
DocumentIndex int
ApplicationSet argoappv1.ApplicationSet
Tier SourceTier
InputPaths []string
// ParentKey and RenderedDir pass on to the generated Applications; see
// ApplicationFile.
ParentKey string
RenderedDir string
}
type ProjectFile ¶
type ProjectFile struct {
Path string
DocumentIndex int
Project argoappv1.AppProject
Tier SourceTier
}
type Result ¶
type Result struct {
Applications []ApplicationFile
ApplicationSets []ApplicationSetFile
SettingsCandidates []SettingsCandidate
Projects []ProjectFile
}
func ScanObjects ¶ added in v0.1.4
func ScanObjects(path string, objects []*unstructured.Unstructured) (Result, error)
type SettingsCandidate ¶
type SettingsCandidate struct {
Path string
DocumentIndex int
Kind string
APIVersion string
Namespace string
Name string
Object *unstructured.Unstructured
Tier SourceTier
}
type SourceTier ¶ added in v0.1.4
type SourceTier int
const ( SourceTierStatic SourceTier = iota SourceTierExplicitRendered SourceTierPolicyBootstrap SourceTierRenderedFleet )
Click to show internal directories.
Click to hide internal directories.