Documentation ¶
Index ¶
- func ConfigMaps() schema.GroupVersionKind
- func Endpoints() schema.GroupVersionKind
- func Events() schema.GroupVersionKind
- func HostToVirtual(ctx *synccontext.SyncContext, pName, pNamespace string, pObj client.Object, ...) types.NamespacedName
- func Ingresses() schema.GroupVersionKind
- func IsManaged(ctx *synccontext.SyncContext, pObj client.Object) (bool, error)
- func Namespaces() schema.GroupVersionKind
- func NewMappingsRegistry(store synccontext.MappingsStore) synccontext.MappingsRegistry
- func Nodes() schema.GroupVersionKind
- func PersistentVolumeClaims() schema.GroupVersionKind
- func PersistentVolumes() schema.GroupVersionKind
- func Pods() schema.GroupVersionKind
- func PriorityClasses() schema.GroupVersionKind
- func Secrets() schema.GroupVersionKind
- func ServiceAccounts() schema.GroupVersionKind
- func Services() schema.GroupVersionKind
- func StorageClasses() schema.GroupVersionKind
- func VirtualToHost(ctx *synccontext.SyncContext, vName, vNamespace string, ...) types.NamespacedName
- func VirtualToHostName(ctx *synccontext.SyncContext, vName, vNamespace string, ...) string
- func VirtualToHostNamespace(ctx *synccontext.SyncContext, vNamespace string) string
- func VolumeSnapshotClasses() schema.GroupVersionKind
- func VolumeSnapshotContents() schema.GroupVersionKind
- func VolumeSnapshots() schema.GroupVersionKind
- type Registry
- func (m *Registry) AddMapper(mapper synccontext.Mapper) error
- func (m *Registry) ByGVK(gvk schema.GroupVersionKind) (synccontext.Mapper, error)
- func (m *Registry) Has(gvk schema.GroupVersionKind) bool
- func (m *Registry) List() map[schema.GroupVersionKind]synccontext.Mapper
- func (m *Registry) Store() synccontext.MappingsStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMaps ¶
func ConfigMaps() schema.GroupVersionKind
func Endpoints ¶
func Endpoints() schema.GroupVersionKind
func Events ¶
func Events() schema.GroupVersionKind
func HostToVirtual ¶
func HostToVirtual(ctx *synccontext.SyncContext, pName, pNamespace string, pObj client.Object, gvk schema.GroupVersionKind) types.NamespacedName
func Ingresses ¶
func Ingresses() schema.GroupVersionKind
func IsManaged ¶
func IsManaged(ctx *synccontext.SyncContext, pObj client.Object) (bool, error)
func Namespaces ¶
func Namespaces() schema.GroupVersionKind
func NewMappingsRegistry ¶
func NewMappingsRegistry(store synccontext.MappingsStore) synccontext.MappingsRegistry
func Nodes ¶
func Nodes() schema.GroupVersionKind
func PersistentVolumeClaims ¶
func PersistentVolumeClaims() schema.GroupVersionKind
func PersistentVolumes ¶
func PersistentVolumes() schema.GroupVersionKind
func Pods ¶
func Pods() schema.GroupVersionKind
func PriorityClasses ¶
func PriorityClasses() schema.GroupVersionKind
func Secrets ¶
func Secrets() schema.GroupVersionKind
func ServiceAccounts ¶
func ServiceAccounts() schema.GroupVersionKind
func Services ¶
func Services() schema.GroupVersionKind
func StorageClasses ¶
func StorageClasses() schema.GroupVersionKind
func VirtualToHost ¶
func VirtualToHost(ctx *synccontext.SyncContext, vName, vNamespace string, gvk schema.GroupVersionKind) types.NamespacedName
func VirtualToHostName ¶
func VirtualToHostName(ctx *synccontext.SyncContext, vName, vNamespace string, gvk schema.GroupVersionKind) string
func VirtualToHostNamespace ¶
func VirtualToHostNamespace(ctx *synccontext.SyncContext, vNamespace string) string
func VolumeSnapshotClasses ¶
func VolumeSnapshotClasses() schema.GroupVersionKind
func VolumeSnapshotContents ¶
func VolumeSnapshotContents() schema.GroupVersionKind
func VolumeSnapshots ¶
func VolumeSnapshots() schema.GroupVersionKind
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) ByGVK ¶
func (m *Registry) ByGVK(gvk schema.GroupVersionKind) (synccontext.Mapper, error)
func (*Registry) List ¶
func (m *Registry) List() map[schema.GroupVersionKind]synccontext.Mapper
func (*Registry) Store ¶
func (m *Registry) Store() synccontext.MappingsStore
Click to show internal directories.
Click to hide internal directories.