metadata

package
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterMDLoader

type ClusterMDLoader struct {
}

ClusterMDLoader Implements Loader interface

func (ClusterMDLoader) GetClusters

GetClusters loads list of clusters

func (ClusterMDLoader) LoadToIR

func (i ClusterMDLoader) LoadToIR(p plantypes.Plan, ir *irtypes.IR) error

LoadToIR loads target cluster in IR

func (ClusterMDLoader) UpdatePlan

func (i ClusterMDLoader) UpdatePlan(inputPath string, plan *plantypes.Plan) error

UpdatePlan - output a plan based on the input directory contents

type K8sFilesLoader

type K8sFilesLoader struct {
}

K8sFilesLoader Implements Loader interface

func (K8sFilesLoader) LoadToIR

func (i K8sFilesLoader) LoadToIR(p plantypes.Plan, ir *irtypes.IR) error

LoadToIR loads k8s files as cached objects

func (K8sFilesLoader) UpdatePlan

func (i K8sFilesLoader) UpdatePlan(inputPath string, plan *plantypes.Plan) error

UpdatePlan - output a plan based on the input directory contents

type Loader

type Loader interface {
	UpdatePlan(inputPath string, p *plantypes.Plan) error
	LoadToIR(p plantypes.Plan, ir *irtypes.IR) error
}

Loader handles loading of various metadata

func GetLoaders

func GetLoaders() []Loader

GetLoaders returns planner for given format

type QACacheLoader

type QACacheLoader struct {
}

QACacheLoader loads the qa caches

func (QACacheLoader) LoadToIR

func (i QACacheLoader) LoadToIR(p plantypes.Plan, ir *irtypes.IR) error

LoadToIR starts the cache responders

func (QACacheLoader) UpdatePlan

func (i QACacheLoader) UpdatePlan(inputPath string, plan *plantypes.Plan) error

UpdatePlan - output a plan based on the input directory contents

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL