config

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 InitKubeClient

func InitKubeClient(wfconfig *WorkflowConf) *kubernetes.Clientset

func InitKubeClientConf

func InitKubeClientConf(wfconfig *WorkflowConf)

func InitWorkflowClient

func InitWorkflowClient(wfconfig *WorkflowConf, ns ...string)

Types

type Config

type Config struct {
	zrpc.RpcServerConf
	DatabaseConf config.DatabaseConf
	CasbinConf   casbin.CasbinConf
	RedisConf    redis.RedisConf
}

type WorkflowConf

type WorkflowConf struct {
	RestConfig   *rest.Config
	ClientConfig clientcmd.ClientConfig
	WfClient     v1alpha1.WorkflowInterface
	Clientset    *kubernetes.Clientset
}

Jump to

Keyboard shortcuts

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