tpls

package
v0.0.0-...-f0fce53 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HASH_CODE_TPL = `` /* 227-byte string literal not displayed */

	ENCODE_CODE_TPL = `` /* 916-byte string literal not displayed */

	DEEP_COPY_CODE_TPL = `` /* 652-byte string literal not displayed */

	HELPER_CODE_TPL = `` /* 729-byte string literal not displayed */

)
View Source
const (
	CLIENT_CODE_TPL = `` /* 2800-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func RenderCode

func RenderCode(data interface{}, text string) (string, error)

func RenderCodeFile

func RenderCodeFile(data interface{}, text string, path string) error

Types

type CodeTpl

type CodeTpl struct {
	Package    string
	ApiObjects []string
	Registries []RegistryTpl
}

type RegistryTpl

type RegistryTpl struct {
	Name       string
	Registry   string
	Namespaced bool
}

type SortRegistry

type SortRegistry []RegistryTpl

func (SortRegistry) Len

func (s SortRegistry) Len() int

func (SortRegistry) Less

func (s SortRegistry) Less(i, j int) bool

func (SortRegistry) Swap

func (s SortRegistry) Swap(i, j int)

Jump to

Keyboard shortcuts

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