-
Notifications
You must be signed in to change notification settings - Fork 5
/
types.go
14 lines (12 loc) · 852 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package statefulset
import "errors"
var (
ErrInvalidToolsType = errors.New("type must be string, *appsv1.StatefulSet, appsv1.StatefulSet, metav1.Object or runtime.Object")
ErrInvalidCreateType = errors.New("type must be string, []byte, *appsv1.StatefulSet, appsv1.StatefulSet, metav1.Object, runtime.Object, *unstructured.Unstructured, unstructured.Unstructured or map[string]interface{}")
ErrInvalidUpdateType = ErrInvalidCreateType
ErrInvalidApplyType = ErrInvalidCreateType
ErrInvalidDeleteType = ErrInvalidCreateType
ErrInvalidGetType = ErrInvalidCreateType
ErrInvalidScaleType = ErrInvalidCreateType
ErrInvalidPatchType = errors.New("patch data type must be string, []byte, *appsv1.StatefulSet, appsv1.StatefulSet, metav1.Object, runtime.Object, *unstructured.Unstructured, unstructured.Unstructured or map[string]interface{}")
)