Documentation ¶
Index ¶
Constants ¶
View Source
const ( ISO8601LocalTime = "2006-01-02T15:04:05" DateFormat = "2006-01-02" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct { BranchID strfmt.UUID `json:"branch_id"` CommitID *strfmt.UUID `json:"commit_id"` Main *bool `json:"main"` ProjectID *strfmt.UUID `json:"project_id"` TrackingType *string `json:"tracking_type"` // graphql type: tracking_type Tracks *strfmt.UUID `json:"tracks"` Label string `json:"label"` }
func (*Branch) ToMonoBranch ¶
func (b *Branch) ToMonoBranch() *mono_models.Branch
type Branches ¶
type Branches []*Branch
func (Branches) ToMonoBranches ¶
func (bs Branches) ToMonoBranches() mono_models.Branches
type Checkpoint ¶
type Checkpoint struct { Requirements []*Requirement `json:"vcs_checkpoints"` Commit *Commit `json:"vcs_commits_by_pk"` }
type ErrorResponse ¶
type ForkedProject ¶
type ForkedProject struct { Name string `json:"name"` Organization Organization `json:"organization"` }
type Organization ¶
type Organizations ¶
type Organizations struct {
Organizations []Organization `json:"organizations"`
}
type Project ¶
type Project struct { Branches Branches `json:"branches"` Description *string `json:"description"` Name string `json:"name"` Added Time `json:"added"` CreatedBy *strfmt.UUID `json:"created_by"` ForkedFrom *strfmt.UUID `json:"forked_from"` ForkedProject *ForkedProject `json:"forked_project"` Changed Time `json:"changed"` Managed bool `json:"managed"` OrganizationID strfmt.UUID `json:"organization_id"` Private bool `json:"private"` ProjectID strfmt.UUID `json:"project_id"` RepoURL *string `json:"repo_url"` }
func (*Project) ToMonoProject ¶
func (p *Project) ToMonoProject() (*mono_models.Project, error)
type PublishResult ¶
type PublishResult struct { Publish struct { ErrorResponse IngredientID string `json:"ingredientID"` IngredientVersionID string `json:"ingredientVersionID"` Revision int `json:"revision"` } `json:"publish"` }
type Requirement ¶
type Requirement struct { mono_models.Checkpoint VersionConstraints mono_models.Constraints `json:"constraint_json,omitempty"` CommitID strfmt.UUID `json:"commit_id"` }
type RuntimeUsage ¶
type RuntimeUsageResponse ¶
type RuntimeUsageResponse struct {
Usage []RuntimeUsage `json:"organizations_runtime_usage"`
}
Click to show internal directories.
Click to hide internal directories.