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 ¶
Content returns a byte slice representing the yaml manifest retrieved from a passed in file or string
func WithNamespace ¶
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.
Click to show internal directories.
Click to hide internal directories.