Versions in this module Expand all Collapse all v0 v0.2.0 Jun 15, 2020 Changes in this version + func DeclareDefaultVersion(gv schema.GroupVersion) + func DefaultScheme() *runtime.Scheme + func DefaultVersion(g string) string + func EqualsClusterObjectKey(a, b ClusterObjectKey) bool + func EqualsObjectKey(a, b ObjectKey) bool + func EqualsObjectName(a, b ObjectName) bool + func NewGroupKind(group, kind string) schema.GroupKind + func NewObjectName(names ...string) abstract.GenericObjectName + func NewObjectNameFor(p ObjectNameProvider) abstract.GenericObjectName + func ParseObjectName(name string) (abstract.GenericObjectName, error) + func Register(builders ...runtime.SchemeBuilder) + type ClusterObjectKey = abstract.ClusterObjectKey + func NewClusterKey(cluster string, groupKind schema.GroupKind, namespace, name string) ClusterObjectKey + func NewClusterKeyForObject(cluster string, key ObjectKey) ClusterObjectKey + func ParseClusterObjectKey(clusterid string, key string) (ClusterObjectKey, error) + type ClusterObjectKeySet = abstract.ClusterObjectKeySet + func NewClusterObjectKeSetBySets(sets ...ClusterObjectKeySet) ClusterObjectKeySet + func NewClusterObjectKeySet(a ...ClusterObjectKey) ClusterObjectKeySet + func NewClusterObjectKeySetByArray(a []ClusterObjectKey) ClusterObjectKeySet + type Decoder = abstract.Decoder + type GenericObjectName = abstract.GenericObjectName + type GroupKindProvider = abstract.GroupKindProvider + type GroupKindSet = abstract.GroupKindSet + func NewGroupKindSet(a ...schema.GroupKind) GroupKindSet + func NewGroupKindSetByArray(a []schema.GroupKind) GroupKindSet + func NewGroupKindSetBySets(sets ...GroupKindSet) GroupKindSet + type Interface interface + GroupVersionKind func() schema.GroupVersionKind + IsUnstructured func() bool + ListType func() reflect.Type + New func(ObjectName) Object + ObjectType func() reflect.Type + Wrap func(ObjectData) (Object, error) + type Internal interface + CheckOType func(obj ObjectData, unstructured ...bool) error + CreateData func(name ...ObjectDataName) ObjectData + CreateListData func() runtime.Object + type ModificationState struct + func NewModificationState(object Object, mod ...bool) *ModificationState + func (this *ModificationState) AssureLabel(name, value string) *ModificationState + func (this *ModificationState) Object() Object + type Object interface + CreateIn func(cluster resources.Cluster) error + CreateOrUpdateIn func(cluster resources.Cluster) error + DeepCopy func() Object + DeleteIn func(cluster resources.Cluster) error + ForCluster func(cluster resources.Cluster) (resources.Object, error) + GetResource func() Interface + ModifiyIn func(cluster resources.Cluster, modifier resources.Modifier) (bool, error) + SetFinalizerIn func(cluster resources.Cluster, key string) error + UpdateIn func(cluster resources.Cluster) error + type ObjectData = abstract.ObjectData + type ObjectDataName = abstract.ObjectDataName + type ObjectKey = abstract.ObjectKey + func NewKey(groupKind schema.GroupKind, namespace, name string) ObjectKey + func NewKeyForData(data ObjectData) ObjectKey + type ObjectMatcher = abstract.ObjectMatcher + type ObjectName = abstract.ObjectName + func NewObjectNameForData(data ObjectData) ObjectName + type ObjectNameProvider = abstract.ObjectNameProvider + type ObjectNameSet = abstract.ObjectNameSet + func NewObjectNameSet(a ...ObjectName) ObjectNameSet + func NewObjectNameSetByArray(a []ObjectName) ObjectNameSet + func NewObjectNameSetBySets(sets ...ObjectNameSet) ObjectNameSet + type ResourceContext interface + Resources func() Resources + func NewResourceContext(ctx context.Context, scheme *runtime.Scheme) ResourceContext + type Resources interface + Decode func([]byte) (Object, error) + Get func(spec interface{}) (Interface, error) + GetByExample func(obj runtime.Object) (Interface, error) + GetByGK func(gk schema.GroupKind) (Interface, error) + GetByGVK func(gvk schema.GroupVersionKind) (Interface, error) + GetUnstructured func(spec interface{}) (Interface, error) + GetUnstructuredByGK func(gk schema.GroupKind) (Interface, error) + GetUnstructuredByGVK func(gvk schema.GroupVersionKind) (Interface, error) + ResourceContext func() ResourceContext + Wrap func(obj ObjectData) (Object, error) + type ResourcesSource interface + Resources func() Resources