api

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2015 License: Apache-2.0 Imports: 1 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"`

	// Provider is the source of identity information - if empty, the default provider
	// is assumed.
	Provider string `json:"provider"`

	// UserName uniquely represents this identity in the scope of the identity provider
	UserName string `json:"userName"`

	Extra map[string]string `json:"extra,omitempty"`
}

func (*Identity) IsAnAPIObject

func (*Identity) IsAnAPIObject()

type User

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

	FullName string `json:"fullName,omitempty"`
}

func (*User) IsAnAPIObject

func (*User) IsAnAPIObject()

type UserIdentityMapping

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

	Identity Identity `json:"identity,omitempty"`
	User     User     `json:"user,omitempty"`
}

func (*UserIdentityMapping) IsAnAPIObject

func (*UserIdentityMapping) IsAnAPIObject()

type UserList

type UserList struct {
	kapi.TypeMeta   `json:",inline"`
	kapi.ObjectMeta `json:"metadata,omitempty"`
	Items           []User `json:"items"`
}

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