ecflow_checker

package module
v0.0.0-...-f734696 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 8 Imported by: 0

README

ecflow-checker

An ecflow tool to check node status.

Installing

Use Makefile to build ecflow_checker command.

Getting started

Start ecflow_grpc_server from perillaroc/ecflow-client-cpp.

Run ecflow_checker check command to check nodes listed in config files.

ecflow_checker check --config-dir=some/path/to/dir

Results are as follows:

-- config file: nwpc_op/gda_grapes_gfs.yml
gda_grapes_gfs_v2.4 00H:
[✔] Checking for start
[✔] Checking for complete
gda_grapes_gfs_v2.4 06H:
[✔] Checking for start
[━] Checking for complete
gda_grapes_gfs_v2.4 12H: Ignore
gda_grapes_gfs_v2.4 18H: Ignore

Configure

See conf/example.yml for more information.

License

Copyright 2019, perillaroc.

ecflow-checker is licensed under MIT License.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EcflowClient

type EcflowClient struct {
	Target        string
	Connection    *grpc.ClientConn
	Context       context.Context
	ServiceClient pb.EcflowClientServiceClient
}

func (*EcflowClient) Close

func (c *EcflowClient) Close()

func (*EcflowClient) CollectNode

func (c *EcflowClient) CollectNode(
	owner string, repo string, host string, port string, path string) (*workflowmodel.WorkflowNode, error)

func (*EcflowClient) CollectStatusRecords

func (c *EcflowClient) CollectStatusRecords(owner string, repo string, host string, port string)

func (*EcflowClient) Connect

func (c *EcflowClient) Connect() error

Directories

Path Synopsis
cli
cmd
example

Jump to

Keyboard shortcuts

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