Documentation ¶
Overview ¶
Copyright (c) 2018-2019, AT&T Intellectual Property. All rights reserved. SPDX-License-Identifier: GPL-2.0-only
Copyright (c) 2018-2019, AT&T Intellectual Property. All rights reserved. SPDX-License-Identifier: GPL-2.0-only
Copyright (c) 2018-2019, AT&T Intellectual Property. All rights reserved. SPDX-License-Identifier: GPL-2.0-only
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Check ¶
func (c *Config) Check(proposedConfig *ConfigData) error
func (*Config) Get ¶
func (c *Config) Get() *ConfigData
func (*Config) Set ¶
func (c *Config) Set(newConfig *ConfigData) error
type ConfigData ¶
type ConfigData struct { Service struct { DNS struct { Forwarding *forwarding.ConfigData `rfc7951:"forwarding,omitempty"` Dynamic *dynamic.ConfigData `rfc7951:"dynamic,omitempty"` } `rfc7951:"vyatta-service-dns-v1:dns,omitempty"` } `rfc7951:"vyatta-services-v1:service,omitempty"` Routing struct { RoutingInstance []struct { Name string `rfc7951:"instance-name"` Service struct { DNS struct { Forwarding *forwarding.ConfigData `rfc7951:"forwarding,omitempty"` Dynamic *dynamic.ConfigData `rfc7951:"dynamic,omitempty"` } `rfc7951:"vyatta-service-dns-routing-instance-v1:dns,omitempty"` } `rfc7951:"service,omitempty"` } `rfc7951:"routing-instance,omitempty"` } `rfc7951:"vyatta-routing-v1:routing,omitempty"` }
type ConfigOpt ¶
type ConfigOpt func(*Config)
func VRFHelpers ¶
func VRFHelpers(sub process.VRFSubscriber, chk process.VRFChecker) ConfigOpt
type DNSStateData ¶
type DNSStateData struct { Forwarding *forwarding.StateData `rfc7951:"forwarding,omitempty"` Dynamic *dynamic.StateData `rfc7951:"dynamic,omitempty"` }
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
func (*RPC) ResetDnsForwarding ¶
func (*RPC) ResetDnsForwardingCache ¶
func (*RPC) UpdateDynamicDnsInterface ¶
type RoutingInstanceData ¶
type RoutingInstanceData struct { Name string `rfc7951:"instance-name"` Service struct { DNS struct { Forwarding *forwarding.StateData `rfc7951:"forwarding,omitempty"` Dynamic *dynamic.StateData `rfc7951:"dynamic,omitempty"` } `rfc7951:"vyatta-service-dns-routing-instance-v1:dns"` } `rfc7951:"service"` }
type RoutingStateData ¶
type RoutingStateData struct {
RoutingInstance []RoutingInstanceData `rfc7951:"routing-instance,omitempty"`
}
type StateData ¶
type StateData struct { Service struct { DNS *DNSStateData `rfc7951:"vyatta-service-dns-v1:dns,omitempty"` } `rfc7951:"vyatta-services-v1:service"` Routing *RoutingStateData `rfc7951:"vyatta-routing-v1:routing,omitempty"` }
Click to show internal directories.
Click to hide internal directories.