v1

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func AddToScheme(scheme *runtime.Scheme)

Types

type Group

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"`
}

Group represents a referenceable set of Users

func (*Group) GetObjectKind

func (obj *Group) GetObjectKind() unversioned.ObjectKind

func (Group) SwaggerDoc

func (Group) SwaggerDoc() map[string]string

type GroupList

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"`
}

GroupList is a collection of Groups

func (*GroupList) GetObjectKind

func (obj *GroupList) GetObjectKind() unversioned.ObjectKind

func (GroupList) SwaggerDoc

func (GroupList) SwaggerDoc() map[string]string

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"`

	// ProviderUserName uniquely represents this identity in the scope of the provider
	ProviderUserName string `json:"providerUserName"`

	// User is a reference to the user this identity is associated with
	// Both Name and UID must be set
	User kapi.ObjectReference `json:"user"`

	// Extra holds extra information about this identity
	Extra map[string]string `json:"extra,omitempty"`
}

Identity records a successful authentication of a user with an identity provider

func (*Identity) GetObjectKind

func (obj *Identity) GetObjectKind() unversioned.ObjectKind

func (Identity) SwaggerDoc

func (Identity) SwaggerDoc() map[string]string

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"`
}

IdentityList is a collection of Identities

func (*IdentityList) GetObjectKind

func (obj *IdentityList) GetObjectKind() unversioned.ObjectKind

func (IdentityList) SwaggerDoc

func (IdentityList) SwaggerDoc() map[string]string

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"`

	// Identities are the identities associated with this user
	Identities []string `json:"identities"`

	// Groups are the groups that this user is a member of
	Groups []string `json:"groups"`
}

User describes someone that makes requests to the API

func (*User) GetObjectKind

func (obj *User) GetObjectKind() unversioned.ObjectKind

func (User) SwaggerDoc

func (User) SwaggerDoc() map[string]string

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"`
	// User is a reference to a user
	User kapi.ObjectReference `json:"user,omitempty"`
}

UserIdentityMapping maps a user to an identity

func (*UserIdentityMapping) GetObjectKind

func (obj *UserIdentityMapping) GetObjectKind() unversioned.ObjectKind

func (UserIdentityMapping) SwaggerDoc

func (UserIdentityMapping) SwaggerDoc() map[string]string

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"`
}

UserList is a collection of Users

func (*UserList) GetObjectKind

func (obj *UserList) GetObjectKind() unversioned.ObjectKind

func (UserList) SwaggerDoc

func (UserList) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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