Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func K8sInit ¶
func K8sInit() (*kubernetes.Clientset, error)
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config DB *ent.Client Redis *redis.Redis K8s *kubernetes.Clientset }
func NewServiceContext ¶
func NewServiceContext(c config.Config) (*ServiceContext, error)
Click to show internal directories.
Click to hide internal directories.