resources

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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