Documentation ¶
Overview ¶
Package resources contains information about the resources to replicate through the CRD replicator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { // GroupVersionResource contains the GVR of the resource to replicate. GroupVersionResource schema.GroupVersionResource // PeeringPhase contains the peering phase when this resource should be replicated. PeeringPhase consts.PeeringPhase // Ownership indicates the ownership over this resource. Ownership consts.OwnershipType }
Resource contains a list of resources identified by their GVR.
func GetResourcesToReplicate ¶
func GetResourcesToReplicate() []Resource
GetResourcesToReplicate returns the list of resources to be replicated through the CRD replicator.
Click to show internal directories.
Click to hide internal directories.