Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrEmptyComponent = errors.New("component is empty")
ErrEmptyComponent indicates that the component is empty.
var ErrEmptyResource = errors.New("resource is empty")
ErrEmptyResource indicates that the resource is empty.
var ErrInvalidContent = errors.New("root key is invalid")
ErrInvalidContent is an error for root key is invalid
var ErrIsNotObjectKey = errors.New("key is not an object key")
ErrIsNotObjectKey indicates that this key is not a key point to a single object.
var ErrIsNotRootKey = errors.New("key is not a root key")
ErrIsNotRootKey indicates that this key is not a root key
var ErrKeyExists = errors.New("specified key has already existed")
ErrKeyExists indicates that this key has already existed
var ErrKeyHasNoContent = errors.New("specified key has no contents")
ErrKeyHasNoContent is an error for file key that has no contents
var ErrKeyIsEmpty = errors.New("specified key is empty")
ErrKeyIsEmpty is an error for key is empty
var ErrStorageAccessConflict = errors.New("specified key is under accessing")
ErrStorageAccessConflict is an error for accessing key conflict
var ErrStorageNotFound = errors.New("specified key is not found")
ErrStorageNotFound is an error for not found accessing key
var ErrUnknownClusterInfoType = errors.New("unknown ClusterInfoType")
ErrUnknownClusterInfoType indicates the ClusterInfo type is unknown to the storage.
var ErrUnrecognizedKey = errors.New("unrecognized key")
ErrUnrecognizedKey indicates that this key cannot be recognized by this store
var ErrUpdateConflict = errors.New("update conflict for old resource version")
ErrUpdateConflict indicates that using an old object to update a new object
Functions ¶
This section is empty.
Types ¶
type ClusterInfoKey ¶ added in v1.2.0
type ClusterInfoKey struct { ClusterInfoType UrlPath string }
func (*ClusterInfoKey) Key ¶ added in v1.5.0
func (key *ClusterInfoKey) Key() string
type ClusterInfoType ¶ added in v1.2.0
type ClusterInfoType string
const ( Version ClusterInfoType = "version" APIsInfo ClusterInfoType = "apis" APIResourcesInfo ClusterInfoType = "api-resources" Unknown ClusterInfoType = "unknown" )