v1alpha1

package
v0.0.0-...-f69cff6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=webhooks.git.kube.ci

Index

Constants

View Source
const (
	ResourceKindGithubEvent = "GithubEvent"
	ResourceGithubEvents    = "githubevents"
)
View Source
const GroupName = "webhooks.git.kube.ci"

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type GithubEvent

type GithubEvent struct {
	metav1.TypeMeta `json:",inline,omitempty"`

	Action *string            `json:"action,omitempty"`
	Repo   *github.Repository `json:"repository,omitempty"`
	Sender *github.User       `json:"sender,omitempty"`

	PullRequest *github.PullRequest `json:"pull_request,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GithubEvent) DeepCopy

func (in *GithubEvent) DeepCopy() *GithubEvent

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

func (*GithubEvent) DeepCopyInto

func (in *GithubEvent) DeepCopyInto(out *GithubEvent)

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

func (*GithubEvent) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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