base

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 19

Documentation

Overview

Package base provides some helper functionalities that should be used by every plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger() hclog.Logger

Logger creates a new logger that should be used as a basis for all logging in the plugin. So it's advised to call this method first and store the logger in a (global) variable.

func RegisterPlugins

func RegisterPlugins(pluginImpls ...interface{}) error

RegisterPlugins takes a list of objects that implement the different plugin API interfaces. It will automatically detect which of the interfaces are implemented and will register them as plugins. This way, the underlying plugin system infoPlugin abstracted away for everybody implementing plugins for the Raito CLI.

Types

type Closable added in v0.53.2

type Closable interface {
	Close()
}

Directories

Path Synopsis
sync_from_target
Package sync_from_target provides the tooling to build the file to export access providers from the data source to be imported into Raito.
Package sync_from_target provides the tooling to build the file to export access providers from the data source to be imported into Raito.
Package data_source provides the tooling to build the Raito data source import file.
Package data_source provides the tooling to build the Raito data source import file.
Package identity_store provides the tooling to build the Raito identity store import files.
Package identity_store provides the tooling to build the Raito identity store import files.
util
slice
Package slice contains some utility functions to work with slices
Package slice contains some utility functions to work with slices
url
Package url contains some helper functions to deal with URLs.
Package url contains some helper functions to deal with URLs.

Jump to

Keyboard shortcuts

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