Documentation ¶
Index ¶
Constants ¶
View Source
const GroupName = ""
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶ added in v1.1.3
Types ¶
type Group ¶ added in v1.0.4
type Group struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // Users is the list of users in this group. Users []string `json:"users" description:"list of users in this group"` }
Group represents a referenceable set of Users
func (*Group) GetObjectKind ¶ added in v1.1.3
func (obj *Group) GetObjectKind() unversioned.ObjectKind
type GroupList ¶ added in v1.0.4
type GroupList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of groups Items []Group `json:"items" description:"list of groups"` }
GroupList is a collection of Groups
func (*GroupList) GetObjectKind ¶ added in v1.1.3
func (obj *GroupList) GetObjectKind() unversioned.ObjectKind
type Identity ¶
type Identity struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // ProviderName is the source of identity information ProviderName string `json:"providerName" description:"source of identity information"` // ProviderUserName uniquely represents this identity in the scope of the provider ProviderUserName string `json:"providerUserName" description:"uniquely represents this identity in the scope of the provider"` // User is a reference to the user this identity is associated with // Both Name and UID must be set User kapi.ObjectReference `json:"user" description:"reference to the user this identity is associated with. both name and uid must be set"` // Extra holds extra information about this identity Extra map[string]string `json:"extra,omitempty" description:"extra information for this identity"` }
Identity records a successful authentication of a user with an identity provider
func (*Identity) GetObjectKind ¶ added in v1.1.3
func (obj *Identity) GetObjectKind() unversioned.ObjectKind
type IdentityList ¶
type IdentityList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of identities Items []Identity `json:"items" description:"list of identities"` }
IdentityList is a collection of Identities
func (*IdentityList) GetObjectKind ¶ added in v1.1.3
func (obj *IdentityList) GetObjectKind() unversioned.ObjectKind
type User ¶
type User struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // FullName is the full name of user FullName string `json:"fullName,omitempty" description:"full name of user"` // Identities are the identities associated with this user Identities []string `json:"identities" description:"list of identities"` // Groups are the groups that this user is a member of Groups []string `json:"groups" description:"list of groups"` }
User describes someone that makes requests to the API
func (*User) GetObjectKind ¶ added in v1.1.3
func (obj *User) GetObjectKind() unversioned.ObjectKind
type UserIdentityMapping ¶
type UserIdentityMapping struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // Identity is a reference to an identity Identity kapi.ObjectReference `json:"identity,omitempty" description:"reference to an identity"` // User is a reference to a user User kapi.ObjectReference `json:"user,omitempty" description:"reference to a user"` }
UserIdentityMapping maps a user to an identity
func (*UserIdentityMapping) GetObjectKind ¶ added in v1.1.3
func (obj *UserIdentityMapping) GetObjectKind() unversioned.ObjectKind
type UserList ¶
type UserList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of users Items []User `json:"items" description:"list of users"` }
UserList is a collection of Users
func (*UserList) GetObjectKind ¶ added in v1.1.3
func (obj *UserList) GetObjectKind() unversioned.ObjectKind
Click to show internal directories.
Click to hide internal directories.