Help us shape the future of Go! Take the 2026 Go Developer Survey

templatechain

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "kcm-tc"
)

Variables

This section is empty.

Functions

func NewClusterTemplateChain

func NewClusterTemplateChain(opts ...Opt) *kcmv1.ClusterTemplateChain

func NewServiceTemplateChain

func NewServiceTemplateChain(opts ...Opt) *kcmv1.ServiceTemplateChain

Types

type Opt

type Opt func(tc *TemplateChain)

func ManagedByKCM added in v0.0.7

func ManagedByKCM() Opt

func WithName

func WithName(name string) Opt

func WithNamespace

func WithNamespace(namespace string) Opt

func WithSupportedTemplates

func WithSupportedTemplates(supportedTemplates []kcmv1.SupportedTemplate) Opt

type TemplateChain

type TemplateChain struct {
	metav1.ObjectMeta `json:",inline"`
	Spec              kcmv1.TemplateChainSpec `json:"spec"`
}

func NewTemplateChain

func NewTemplateChain(opts ...Opt) *TemplateChain

Jump to

Keyboard shortcuts

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