manifest

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package manifest GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataHash added in v0.1.0

func DataHash(inputs map[string][]byte) string

func Extract

func Extract(m any, progress ...ObjectProcess) (map[string]Object, error)

func ExtractComplete added in v0.1.0

func ExtractComplete(kpkg *v1alpha1.KubePkg) (map[string]Object, error)

func FromUnstructured added in v0.1.0

func FromUnstructured[T any](o any) (*T, error)

func ManifestsFromSpec added in v0.2.0

func ManifestsFromSpec(kpkg *v1alpha1.KubePkg) (map[string]Object, error)

func ManifestsFromWildcard added in v0.2.0

func ManifestsFromWildcard(kpkg *v1alpha1.KubePkg) (map[string]Object, error)

func StringDataHash added in v0.1.0

func StringDataHash(inputs map[string]string) string

Types

type GatewayTemplate added in v0.2.0

type GatewayTemplate struct {
	Name          string
	Host          *template.Template
	Https         bool
	AlwaysEnabled bool
}

func ParseGatewayTemplate added in v0.3.0

func ParseGatewayTemplate(t string) (*GatewayTemplate, error)

func (GatewayTemplate) RuntimeDoc added in v0.2.0

func (v GatewayTemplate) RuntimeDoc(names ...string) ([]string, bool)

type IngressGatewaySet added in v0.2.0

type IngressGatewaySet struct {
	// contains filtered or unexported fields
}

func ParseIngressGatewaySet added in v0.2.0

func ParseIngressGatewaySet(v string) (*IngressGatewaySet, error)

ParseIngressGatewaySet

example:

public+https://{{ .Name }}.public
internal+https://{{ .Name }}---{{ .Namespace }}.internal?always=true

func (*IngressGatewaySet) Endpoints added in v0.2.0

func (s *IngressGatewaySet) Endpoints() map[string]string

func (IngressGatewaySet) For added in v0.2.0

func (s IngressGatewaySet) For(service string, namespace string) *IngressGatewaySet

func (*IngressGatewaySet) IngressRules added in v0.2.0

func (s *IngressGatewaySet) IngressRules(paths map[string]string, gateways ...string) (rules []networkingv1.IngressRule)

type Object

type Object = client.Object

func ObjectFromRuntimeObject

func ObjectFromRuntimeObject(ro runtime.Object) (Object, error)

type ObjectList

type ObjectList = client.ObjectList

func ObjectListFromRuntimeObject

func ObjectListFromRuntimeObject(ro runtime.Object) (ObjectList, error)

type ObjectProcess

type ObjectProcess = func(o Object) (Object, error)

Jump to

Keyboard shortcuts

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