manifest

package
v0.8.4-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName        = "sigs.k8s.io"
	GroupVersion     = "v1alpha1"
	DefaultNamespace = `weavek8sops`
)

cluster-api types

Variables

View Source
var AddToScheme = SchemeBuilder.AddToScheme
View Source
var DefaultAddonNamespaces = map[string]string{"weave-net": "kube-system"}
View Source
var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

Functions

func Content

func Content(fileOrString string) ([]byte, error)

Content returns a byte slice representing the yaml manifest retrieved from a passed in file or string

func WithNamespace

func WithNamespace(fileOrString, namespace string) (string, error)

WithNamespace takes in a file or string kubernetes manifest and updates any resources to use the namespace specified. Returns the updated manifest or an error if there was a problem updating the manifest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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