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

v1beta3

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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 Group added in v1.0.4

type Group struct {
	kapi.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 {
	kapi.TypeMeta `json:",inline"`
	kapi.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 {
	kapi.TypeMeta   `json:",inline"`
	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 map[string]string `json:"extra,omitempty"`
}

func (*Identity) IsAnAPIObject

func (*Identity) IsAnAPIObject()

type IdentityList

type IdentityList struct {
	kapi.TypeMeta `json:",inline"`
	kapi.ListMeta `json:"metadata,omitempty"`
	Items         []Identity `json:"items"`
}

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

	Identities []string `json:"identities"`

	Groups []string `json:"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"`
	User     kapi.ObjectReference `json:"user,omitempty"`
}

func (*UserIdentityMapping) IsAnAPIObject

func (*UserIdentityMapping) IsAnAPIObject()

type UserList

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

func (*UserList) IsAnAPIObject

func (*UserList) IsAnAPIObject()

Jump to

Keyboard shortcuts

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