svc

package
v0.0.0-...-663e6fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func K8sInit

func K8sInit() (*kubernetes.Clientset, error)

Types

type K8sConfig

type K8sConfig struct {
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL