convert

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

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 FromV1beta1PubSubSpec

func FromV1beta1PubSubSpec(from duckv1beta1.PubSubSpec) duckv1alpha1.PubSubSpec

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 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 ToV1beta1PubSubSpec

func ToV1beta1PubSubSpec(from duckv1alpha1.PubSubSpec) duckv1beta1.PubSubSpec

Types

This section is empty.

Jump to

Keyboard shortcuts

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