scope

package
v1.0.71 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope int

Scope is an enum type representing different output formats

const (
	// All renders all resources
	All Scope = iota
	// Release renders release-scoped resources only
	Release
	// Destination renders destination-scoped resources (such as ArgoCD project + generator) only
	Destination
)

func FromString

func FromString(value string) (Scope, error)

FromString will set the receiver's value to the one denoted by the given string

func (Scope) String

func (s Scope) String() string

String returns a string representation of this format

Jump to

Keyboard shortcuts

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