github.com/henvic/wedeploycli@v1.7.6-0.20200319005353-3630f582f284/shell/internal/kubernetes/meta.go (about) 1 // Package kubernetes has objects from k8s.io/apimachinery/pkg/apis/meta/v1/types.go 2 // https://github.com/kubernetes/apimachinery/blob/7ae370969693753028c74c0c876eee17ddb1b15b/pkg/apis/meta/v1/types.go 3 package kubernetes 4 5 // StatusDetails is a set of properties that might contain data regarding a command execution. 6 type StatusDetails struct { 7 Causes []StatusCause `json:"causes,omitempty"` 8 } 9 10 // StatusCause provides more information about an api.Status failure, including 11 // cases when multiple errors are encountered. 12 type StatusCause struct { 13 Type string `json:"reason,omitempty"` 14 Message string `json:"message,omitempty"` 15 }