provider

package
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Types

type Client

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

Client is a wrapper for the Ockam binary.

func NewClient

func NewClient() (*Client, error)

NewClient returns a client which can be used to execute against the Ockam binary.

func (*Client) Read

func (c *Client) Read(filename string, dir string) (string, error)

Read reads files on disk that the Ockam binary creates and returns the contents as a string.

func (*Client) Run

func (c *Client) Run(command string, dir string) (string, error)

Run executes a command to the Ockam binary and returns the stdout results.

Jump to

Keyboard shortcuts

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