Documentation
¶
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func GroupToSelectableFields(group *Group) fields.Set
- func IdentityToSelectableFields(identity *Identity) fields.Set
- func Kind(kind string) unversioned.GroupKind
- func Resource(resource string) unversioned.GroupResource
- func UserToSelectableFields(user *User) fields.Set
- type Group
- type GroupList
- type Identity
- type IdentityList
- type User
- type UserIdentityMapping
- type UserList
Constants ¶
View Source
const GroupName = ""
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GroupToSelectableFields ¶ added in v1.0.8
GroupToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc
func IdentityToSelectableFields ¶ added in v1.0.8
IdentityToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc
func Kind ¶ added in v1.1.2
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func Resource ¶ added in v1.1.2
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type Group ¶ added in v1.0.4
type Group struct {
unversioned.TypeMeta
kapi.ObjectMeta
Users []string
}
Group represents a referenceable set of Users
func (*Group) GetObjectKind ¶ added in v1.1.4
func (obj *Group) GetObjectKind() unversioned.ObjectKind
type GroupList ¶ added in v1.0.4
type GroupList struct {
unversioned.TypeMeta
unversioned.ListMeta
Items []Group
}
func (*GroupList) GetObjectKind ¶ added in v1.1.4
func (obj *GroupList) GetObjectKind() unversioned.ObjectKind
type Identity ¶
type Identity struct {
unversioned.TypeMeta
kapi.ObjectMeta
// ProviderName is the source of identity information
ProviderName string
// ProviderUserName uniquely represents this identity in the scope of the provider
ProviderUserName string
// User is a reference to the user this identity is associated with
// Both Name and UID must be set
User kapi.ObjectReference
Extra map[string]string
}
func (*Identity) GetObjectKind ¶ added in v1.1.4
func (obj *Identity) GetObjectKind() unversioned.ObjectKind
type IdentityList ¶
type IdentityList struct {
unversioned.TypeMeta
unversioned.ListMeta
Items []Identity
}
func (*IdentityList) GetObjectKind ¶ added in v1.1.4
func (obj *IdentityList) GetObjectKind() unversioned.ObjectKind
type User ¶
type User struct {
unversioned.TypeMeta
kapi.ObjectMeta
FullName string
Identities []string
Groups []string
}
func (*User) GetObjectKind ¶ added in v1.1.4
func (obj *User) GetObjectKind() unversioned.ObjectKind
type UserIdentityMapping ¶
type UserIdentityMapping struct {
unversioned.TypeMeta
kapi.ObjectMeta
Identity kapi.ObjectReference
User kapi.ObjectReference
}
func (*UserIdentityMapping) GetObjectKind ¶ added in v1.1.4
func (obj *UserIdentityMapping) GetObjectKind() unversioned.ObjectKind
type UserList ¶
type UserList struct {
unversioned.TypeMeta
unversioned.ListMeta
Items []User
}
func (*UserList) GetObjectKind ¶ added in v1.1.4
func (obj *UserList) GetObjectKind() unversioned.ObjectKind
Source Files
¶
- fields.go
- register.go
- types.go
Click to show internal directories.
Click to hide internal directories.