data

package
v0.0.4-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFeatureList = []*v1beta1.Feature{
	{
		ObjectMeta: metav1.ObjectMeta{
			Name: "nfs",
		},
		Spec: v1beta1.FeatureSpec{
			Description: "Enable nfs volume feature",
			Enable:      false,
			Questions: []v3.Question{
				{
					Variable:    "NFS_SERVER_HOSTNAME",
					Description: "Hostname of NFS server",
				},
				{
					Variable:    "NFS_SERVER_EXPORT_PATH",
					Description: "Export path of NFS server",
				},
			},
		},
	},
	{
		ObjectMeta: metav1.ObjectMeta{
			Name: "monitoring",
		},
		Spec: v1beta1.FeatureSpec{
			Description: "Enable monitoring feature",
			Enable:      false,
		},
	},
}

Functions

func AddData

func AddData(rContext *types.Context, inCluster bool) error

func Stack

func Stack(name string, spec v1beta1.StackSpec) runtime.Object

func StackData

func StackData(name string) string

Types

This section is empty.

Source Files

  • data.go
  • feature.go
  • local.go

Jump to

Keyboard shortcuts

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