api

package
v0.0.0-...-9bbed00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL