tf

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSourcePlugin added in v0.2.0

func NewDataSourcePlugin(config string) (apiv1.DataSourcePlugin, error)

func NewResourcePlugin

func NewResourcePlugin(config string) (apiv1.ResourcePlugin, error)

Types

type Attributes added in v0.3.0

type Attributes struct {
	Path    string `json:"path"`
	Content string `json:"content"`
	Mode    int    `json:"mode"`
}

type DataSourceArguments added in v0.2.0

type DataSourceArguments struct {
	Path string `json:"path"`
}

type DataSourceResult added in v0.2.0

type DataSourceResult struct {
	SizeBytes int64     `json:"size_bytes"`
	Mode      int       `json:"mode"`
	ModTime   time.Time `json:"mod_time"`
	IsDir     bool      `json:"is_dir"`
	Content   string    `json:"content"`
}

Jump to

Keyboard shortcuts

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