Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualGVK ¶
func EqualGVK(a metav1.GroupVersionKind, b schema.GroupVersionKind) bool
func MatchKinds ¶
func MatchKinds(obj runtime.Object, reqKind metav1.GroupVersionKind) error
matchKinds returns error if given obj GVK is not equal to the reqKind GVK
Types ¶
type Client ¶
type Client interface {
FindSecret(ctx context.Context, binding *v1alpha1.Binding) (*corev1.Secret, error)
FindConfigMap(ctx context.Context, binding *v1alpha1.Binding) (*corev1.ConfigMap, error)
FindBindings(ctx context.Context, bindingsName []string, namespace string) ([]*v1alpha1.Binding, error)
}
Click to show internal directories.
Click to hide internal directories.