Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=webhooks.git.kube.ci
Index ¶
Constants ¶
const ( ResourceKindGithubEvent = "GithubEvent" ResourceGithubEvents = "githubevents" )
const GroupName = "webhooks.git.kube.ci"
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
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.