template

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(key string) (string, Kind, error)

Handler is template handler type

func GetHanler

func GetHanler(cli defclient.DefinitionClient) Handler

GetHanler get template handler

type Kind

type Kind uint16

Kind is template kind

const (
	// WorkloadKind ...
	WorkloadKind Kind = (1 << iota)
	// TraitKind ...
	TraitKind
	// Unkownkind ...
	Unkownkind
)

Jump to

Keyboard shortcuts

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