Documentation ¶
Index ¶
Constants ¶
View Source
const ClusterControlPlane = "control-plane"
ClusterControlPlane is the cluster name the tkestack control-planes like tke-platform-api will use to report audit events
View Source
const GroupName = "audit.tkestack.io"
GroupName is the api group name for audit.
View Source
const Version = "v1"
Version is the api version for audit.
Variables ¶
This section is empty.
Functions ¶
func IgnoredAuthPathPrefixes ¶
func IgnoredAuthPathPrefixes() []string
IgnoredAuthPathPrefixes returns a list of path prefixes that does not need to go through the built-in authentication and authorization middleware of apiserver.
func RegisterRoute ¶
func RegisterRoute(container *restful.Container, cfg *auditconfig.AuditConfiguration) error
RegisterRoute is used to register prefix path routing matches for all configured backend components.
Types ¶
type Pagination ¶
type Pagination struct { ResultStatus `json:",inline"` Total int `json:"total"` Items []*types.Event `json:"items"` }
type ResultStatus ¶
Click to show internal directories.
Click to hide internal directories.