storage

package
v0.0.0-...-750f79a Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KindStorage

type KindStorage interface {
	Register(tk v1alpha1.TargetKind) error
	Unregister(tk v1alpha1.TargetKind) error
	Get(kind v1alpha1.Kind) (*ResourceData, error)
	Exist(tk v1alpha1.TargetKind) bool
	Equal(tk v1alpha1.TargetKind, registeredTk *ResourceData) bool
}

func NewKindStorage

func NewKindStorage() KindStorage

type ResourceData

type ResourceData struct {
	Schema      schema.GroupVersionResource
	LabelsPath  string
	LabelFields []string
}

Jump to

Keyboard shortcuts

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