Documentation ¶
Index ¶
- func MergeElements(log logging.Logger, ctx ocm.Context, s compdesc.ElementAccessor, ...) error
- func MergeLabel(ctx ocm.Context, s metav1.Label, t *metav1.Label) error
- func MergeLabels(log logging.Logger, ctx ocm.Context, s metav1.Labels, t *metav1.Labels) error
- func MergeSignatures(s metav1.Signatures, t *metav1.Signatures) error
- func PrepareDescriptor(log logging.Logger, ctx ocm.Context, s *compdesc.ComponentDescriptor, ...) (*compdesc.ComponentDescriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeElements ¶
func MergeElements(log logging.Logger, ctx ocm.Context, s compdesc.ElementAccessor, t compdesc.ElementAccessor) error
func MergeLabels ¶
MergeLabels tries to merge old label states into the new target state.
func MergeSignatures ¶
func MergeSignatures(s metav1.Signatures, t *metav1.Signatures) error
MergeSignatures tries to merge old signatures into the new target state.
func PrepareDescriptor ¶
func PrepareDescriptor(log logging.Logger, ctx ocm.Context, s *compdesc.ComponentDescriptor, t *compdesc.ComponentDescriptor) (*compdesc.ComponentDescriptor, error)
PrepareDescriptor provides a descriptor for the transport target based on a descriptor from the transport source and a descriptor already prsent at the target.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.