filesystem

package
v0.21.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(c config.Config) plugin.Plugin

Types

type CrudStore

type CrudStore = crud.Store

A sad hack because crud.Store has a method called Store which prevents us from embedding it as a field

type Plugin

type Plugin struct {
	CrudStore
}

Plugin is the plugin wrapper for the local filesystem storage for claims.

type Store

type Store struct {
	*instancestorage.DynamicCrudStore
	config.Config
	// contains filtered or unexported fields
}

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

func NewStore

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

Jump to

Keyboard shortcuts

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