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
}
Click to show internal directories.
Click to hide internal directories.