v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupSuffix = "view.dcontroller.io"

	Version = "v1alpha1"
)

Variables

This section is empty.

Functions

func GetOperator

func GetOperator(gvk schema.GroupVersionKind) string

GetOperator returns the operator name for a view resource.

func Group

func Group(operator string) string

Group returns the group for the view objects created by an operator.

func GroupVersion

func GroupVersion(operator string) schema.GroupVersion

GroupVersion returns the group-version for the view objects created by an operator.

func GroupVersionKind

func GroupVersionKind(operator, view string) schema.GroupVersionKind

GroupVersionKind returns the group-version-kind for the view objects created by an operator.

func HasViewGroupVersion added in v0.1.1

func HasViewGroupVersion(group string, gv schema.GroupVersion) bool

HasViewGroupVersion checks whether a group-version belongs to a view resource for a particular group.

func HasViewGroupVersionKind added in v0.1.1

func HasViewGroupVersionKind(group string, gvk schema.GroupVersionKind) bool

HasViewGroupVersionKind checks whether a group-version-kind belongs to a view resource for a particular group.

func IsViewGroup

func IsViewGroup(group string) bool

IsViewGroup checks whether a group belongs to a view resource.

func IsViewGroupVersion

func IsViewGroupVersion(gv schema.GroupVersion) bool

IsViewGroupVersion checks whether a group-version belongs to a view resource.

func IsViewKind

func IsViewKind(gvk schema.GroupVersionKind) bool

IsViewGroupVersion checks whether a group-version-kind belongs to a view resource.

func MapFromView

MapIntoView restores a native object back from an operator view into its native GVK.

func MapIntoView

func MapIntoView(operator string, gvk schema.GroupVersionKind) schema.GroupVersionKind

MapIntoView maps a native object into an operator view resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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