Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RobotUser ¶
type RobotUser struct { UpdateTime time.Time `json:"update_time"` Description string `json:"description"` Level string `json:"level"` Editable bool `json:"editable"` CreationTime time.Time `json:"creation_time"` ExpiresAt int `json:"expires_at"` Name string `json:"name"` Secret string `json:"secret"` Disable bool `json:"disable"` Duration int `json:"duration"` Id int `json:"id"` Permissions []struct { Access []struct { Action string `json:"action"` Resource string `json:"resource"` Effect string `json:"effect"` } `json:"access"` Kind string `json:"kind"` Namespace string `json:"namespace"` } `json:"permissions"` }
type Webhook ¶
type Webhook struct { CreationTime time.Time `json:"creation_time"` Creator string `json:"creator"` Description string `json:"description"` Enabled bool `json:"enabled"` EventTypes []string `json:"event_types"` Id int `json:"id"` Name string `json:"name"` ProjectId int `json:"project_id"` Targets []struct { Address string `json:"address"` AuthHeader string `json:"auth_header"` SkipCertVerify bool `json:"skip_cert_verify"` Type string `json:"type"` } `json:"targets"` UpdateTime time.Time `json:"update_time"` }
Click to show internal directories.
Click to hide internal directories.