cache

package
v0.0.0-...-d2f2feb Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cache provide actions for loading / clearing / dumping the users, repositories, groups, projects from Bitbucket It aims to provide fluid autocompletion and avoid hitting the API while searching for specific entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Settings *settings.BitAdminSettings
}

Command define the root command holding cache actions

func (*Command) ClearCacheAction

func (command *Command) ClearCacheAction(context *cli.Context) error

ClearCacheAction wipe out the cache

func (*Command) DumpCacheAction

func (command *Command) DumpCacheAction(context *cli.Context) error

DumpCacheAction print on stdout the content of the cache

func (*Command) GetCommand

func (command *Command) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*Command) WarmupCacheAction

func (command *Command) WarmupCacheAction(context *cli.Context) error

WarmupCacheAction load all entities and save them into a file

Jump to

Keyboard shortcuts

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