gopass: github.com/justwatchcom/gopass/pkg/backend/rcs/noop Index | Files

package noop

import "github.com/justwatchcom/gopass/pkg/backend/rcs/noop"

Index

Package Files

backend.go loader.go

type Noop Uses

type Noop struct{}

Noop is a no-op git backend

func New Uses

func New() *Noop

New creates a new Noop object

func (*Noop) Add Uses

func (g *Noop) Add(ctx context.Context, args ...string) error

Add does nothing

func (*Noop) AddRemote Uses

func (g *Noop) AddRemote(ctx context.Context, remote, url string) error

AddRemote does nothing

func (*Noop) Cmd Uses

func (g *Noop) Cmd(ctx context.Context, name string, args ...string) error

Cmd does nothing

func (*Noop) Commit Uses

func (g *Noop) Commit(ctx context.Context, msg string) error

Commit does nothing

func (*Noop) GetRevision Uses

func (g *Noop) GetRevision(context.Context, string, string) ([]byte, error)

GetRevision is not implemented

func (*Noop) Init Uses

func (g *Noop) Init(context.Context, string, string) error

Init does nothing

func (*Noop) InitConfig Uses

func (g *Noop) InitConfig(context.Context, string, string) error

InitConfig does nothing

func (*Noop) Name Uses

func (g *Noop) Name() string

Name returns noop

func (*Noop) Pull Uses

func (g *Noop) Pull(ctx context.Context, origin, branch string) error

Pull does nothing

func (*Noop) Push Uses

func (g *Noop) Push(ctx context.Context, origin, branch string) error

Push does nothing

func (*Noop) RemoveRemote Uses

func (g *Noop) RemoveRemote(ctx context.Context, remote string) error

RemoveRemote does nothing

func (*Noop) Revisions Uses

func (g *Noop) Revisions(context.Context, string) ([]backend.Revision, error)

Revisions is not implemented

func (*Noop) Version Uses

func (g *Noop) Version(context.Context) semver.Version

Version returns an empty version

Package noop imports 4 packages (graph). Updated 2019-02-20. Refresh now. Tools for package owners.