manifest

package
v0.0.0-...-183c8bc Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	OwningResourceName      = "install.operator.dubbo.io/owning-resource"
	OwningResourceNamespace = "install.operator.dubbo.io/owning-resource-namespace"
	DubboComponentLabel     = "operator.dubbo.io/component"
	OwningResourceNotPruned = "install.operator.dubbo.io/owning-resource-not-pruned"
)

Variables

This section is empty.

Functions

func ObjectHash

func ObjectHash(o *unstructured.Unstructured) string

Types

type Manifest

type Manifest struct {
	*unstructured.Unstructured
	Content string
}

func FromJSON

func FromJSON(j []byte) (Manifest, error)

func FromObject

func FromObject(us *unstructured.Unstructured) (Manifest, error)

func FromYAML

func FromYAML(y []byte) (Manifest, error)

func Parse

func Parse(output []string) ([]Manifest, error)

func ParseMultiple

func ParseMultiple(output string) ([]Manifest, error)

func (Manifest) Hash

func (m Manifest) Hash() string

type ManifestSet

type ManifestSet struct {
	Components component.Name
	Manifests  []Manifest
}

Jump to

Keyboard shortcuts

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