api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 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" yaml:",inline"`
	Labels        map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`

	// Name is the unique identifier of a user within a given provider
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
	// Provider is the source of identity information - if empty, the default provider
	// is assumed.
	Provider string `json:"provider" yaml:"provider"`

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

func (*Identity) IsAnAPIObject

func (*Identity) IsAnAPIObject()

type User

type User struct {
	kapi.TypeMeta `json:",inline" yaml:",inline"`
	Labels        map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`

	// Name is a human readable string uniquely representing this user at any time.
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

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

func (*User) IsAnAPIObject

func (*User) IsAnAPIObject()

type UserIdentityMapping

type UserIdentityMapping struct {
	kapi.TypeMeta `json:",inline" yaml:",inline"`

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

func (*UserIdentityMapping) IsAnAPIObject

func (*UserIdentityMapping) IsAnAPIObject()

type UserList

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

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