var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( GroupName = "user.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
var ( DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme )
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
Group represents a referenceable set of Users
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type Group struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Users is the list of users in this group. Users OptionalNames `json:"users" protobuf:"bytes,2,rep,name=users"` }
func (in *Group) DeepCopy() *Group
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (in *Group) DeepCopyInto(out *Group)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Group) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) Descriptor() ([]byte, []int)
func (m *Group) Marshal() (dAtA []byte, err error)
func (m *Group) MarshalTo(dAtA []byte) (int, error)
func (m *Group) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Group) ProtoMessage()
func (m *Group) Reset()
func (m *Group) Size() (n int)
func (this *Group) String() string
func (Group) SwaggerDoc() map[string]string
func (m *Group) Unmarshal(dAtA []byte) error
func (m *Group) XXX_DiscardUnknown()
func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Group) XXX_Merge(src proto.Message)
func (m *Group) XXX_Size() int
func (m *Group) XXX_Unmarshal(b []byte) error
GroupList is a collection of Groups
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type GroupList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of groups Items []Group `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *GroupList) DeepCopy() *GroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (in *GroupList) DeepCopyInto(out *GroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GroupList) Descriptor() ([]byte, []int)
func (m *GroupList) Marshal() (dAtA []byte, err error)
func (m *GroupList) MarshalTo(dAtA []byte) (int, error)
func (m *GroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupList) ProtoMessage()
func (m *GroupList) Reset()
func (m *GroupList) Size() (n int)
func (this *GroupList) String() string
func (GroupList) SwaggerDoc() map[string]string
func (m *GroupList) Unmarshal(dAtA []byte) error
func (m *GroupList) XXX_DiscardUnknown()
func (m *GroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *GroupList) XXX_Merge(src proto.Message)
func (m *GroupList) XXX_Size() int
func (m *GroupList) XXX_Unmarshal(b []byte) error
Identity records a successful authentication of a user with an identity provider. The information about the source of authentication is stored on the identity, and the identity is then associated with a single user object. Multiple identities can reference a single user. Information retrieved from the authentication provider is stored in the extra field using a schema determined by the provider.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type Identity struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ProviderName is the source of identity information ProviderName string `json:"providerName" protobuf:"bytes,2,opt,name=providerName"` // ProviderUserName uniquely represents this identity in the scope of the provider ProviderUserName string `json:"providerUserName" protobuf:"bytes,3,opt,name=providerUserName"` // User is a reference to the user this identity is associated with // Both Name and UID must be set User corev1.ObjectReference `json:"user" protobuf:"bytes,4,opt,name=user"` // Extra holds extra information about this identity Extra map[string]string `json:"extra,omitempty" protobuf:"bytes,5,rep,name=extra"` }
func (in *Identity) DeepCopy() *Identity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identity.
func (in *Identity) DeepCopyInto(out *Identity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Identity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Identity) Descriptor() ([]byte, []int)
func (m *Identity) Marshal() (dAtA []byte, err error)
func (m *Identity) MarshalTo(dAtA []byte) (int, error)
func (m *Identity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Identity) ProtoMessage()
func (m *Identity) Reset()
func (m *Identity) Size() (n int)
func (this *Identity) String() string
func (Identity) SwaggerDoc() map[string]string
func (m *Identity) Unmarshal(dAtA []byte) error
func (m *Identity) XXX_DiscardUnknown()
func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Identity) XXX_Merge(src proto.Message)
func (m *Identity) XXX_Size() int
func (m *Identity) XXX_Unmarshal(b []byte) error
IdentityList is a collection of Identities
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type IdentityList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of identities Items []Identity `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *IdentityList) DeepCopy() *IdentityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityList.
func (in *IdentityList) DeepCopyInto(out *IdentityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IdentityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IdentityList) Descriptor() ([]byte, []int)
func (m *IdentityList) Marshal() (dAtA []byte, err error)
func (m *IdentityList) MarshalTo(dAtA []byte) (int, error)
func (m *IdentityList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentityList) ProtoMessage()
func (m *IdentityList) Reset()
func (m *IdentityList) Size() (n int)
func (this *IdentityList) String() string
func (IdentityList) SwaggerDoc() map[string]string
func (m *IdentityList) Unmarshal(dAtA []byte) error
func (m *IdentityList) XXX_DiscardUnknown()
func (m *IdentityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *IdentityList) XXX_Merge(src proto.Message)
func (m *IdentityList) XXX_Size() int
func (m *IdentityList) XXX_Unmarshal(b []byte) error
OptionalNames is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false
type OptionalNames []string
func (in OptionalNames) DeepCopy() OptionalNames
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalNames.
func (in OptionalNames) DeepCopyInto(out *OptionalNames)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OptionalNames) Descriptor() ([]byte, []int)
func (m OptionalNames) Marshal() (dAtA []byte, err error)
func (m OptionalNames) MarshalTo(dAtA []byte) (int, error)
func (m OptionalNames) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OptionalNames) ProtoMessage()
func (m *OptionalNames) Reset()
func (m OptionalNames) Size() (n int)
func (t OptionalNames) String() string
func (m *OptionalNames) Unmarshal(dAtA []byte) error
func (m *OptionalNames) XXX_DiscardUnknown()
func (m *OptionalNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OptionalNames) XXX_Merge(src proto.Message)
func (m *OptionalNames) XXX_Size() int
func (m *OptionalNames) XXX_Unmarshal(b []byte) error
Upon log in, every user of the system receives a User and Identity resource. Administrators may directly manipulate the attributes of the users for their own tracking, or set groups via the API. The user name is unique and is chosen based on the value provided by the identity provider - if a user already exists with the incoming name, the user name may have a number appended to it depending on the configuration of the system.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type User struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // FullName is the full name of user FullName string `json:"fullName,omitempty" protobuf:"bytes,2,opt,name=fullName"` // Identities are the identities associated with this user // +optional Identities []string `json:"identities,omitempty" protobuf:"bytes,3,rep,name=identities"` // Groups specifies group names this user is a member of. // This field is deprecated and will be removed in a future release. // Instead, create a Group object containing the name of this User. Groups []string `json:"groups" protobuf:"bytes,4,rep,name=groups"` }
func (in *User) DeepCopy() *User
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (in *User) DeepCopyInto(out *User)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *User) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) Descriptor() ([]byte, []int)
func (m *User) Marshal() (dAtA []byte, err error)
func (m *User) MarshalTo(dAtA []byte) (int, error)
func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*User) ProtoMessage()
func (m *User) Reset()
func (m *User) Size() (n int)
func (this *User) String() string
func (User) SwaggerDoc() map[string]string
func (m *User) Unmarshal(dAtA []byte) error
func (m *User) XXX_DiscardUnknown()
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *User) XXX_Merge(src proto.Message)
func (m *User) XXX_Size() int
func (m *User) XXX_Unmarshal(b []byte) error
UserIdentityMapping maps a user to an identity
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type UserIdentityMapping struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Identity is a reference to an identity Identity corev1.ObjectReference `json:"identity,omitempty" protobuf:"bytes,2,opt,name=identity"` // User is a reference to a user User corev1.ObjectReference `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"` }
func (in *UserIdentityMapping) DeepCopy() *UserIdentityMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentityMapping.
func (in *UserIdentityMapping) DeepCopyInto(out *UserIdentityMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserIdentityMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserIdentityMapping) Descriptor() ([]byte, []int)
func (m *UserIdentityMapping) Marshal() (dAtA []byte, err error)
func (m *UserIdentityMapping) MarshalTo(dAtA []byte) (int, error)
func (m *UserIdentityMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIdentityMapping) ProtoMessage()
func (m *UserIdentityMapping) Reset()
func (m *UserIdentityMapping) Size() (n int)
func (this *UserIdentityMapping) String() string
func (UserIdentityMapping) SwaggerDoc() map[string]string
func (m *UserIdentityMapping) Unmarshal(dAtA []byte) error
func (m *UserIdentityMapping) XXX_DiscardUnknown()
func (m *UserIdentityMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *UserIdentityMapping) XXX_Merge(src proto.Message)
func (m *UserIdentityMapping) XXX_Size() int
func (m *UserIdentityMapping) XXX_Unmarshal(b []byte) error
UserList is a collection of Users
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type UserList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of users Items []User `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *UserList) DeepCopy() *UserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (in *UserList) DeepCopyInto(out *UserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserList) Descriptor() ([]byte, []int)
func (m *UserList) Marshal() (dAtA []byte, err error)
func (m *UserList) MarshalTo(dAtA []byte) (int, error)
func (m *UserList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserList) ProtoMessage()
func (m *UserList) Reset()
func (m *UserList) Size() (n int)
func (this *UserList) String() string
func (UserList) SwaggerDoc() map[string]string
func (m *UserList) Unmarshal(dAtA []byte) error
func (m *UserList) XXX_DiscardUnknown()
func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *UserList) XXX_Merge(src proto.Message)
func (m *UserList) XXX_Size() int
func (m *UserList) XXX_Unmarshal(b []byte) error