Versions in this module Expand all Collapse all v0 v0.4.4 Feb 4, 2022 v0.4.3 Jun 9, 2021 v0.4.2 Mar 20, 2021 v0.4.1 Mar 14, 2021 v0.4.0 Mar 6, 2021 v0.3.3 Mar 6, 2021 v0.3.2 Mar 18, 2020 v0.3.1 Feb 12, 2020 v0.3.0 Jul 24, 2019 v0.2.5 Jul 11, 2019 v0.2.4 Jun 12, 2019 v0.2.3 Jun 12, 2019 v0.2.2 Jun 6, 2019 v0.2.1 Jun 5, 2019 v0.2.0 Jun 5, 2019 Changes in this version + type Access string + const AccessAccessibleForNotify + const AccessNotAccessible + const AccessNotImplemented + const AccessReadCreate + const AccessReadOnly + const AccessReadWrite + const AccessWriteOnly + func (a Access) ToSmi() types.Access + type AgentCapabilities struct + Description string + Modules []AgentCapabilityModule + Pos lexer.Position + ProductRelease string + Reference string + Status Status + type AgentCapabilityModule struct + Includes []types.SmiIdentifier + Module types.SmiIdentifier + Pos lexer.Position + Variations []AgentCapabilityVariation + type AgentCapabilityVariation struct + Access *Access + Creation []types.SmiIdentifier + Defval *string + Description string + Name types.SmiIdentifier + Pos lexer.Position + Syntax *Syntax + WriteSyntax *Syntax + type Compliance struct + Group *ComplianceGroup + Object *ComplianceObject + Pos lexer.Position + type ComplianceGroup struct + Description string + Name types.SmiIdentifier + Pos lexer.Position + type ComplianceModuleName string + func (n *ComplianceModuleName) Parse(lex lexer.PeekingLexer) error + type ComplianceObject struct + Description string + MinAccess *Access + Name types.SmiIdentifier + Pos lexer.Position + Syntax *Syntax + WriteSyntax *Syntax + type Date string + func (d Date) ToTime() (t time.Time) + type Implicit struct + Application bool + Number int + Pos lexer.Position + Syntax SyntaxType + type Import struct + Module types.SmiIdentifier + Names []types.SmiIdentifier + Pos lexer.Position + type Index struct + Implied bool + Name types.SmiIdentifier + Pos lexer.Position + type Macro struct + Body MacroBody + Name types.SmiIdentifier + Pos lexer.Position + type MacroBody struct + Pos lexer.Position + Tokens map[string]string + TypeNotation string + ValueNotation string + func (m *MacroBody) Parse(lex lexer.PeekingLexer) error + type Module struct + Body ModuleBody + Name types.SmiIdentifier + Pos lexer.Position + func Parse(r io.Reader) (*Module, error) + func ParseFile(path string) (*Module, error) + type ModuleBody struct + Exports []types.SmiIdentifier + Identity *ModuleIdentity + Imports []Import + Macros []Macro + Nodes []Node + Pos lexer.Position + Types []Type + type ModuleCompliance struct + Description string + Modules []ModuleComplianceModule + Pos lexer.Position + Reference string + Status Status + type ModuleComplianceModule struct + Compliances []Compliance + MandatoryGroups []types.SmiIdentifier + Name ComplianceModuleName + Pos lexer.Position + type ModuleIdentity struct + ContactInfo string + Description string + LastUpdated Date + Name types.SmiIdentifier + Oid Oid + Organization string + Pos lexer.Position + Revisions []Revision + type NamedNumber struct + Name types.SmiIdentifier + Pos lexer.Position + Value string + type Node struct + AgentCapabilities *AgentCapabilities + ModuleCompliance *ModuleCompliance + Name types.SmiIdentifier + NotificationGroup *NotificationGroup + NotificationType *NotificationType + ObjectGroup *ObjectGroup + ObjectIdentifier bool + ObjectIdentity *ObjectIdentity + ObjectType *ObjectType + Oid *Oid + Pos lexer.Position + SubIdentifier *types.SmiSubId + TrapType *TrapType + type NotificationGroup struct + Description string + Notifications []types.SmiIdentifier + Pos lexer.Position + Reference string + Status Status + type NotificationType struct + Description string + Objects []types.SmiIdentifier + Pos lexer.Position + Reference string + Status Status + type ObjectGroup struct + Description string + Objects []types.SmiIdentifier + Pos lexer.Position + Reference string + Status Status + type ObjectIdentity struct + Description string + Pos lexer.Position + Reference string + Status Status + type ObjectType struct + Access Access + Augments *types.SmiIdentifier + Defval *string + Description string + Index []Index + Pos lexer.Position + Reference string + Status Status + Syntax Syntax + Units string + type Oid struct + Pos lexer.Position + SubIdentifiers []SubIdentifier + type Range struct + End string + Pos lexer.Position + Start string + type Revision struct + Date Date + Description string + Pos lexer.Position + type Sequence struct + Entries []SequenceEntry + Pos lexer.Position + Type SequenceType + type SequenceEntry struct + Descriptor types.SmiIdentifier + Pos lexer.Position + Syntax SyntaxType + type SequenceType string + const SequenceTypeChoice + const SequenceTypeSequence + type Status string + const StatusCurrent + const StatusDeprecated + const StatusMandatory + const StatusObsolete + const StatusOptional + func (s Status) ToSmi() types.Status + type SubIdentifier struct + Name *types.SmiIdentifier + Number *types.SmiSubId + Pos lexer.Position + func (x *SubIdentifier) Parse(lex lexer.PeekingLexer) error + type SubType struct + Integer []Range + OctetString []Range + Pos lexer.Position + type Syntax struct + Pos lexer.Position + Sequence *types.SmiIdentifier + Type *SyntaxType + type SyntaxType struct + Enum []NamedNumber + Name types.SmiIdentifier + Pos lexer.Position + SubType *SubType + type TextualConvention struct + Description string + DisplayHint string + Pos lexer.Position + Reference string + Status Status + Syntax SyntaxType + type TrapType struct + Description string + Enterprise types.SmiIdentifier + Objects []types.SmiIdentifier + Pos lexer.Position + Reference string + type Type struct + Implicit *Implicit + Name types.SmiIdentifier + Pos lexer.Position + Sequence *Sequence + Syntax *SyntaxType + TextualConvention *TextualConvention