resource

package
v0.10.3-0...-96d0e78 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(opts ...optResourceInit)

Done finish all initialization of resources.

func OptETCD

func OptETCD(etcd *clientv3.Client) optResourceInit

OptETCD provides the etcd client to the resource.

func OptReplicateManagerClient

func OptReplicateManagerClient(replicateManagerClient replication.ReplicateManagerClient) optResourceInit

OptReplicateManagerClient provides the replicate manager client to the resource.

func Release

func Release()

Release releases the singleton of resources.

func Resource

func Resource() *resourceImpl

Resource access the underlying singleton of resources.

Types

This section is empty.

Jump to

Keyboard shortcuts

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