Documentation ¶
Index ¶
- func GroupVersionKind() schema.GroupVersionKind
- func GroupVersionKindList() schema.GroupVersionKind
- func GroupVersionResource() schema.GroupVersionResource
- func SetupSchemeOrDie() (*runtime.Scheme, error)
- type Client
- func (c Client) Create(sub *kymaeventingv1alpha1.Subscription) (*kymaeventingv1alpha1.Subscription, error)
- func (c Client) Delete(namespace, name string) error
- func (c Client) Get(namespace, name string) (*kymaeventingv1alpha1.Subscription, error)
- func (c Client) List() (*kymaeventingv1alpha1.SubscriptionList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupVersionKind ¶
func GroupVersionKind() schema.GroupVersionKind
func GroupVersionKindList ¶
func GroupVersionKindList() schema.GroupVersionKind
func GroupVersionResource ¶
func GroupVersionResource() schema.GroupVersionResource
func SetupSchemeOrDie ¶
Types ¶
type Client ¶
func NewFakeClient ¶
func NewFakeClient(subscriptions *kymaeventingv1alpha1.SubscriptionList) (Client, error)
func (Client) Create ¶
func (c Client) Create(sub *kymaeventingv1alpha1.Subscription) (*kymaeventingv1alpha1.Subscription, error)
func (Client) Get ¶
func (c Client) Get(namespace, name string) (*kymaeventingv1alpha1.Subscription, error)
func (Client) List ¶
func (c Client) List() (*kymaeventingv1alpha1.SubscriptionList, error)
Click to show internal directories.
Click to hide internal directories.