Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: pipelinesascode.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type GitProvider ¶
type Repository ¶
type Repository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepositorySpec `json:"spec"` Status []RepositoryRunStatus `json:"pipelinerun_status,omitempty"` }
Repository is the representation of a repo
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) DeepCopyObject ¶
func (in *Repository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList is the list of Repositories
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) DeepCopyObject ¶
func (in *RepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositoryRunStatus ¶
type RepositoryRunStatus struct { duckv1.Status `json:",inline"` // PipelineRunName is the name of the PipelineRun // +optional PipelineRunName string `json:"pipelineRunName,omitempty"` // StartTime is the time the PipelineRun is actually started. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // CompletionTime is the time the PipelineRun completed. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // SHA is the name of the SHA that has been tested // +optional SHA *string `json:"sha,omitempty"` // SHA the URL of the SHA to view it // +optional SHAURL *string `json:"sha_url,omitempty"` // Title is the title of the commit SHA that has been tested // +optional Title *string `json:"title,omitempty"` // LogURL is the full url to this run long // +optional LogURL *string `json:"logurl,omitempty"` // TargetBranch is the target branch of that run // +optional TargetBranch *string `json:"target_branch,omitempty"` // EventType is the event type of that run // +optional EventType *string `json:"event_type,omitempty"` // CollectedTaskInfos is the information about tasks CollectedTaskInfos *map[string]TaskInfos `json:"failure_reason,omitempty"` }
func (*RepositoryRunStatus) DeepCopy ¶
func (in *RepositoryRunStatus) DeepCopy() *RepositoryRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRunStatus.
func (*RepositoryRunStatus) DeepCopyInto ¶
func (in *RepositoryRunStatus) DeepCopyInto(out *RepositoryRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpec ¶
type RepositorySpec struct { ConcurrencyLimit *int `json:"concurrency_limit,omitempty"` URL string `json:"url"` GitProvider *GitProvider `json:"git_provider,omitempty"` Incomings *[]Incoming `json:"incoming,omitempty"` }
RepositorySpec is the spec of a repo
func (*RepositorySpec) DeepCopy ¶
func (in *RepositorySpec) DeepCopy() *RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (*RepositorySpec) DeepCopyInto ¶
func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.