Documentation
¶
Index ¶
- func GetEngine(ctx context.Context, config types.Config, ...) (client engine.API, err error)
- func GetEngineFromCache(_ context.Context, endpoint, ca, cert, key string) engine.API
- func InitEngineCache(ctx context.Context, config types.Config, stor store.Store)
- func RemoveEngineFromCache(ctx context.Context, endpoint, ca, cert, key string)
- type EngineCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEngine ¶
func GetEngine(ctx context.Context, config types.Config, nodename, endpoint, ca, cert, key string) (client engine.API, err error)
GetEngine get engine with cache
func GetEngineFromCache ¶
GetEngineFromCache .
func InitEngineCache ¶
InitEngineCache init engine cache and start engine cache checker
func RemoveEngineFromCache ¶
RemoveEngineFromCache .
Types ¶
type EngineCache ¶
type EngineCache struct {
// contains filtered or unexported fields
}
EngineCache .
func NewEngineCache ¶
func NewEngineCache(config types.Config, stor store.Store) *EngineCache
NewEngineCache .
Click to show internal directories.
Click to hide internal directories.