package
Version:
v0.0.0-...-a0bf729
Opens a new window with list of versions in this module.
Published: Jan 3, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Marshal(manifests []interface{}, patches []Patch) ([]byte, error)
type Match struct {
Kind string `json:"kind,omitempty"`
Name string `json:"name,omitempty"`
Namespace string `json:"namespace,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
}
type Patch struct {
Type PatchType `json:"type,omitempty"`
Matches []Match `json:"matches,omitempty"`
Inline interface{} `json:"inline,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.