templatechain

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewClusterTemplateChain

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

func NewServiceTemplateChain

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

Types

type Opt

type Opt func(tc *TemplateChain)

func ManagedByHMC

func ManagedByHMC() Opt

func WithName

func WithName(name string) Opt

func WithNamespace

func WithNamespace(namespace string) Opt

func WithSupportedTemplates

func WithSupportedTemplates(supportedTemplates []v1alpha1.SupportedTemplate) Opt

type TemplateChain

type TemplateChain struct {
	metav1.ObjectMeta `json:",inline"`
	Spec              v1alpha1.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