Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(ctx context.Context, dependencies *Dependencies) error
Init build and load specific plugins through configuration. config contain the configuration of all plugins, including plugin loading configuration and plugin custom configuration. e.g.:
plugins: - name: registry-filter # plugin custom configuration config: - permission: allow patterns: - docker.io/secretflow
Types ¶
type Dependencies ¶
type Dependencies struct { AgentConfig *config.AgentConfig KubeClient kubernetes.Interface }
Click to show internal directories.
Click to hide internal directories.