Documentation
¶
Overview ¶
get json from stdin and return json with v2 objects and v2 relations
Index ¶
Constants ¶
View Source
const ( AppName = "ds-load-jumpcloud" AppDescription = "JumpCloud directory loader" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct {
Version VersionCmd `cmd:"" help:"version information"`
Fetch FetchCmd `cmd:"" help:"fetch jumpcloud directory data"`
Transform TransformCmd `cmd:"" help:"transform jumpcloud directory data"`
ExportTransform ExportTransformCmd `cmd:"" help:"export default transform template"`
Exec ExecCmd `cmd:"" help:"fetch and transform jumpcloud directory" default:"withargs"`
Verify VerifyCmd `cmd:"" help:"verify fetcher configuration and credentials"`
Config kong.ConfigFlag `flag:"" short:"c" help:"Configuration file path" `
Verbosity int `flag:"" short:"v" type:"counter" help:"Use to increase output verbosity."`
}
type ExecCmd ¶
type ExecCmd struct {
FetchCmd
TransformCmd
}
type ExportTransformCmd ¶
type ExportTransformCmd struct{}
type FetchCmd ¶
type TransformCmd ¶
type TransformCmd struct {
Template string `name:"template" short:"t" env:"DS_TEMPLATE_FILE" help:"transformation template file path" type:"path" optional:""`
}
type VersionCmd ¶
type VersionCmd struct{}
func (*VersionCmd) Run ¶
func (cmd *VersionCmd) Run() error
Click to show internal directories.
Click to hide internal directories.