applyset

package
v1.19.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTooling

func FormatTooling(name, version string) string

FormatTooling returns a formatted value for the ApplySet tooling annotation.

func FromSync

func FromSync(syncName string, syncScope declared.Scope, mapper meta.RESTMapper, client resource.RESTClient) *kubectlapply.ApplySet

FromSync constructs a new ApplySet for the specified RootSync or RepoSync. The RESTMapper & RESTClient are optional, depending on which methods you plan to call.

func IDFromSync

func IDFromSync(syncName string, syncScope declared.Scope) string

IDFromSync generates an ApplySet ID for the RootSync or RepoSync as an ApplySet parent.

func ParseTooling

func ParseTooling(toolingValue string) (kubectlapply.ApplySetTooling, error)

ParseTooling parses the tooling value with format NAME/VERSION. Returns an error if the input does not contain at least one slash (`/`).

Types

This section is empty.

Jump to

Keyboard shortcuts

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