Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (31 sloc) 1.03 KB
package v1alpha1
import (
metav1 ""
type PipelineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []Pipeline `json:"items"`
type Pipeline struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec PipelineSpec `json:"spec"`
Status PipelineStatus `json:"status,omitempty"`
// PipelineSpec is the specification of the object
type PipelineSpec struct {
Repo string `json:"repo"`
BuildImage string `json:"buildImage"`
BuildCmds []string `json:"buildCommands"`
BuildArgs []string `json:"buildArguments"`
TargetVersion string `json:"targetVersion"`
TargetName string `json:"targetName"`
// PipelineStatus represents the status in k8s
type PipelineStatus struct {
ID string `json:"id"`
Success bool `json:"success"`