v1alpha1

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=pullup.dev

Index

Constants

View Source
const GroupName = "pullup.dev"

Variables

View Source
var (
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme        = SchemeBuilder.AddToScheme
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
)

nolint: gochecknoglobals

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type Commit

type Commit struct {
	Ref string `json:"ref,omitempty"`
	SHA string `json:"sha,omitempty"`
}

func (*Commit) DeepCopy

func (in *Commit) DeepCopy() *Commit

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

func (*Commit) DeepCopyInto

func (in *Commit) DeepCopyInto(out *Commit)

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

type ResourceSet

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

	Status ResourceSetStatus `json:"status"`
	Spec   ResourceSetSpec   `json:"spec"`
}

func (*ResourceSet) DeepCopy

func (in *ResourceSet) DeepCopy() *ResourceSet

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

func (*ResourceSet) DeepCopyInto

func (in *ResourceSet) DeepCopyInto(out *ResourceSet)

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

func (*ResourceSet) DeepCopyObject

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

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

type ResourceSetList

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

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

func (*ResourceSetList) DeepCopy

func (in *ResourceSetList) DeepCopy() *ResourceSetList

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

func (*ResourceSetList) DeepCopyInto

func (in *ResourceSetList) DeepCopyInto(out *ResourceSetList)

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

func (*ResourceSetList) DeepCopyObject

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

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

type ResourceSetSpec

type ResourceSetSpec struct {
	Resources []json.RawMessage `json:"resources"`
	Number    int               `json:"number"`
	Base      Commit            `json:"base"`
	Head      Commit            `json:"head"`
}

func (*ResourceSetSpec) DeepCopy

func (in *ResourceSetSpec) DeepCopy() *ResourceSetSpec

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

func (*ResourceSetSpec) DeepCopyInto

func (in *ResourceSetSpec) DeepCopyInto(out *ResourceSetSpec)

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

type ResourceSetStatus

type ResourceSetStatus struct {
}

func (*ResourceSetStatus) DeepCopy

func (in *ResourceSetStatus) DeepCopy() *ResourceSetStatus

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

func (*ResourceSetStatus) DeepCopyInto

func (in *ResourceSetStatus) DeepCopyInto(out *ResourceSetStatus)

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

type Webhook

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

	Status WebhookStatus `json:"status"`
	Spec   WebhookSpec   `json:"spec"`
}

func (*Webhook) DeepCopy

func (in *Webhook) DeepCopy() *Webhook

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

func (*Webhook) DeepCopyInto

func (in *Webhook) DeepCopyInto(out *Webhook)

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

func (*Webhook) DeepCopyObject

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

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

type WebhookFilter added in v0.3.0

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

func (*WebhookFilter) DeepCopy added in v0.3.0

func (in *WebhookFilter) DeepCopy() *WebhookFilter

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

func (*WebhookFilter) DeepCopyInto added in v0.3.0

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

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

type WebhookList

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

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

func (*WebhookList) DeepCopy

func (in *WebhookList) DeepCopy() *WebhookList

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

func (*WebhookList) DeepCopyInto

func (in *WebhookList) DeepCopyInto(out *WebhookList)

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

func (*WebhookList) DeepCopyObject

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

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

type WebhookRepository added in v0.3.0

type WebhookRepository struct {
	Type     string        `json:"type"`
	Name     string        `json:"name"`
	Branches WebhookFilter `json:"branches"`
}

func (*WebhookRepository) DeepCopy added in v0.3.0

func (in *WebhookRepository) DeepCopy() *WebhookRepository

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

func (*WebhookRepository) DeepCopyInto added in v0.3.0

func (in *WebhookRepository) DeepCopyInto(out *WebhookRepository)

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

type WebhookSpec

type WebhookSpec struct {
	Resources    []json.RawMessage   `json:"resources,omitempty"`
	Repositories []WebhookRepository `json:"repositories"`
	ResourceName string              `json:"resourceName"`
}

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