graph

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GraphNodeCommand is graph node exec command
	GraphNodeCommand = "graph-node"
)
View Source
const (
	// GraphNodeHomeDir is Graph node image home dir
	// TODO: update home dir after creating a new docker image
	GraphNodeHomeDir = "/root"
)

Images

Variables

This section is empty.

Functions

func NewClient

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

NewClient creates new graph node client

Types

type GraphNodeClient

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

GraphNodeClient is graph node client https://github.com/graphprotocol/graph-node

func (*GraphNodeClient) Args

func (c *GraphNodeClient) Args() (args []string)

Args returns Graph node client args

func (*GraphNodeClient) Command

func (c *GraphNodeClient) Command() (command []string)

Command is Graph node client entrypoint

func (*GraphNodeClient) Env

func (c *GraphNodeClient) Env() (env []corev1.EnvVar)

Command returns environment variables for the client

func (*GraphNodeClient) HomeDir

func (c *GraphNodeClient) HomeDir() string

HomeDir is the home directory of Graph node client image

Jump to

Keyboard shortcuts

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