instance

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualInstanceResourceName

func EqualInstanceResourceName(instanceName, a, b string) bool

EqualInstanceResourceName compare child resource names

func ExistInLastApplyed

func ExistInLastApplyed(inst cosmov1alpha1.InstanceObject, targetObj GVKNameGetter) bool

func InstanceResourceName

func InstanceResourceName(instanceName, resourceName string) string

InstanceResourceName is a child resource name created by instance All resources associated with instance has "INSTANCE_NAME-" prefix

func IsTarget

func IsTarget(ref cosmov1alpha1.ObjectRef, instanceName string, obj GVKNameGetter) bool

Types

type GVKNameGetter

type GVKNameGetter interface {
	GroupVersionKind() schema.GroupVersionKind
	GetName() string
}

Jump to

Keyboard shortcuts

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