export

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

maybe this package isn't needed

Index

Constants

This section is empty.

Variables

View Source
var ClusterScopedKustomizeFile string = `` /* 366-byte string literal not displayed */
View Source
var FuncMap = template.FuncMap{
	"Myfp": Myfp,
}
View Source
var NameSpacedScopedKustomizeFile string = `` /* 299-byte string literal not displayed */

Functions

func ExportClusterYaml

func ExportClusterYaml(capicfg string, repodir string, gitOpsController string) (bool, error)

ExportClusterYaml exports the given clusters YAML into the directory

func Myfp

func Myfp(s string) string

func WriteTemplateWithFunc

func WriteTemplateWithFunc(tpl string, fileToCreate string, vars interface{}, fm template.FuncMap) (bool, error)

WriteTemplateWithFunc is a generic template writing mechanism that supports template.FuncMap

Types

type GroupResource

type GroupResource struct {
	APIGroup        string
	APIGroupVersion string
	APIVersion      string
	APIResource     metav1.APIResource
}

Jump to

Keyboard shortcuts

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