Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.1.16"
Variables ¶
View Source
var Revision = "HEAD"
Functions ¶
func CreateHttpClient ¶
func CreateHttpClient(conf *cfg.RetrieveConfig) (*http.Client, error)
func MakeContext ¶
func MakeContext(timeout int) (context.Context, context.CancelFunc)
func SetHostIpLookupTransport ¶
func SetHostIpLookupTransport() error
Types ¶
type ConfigInitializer ¶
type ConfigInitializer struct { Base *cfg.ExportBase Common *cfg.CommonConfig }
func NewConfigInitializer ¶
func NewConfigInitializer(base *cfg.ExportBase, common *cfg.CommonConfig) *ConfigInitializer
func (*ConfigInitializer) CreateConfig ¶
func (c *ConfigInitializer) CreateConfig() error
func (*ConfigInitializer) Validate ¶
func (c *ConfigInitializer) Validate() error
type InventoryExecuter ¶
type InventoryExecuter struct { Base *cfg.ExportBase Common *cfg.CommonConfig Env *cfg.RunEnv }
func NewInventoryExecuter ¶
func NewInventoryExecuter(base *cfg.ExportBase, common *cfg.CommonConfig, env *cfg.RunEnv) *InventoryExecuter
func (*InventoryExecuter) Run ¶
func (c *InventoryExecuter) Run() error
func (*InventoryExecuter) Validate ¶
func (c *InventoryExecuter) Validate() error
type InventoryRetriever ¶
type InventoryRetriever struct { Base *cfg.ExportBase Common *cfg.CommonConfig Env *cfg.RunEnv WorkDir string DatastoreSets []agent.DatastoreSet HttpClient *http.Client }
func NewInventoryRetriever ¶
func NewInventoryRetriever(base *cfg.ExportBase, common *cfg.CommonConfig, env *cfg.RunEnv) *InventoryRetriever
func (*InventoryRetriever) GetDatastoreSets ¶
func (c *InventoryRetriever) GetDatastoreSets() error
func (*InventoryRetriever) RetrieveDatastore ¶
func (c *InventoryRetriever) RetrieveDatastore(dsSet agent.DatastoreSet) error
func (*InventoryRetriever) Run ¶
func (c *InventoryRetriever) Run() error
func (*InventoryRetriever) UnzipDatastore ¶
func (c *InventoryRetriever) UnzipDatastore(dsSet agent.DatastoreSet) error
func (*InventoryRetriever) Validate ¶
func (c *InventoryRetriever) Validate() error
type Sender ¶
func (*Sender) NewAgentDatastore ¶
Click to show internal directories.
Click to hide internal directories.