Versions in this module Expand all Collapse all v0 v0.4.0 May 12, 2026 Changes in this version + type BlameResultOutput struct + func NewBlameResultOutput(e *sdcpb.BlameTreeElement) *BlameResultOutput + func (b *BlameResultOutput) ToString(_ context.Context) (string, error) + func (b *BlameResultOutput) ToStringDetails(ctx context.Context) (string, error) + func (b *BlameResultOutput) ToStruct(_ context.Context) (any, error) + func (b *BlameResultOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigDiffOutput struct + func NewConfigDiffOutput(s string) *ConfigDiffOutput + func (o *ConfigDiffOutput) ToString(_ context.Context) (string, error) + func (o *ConfigDiffOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigDiffOutput) ToStruct(_ context.Context) (any, error) + func (o *ConfigDiffOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigShowJsonIetfOutput struct + func NewConfigShowJsonIetfOutput(root TreeToJsonIetf) *ConfigShowJsonIetfOutput + func (c *ConfigShowJsonIetfOutput) SetOnlyNewOrUpdated(v bool) + func (o *ConfigShowJsonIetfOutput) ToString(ctx context.Context) (string, error) + func (o *ConfigShowJsonIetfOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigShowJsonIetfOutput) ToStruct(ctx context.Context) (any, error) + func (o *ConfigShowJsonIetfOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigShowJsonOutput struct + func NewConfigShowJsonOutput(root TreeToJson) *ConfigShowJsonOutput + func (c *ConfigShowJsonOutput) SetOnlyNewOrUpdated(v bool) + func (o *ConfigShowJsonOutput) ToString(ctx context.Context) (string, error) + func (o *ConfigShowJsonOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigShowJsonOutput) ToStruct(ctx context.Context) (any, error) + func (o *ConfigShowJsonOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigShowXPathOutput struct + func NewConfigShowXPathOutput(data TreeToXPath) *ConfigShowXPathOutput + func (o *ConfigShowXPathOutput) ToString(ctx context.Context) (string, error) + func (o *ConfigShowXPathOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigShowXPathOutput) ToStruct(ctx context.Context) (any, error) + func (o *ConfigShowXPathOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigShowXmlOutput struct + func NewConfigShowXmlOutput(root TreeToXML) *ConfigShowXmlOutput + func (c *ConfigShowXmlOutput) SetHonorNamespace(v bool) + func (c *ConfigShowXmlOutput) SetOnlyNewOrUpdated(v bool) + func (c *ConfigShowXmlOutput) SetOperationWithNamespace(v bool) + func (c *ConfigShowXmlOutput) SetUseOperationRemove(v bool) + func (o *ConfigShowXmlOutput) ToString(ctx context.Context) (string, error) + func (o *ConfigShowXmlOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigShowXmlOutput) ToStruct(ctx context.Context) (any, error) + func (o *ConfigShowXmlOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigShowYamlOutput struct + func NewConfigShowYamlOutput(root TreeToJson) *ConfigShowYamlOutput + func (c *ConfigShowYamlOutput) SetOnlyNewOrUpdated(v bool) + func (o *ConfigShowYamlOutput) ToString(ctx context.Context) (string, error) + func (o *ConfigShowYamlOutput) ToStringDetails(ctx context.Context) (string, error) + func (o *ConfigShowYamlOutput) ToStruct(ctx context.Context) (any, error) + func (o *ConfigShowYamlOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ConfigValidateOutput struct + func NewConfigValidateOutput(result types.ValidationResults, stats *types.ValidationStats) *ConfigValidateOutput + func (cvo *ConfigValidateOutput) ToString(ctx context.Context) (string, error) + func (cvo *ConfigValidateOutput) ToStringDetails(ctx context.Context) (string, error) + func (cvo *ConfigValidateOutput) ToStruct(ctx context.Context) (any, error) + func (cvo *ConfigValidateOutput) WriteToJson(ctx context.Context, w io.Writer) error + type ErrorOutput struct + Error error + func NewErrorOutput(err error) *ErrorOutput + func (c *ErrorOutput) ToString(_ context.Context) (string, error) + func (c *ErrorOutput) ToStringDetails(_ context.Context) (string, error) + func (c *ErrorOutput) ToStruct(_ context.Context) (any, error) + func (c *ErrorOutput) WriteToJson(ctx context.Context, w io.Writer) error + type FlagsOutput struct + Delete bool + ExplicitDelete bool + New bool + OnlyIntended bool + func NewFlagsOutput(f *dsTypes.UpdateInsertFlags) *FlagsOutput + func (f *FlagsOutput) ToString(_ context.Context) (string, error) + func (f *FlagsOutput) ToStringDetails(ctx context.Context) (string, error) + func (f *FlagsOutput) ToStruct(_ context.Context) (any, error) + func (f *FlagsOutput) WriteToJson(_ context.Context, w io.Writer) error + type IntentOutput struct + Name string + Priority int32 + func (i *IntentOutput) ToString(_ context.Context) (string, error) + func (i *IntentOutput) ToStringDetails(ctx context.Context) (string, error) + func (i *IntentOutput) ToStruct(_ context.Context) (any, error) + func (i *IntentOutput) WriteToJson(_ context.Context, w io.Writer) error + type NullOutput struct + func NewNullOutput() *NullOutput + func (c *NullOutput) ToString(_ context.Context) (string, error) + func (c *NullOutput) ToStringDetails(_ context.Context) (string, error) + func (c *NullOutput) ToStruct(_ context.Context) (any, error) + func (c *NullOutput) WriteToJson(ctx context.Context, w io.Writer) error + type SchemaOutput struct + Vendor string + Version string + func NewSchemaOutput(s *sdcpb.Schema) *SchemaOutput + func (s *SchemaOutput) ToString(_ context.Context) (string, error) + func (s *SchemaOutput) ToStringDetails(ctx context.Context) (string, error) + func (s *SchemaOutput) ToStruct(_ context.Context) (any, error) + func (s *SchemaOutput) WriteToJson(ctx context.Context, w io.Writer) error + type SchemaOutputSlice []*SchemaOutput + func NewSchemaOutputList(ss []*sdcpb.Schema) SchemaOutputSlice + func (s SchemaOutputSlice) ToString(ctx context.Context) (string, error) + func (s SchemaOutputSlice) ToStringDetails(ctx context.Context) (string, error) + func (s SchemaOutputSlice) ToStruct(_ context.Context) (any, error) + func (s SchemaOutputSlice) WriteToJson(ctx context.Context, w io.Writer) error + type TargetOutput struct + Intents []*IntentOutput + Schema *SchemaOutput + TargetName string + TargetPath string + func (t *TargetOutput) ToString(ctx context.Context) (string, error) + func (t *TargetOutput) ToStringDetails(ctx context.Context) (string, error) + func (t *TargetOutput) ToStruct(_ context.Context) (any, error) + func (t *TargetOutput) WriteToJson(_ context.Context, w io.Writer) error + type TargetOutputSlice []*TargetOutput + func (t TargetOutputSlice) ToString(ctx context.Context) (string, error) + func (t TargetOutputSlice) ToStringDetails(ctx context.Context) (string, error) + func (t TargetOutputSlice) ToStruct(_ context.Context) (any, error) + func (t TargetOutputSlice) WriteToJson(_ context.Context, w io.Writer) error + type TreeToJson interface + ToJson func(ctx context.Context, onlyNewOrUpdated bool) (any, error) + type TreeToJsonIetf interface + ToJsonIETF func(ctx context.Context, onlyNewOrUpdated bool) (any, error) + type TreeToXML interface + ToXML func(ctx context.Context, onlyNewOrUpdated bool, honorNamespace bool, ...) (*etree.Document, error) + type TreeToXPath interface + GetHighestPrecedence func(ctx context.Context, onlyNewOrUpdated bool, includeDefaults bool, ...) api.LeafVariantSlice v0.3.0 Sep 26, 2025