utils

package
v1.4.269-rc-4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodHelper

type PodHelper struct {
	Image     string
	NameSpace string
	// contains filtered or unexported fields
}

func NewPodHelper

func NewPodHelper(image, namespace string) *PodHelper

func (*PodHelper) CreateOracleFeeder

func (kh *PodHelper) CreateOracleFeeder(ctx context.Context, feederID string, owner string, oracle string, chainID string, symbols, blockchainnode string, frequency, sleepSeconds, deviationPermille, mandatoryFrequency string) error

func (*PodHelper) DeleteOracleFeeder

func (kh *PodHelper) DeleteOracleFeeder(ctx context.Context, feederID string) error

func (*PodHelper) RestartOracleFeeder

func (kh *PodHelper) RestartOracleFeeder(ctx context.Context, feederID string, oracleconfig dia.OracleConfig) (err error)

func (*PodHelper) UpdateOracleFeeder

func (kh *PodHelper) UpdateOracleFeeder(ctx context.Context, feederID string, owner string, oracle string, chainID string, symbols, blockchainnode string, frequency, sleepSeconds, deviationPermille, mandatoryFrequency string) error

Jump to

Keyboard shortcuts

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