Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger
deprecated
func GetLogger() *zap.SugaredLogger
Deprecated: instead calling this method inject logger from wire
func IsErrNoRows ¶
func NewHttpClient ¶
func NewSugardLogger ¶
func NewSugardLogger() *zap.SugaredLogger
Types ¶
type ApiError ¶
type ApiError struct { HttpStatusCode int `json:"-"` Code string `json:"code,omitempty"` InternalMessage string `json:"internalMessage,omitempty"` UserMessage interface{} `json:"userMessage,omitempty"` UserDetailMessage string `json:"userDetailMessage,omitempty"` }
func (*ApiError) ErrorfInternal ¶
default internal will be set
func (ApiError) ErrorfUser ¶
default telemetry message will be set
type PodLoggingController ¶
type PodLoggingController struct {
// contains filtered or unexported fields
}
func NewInformerConnection ¶
func NewInformerConnection(cfg *Config, logger *zap.SugaredLogger) (*PodLoggingController, error)
func NewPodLoggingController ¶
func NewPodLoggingController(informerFactory informers.SharedInformerFactory) *PodLoggingController
func (*PodLoggingController) Run ¶
func (c *PodLoggingController) Run(stopCh chan struct{}) error
Run starts shared informers and waits for the shared informer cache to synchronize.
type SentryConfig ¶
Click to show internal directories.
Click to hide internal directories.