api

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupToSelectableFields added in v1.0.8

func GroupToSelectableFields(group *Group) fields.Set

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

func IdentityToSelectableFields(identity *Identity) fields.Set

IdentityToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc

func UserToSelectableFields added in v1.0.8

func UserToSelectableFields(user *User) fields.Set

UserToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc

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) IsAnAPIObject added in v1.0.4

func (*Group) IsAnAPIObject()

type GroupList added in v1.0.4

type GroupList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []Group
}

func (*GroupList) IsAnAPIObject added in v1.0.4

func (*GroupList) IsAnAPIObject()

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) IsAnAPIObject

func (*Identity) IsAnAPIObject()

type IdentityList

type IdentityList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []Identity
}

func (*IdentityList) IsAnAPIObject

func (*IdentityList) IsAnAPIObject()

type User

type User struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	FullName string

	Identities []string

	Groups []string
}

func (*User) IsAnAPIObject

func (*User) IsAnAPIObject()

type UserIdentityMapping

type UserIdentityMapping struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	Identity kapi.ObjectReference
	User     kapi.ObjectReference
}

func (*UserIdentityMapping) IsAnAPIObject

func (*UserIdentityMapping) IsAnAPIObject()

type UserList

type UserList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []User
}

func (*UserList) IsAnAPIObject

func (*UserList) IsAnAPIObject()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL