init

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package init ensures all packages related to Flux built-ins are imported and initialized. This should only be imported from main or test packages. It is a mistake to import it from any other package.

NOTE: This is a superset-wrapper of Flux's built-in initialization logic. It also ensures V1-specific flux builtins are initialized.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

Initialize ensures all Flux builtins are configured and should be called prior to using the Flux runtime. Initialize is safe to call concurrently and is idempotent.

Types

This section is empty.

Directories

Path Synopsis
The init/static package can be imported in test cases and other uses cases where it is okay to always initialize flux.
The init/static package can be imported in test cases and other uses cases where it is okay to always initialize flux.

Jump to

Keyboard shortcuts

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