Documentation
¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AuthenticationSpec
- type AuthenticationType
- type AuthorizationOperation
- type AuthorizationSpec
- type MessagingUser
- type MessagingUserList
- type MessagingUserSpec
- type MessagingUserStatus
- type UserPhase
Constants ¶
const GroupVersion = "v1beta1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var Operations = map[string]AuthorizationOperation{ "send": Send, "recv": Recv, "view": View, "manage": Manage, }
var SchemeGroupVersion = schema.GroupVersion{Group: user.GroupName, Version: GroupVersion}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type AuthenticationSpec ¶
type AuthenticationSpec struct { Type AuthenticationType `json:"type"` Password []byte `json:"password,omitempty"` Provider string `json:"provider,omitempty"` }
func (*AuthenticationSpec) DeepCopy ¶
func (in *AuthenticationSpec) DeepCopy() *AuthenticationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationSpec.
func (*AuthenticationSpec) DeepCopyInto ¶
func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationType ¶
type AuthenticationType string
const ( Password AuthenticationType = "password" Federated AuthenticationType = "federated" ServiceAccount AuthenticationType = "serviceaccount" )
type AuthorizationOperation ¶
type AuthorizationOperation string
const ( Send AuthorizationOperation = "send" Recv AuthorizationOperation = "recv" View AuthorizationOperation = "view" Manage AuthorizationOperation = "manage" )
type AuthorizationSpec ¶
type AuthorizationSpec struct { Addresses []string `json:"addresses,omitempty"` Operations []AuthorizationOperation `json:"operations"` }
func (*AuthorizationSpec) DeepCopy ¶
func (in *AuthorizationSpec) DeepCopy() *AuthorizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationSpec.
func (*AuthorizationSpec) DeepCopyInto ¶
func (in *AuthorizationSpec) DeepCopyInto(out *AuthorizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingUser ¶
type MessagingUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MessagingUserSpec `json:"spec"` Status MessagingUserStatus `json:"status,omitempty"` }
func (*MessagingUser) DeepCopy ¶
func (in *MessagingUser) DeepCopy() *MessagingUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingUser.
func (*MessagingUser) DeepCopyInto ¶
func (in *MessagingUser) DeepCopyInto(out *MessagingUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessagingUser) DeepCopyObject ¶
func (in *MessagingUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessagingUserList ¶
type MessagingUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MessagingUser `json:"items"` }
func (*MessagingUserList) DeepCopy ¶
func (in *MessagingUserList) DeepCopy() *MessagingUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingUserList.
func (*MessagingUserList) DeepCopyInto ¶
func (in *MessagingUserList) DeepCopyInto(out *MessagingUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessagingUserList) DeepCopyObject ¶
func (in *MessagingUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MessagingUserSpec ¶
type MessagingUserSpec struct { Username string `json:"username"` Authentication AuthenticationSpec `json:"authentication"` Authorization []AuthorizationSpec `json:"authorization,omitempty"` }
func (*MessagingUserSpec) DeepCopy ¶
func (in *MessagingUserSpec) DeepCopy() *MessagingUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingUserSpec.
func (*MessagingUserSpec) DeepCopyInto ¶
func (in *MessagingUserSpec) DeepCopyInto(out *MessagingUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingUserStatus ¶
type MessagingUserStatus struct { Phase UserPhase `json:"phase,omitempty"` Message string `json:"message,omitempty"` Generation int64 `json:"generation,omitempty"` }
func (*MessagingUserStatus) DeepCopy ¶
func (in *MessagingUserStatus) DeepCopy() *MessagingUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingUserStatus.
func (*MessagingUserStatus) DeepCopyInto ¶
func (in *MessagingUserStatus) DeepCopyInto(out *MessagingUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.