Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kweb.dev", Version: "v1alpha1"} KindUser = KindInfo{ Resource: GroupVersion.WithResource("users"), // contains filtered or unexported fields } AllKinds = []KindInfo{KindUser} )
Functions ¶
func AddToScheme ¶
Types ¶
type KindInfo ¶
type KindInfo struct { Resource schema.GroupVersionResource // contains filtered or unexported fields }
KindInfo holds type meta-information
func (*KindInfo) GroupResource ¶
func (k *KindInfo) GroupResource() schema.GroupResource
GroupResource returns the GroupResource for the kind
type LinkedAccount ¶
type LinkedAccount struct { ProviderID string `json:"providerID,omitempty"` ProviderUserID string `json:"providerUserID,omitempty"` ProviderUserName string `json:"providerUserName,omitempty"` }
func (*LinkedAccount) DeepCopy ¶
func (in *LinkedAccount) DeepCopy() *LinkedAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedAccount.
func (*LinkedAccount) DeepCopyInto ¶
func (in *LinkedAccount) DeepCopyInto(out *LinkedAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of User
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { Email string `json:"email,omitempty"` LinkedAccounts []LinkedAccount `json:"linkedAccounts,omitempty"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.