filesystem

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package filesystem implements the crudstore plugin interface, storing data on the local filesystem.

Index

Constants

View Source
const PluginKey = crudstore.PluginInterface + ".porter.filesystem"

Variables

This section is empty.

Functions

func NewFileExtensions added in v0.28.0

func NewFileExtensions() map[string]string

func NewPlugin

func NewPlugin(c config.Config) plugin.Plugin

func NewStore

func NewStore(c config.Config, l hclog.Logger) crud.Store

Types

type Plugin

type Plugin struct {
	crud.Store
}

Plugin is the plugin wrapper for the local filesystem storage.

type Store

type Store struct {
	crud.Store
	config.Config
	// contains filtered or unexported fields
}

Store is a local filesystem store that stores data in the porter home directory.

func (*Store) Connect

func (s *Store) Connect() error

Jump to

Keyboard shortcuts

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