chainlink

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ChainlinkAPI is the argument used to locate api credentials file
	ChainlinkAPI = "--api"
)

arguments

View Source
const (
	// ChainlinkHomeDir is chainlink image home dir
	// TODO: update the home directory
	ChainlinkHomeDir = "/home/chainlink"
)

Images

Variables

This section is empty.

Functions

func NewClient

func NewClient(node *chainlinkv1alpha1.Node) clients.Interface

NewClient returns chainlink client for the given node

Types

type ChainlinkClient

type ChainlinkClient struct {
	// contains filtered or unexported fields
}

ChainlinkClient is chainlink official client https://github.com/smartcontractkit/chainlink

func (*ChainlinkClient) Args

func (c *ChainlinkClient) Args() []string

Args returns chainlink args

func (*ChainlinkClient) Command

func (c *ChainlinkClient) Command() []string

Command is chainlink entrypoint

func (*ChainlinkClient) Env

func (c *ChainlinkClient) Env() []corev1.EnvVar

func (*ChainlinkClient) HomeDir

func (c *ChainlinkClient) HomeDir() string

HomeDir returns chainlink image home directory

Jump to

Keyboard shortcuts

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