Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Constants
- Variables
- func DeepCopy_api_Group(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_GroupList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_Identity(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_IdentityList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_User(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_UserIdentityMapping(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_UserList(in interface{}, out interface{}, c *conversion.Cloner) error
- func GroupToSelectableFields(group *Group) fields.Set
- func IdentityToSelectableFields(identity *Identity) fields.Set
- func IsKindOrLegacy(kind string, gk unversioned.GroupKind) bool
- func IsResourceOrLegacy(resource string, gr unversioned.GroupResource) bool
- func Kind(kind string) unversioned.GroupKind
- func LegacyKind(kind string) unversioned.GroupKind
- func LegacyResource(resource string) unversioned.GroupResource
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) unversioned.GroupResource
- func UserToSelectableFields(user *User) fields.Set
- type Group
- type GroupList
- type Identity
- type IdentityList
- type User
- type UserIdentityMapping
- type UserList
Constants ¶
const ( GroupName = "user.openshift.io" LegacyGroupName = "" )
Variables ¶
var ( SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} LegacySchemeGroupVersion = unversioned.GroupVersion{Group: LegacyGroupName, Version: runtime.APIVersionInternal} LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes) AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_api_Group ¶ added in v1.3.0
func DeepCopy_api_Group(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_GroupList ¶ added in v1.3.0
func DeepCopy_api_GroupList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_Identity ¶ added in v1.3.0
func DeepCopy_api_Identity(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_IdentityList ¶ added in v1.3.0
func DeepCopy_api_IdentityList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_User ¶ added in v1.3.0
func DeepCopy_api_User(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_UserIdentityMapping ¶ added in v1.3.0
func DeepCopy_api_UserIdentityMapping(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_UserList ¶ added in v1.3.0
func DeepCopy_api_UserList(in interface{}, out interface{}, c *conversion.Cloner) error
func GroupToSelectableFields ¶ added in v1.0.8
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 ¶ added in v1.0.8
IdentityToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc
func IsKindOrLegacy ¶
func IsKindOrLegacy(kind string, gk unversioned.GroupKind) bool
IsKindOrLegacy checks if the provided GroupKind matches with the given kind by looking up the API group and also the legacy API.
func IsResourceOrLegacy ¶
func IsResourceOrLegacy(resource string, gr unversioned.GroupResource) bool
IsResourceOrLegacy checks if the provided GroupResources matches with the given resource by looking up the API group and also the legacy API.
func Kind ¶ added in v1.1.2
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func LegacyKind ¶
func LegacyKind(kind string) unversioned.GroupKind
func LegacyResource ¶
func LegacyResource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
func RegisterDeepCopies ¶ added in v1.4.0
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶ added in v1.1.2
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
func UserToSelectableFields ¶ added in v1.0.8
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 ¶ added in v1.0.4
type Group struct { unversioned.TypeMeta kapi.ObjectMeta Users []string }
Group represents a referenceable set of Users
type GroupList ¶ added in v1.0.4
type GroupList struct { unversioned.TypeMeta unversioned.ListMeta Items []Group }
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 }
type IdentityList ¶ added in v0.4.2
type IdentityList struct { unversioned.TypeMeta unversioned.ListMeta Items []Identity }
type User ¶
type User struct { unversioned.TypeMeta kapi.ObjectMeta FullName string Identities []string Groups []string }
type UserIdentityMapping ¶
type UserIdentityMapping struct { unversioned.TypeMeta kapi.ObjectMeta Identity kapi.ObjectReference User kapi.ObjectReference }
type UserList ¶
type UserList struct { unversioned.TypeMeta unversioned.ListMeta Items []User }
Directories ¶
Path | Synopsis |
---|---|
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |