api

package
v0.0.0-...-d3d374b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

View Source
const FutureGroupName = "user.openshift.io"
View Source
const GroupName = ""

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func DeepCopy_api_Group

func DeepCopy_api_Group(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_GroupList

func DeepCopy_api_GroupList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_Identity

func DeepCopy_api_Identity(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_IdentityList

func DeepCopy_api_IdentityList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_User

func DeepCopy_api_User(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_UserIdentityMapping

func DeepCopy_api_UserIdentityMapping(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_api_UserList

func DeepCopy_api_UserList(in interface{}, out interface{}, c *conversion.Cloner) error

func GroupToSelectableFields

func GroupToSelectableFields(group *Group) fields.Set

GroupToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc

func IdentityToSelectableFields

func IdentityToSelectableFields(identity *Identity) fields.Set

IdentityToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc

func Kind

func Kind(kind string) unversioned.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func Resource

func Resource(resource string) unversioned.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

func UserToSelectableFields

func UserToSelectableFields(user *User) fields.Set

UserToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc

Types

type Group

type Group struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	Users []string
}

Group represents a referenceable set of Users

func (*Group) GetObjectKind

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

type GroupList

type GroupList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []Group
}

func (*GroupList) GetObjectKind

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

type Identity

type Identity struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	// ProviderName is the source of identity information
	ProviderName string

	// ProviderUserName uniquely represents this identity in the scope of the provider
	ProviderUserName string

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

	Extra map[string]string
}

func (*Identity) GetObjectKind

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

type IdentityList

type IdentityList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []Identity
}

func (*IdentityList) GetObjectKind

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

type User

type User struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	FullName string

	Identities []string

	Groups []string
}

func (*User) GetObjectKind

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

type UserIdentityMapping

type UserIdentityMapping struct {
	unversioned.TypeMeta
	kapi.ObjectMeta

	Identity kapi.ObjectReference
	User     kapi.ObjectReference
}

func (*UserIdentityMapping) GetObjectKind

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

type UserList

type UserList struct {
	unversioned.TypeMeta
	unversioned.ListMeta
	Items []User
}

func (*UserList) GetObjectKind

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

Directories

Path Synopsis
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.

Jump to

Keyboard shortcuts

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