Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OcsAdapter ¶
type OcsAdapter struct {
// contains filtered or unexported fields
}
OcsAdapter supports metric template.
func (*OcsAdapter) Addr ¶
func (s *OcsAdapter) Addr() string
Addr returns the listening address of the server
func (*OcsAdapter) Close ¶
func (s *OcsAdapter) Close() error
Close gracefully shuts down the server; used for testing
func (*OcsAdapter) HandleAuthorization ¶
func (s *OcsAdapter) HandleAuthorization(ctx context.Context, r *authorization.HandleAuthorizationRequest) (*v1beta1.CheckResult, error)
HandleMetric records metric entries
Click to show internal directories.
Click to hide internal directories.