Documentation ¶
Index ¶
- func DomainToURL(domain string) string
- func ObjectReference(ctx context.Context, dynamicClient dynamic.Interface, namespace string, ...) (duck.Marshalable, error)
- func ResourceInterface(dynamicClient dynamic.Interface, namespace string, ref *corev1.ObjectReference) (dynamic.ResourceInterface, error)
- func SubscriberSpec(ctx context.Context, dynamicClient dynamic.Interface, namespace string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DomainToURL ¶
DomainToURL converts a domain into an HTTP URL.
func ObjectReference ¶
func ObjectReference(ctx context.Context, dynamicClient dynamic.Interface, namespace string, ref *corev1.ObjectReference) (duck.Marshalable, error)
ObjectReference resolves an object based on an ObjectReference.
func ResourceInterface ¶
func ResourceInterface(dynamicClient dynamic.Interface, namespace string, ref *corev1.ObjectReference) (dynamic.ResourceInterface, error)
ResourceInterface creates a resource interface for the given ObjectReference.
func SubscriberSpec ¶
func SubscriberSpec(ctx context.Context, dynamicClient dynamic.Interface, namespace string, s *v1alpha1.SubscriberSpec) (string, error)
SubscriberSpec resolves the Spec.Call object. If it's an ObjectReference, it will resolve the object and treat it as an Addressable. If it's a DNSName, then it's used as is. TODO: Once Service Routes, etc. support Callable, use that.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.