Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	kapi.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 {
	kapi.TypeMeta `json:",inline"`
	kapi.ListMeta `json:"metadata,omitempty"`
	Items         []Identity `json:"items" description:"list of identities"`
}

func (*IdentityList) IsAnAPIObject

func (*IdentityList) IsAnAPIObject()

type User

type User struct {
	kapi.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 {
	kapi.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 {
	kapi.TypeMeta `json:",inline"`
	kapi.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