Documentation ¶
Index ¶
- Constants
- Variables
- func FromV1AddressStatus(ctx context.Context, from pkgduckv1.AddressStatus) (pkgduckv1beta1.AddressStatus, error)
- func FromV1IdentitySpec(from duckv1.IdentitySpec) duckv1beta1.IdentitySpec
- func FromV1IdentityStatus(from duckv1.IdentityStatus) duckv1beta1.IdentityStatus
- func FromV1PubSubSpec(from duckv1.PubSubSpec) duckv1beta1.PubSubSpec
- func FromV1PubSubStatus(from duckv1.PubSubStatus) duckv1beta1.PubSubStatus
- func FromV1ToV1alpha1IdentitySpec(from duckv1.IdentitySpec) duckv1alpha1.IdentitySpec
- func FromV1ToV1alpha1IdentityStatus(from duckv1.IdentityStatus) duckv1alpha1.IdentityStatus
- func FromV1ToV1alpha1PubSubSpec(from duckv1.PubSubSpec) duckv1alpha1.PubSubSpec
- func FromV1ToV1alpha1PubSubStatus(from duckv1.PubSubStatus) duckv1alpha1.PubSubStatus
- func FromV1alpha1ToV1IdentitySpec(from duckv1alpha1.IdentitySpec) duckv1.IdentitySpec
- func FromV1alpha1ToV1IdentityStatus(from duckv1alpha1.IdentityStatus) duckv1.IdentityStatus
- func FromV1alpha1ToV1PubSubSpec(from duckv1alpha1.PubSubSpec) duckv1.PubSubSpec
- func FromV1alpha1ToV1PubSubStatus(from duckv1alpha1.PubSubStatus) duckv1.PubSubStatus
- func FromV1beta1AddressStatus(ctx context.Context, from pkgduckv1beta1.AddressStatus) (pkgduckv1alpha1.AddressStatus, error)
- func FromV1beta1IdentitySpec(from duckv1beta1.IdentitySpec) duckv1alpha1.IdentitySpec
- func FromV1beta1IdentityStatus(from duckv1beta1.IdentityStatus) duckv1alpha1.IdentityStatus
- func FromV1beta1PubSubSpec(from duckv1beta1.PubSubSpec) duckv1alpha1.PubSubSpec
- func FromV1beta1PubSubStatus(from duckv1beta1.PubSubStatus) duckv1alpha1.PubSubStatus
- func FromV1beta1SubscribableSpec(from *eventingduckv1beta1.SubscribableSpec) *eventingduckv1alpha1.Subscribable
- func MarkV1alpha1Deprecated(cs *apis.ConditionSet, s *pkgduckv1.Status)
- func RemoveV1alpha1Deprecated(cs *apis.ConditionSet, s *pkgduckv1.Status)
- func ToV1AddressStatus(ctx context.Context, from pkgduckv1beta1.AddressStatus) (pkgduckv1.AddressStatus, error)
- func ToV1IdentitySpec(from duckv1beta1.IdentitySpec) duckv1.IdentitySpec
- func ToV1IdentityStatus(from duckv1beta1.IdentityStatus) duckv1.IdentityStatus
- func ToV1PubSubSpec(from duckv1beta1.PubSubSpec) duckv1.PubSubSpec
- func ToV1PubSubStatus(from duckv1beta1.PubSubStatus) duckv1.PubSubStatus
- func ToV1beta1AddressStatus(ctx context.Context, from pkgduckv1alpha1.AddressStatus) (pkgduckv1beta1.AddressStatus, error)
- func ToV1beta1IdentitySpec(from duckv1alpha1.IdentitySpec) duckv1beta1.IdentitySpec
- func ToV1beta1IdentityStatus(from duckv1alpha1.IdentityStatus) duckv1beta1.IdentityStatus
- func ToV1beta1PubSubSpec(from duckv1alpha1.PubSubSpec) duckv1beta1.PubSubSpec
- func ToV1beta1PubSubStatus(from duckv1alpha1.PubSubStatus) duckv1beta1.PubSubStatus
- func ToV1beta1SubscribableSpec(from *eventingduckv1alpha1.Subscribable) *eventingduckv1beta1.SubscribableSpec
Constants ¶
View Source
const (
DeprecatedType = "Deprecated"
)
Variables ¶
View Source
var ( DeprecatedV1Alpha1Condition = apis.Condition{ Type: DeprecatedType, Reason: deprecatedV1Alpha1Reason, Status: corev1.ConditionTrue, Severity: apis.ConditionSeverityWarning, Message: deprecatedV1Alpha1Msg, } )
Functions ¶
func FromV1AddressStatus ¶ added in v0.17.0
func FromV1AddressStatus(ctx context.Context, from pkgduckv1.AddressStatus) (pkgduckv1beta1.AddressStatus, error)
func FromV1IdentitySpec ¶ added in v0.17.0
func FromV1IdentitySpec(from duckv1.IdentitySpec) duckv1beta1.IdentitySpec
func FromV1IdentityStatus ¶ added in v0.17.0
func FromV1IdentityStatus(from duckv1.IdentityStatus) duckv1beta1.IdentityStatus
func FromV1PubSubSpec ¶ added in v0.17.0
func FromV1PubSubSpec(from duckv1.PubSubSpec) duckv1beta1.PubSubSpec
func FromV1PubSubStatus ¶ added in v0.17.0
func FromV1PubSubStatus(from duckv1.PubSubStatus) duckv1beta1.PubSubStatus
func FromV1ToV1alpha1IdentitySpec ¶ added in v0.17.0
func FromV1ToV1alpha1IdentitySpec(from duckv1.IdentitySpec) duckv1alpha1.IdentitySpec
func FromV1ToV1alpha1IdentityStatus ¶ added in v0.17.0
func FromV1ToV1alpha1IdentityStatus(from duckv1.IdentityStatus) duckv1alpha1.IdentityStatus
func FromV1ToV1alpha1PubSubSpec ¶ added in v0.17.0
func FromV1ToV1alpha1PubSubSpec(from duckv1.PubSubSpec) duckv1alpha1.PubSubSpec
func FromV1ToV1alpha1PubSubStatus ¶ added in v0.17.0
func FromV1ToV1alpha1PubSubStatus(from duckv1.PubSubStatus) duckv1alpha1.PubSubStatus
func FromV1alpha1ToV1IdentitySpec ¶ added in v0.17.0
func FromV1alpha1ToV1IdentitySpec(from duckv1alpha1.IdentitySpec) duckv1.IdentitySpec
func FromV1alpha1ToV1IdentityStatus ¶ added in v0.17.0
func FromV1alpha1ToV1IdentityStatus(from duckv1alpha1.IdentityStatus) duckv1.IdentityStatus
func FromV1alpha1ToV1PubSubSpec ¶ added in v0.17.0
func FromV1alpha1ToV1PubSubSpec(from duckv1alpha1.PubSubSpec) duckv1.PubSubSpec
func FromV1alpha1ToV1PubSubStatus ¶ added in v0.17.0
func FromV1alpha1ToV1PubSubStatus(from duckv1alpha1.PubSubStatus) duckv1.PubSubStatus
func FromV1beta1AddressStatus ¶
func FromV1beta1AddressStatus(ctx context.Context, from pkgduckv1beta1.AddressStatus) (pkgduckv1alpha1.AddressStatus, error)
func FromV1beta1IdentitySpec ¶
func FromV1beta1IdentitySpec(from duckv1beta1.IdentitySpec) duckv1alpha1.IdentitySpec
func FromV1beta1IdentityStatus ¶
func FromV1beta1IdentityStatus(from duckv1beta1.IdentityStatus) duckv1alpha1.IdentityStatus
func FromV1beta1PubSubSpec ¶
func FromV1beta1PubSubSpec(from duckv1beta1.PubSubSpec) duckv1alpha1.PubSubSpec
func FromV1beta1PubSubStatus ¶
func FromV1beta1PubSubStatus(from duckv1beta1.PubSubStatus) duckv1alpha1.PubSubStatus
func FromV1beta1SubscribableSpec ¶
func FromV1beta1SubscribableSpec(from *eventingduckv1beta1.SubscribableSpec) *eventingduckv1alpha1.Subscribable
func MarkV1alpha1Deprecated ¶ added in v0.17.0
func MarkV1alpha1Deprecated(cs *apis.ConditionSet, s *pkgduckv1.Status)
A helper function to mark v1alpha1 Deprecated Condition in the Status. We mark the Condition in status during conversion from a higher version to v1alpha1. TODO: remove after the 0.17 cut.
func RemoveV1alpha1Deprecated ¶ added in v0.17.0
func RemoveV1alpha1Deprecated(cs *apis.ConditionSet, s *pkgduckv1.Status)
A helper function to remove Deprecated Condition from the Status during conversion from v1alpha1 to a higher version. TODO: remove after the 0.17 cut.
func ToV1AddressStatus ¶ added in v0.17.0
func ToV1AddressStatus(ctx context.Context, from pkgduckv1beta1.AddressStatus) (pkgduckv1.AddressStatus, error)
func ToV1IdentitySpec ¶ added in v0.17.0
func ToV1IdentitySpec(from duckv1beta1.IdentitySpec) duckv1.IdentitySpec
func ToV1IdentityStatus ¶ added in v0.17.0
func ToV1IdentityStatus(from duckv1beta1.IdentityStatus) duckv1.IdentityStatus
func ToV1PubSubSpec ¶ added in v0.17.0
func ToV1PubSubSpec(from duckv1beta1.PubSubSpec) duckv1.PubSubSpec
func ToV1PubSubStatus ¶ added in v0.17.0
func ToV1PubSubStatus(from duckv1beta1.PubSubStatus) duckv1.PubSubStatus
func ToV1beta1AddressStatus ¶
func ToV1beta1AddressStatus(ctx context.Context, from pkgduckv1alpha1.AddressStatus) (pkgduckv1beta1.AddressStatus, error)
func ToV1beta1IdentitySpec ¶
func ToV1beta1IdentitySpec(from duckv1alpha1.IdentitySpec) duckv1beta1.IdentitySpec
func ToV1beta1IdentityStatus ¶
func ToV1beta1IdentityStatus(from duckv1alpha1.IdentityStatus) duckv1beta1.IdentityStatus
func ToV1beta1PubSubSpec ¶
func ToV1beta1PubSubSpec(from duckv1alpha1.PubSubSpec) duckv1beta1.PubSubSpec
func ToV1beta1PubSubStatus ¶
func ToV1beta1PubSubStatus(from duckv1alpha1.PubSubStatus) duckv1beta1.PubSubStatus
func ToV1beta1SubscribableSpec ¶
func ToV1beta1SubscribableSpec(from *eventingduckv1alpha1.Subscribable) *eventingduckv1beta1.SubscribableSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.