Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOutput ¶
MockOutput is an output for the builders
func (*MockOutput) Print ¶
func (o *MockOutput) Print(credentials []*credentials.Credential) error
MockOutput prints the credentials
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output is an output for the builders
func NewOutput ¶
func NewOutput(write OutputWriter, output ...Outputter) *Output
NewOutput creates a new Output
func (*Output) Print ¶
func (o *Output) Print(credentials []*credentials.Credential) error
Output prints the credentials
type OutputWriter ¶
type Outputter ¶
type Outputter interface {
Output(badge *credentials.Credential) (string, string, error)
}
Click to show internal directories.
Click to hide internal directories.