Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeTypeSchema ¶
type AttributeTypeSchema struct {
NumericOID string `json:"numericOid" help:"Numeric object identifier for the attribute type definition"`
Name []string `json:"name,omitempty" help:"Descriptor names for the attribute type"`
Description string `json:"description,omitempty" help:"Human-readable description of the attribute type"`
SuperType string `json:"superType,omitempty" help:"Superior attribute type inherited by this attribute type"`
Usage AttributeUsage `` /* 162-byte string literal not displayed */
Syntax string `json:"syntax,omitempty" help:"Syntax OID, optionally including a length bound"`
Obsolete bool `json:"obsolete,omitempty" help:"Whether the attribute type is marked OBSOLETE"`
SingleValue bool `json:"singleValue,omitempty" help:"Whether the attribute type allows only a single value"`
Collective bool `json:"collective,omitempty" help:"Whether the attribute type is collective"`
NoUserModification bool `json:"noUserModification,omitempty" help:"Whether user modification is prohibited for the attribute type"`
Extensions map[string][]string `json:"extensions,omitempty" help:"Vendor-specific extension values keyed by extension name"`
}
type AttributeUsage ¶
type AttributeUsage string
const ( AttributeUsageUserApplications AttributeUsage = "userApplications" AttributeUsageDirectoryOperation AttributeUsage = "directoryOperation" AttributeUsageDistributedOperation AttributeUsage = "distributedOperation" AttributeUsageDSAOperation AttributeUsage = "dSAOperation" )
type ObjectClassKind ¶
type ObjectClassKind string
const ( ObjectClassKindAbstract ObjectClassKind = "ABSTRACT" ObjectClassKindStructural ObjectClassKind = "STRUCTURAL" ObjectClassKindAuxiliary ObjectClassKind = "AUXILIARY" )
type ObjectClassSchema ¶
type ObjectClassSchema struct {
NumericOID string `json:"numericOid" help:"Numeric object identifier for the object class definition"`
Name []string `json:"name,omitempty" help:"Descriptor names for the object class"`
Description string `json:"description,omitempty" help:"Human-readable description of the object class"`
SuperClasses []string `json:"superClasses,omitempty" help:"Superior object classes inherited by this object class"`
ClassKind ObjectClassKind `json:"classKind,omitempty" help:"Object class kind" enum:"ABSTRACT,STRUCTURAL,AUXILIARY"`
Must []string `json:"must,omitempty" help:"Required attribute types for entries using this object class"`
May []string `json:"may,omitempty" help:"Optional attribute types for entries using this object class"`
Obsolete bool `json:"obsolete,omitempty" help:"Whether the object class is marked OBSOLETE"`
Extensions map[string][]string `json:"extensions,omitempty" help:"Vendor-specific extension values keyed by extension name"`
}
Click to show internal directories.
Click to hide internal directories.