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("oauthsessions"), // contains filtered or unexported fields } AllKinds = KindInfoList{KindUser} )
Functions ¶
This section is empty.
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 KindInfoList ¶
type KindInfoList []KindInfo
func (KindInfoList) AddToScheme ¶
func (l KindInfoList) AddToScheme(scheme *runtime.Scheme) error
type OauthSession ¶
type OauthSession struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OauthSessionSpec `json:"spec,omitempty"` }
func (*OauthSession) DeepCopy ¶
func (in *OauthSession) DeepCopy() *OauthSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthSession.
func (*OauthSession) DeepCopyInto ¶
func (in *OauthSession) DeepCopyInto(out *OauthSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OauthSession) DeepCopyObject ¶
func (in *OauthSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OauthSessionList ¶
type OauthSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OauthSession `json:"items"` }
OauthSessionList is a list of OauthSession objects.
func (*OauthSessionList) DeepCopy ¶
func (in *OauthSessionList) DeepCopy() *OauthSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthSessionList.
func (*OauthSessionList) DeepCopyInto ¶
func (in *OauthSessionList) DeepCopyInto(out *OauthSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OauthSessionList) DeepCopyObject ¶
func (in *OauthSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OauthSessionSpec ¶
type OauthSessionSpec struct { User string `json:"user,omitempty"` AccessToken string `json:"accessToken,omitempty"` RefreshToken string `json:"refreshToken,omitempty"` ExpiresAt int64 `json:"expiresAt,omitempty"` }
func (*OauthSessionSpec) DeepCopy ¶
func (in *OauthSessionSpec) DeepCopy() *OauthSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthSessionSpec.
func (*OauthSessionSpec) DeepCopyInto ¶
func (in *OauthSessionSpec) DeepCopyInto(out *OauthSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.