Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2024retracted Changes in this version + func ExecScript(script string) (*exec.Cmd, error) + func ExternalTokenHelperPath(path string) (string, error) + func Test(t *testing.T, h TokenHelper) + func TestExternalTokenHelperProcessCLI(t *testing.T, cmd cli.Command) + func TestProcess(t *testing.T, s ...string) + func TestProcessPath(t *testing.T, s ...string) string + type ExternalTokenHelper struct + BinaryPath string + Env []string + func (h *ExternalTokenHelper) Erase() error + func (h *ExternalTokenHelper) Get() (string, error) + func (h *ExternalTokenHelper) Path() string + func (h *ExternalTokenHelper) Store(v string) error + type InternalTokenHelper struct + func NewInternalTokenHelper() (*InternalTokenHelper, error) + func (i *InternalTokenHelper) Erase() error + func (i *InternalTokenHelper) Get() (string, error) + func (i *InternalTokenHelper) Path() string + func (i *InternalTokenHelper) Store(input string) error + type TestingTokenHelper struct + func NewTestingTokenHelper() *TestingTokenHelper + func (t *TestingTokenHelper) Erase() error + func (t *TestingTokenHelper) Get() (string, error) + func (t *TestingTokenHelper) Path() string + func (t *TestingTokenHelper) Store(token string) error + type TokenHelper interface + Erase func() error + Get func() (string, error) + Path func() string + Store func(string) error