Documentation ¶
Index ¶
- Constants
- Variables
- func GetAppSpec(chart TestChart, kustomizeLayer *hubv1.Kustomize) *hubv1.VersionedApplicationSpec
- func GetFlavor(kustomizeLayer *hubv1.Kustomize) *hubv1.Flavor
- func NewKustomizeTestLayerFromLocalPackages(fs afero.Fs, dir, overlayPath string) (*v1.Kustomize, error)
- func ResourceMapFactory() *resmap.Factory
- type RenderValuesForTest
- type TestChart
Constants ¶
View Source
const (
DefaultFlavorName = "vanilla"
)
Variables ¶
View Source
var ( MeshRef = &core.ResourceRef{ Name: "name", Namespace: "namespace", } HelloWorldChart1_0 = TestChart{ Name: "hello-world", Version: "0.1.0", HelmUri: "https://storage.googleapis.com/solo-helm-charts/helloworld-chart-0.1.0.tgz", DeploymentName: "hello-world-helloworld-chart", } HelloWorldChart1_1 = TestChart{ Name: "hello-world", Version: "0.1.1", HelmUri: "https://storage.googleapis.com/solo-helm-charts/helloworld-chart-0.1.1.tgz", DeploymentName: "hello-world-helloworld-chart", } KustomizeLayer_Success = &hubv1.Kustomize{ OverlayPath: "supergloo", Location: kustomizeLocation, } KustomizeLayer_Failure = &hubv1.Kustomize{ OverlayPath: "error", Location: kustomizeLocation, } KustomizeLayer_NotFound = &hubv1.Kustomize{ OverlayPath: "fails", Location: kustomizeLocation, } )
Functions ¶
func GetAppSpec ¶
func GetAppSpec(chart TestChart, kustomizeLayer *hubv1.Kustomize) *hubv1.VersionedApplicationSpec
func ResourceMapFactory ¶
Types ¶
type RenderValuesForTest ¶
type RenderValuesForTest struct { MeshRef core.ResourceRef SuperglooNamespace string InstallNamespace string Custom interface{} }
TODO: get rid of this and just use the ValuesInputs type
func GetRenderValues ¶
func GetRenderValues() RenderValuesForTest
Click to show internal directories.
Click to hide internal directories.