~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/resource/cmd/formatted.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
// FormattedDetailResource is the data for a single line of tabular output for
56
56
// juju resources <service> --details.
57
57
type FormattedDetailResource struct {
58
 
        UnitID     string               `json:"unitID" yaml:"unitID"`
59
 
        Unit       FormattedSvcResource `json:"unit" yaml:"unit"`
60
 
        Expected   FormattedSvcResource `json:"expected" yaml:"expected"`
61
 
        unitNumber int
 
58
        UnitID      string               `json:"unitID" yaml:"unitID"`
 
59
        Unit        FormattedSvcResource `json:"unit" yaml:"unit"`
 
60
        Expected    FormattedSvcResource `json:"expected" yaml:"expected"`
 
61
        Progress    int64                `json:"progress,omitempty" yaml:"progress,omitempty"`
 
62
        unitNumber  int
 
63
        progress    string
 
64
        revProgress string
62
65
}
63
66
 
64
67
// FormattedServiceDetails is the data for the tabular output for juju resources