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: "github.kweb.dev", Version: "v1alpha1"}

	KindInstallation = KindInfo{
		Resource: GroupVersion.WithResource("installations"),
		// contains filtered or unexported fields
	}

	AllKinds = []KindInfo{KindInstallation}
)

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

Types

type AppInstallation

type AppInstallation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec AppInstallationSpec `json:"spec,omitempty"`
}

func (*AppInstallation) DeepCopy

func (in *AppInstallation) DeepCopy() *AppInstallation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstallation.

func (*AppInstallation) DeepCopyInto

func (in *AppInstallation) DeepCopyInto(out *AppInstallation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppInstallation) DeepCopyObject

func (in *AppInstallation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppInstallationList

type AppInstallationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AppInstallation `json:"items"`
}

AppInstallationList contains a list of Installation

func (*AppInstallationList) DeepCopy

func (in *AppInstallationList) DeepCopy() *AppInstallationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstallationList.

func (*AppInstallationList) DeepCopyInto

func (in *AppInstallationList) DeepCopyInto(out *AppInstallationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppInstallationList) DeepCopyObject

func (in *AppInstallationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppInstallationSpec

type AppInstallationSpec struct {
	ID      int64          `json:"id,omitempty"`
	UserID  string         `json:"userID,omitempty"`
	Account *GithubAccount `json:"account,omitempty"`
}

func (*AppInstallationSpec) DeepCopy

func (in *AppInstallationSpec) DeepCopy() *AppInstallationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstallationSpec.

func (*AppInstallationSpec) DeepCopyInto

func (in *AppInstallationSpec) DeepCopyInto(out *AppInstallationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GithubAccount

type GithubAccount struct {
	ID    int64  `json:"id,omitempty"`
	Login string `json:"login,omitempty"`
}

func (*GithubAccount) DeepCopy

func (in *GithubAccount) DeepCopy() *GithubAccount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubAccount.

func (*GithubAccount) DeepCopyInto

func (in *GithubAccount) DeepCopyInto(out *GithubAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

Jump to

Keyboard shortcuts

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