Documentation
¶
Index ¶
- type UtilArgs
- func (a *UtilArgs) BuildCommands() []*ucli.Command
- func (a *UtilArgs) BuildFlags() []ucli.Flag
- func (a *UtilArgs) GetContext() context.Context
- func (a *UtilArgs) GetLogger() *logrus.Entry
- func (a *UtilArgs) RunGenerateRabinPoly(cctx *ucli.Context) error
- func (a *UtilArgs) RunParseObjectRef(cctx *ucli.Context) error
- func (a *UtilArgs) SetContext(c context.Context)
- func (a *UtilArgs) SetLogger(le *logrus.Entry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtilArgs ¶
type UtilArgs struct {
// ObjectRef is the object ref string.
ObjectRef string
// contains filtered or unexported fields
}
UtilArgs contains the utility arguments and functions.
func (*UtilArgs) BuildCommands ¶
BuildCommands attaches the commands.
func (*UtilArgs) BuildFlags ¶
BuildFlags attaches the flags to a flag set.
func (*UtilArgs) GetContext ¶
GetContext returns the context.
func (*UtilArgs) RunGenerateRabinPoly ¶
RunGenerateRabinPoly generates a rabin polynomial.
func (*UtilArgs) RunParseObjectRef ¶
RunParseObjectRef parses the object ref provided.
func (*UtilArgs) SetContext ¶
SetContext sets the context.
Click to show internal directories.
Click to hide internal directories.