Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +kubebuilder:object:generate=true +groupName=pullup.dev
Index ¶
- Variables
- func AddKnownTypes(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Commit
- type ResourceSet
- type ResourceSetList
- type ResourceSetSpec
- type ResourceSetStatus
- type Webhook
- type WebhookFilter
- type WebhookList
- type WebhookRepository
- type WebhookResource
- type WebhookSpec
- type WebhookStatus
Constants ¶
This section is empty.
Variables ¶
var ( GroupVersion = schema.GroupVersion{Group: "pullup.dev", Version: "v1alpha1"} SchemeBuilder = runtime.NewSchemeBuilder(AddKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
nolint: gochecknoglobals
Functions ¶
func AddKnownTypes ¶ added in v1.0.0
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Commit ¶
type Commit struct { // +optional Ref string `json:"ref,omitempty"` // +optional SHA string `json:"sha,omitempty"` }
func (*Commit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Commit.
func (*Commit) DeepCopyInto ¶
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,omitempty"` Status ResourceSetStatus `json:"status,omitempty"` Spec ResourceSetSpec `json:"spec,omitempty"` }
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,omitempty"` 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 []WebhookResource `json:"resources"` // +optional Number int `json:"number"` // +optional Base Commit `json:"base"` // +optional 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,omitempty"` Status WebhookStatus `json:"status,omitempty"` Spec WebhookSpec `json:"spec,omitempty"` }
func (*Webhook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
func (*Webhook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Webhook) DeepCopyObject ¶
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,omitempty"` Exclude []string `json:"exclude,omitempty"` }
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,omitempty"` 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 { // +kubebuilder:validation:Enum=github // +optional Type string `json:"type"` Name string `json:"name"` Branches WebhookFilter `json:"branches,omitempty"` }
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 WebhookResource ¶ added in v0.3.6
type WebhookResource struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata metav1.ObjectMeta `json:"metadata"` unstructured.Unstructured `json:"-"` }
func (*WebhookResource) DeepCopy ¶ added in v0.3.6
func (in *WebhookResource) DeepCopy() *WebhookResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookResource.
func (*WebhookResource) DeepCopyInto ¶ added in v0.3.6
func (in *WebhookResource) DeepCopyInto(out *WebhookResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (WebhookResource) MarshalJSON ¶ added in v0.3.6
func (in WebhookResource) MarshalJSON() ([]byte, error)
func (*WebhookResource) UnmarshalJSON ¶ added in v0.3.6
func (in *WebhookResource) UnmarshalJSON(data []byte) error
type WebhookSpec ¶
type WebhookSpec struct { Resources []WebhookResource `json:"resources,omitempty"` Repositories []WebhookRepository `json:"repositories,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.