Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSubscriber ¶
type AddSubscriber struct {
Application string `json:"application" aocheck:"service"`
}
type Approval ¶
type Approval struct { Id string `json:"id,omitempty"` Service auto.Label `json:"service" aolabel:"service"` Team auto.Label `json:"team" aolabel:"team"` Application auto.Label `json:"application" aolabel:"service"` ApplyTeam auto.Label `json:"apply_team" aolabel:"team"` ApplyTime auto.TimeLabel `json:"apply_time"` Applier auto.Label `json:"applier" aolabel:"user"` Approver auto.Label `json:"approver" aolabel:"user"` ApprovalTime auto.TimeLabel `json:"approval_time"` Reason string `json:"reason"` Opinion string `json:"opinion"` Status int `json:"status"` }
type ApprovalItem ¶
type ApprovalItem struct { Id string `json:"id"` Service auto.Label `json:"service" aolabel:"service"` Team auto.Label `json:"team" aolabel:"team"` Application auto.Label `json:"application" aolabel:"service"` ApplyTeam auto.Label `json:"apply_team" aolabel:"team"` ApplyTime auto.TimeLabel `json:"apply_time"` Applier auto.Label `json:"applier" aolabel:"user"` Approver auto.Label `json:"approver" aolabel:"user"` ApprovalTime auto.TimeLabel `json:"approval_time"` Status int `json:"status"` }
type Subscriber ¶
type Subscriber struct { Id string `json:"id"` Service auto.Label `json:"service" aolabel:"service"` Subscriber auto.Label `json:"subscriber" aolabel:"service"` Team auto.Label `json:"team" aolabel:"team"` ApplyTime auto.TimeLabel `json:"apply_time"` Applier auto.Label `json:"applier" aolabel:"user"` //Approver auto.Label `json:"approver" aolabel:"user"` From int `json:"from"` }
type SubscriptionItem ¶
type SubscriptionItem struct { Id string `json:"id"` Service auto.Label `json:"service" aolabel:"service"` //Cluster auto.Label `json:"partition" aolabel:"partition"` ApplyStatus int `json:"apply_status"` Team auto.Label `json:"team" aolabel:"team"` //Applier auto.Label `json:"applier" aolabel:"user"` From int `json:"from"` CreateTime auto.TimeLabel `json:"create_time"` }
Click to show internal directories.
Click to hide internal directories.