Documentation ¶
Index ¶
- func CheckEvent(target string, statusCode int, retryOptions ...retry.Option) error
- func CreateApplication(appConnectorInterface appconnectorclientset.Interface, name string, ...) error
- func CreateApplicationMapping(appBroker appbrokerclientset.Interface, name, namespace string) error
- func CreateServiceInstance(serviceCatalogInterface servicecatalogclientset.Interface, ...) error
- func CreateSubscriber(k8s k8s.Interface, name, namespace string, ...) error
- func CreateSubscription(dynamicClient dynamic.Interface, name, namespace string, ...) error
- func SendEvent(target, eventType, eventTypeVersion string) error
- func WaitForApplication(appConnector appconnectorclientset.Interface, name string) error
- func WaitForServiceInstance(serviceCatalog servicecatalogclientset.Interface, name, namespace string, ...) error
- func WaitForSubscriber(k8s k8s.Interface, name, namespace string) error
- func WaitForSubscriptionReady(dynamicClient dynamic.Interface, name, namespace string, ...) error
- type ApplicationOption
- type SubOption
- type SubscriberOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEvent ¶
CheckEvent checks whether the subscriber has received the event or not
func CreateApplication ¶
func CreateApplication(appConnectorInterface appconnectorclientset.Interface, name string, applicationOptions ...ApplicationOption) error
func CreateApplicationMapping ¶
func CreateApplicationMapping(appBroker appbrokerclientset.Interface, name, namespace string) error
func CreateServiceInstance ¶
func CreateServiceInstance(serviceCatalogInterface servicecatalogclientset.Interface, serviceId, namespace string) error
func CreateSubscriber ¶
func CreateSubscriber(k8s k8s.Interface, name, namespace string, subscriberOptions ...SubscriberOption) error
func CreateSubscription ¶
func WaitForApplication ¶
func WaitForApplication(appConnector appconnectorclientset.Interface, name string) error
func WaitForServiceInstance ¶
func WaitForServiceInstance(serviceCatalog servicecatalogclientset.Interface, name, namespace string, retryOptions ...retry.Option) error
Types ¶
type ApplicationOption ¶
type ApplicationOption func(*appconnectorv1alpha1.Application)
func WithAccessLabel ¶
func WithAccessLabel(label string) ApplicationOption
func WithEventService ¶
func WithEventService(id string) ApplicationOption
type SubscriberOption ¶
type SubscriberOption func(deployment *appsv1.Deployment)
func WithSubscriberImage ¶
func WithSubscriberImage(image string) SubscriberOption
Click to show internal directories.
Click to hide internal directories.