Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfiguration ¶ added in v0.1.0
func ReadConfiguration(repos []string, branches []string, hierarchy Config) []map[string]KustomizeResources
Types ¶
type Config ¶
type Config struct {
Hierarchy []Item
}
func GetHierarchy ¶ added in v0.1.0
func (Config) GeneratePropertiesFile ¶ added in v0.1.0
func (Config) GetProperties ¶ added in v0.1.0
func (Config) GetPropertiesMap ¶ added in v0.1.0
func (Config) WalkHierarchy ¶ added in v0.1.0
type Item ¶
type KustomizeResources ¶ added in v0.1.0
type Properties ¶ added in v0.1.0
type Properties []Property
func (Properties) Len ¶ added in v0.1.0
func (p Properties) Len() int
func (Properties) Less ¶ added in v0.1.0
func (p Properties) Less(i, j int) bool
func (Properties) Swap ¶ added in v0.1.0
func (p Properties) Swap(i, j int)
type Resource ¶
type Resource struct { // path is the relative path to the file containing the resource definition Path string // A configmap, secret or sealed secret Item *unstructured.Unstructured // A type of resource that resource holds either native or properties from file Hierarchy Item }
func GetResources ¶ added in v0.1.0
func ReadResources ¶ added in v0.1.0
func (Resource) GeneratePropertesMapFromProperties ¶ added in v0.1.0
func (Resource) GeneratePropertiesMapFromNative ¶ added in v0.1.0
func (Resource) GetProperties ¶ added in v0.1.0
func (Resource) GetPropertiesMap ¶ added in v0.1.0
type ResourceType ¶ added in v0.1.0
type ResourceType string
const ( ResourceTypeNative ResourceType = "native" ResourceTypeProperties ResourceType = "properties" )
Click to show internal directories.
Click to hide internal directories.