v1beta1

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API. +kubebuilder:object:generate=true +groupName=pullup.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupVersion  = schema.GroupVersion{Group: "pullup.dev", Version: "v1beta1"}
	SchemeBuilder = runtime.NewSchemeBuilder(AddKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

nolint: gochecknoglobals

Functions

func AddKnownTypes

func AddKnownTypes(scheme *runtime.Scheme) error

func Resource

func Resource(resource string) schema.GroupResource

Types

type GitHubPullRequestEventFilter

type GitHubPullRequestEventFilter struct {
	Branches *WebhookFilter               `json:"branches,omitempty"`
	Types    []GitHubPullRequestEventType `json:"types,omitempty"`
}

func (*GitHubPullRequestEventFilter) DeepCopy

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

func (*GitHubPullRequestEventFilter) DeepCopyInto

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

type GitHubPullRequestEventType

type GitHubPullRequestEventType string

+kubebuilder:validation:Enum=assigned;unassigned;labeled;unlabeled;opened;edited;closed;reopened;synchronize;ready_for_review;locked;unlocked;review_requested;review_request_removed

type GitHubPushEventFilter

type GitHubPushEventFilter struct {
	Branches *WebhookFilter `json:"branches,omitempty"`
	Tags     *WebhookFilter `json:"tags,omitempty"`
}

func (*GitHubPushEventFilter) DeepCopy

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

func (*GitHubPushEventFilter) DeepCopyInto

func (in *GitHubPushEventFilter) DeepCopyInto(out *GitHubPushEventFilter)

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

type GitHubRepository

type GitHubRepository struct {
	Name        string                        `json:"name"`
	Push        *GitHubPushEventFilter        `json:"push,omitempty"`
	PullRequest *GitHubPullRequestEventFilter `json:"pullRequest,omitempty"`
}

func (*GitHubRepository) DeepCopy

func (in *GitHubRepository) DeepCopy() *GitHubRepository

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

func (*GitHubRepository) DeepCopyInto

func (in *GitHubRepository) DeepCopyInto(out *GitHubRepository)

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

type GitHubWebhook

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

	Status GitHubWebhookStatus `json:"status,omitempty"`
	Spec   GitHubWebhookSpec   `json:"spec,omitempty"`
}

func (*GitHubWebhook) DeepCopy

func (in *GitHubWebhook) DeepCopy() *GitHubWebhook

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

func (*GitHubWebhook) DeepCopyInto

func (in *GitHubWebhook) DeepCopyInto(out *GitHubWebhook)

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

func (*GitHubWebhook) DeepCopyObject

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

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

func (*GitHubWebhook) GetSpec

func (in *GitHubWebhook) GetSpec() WebhookSpec

type GitHubWebhookList

type GitHubWebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []GitHubWebhook `json:"items"`
}

func (*GitHubWebhookList) DeepCopy

func (in *GitHubWebhookList) DeepCopy() *GitHubWebhookList

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

func (*GitHubWebhookList) DeepCopyInto

func (in *GitHubWebhookList) DeepCopyInto(out *GitHubWebhookList)

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

func (*GitHubWebhookList) DeepCopyObject

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

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

type GitHubWebhookSpec

type GitHubWebhookSpec struct {
	WebhookSpec `json:",inline"`

	Repositories []GitHubRepository `json:"repositories"`
}

func (*GitHubWebhookSpec) DeepCopy

func (in *GitHubWebhookSpec) DeepCopy() *GitHubWebhookSpec

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

func (*GitHubWebhookSpec) DeepCopyInto

func (in *GitHubWebhookSpec) DeepCopyInto(out *GitHubWebhookSpec)

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

type GitHubWebhookStatus

type GitHubWebhookStatus struct {
	WebhookStatus `json:",inline"`
}

func (*GitHubWebhookStatus) DeepCopy

func (in *GitHubWebhookStatus) DeepCopy() *GitHubWebhookStatus

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

func (*GitHubWebhookStatus) DeepCopyInto

func (in *GitHubWebhookStatus) DeepCopyInto(out *GitHubWebhookStatus)

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

type HTTPWebhook

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

	Status HTTPWebhookStatus `json:"status,omitempty"`
	Spec   HTTPWebhookSpec   `json:"spec,omitempty"`
}

func (*HTTPWebhook) DeepCopy

func (in *HTTPWebhook) DeepCopy() *HTTPWebhook

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

func (*HTTPWebhook) DeepCopyInto

func (in *HTTPWebhook) DeepCopyInto(out *HTTPWebhook)

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

func (*HTTPWebhook) DeepCopyObject

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

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

func (*HTTPWebhook) GetSpec

func (in *HTTPWebhook) GetSpec() WebhookSpec

type HTTPWebhookList

type HTTPWebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []HTTPWebhook `json:"items"`
}

func (*HTTPWebhookList) DeepCopy

func (in *HTTPWebhookList) DeepCopy() *HTTPWebhookList

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

func (*HTTPWebhookList) DeepCopyInto

func (in *HTTPWebhookList) DeepCopyInto(out *HTTPWebhookList)

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

func (*HTTPWebhookList) DeepCopyObject

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

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

type HTTPWebhookSpec

type HTTPWebhookSpec struct {
	WebhookSpec `json:",inline"`

	Schema *extv1.JSON `json:"schema,omitempty"`
}

func (*HTTPWebhookSpec) DeepCopy

func (in *HTTPWebhookSpec) DeepCopy() *HTTPWebhookSpec

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

func (*HTTPWebhookSpec) DeepCopyInto

func (in *HTTPWebhookSpec) DeepCopyInto(out *HTTPWebhookSpec)

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

type HTTPWebhookStatus

type HTTPWebhookStatus struct {
	WebhookStatus `json:",inline"`
}

func (*HTTPWebhookStatus) DeepCopy

func (in *HTTPWebhookStatus) DeepCopy() *HTTPWebhookStatus

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

func (*HTTPWebhookStatus) DeepCopyInto

func (in *HTTPWebhookStatus) DeepCopyInto(out *HTTPWebhookStatus)

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

type JSONPatch

type JSONPatch struct {
	// +kubebuilder:validation:Enum=add;remove;replace;copy;move;test
	Operation string      `json:"op"`
	Path      string      `json:"path"`
	From      string      `json:"from,omitempty"`
	Value     *extv1.JSON `json:"value,omitempty"`
}

func (*JSONPatch) DeepCopy

func (in *JSONPatch) DeepCopy() *JSONPatch

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

func (*JSONPatch) DeepCopyInto

func (in *JSONPatch) DeepCopyInto(out *JSONPatch)

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

type ResourceReference

type ResourceReference struct {
	APIVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`
	Name       string `json:"name"`
}

func (*ResourceReference) DeepCopy

func (in *ResourceReference) DeepCopy() *ResourceReference

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

func (*ResourceReference) DeepCopyInto

func (in *ResourceReference) DeepCopyInto(out *ResourceReference)

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

type ResourceTemplate

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

	Status ResourceTemplateStatus `json:"status,omitempty"`
	Spec   ResourceTemplateSpec   `json:"spec,omitempty"`
}

func (*ResourceTemplate) DeepCopy

func (in *ResourceTemplate) DeepCopy() *ResourceTemplate

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

func (*ResourceTemplate) DeepCopyInto

func (in *ResourceTemplate) DeepCopyInto(out *ResourceTemplate)

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

func (*ResourceTemplate) DeepCopyObject

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

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

type ResourceTemplateList

type ResourceTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ResourceTemplate `json:"items"`
}

func (*ResourceTemplateList) DeepCopy

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

func (*ResourceTemplateList) DeepCopyInto

func (in *ResourceTemplateList) DeepCopyInto(out *ResourceTemplateList)

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

func (*ResourceTemplateList) DeepCopyObject

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

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

type ResourceTemplateSpec

type ResourceTemplateSpec struct {
	Patches []WebhookPatch `json:"patches,omitempty"`
	Data    extv1.JSON     `json:"data,omitempty"`
}

func (*ResourceTemplateSpec) DeepCopy

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

func (*ResourceTemplateSpec) DeepCopyInto

func (in *ResourceTemplateSpec) DeepCopyInto(out *ResourceTemplateSpec)

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

type ResourceTemplateStatus

type ResourceTemplateStatus struct {
	LastUpdateTime *metav1.Time        `json:"lastUpdateTime,omitempty"`
	Active         []ResourceReference `json:"active,omitempty"`
}

func (*ResourceTemplateStatus) DeepCopy

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

func (*ResourceTemplateStatus) DeepCopyInto

func (in *ResourceTemplateStatus) DeepCopyInto(out *ResourceTemplateStatus)

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

type WebhookFilter

type WebhookFilter struct {
	Include []string `json:"include,omitempty"`
	Exclude []string `json:"exclude,omitempty"`
}

func (*WebhookFilter) DeepCopy

func (in *WebhookFilter) DeepCopy() *WebhookFilter

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

func (*WebhookFilter) DeepCopyInto

func (in *WebhookFilter) DeepCopyInto(out *WebhookFilter)

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

type WebhookPatch

type WebhookPatch struct {
	APIVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`
	SourceName string `json:"sourceName,omitempty"`
	TargetName string `json:"targetName,omitempty"`

	// +kubebuilder:validation:Type=object
	Merge *extv1.JSON `json:"merge,omitempty"`

	JSONPatch []JSONPatch `json:"jsonPatch,omitempty"`
}

func (*WebhookPatch) DeepCopy

func (in *WebhookPatch) DeepCopy() *WebhookPatch

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

func (*WebhookPatch) DeepCopyInto

func (in *WebhookPatch) DeepCopyInto(out *WebhookPatch)

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

type WebhookSpec

type WebhookSpec struct {
	Patches      []WebhookPatch `json:"patches,omitempty"`
	ResourceName string         `json:"resourceName,omitempty"`
}

func (*WebhookSpec) DeepCopy

func (in *WebhookSpec) DeepCopy() *WebhookSpec

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

func (*WebhookSpec) DeepCopyInto

func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)

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

type WebhookStatus

type WebhookStatus struct{}

func (*WebhookStatus) DeepCopy

func (in *WebhookStatus) DeepCopy() *WebhookStatus

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

func (*WebhookStatus) DeepCopyInto

func (in *WebhookStatus) DeepCopyInto(out *WebhookStatus)

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