"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta"
},
"spec": {
"$ref": "#/definitions/v1alpha2.GroupSpec"
},
"status": {
"$ref": "#/definitions/v1alpha2.GroupStatus"
}
}
},
"v1alpha2.GroupBinding": {
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"groupRef": {
"$ref": "#/definitions/v1alpha2.GroupRef"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
// GithubSource and BitbucketServerSource have the same structure, but we don't use one due to crd errors
typeGithubSourcestruct{
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
typeMultiBranchJobTriggerstruct{
CreateActionJobsToTriggerstring`json:"create_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
DeleteActionJobsToTriggerstring`json:"delete_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
}
typeBitbucketServerSourcestruct{
ScmIdstring`json:"scm_id,omitempty" description:"uid of scm"`
Ownerstring`json:"owner,omitempty" mapstructure:"owner" description:"owner of github repo"`
...
...
@@ -139,10 +137,16 @@ type BitbucketServerSource struct {
RegexFilterstring`json:"regex_filter,omitempty" mapstructure:"regex_filter" description:"Regex used to match the name of the branch that needs to be run"`
}
typeMultiBranchJobTriggerstruct{
CreateActionJobsToTriggerstring`json:"create_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
DeleteActionJobsToTriggerstring`json:"delete_action_job_to_trigger,omitempty" description:"pipeline name to trigger"`
}
typeGitCloneOptionstruct{
Shallowbool`json:"shallow,omitempty" mapstructure:"shallow" description:"Whether to use git shallow clone"`