Documentation
¶
Overview ¶
Package volsync contains the internal builders for VolSync resources. Public callers should use github.com/go-kure/kure/pkg/kubernetes/volsync.
The internal layer is intentionally thin: per-mover Specs are upstream types reused directly via defined-type wrappers in the public package, so only the resource constructors (ReplicationSource, ReplicationDestination) live here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateReplicationDestination ¶
func CreateReplicationDestination(name, namespace string) *volsyncv1alpha1.ReplicationDestination
CreateReplicationDestination returns a typed ReplicationDestination with TypeMeta and ObjectMeta populated. Spec fields are filled by the public package's dispatcher.
func CreateReplicationSource ¶
func CreateReplicationSource(name, namespace string) *volsyncv1alpha1.ReplicationSource
CreateReplicationSource returns a typed ReplicationSource with TypeMeta and ObjectMeta populated. Spec fields are left zero — the public package fills them via the dispatcher in pkg/kubernetes/volsync/create.go.
Types ¶
This section is empty.