Documentation
¶
Overview ¶
Package types provides common types for data export and import.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Org ¶
type Org struct {
Name string `json:"name"`
Projects []*Project `json:"project,omitempty"`
Secrets []*Secret `json:"secrets,omitempty"`
}
Org defines an organization.
type Pipeline ¶
type Pipeline struct {
Name string `json:"name"`
Repo string `json:"repo,omitempty"`
Branch string `json:"branch,omitempty"`
Type string `json:"type"` // github, gitlab, bitbucket
Yaml string `json:"yaml"`
}
Pipeline defines a pipeline.
type Project ¶
type Project struct {
Name string `json:"name"`
Desc string `json:"desc,omitempty"`
Repo string `json:"repo,omitempty"`
Branch string `json:"branch,omitempty"`
Type string `json:"type"` // github, gitlab, bitbucket
Yaml []byte `json:"yaml"`
OriginalYaml []byte `json:"originalYaml,omitempty"`
Secrets []*Secret `json:"secrets,omitempty"`
Pipelines []*Pipeline `json:"pipelines,omitempty"`
}
Project defines a project.
Click to show internal directories.
Click to hide internal directories.