Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Type = component.MustNewType(typeStr)
Functions ¶
func CreateDefaultConfig ¶
CreateDefaultConfig creates the default configuration for the receiver
func NewFactory ¶
NewFactory creates a factory for Active Directory Inventory receiver
Types ¶
type ADConfig ¶
type ADObject ¶
type ADObject struct {
// contains filtered or unexported fields
}
ADObject is a wrapper for an Active Directory object
func (*ADObject) ToContainer ¶
ToContainer converts an Active Directory object to an Active Directory container
type ADObjectIter ¶
type ADObjectIter struct {
// contains filtered or unexported fields
}
ADObjectIter is a wrapper for an Active Directory object iterator
func (*ADObjectIter) Close ¶
func (o *ADObjectIter) Close()
Close closes an Active Directory object iterator
type ADReceiver ¶
type ADReceiver struct {
// contains filtered or unexported fields
}
type ADRuntimeInfo ¶
type ADRuntimeInfo struct{}
ADRuntimeInfo is a wrapper for runtime information
func (*ADRuntimeInfo) SupportedOS ¶
func (r *ADRuntimeInfo) SupportedOS() bool
SupportedOS returns whether the runtime is supported
type ADSIClient ¶
type ADSIClient struct{}
ADSIClient is a wrapper for an Active Directory client
func (*ADSIClient) Open ¶
func (c *ADSIClient) Open(path string, resourceLogs *plog.ResourceLogs) (Container, error)
Open an Active Directory container
type ADSIContainer ¶
type ADSIContainer struct {
// contains filtered or unexported fields
}
ADSIContainer is a wrapper for an Active Directory container
func (*ADSIContainer) Children ¶
func (c *ADSIContainer) Children() (ObjectIter, error)
Children returns the children of an Active Directory container
func (*ADSIContainer) Close ¶
func (c *ADSIContainer) Close()
Close closes an Active Directory container
func (*ADSIContainer) ToObject ¶
func (c *ADSIContainer) ToObject() (Object, error)
ToObject converts an Active Directory container to an Active Directory object
type Client ¶
type Client interface {
Open(path string, resourceLogs *plog.ResourceLogs) (Container, error)
}
Client is an interface for an Active Directory client
type Container ¶
type Container interface { ToObject() (Object, error) Close() Children() (ObjectIter, error) }
Container is an interface for an Active Directory container
type ObjectIter ¶
ObjectIter is an interface for an Active Directory object iterator
type RuntimeInfo ¶
type RuntimeInfo interface {
SupportedOS() bool
}
RuntimeInfo is an interface for runtime information