Documentation
¶
Overview ¶
Package ducktypes contains helpers to interact with Knative duck-typed objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Address ¶
func Address(obj *unstructured.Unstructured) *url.URL
Address returns the address of an Addressable object as a URL. Fails the test if not found.
func DestinationToMap ¶
func DestinationToMap(dst *duckv1.Destination) map[string]interface{}
DestinationToMap performs a conversion of duckv1.Destination to map[string]interface{}. Useful to avoid errors such as "cannot deep copy *v1.KReference" while setting a fields on an unstructured.Unstrucured object.
func WaitUntilReady ¶
func WaitUntilReady(c dynamic.Interface, obj *unstructured.Unstructured) *unstructured.Unstructured
WaitUntilReady waits until the given resource's status becomes ready.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.