v1

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group added in v1.0.4

type Group struct {
	unversioned.TypeMeta `json:",inline"`
	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) IsAnAPIObject added in v1.0.4

func (*Group) IsAnAPIObject()

type GroupList added in v1.0.4

type GroupList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,omitempty"`
	Items                []Group `json:"items" description:"list of groups"`
}

func (*GroupList) IsAnAPIObject added in v1.0.4

func (*GroupList) IsAnAPIObject()

type Identity

type Identity struct {
	unversioned.TypeMeta `json:",inline"`
	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 map[string]string `json:"extra,omitempty" description:"extra information for this identity"`
}

func (*Identity) IsAnAPIObject

func (*Identity) IsAnAPIObject()

type IdentityList

type IdentityList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,omitempty"`
	Items                []Identity `json:"items" description:"list of identities"`
}

func (*IdentityList) IsAnAPIObject

func (*IdentityList) IsAnAPIObject()

type User

type User struct {
	unversioned.TypeMeta `json:",inline"`
	kapi.ObjectMeta      `json:"metadata,omitempty"`

	FullName string `json:"fullName,omitempty" description:"full name of user"`

	Identities []string `json:"identities" description:"list of identities"`

	Groups []string `json:"groups" description:"list of groups"`
}

func (*User) IsAnAPIObject

func (*User) IsAnAPIObject()

type UserIdentityMapping

type UserIdentityMapping struct {
	unversioned.TypeMeta `json:",inline"`
	kapi.ObjectMeta      `json:"metadata,omitempty"`

	Identity kapi.ObjectReference `json:"identity,omitempty" description:"reference to an identity"`
	User     kapi.ObjectReference `json:"user,omitempty" description:"reference to a user"`
}

func (*UserIdentityMapping) IsAnAPIObject

func (*UserIdentityMapping) IsAnAPIObject()

type UserList

type UserList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,omitempty"`
	Items                []User `json:"items" description:"list of users"`
}

func (*UserList) IsAnAPIObject

func (*UserList) IsAnAPIObject()

Jump to

Keyboard shortcuts

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