enum

package
v0.0.0-...-b182e23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 3 Imported by: 9

Documentation

Index

Constants

View Source
const (
	ErrorTypeParsingFailed
)

Variables

View Source
var (
	DeployModeDeploy   = DeployMode{Value: "deploy"}
	DeployModeDrain    = DeployMode{Value: "drain"}
	DeployModeNone     = DeployMode{Value: ""}
	DeployModeReady    = DeployMode{Value: "ready"}
	DeployModeUndeploy = DeployMode{Value: "undeploy"}
)
View Source
var (
	DeviceProfileTypeModular    = DeviceProfileType{Value: "modular"}
	DeviceProfileTypeMonolithic = DeviceProfileType{Value: "monolithic"}
)
View Source
var (
	FeatureSwitchEnabled  = FeatureSwitch{Value: "enabled"}
	FeatureSwitchDisabled = FeatureSwitch{Value: "disabled"}
)
View Source
var (
	IbaWidgetTypeStage          = IbaWidgetType{Value: "stage"}
	IbaWidgetTypeAnomalyHeatmap = IbaWidgetType{Value: "anomaly_heatmap"}
)
View Source
var (
	JunosEvpnIrbModeSymmetric  = JunosEvpnIrbMode{Value: "symmetric"}
	JunosEvpnIrbModeAsymmetric = JunosEvpnIrbMode{Value: "asymmetric"}
)
View Source
var (
	PolicyApplicationPointTypeGroup          = PolicyApplicationPointType{Value: "group"}
	PolicyApplicationPointTypeInternal       = PolicyApplicationPointType{Value: "internal"}
	PolicyApplicationPointTypeExternal       = PolicyApplicationPointType{Value: "external"}
	PolicyApplicationPointTypeSecurityZone   = PolicyApplicationPointType{Value: "security_zone"}
	PolicyApplicationPointTypeVirtualNetwork = PolicyApplicationPointType{Value: "virtual_network"}
)
View Source
var (
	PolicyRuleActionDeny      = PolicyRuleAction{Value: "deny"}
	PolicyRuleActionDenyLog   = PolicyRuleAction{Value: "deny_log"}
	PolicyRuleActionPermit    = PolicyRuleAction{Value: "permit"}
	PolicyRuleActionPermitLog = PolicyRuleAction{Value: "permit_log"}
)
View Source
var (
	PolicyRuleProtocolIcmp = PolicyRuleProtocol{Value: "ICMP"}
	PolicyRuleProtocolIp   = PolicyRuleProtocol{Value: "IP"}
	PolicyRuleProtocolTcp  = PolicyRuleProtocol{Value: "TCP"}
	PolicyRuleProtocolUdp  = PolicyRuleProtocol{Value: "UDP"}
)
View Source
var (
	RemoteGatewayRouteTypeAll      = RemoteGatewayRouteType{Value: "all"}
	RemoteGatewayRouteTypeFiveOnly = RemoteGatewayRouteType{Value: "type5_only"}
)
View Source
var (
	FFResourceTypeAsn      = FFResourceType{Value: "asn"}
	FFResourceTypeHostIpv4 = FFResourceType{Value: "host_ip"}
	FFResourceTypeHostIpv6 = FFResourceType{Value: "host_ipv6"}
	FFResourceTypeInt      = FFResourceType{Value: "integer"}
	FFResourceTypeIpv4     = FFResourceType{Value: "ip"}
	FFResourceTypeIpv6     = FFResourceType{Value: "ipv6"}
	FFResourceTypeVlan     = FFResourceType{Value: "vlan"}
	FFResourceTypeVni      = FFResourceType{Value: "vni"}
)
View Source
var (
	StorageSchemaPathARP               = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.arp"}
	StorageSchemaPathBGP               = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.bgp"}
	StorageSchemaPathCppGraph          = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.cpp_graph"}
	StorageSchemaPathEnvironment       = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.environment"}
	StorageSchemaPathGeneric           = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.generic"}
	StorageSchemaPathGraph             = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.graph"}
	StorageSchemaPathHostname          = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.hostname"}
	StorageSchemaPathIbaData           = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.iba_data"}
	StorageSchemaPathIbaIntegerData    = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.iba_integer_data"}
	StorageSchemaPathIbaStringData     = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.iba_string_data"}
	StorageSchemaPathInterface         = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.interface"}
	StorageSchemaPathInterfaceCounters = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.interface_counters"}
	StorageSchemaPathLAG               = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.lag"}
	StorageSchemaPathLLDP              = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.lldp"}
	StorageSchemaPathMAC               = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.mac"}
	StorageSchemaPathMLAG              = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.mlag"}
	StorageSchemaPathNSXT              = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.nsxt"}
	StorageSchemaPathOpticalXcvr       = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.optical_xcvr"}
	StorageSchemaPathRoute             = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.route"}
	StorageSchemaPathRouteLookup       = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.route_lookup"}
	StorageSchemaPathXcvr              = StorageSchemaPath{Value: "aos.sdk.telemetry.schemas.xcvr"}
)
View Source
var (
	InterfaceNumberingIpv4TypeNone     = InterfaceNumberingIpv4Type{Value: ""}
	InterfaceNumberingIpv4TypeNumbered = InterfaceNumberingIpv4Type{Value: "numbered"}
)
View Source
var (
	InterfaceNumberingIpv6TypeNone      = InterfaceNumberingIpv6Type{Value: ""}
	InterfaceNumberingIpv6TypeNumbered  = InterfaceNumberingIpv6Type{Value: "numbered"}
	InterfaceNumberingIpv6TypeLinkLocal = InterfaceNumberingIpv6Type{Value: "link_local"}
)
View Source
var (
	ResourcePoolTypeAsn  = ResourcePoolType{Value: "asn"}
	ResourcePoolTypeInt  = ResourcePoolType{Value: "integer"}
	ResourcePoolTypeIpv4 = ResourcePoolType{Value: "ip"}
	ResourcePoolTypeIpv6 = ResourcePoolType{Value: "ipv6"}
	ResourcePoolTypeVlan = ResourcePoolType{Value: "vlan"}
	ResourcePoolTypeVni  = ResourcePoolType{Value: "vni"}
)
View Source
var (
	RoutingZoneConstraintModeNone  = RoutingZoneConstraintMode{Value: "none"}
	RoutingZoneConstraintModeAllow = RoutingZoneConstraintMode{Value: "allow"}
	RoutingZoneConstraintModeDeny  = RoutingZoneConstraintMode{Value: "deny"}
)
View Source
var (
	ApiFeatureAiFabric   = ApiFeature{Value: "ai_fabric"}
	ApiFeatureCentral    = ApiFeature{Value: "central"}
	ApiFeatureEnterprise = ApiFeature{Value: "enterprise"}
	ApiFeatureFreeform   = ApiFeature{Value: "freeform"}
	ApiFeatureFullAccess = ApiFeature{Value: "full_access"}
	ApiFeatureTaskApi    = ApiFeature{Value: "task_api"}
)
View Source
var (
	PortRoleAccess     = PortRole{Value: "access"}
	PortRoleGeneric    = PortRole{Value: "generic"}
	PortRoleL3Server   = PortRole{Value: "l3_server"} // todo: remove this, LogicalDevicePortRoles.Validate and simplify LogicalDevicePortRoles.IncludeAllUses
	PortRoleLeaf       = PortRole{Value: "leaf"}
	PortRolePeer       = PortRole{Value: "peer"}
	PortRoleSpine      = PortRole{Value: "spine"}
	PortRoleSuperspine = PortRole{Value: "superspine"}
	PortRoleUnused     = PortRole{Value: "unused"}
)
View Source
var (
	RenderedConfigTypeStaging  = RenderedConfigType{Value: "staging"}
	RenderedConfigTypeDeployed = RenderedConfigType{Value: "deployed"}
)
View Source
var (
	SviIpv4ModeDisabled = SviIpv4Mode{Value: "disabled"}
	SviIpv4ModeEnabled  = SviIpv4Mode{Value: "enabled"}
	SviIpv4ModeForced   = SviIpv4Mode{Value: "forced"}
)
View Source
var (
	SviIpv6ModeDisabled  = SviIpv6Mode{Value: "disabled"}
	SviIpv6ModeEnabled   = SviIpv6Mode{Value: "enabled"}
	SviIpv6ModeForced    = SviIpv6Mode{Value: "forced"}
	SviIpv6ModeLinkLocal = SviIpv6Mode{Value: "link_local"}
)
View Source
var (
	DhcpServiceModeDisabled = DhcpServiceMode{Value: "dhcpServiceDisabled"}
	DhcpServiceModeEnabled  = DhcpServiceMode{Value: "dhcpServiceEnabled"}
)
View Source
var (
	VnTypeExternal = VnType{Value: "disabled"}
	VnTypeVlan     = VnType{Value: "vlan"}
	VnTypeVxlan    = VnType{Value: "vxlan"}
)
View Source
var (
	RedundancyGroupTypeEsi  = RedundancyGroupType{Value: "esi"}
	RedundancyGroupTypeMlag = RedundancyGroupType{Value: "mlag"}
)
View Source
var (
	SystemTypeServer = SystemType{Value: "server"}
	SystemTypeSwitch = SystemType{Value: "switch"}
)
View Source
var (
	NodeRoleAccess        = NodeRole{Value: "access"}
	NodeRoleGeneric       = NodeRole{Value: "generic"}
	NodeRoleLeaf          = NodeRole{Value: "leaf"}
	NodeRoleRemoteGateway = NodeRole{Value: "remote_gateway"}
	NodeRoleSpine         = NodeRole{Value: "spine"}
	NodeRoleSuperspine    = NodeRole{Value: "superspine"}
)
View Source
var (
	RefDesignDatacenter = RefDesign{Value: "two_stage_l3clos"}
	RefDesignFreeform   = RefDesign{Value: "freeform"}
)
View Source
var (
	ConfigletStyleCumulus = ConfigletStyle{Value: "cumulus"}
	ConfigletStyleEos     = ConfigletStyle{Value: "eos"}
	ConfigletStyleJunos   = ConfigletStyle{Value: "junos"}
	ConfigletStyleNxos    = ConfigletStyle{Value: "nxos"}
	ConfigletStyleSonic   = ConfigletStyle{Value: "sonic"}
)
View Source
var (
	ConfigletSectionDeleteBasedInterface = ConfigletSection{Value: "delete_based_interface"}
	ConfigletSectionFile                 = ConfigletSection{Value: "file"}
	ConfigletSectionFrr                  = ConfigletSection{Value: "frr"}
	ConfigletSectionInterface            = ConfigletSection{Value: "interface"}
	ConfigletSectionOspf                 = ConfigletSection{Value: "ospf"}
	ConfigletSectionSetBasedInterface    = ConfigletSection{Value: "set_based_interface"}
	ConfigletSectionSetBasedSystem       = ConfigletSection{Value: "set_based_system"}
	ConfigletSectionSystem               = ConfigletSection{Value: "system"}
	ConfigletSectionSystemTop            = ConfigletSection{Value: "system_top"}
)
View Source
var (
	ApiFeatures = oenum.New(
		ApiFeatureAiFabric,
		ApiFeatureCentral,
		ApiFeatureEnterprise,
		ApiFeatureFreeform,
		ApiFeatureFullAccess,
		ApiFeatureTaskApi,
	)

	ConfigletSections = oenum.New(
		ConfigletSectionDeleteBasedInterface,
		ConfigletSectionFile,
		ConfigletSectionFrr,
		ConfigletSectionInterface,
		ConfigletSectionOspf,
		ConfigletSectionSetBasedInterface,
		ConfigletSectionSetBasedSystem,
		ConfigletSectionSystem,
		ConfigletSectionSystemTop,
	)

	ConfigletStyles = oenum.New(
		ConfigletStyleCumulus,
		ConfigletStyleEos,
		ConfigletStyleJunos,
		ConfigletStyleNxos,
		ConfigletStyleSonic,
	)

	DeployModes = oenum.New(
		DeployModeDeploy,
		DeployModeDrain,
		DeployModeNone,
		DeployModeReady,
		DeployModeUndeploy,
	)

	DeviceProfileTypes = oenum.New(
		DeviceProfileTypeModular,
		DeviceProfileTypeMonolithic,
	)

	DhcpServiceModes = oenum.New(
		DhcpServiceModeDisabled,
		DhcpServiceModeEnabled,
	)

	FFResourceTypes = oenum.New(
		FFResourceTypeAsn,
		FFResourceTypeHostIpv4,
		FFResourceTypeHostIpv6,
		FFResourceTypeInt,
		FFResourceTypeIpv4,
		FFResourceTypeIpv6,
		FFResourceTypeVlan,
		FFResourceTypeVni,
	)

	FeatureSwitches = oenum.New(
		FeatureSwitchEnabled,
		FeatureSwitchDisabled,
	)

	IbaWidgetTypes = oenum.New(
		IbaWidgetTypeStage,
		IbaWidgetTypeAnomalyHeatmap,
	)

	InterfaceNumberingIpv4Types = oenum.New(
		InterfaceNumberingIpv4TypeNone,
		InterfaceNumberingIpv4TypeNumbered,
	)

	InterfaceNumberingIpv6Types = oenum.New(
		InterfaceNumberingIpv6TypeNone,
		InterfaceNumberingIpv6TypeNumbered,
		InterfaceNumberingIpv6TypeLinkLocal,
	)

	JunosEvpnIrbModes = oenum.New(
		JunosEvpnIrbModeSymmetric,
		JunosEvpnIrbModeAsymmetric,
	)

	NodeRoles = oenum.New(
		NodeRoleAccess,
		NodeRoleGeneric,
		NodeRoleLeaf,
		NodeRoleRemoteGateway,
		NodeRoleSpine,
		NodeRoleSuperspine,
	)

	PolicyApplicationPointTypes = oenum.New(
		PolicyApplicationPointTypeGroup,
		PolicyApplicationPointTypeInternal,
		PolicyApplicationPointTypeExternal,
		PolicyApplicationPointTypeSecurityZone,
		PolicyApplicationPointTypeVirtualNetwork,
	)

	PolicyRuleActions = oenum.New(
		PolicyRuleActionDeny,
		PolicyRuleActionDenyLog,
		PolicyRuleActionPermit,
		PolicyRuleActionPermitLog,
	)

	PolicyRuleProtocols = oenum.New(
		PolicyRuleProtocolIcmp,
		PolicyRuleProtocolIp,
		PolicyRuleProtocolTcp,
		PolicyRuleProtocolUdp,
	)

	PortRoles = oenum.New(
		PortRoleAccess,
		PortRoleGeneric,
		PortRoleL3Server,
		PortRoleLeaf,
		PortRolePeer,
		PortRoleSpine,
		PortRoleSuperspine,
		PortRoleUnused,
	)

	RedundancyGroupTypes = oenum.New(
		RedundancyGroupTypeEsi,
		RedundancyGroupTypeMlag,
	)

	RefDesigns = oenum.New(
		RefDesignDatacenter,
		RefDesignFreeform,
	)

	RemoteGatewayRouteTypes = oenum.New(
		RemoteGatewayRouteTypeAll,
		RemoteGatewayRouteTypeFiveOnly,
	)

	RenderedConfigTypes = oenum.New(
		RenderedConfigTypeStaging,
		RenderedConfigTypeDeployed,
	)

	ResourcePoolTypes = oenum.New(
		ResourcePoolTypeAsn,
		ResourcePoolTypeInt,
		ResourcePoolTypeIpv4,
		ResourcePoolTypeIpv6,
		ResourcePoolTypeVlan,
		ResourcePoolTypeVni,
	)

	RoutingZoneConstraintModes = oenum.New(
		RoutingZoneConstraintModeNone,
		RoutingZoneConstraintModeAllow,
		RoutingZoneConstraintModeDeny,
	)

	StorageSchemaPaths = oenum.New(
		StorageSchemaPathARP,
		StorageSchemaPathBGP,
		StorageSchemaPathCppGraph,
		StorageSchemaPathEnvironment,
		StorageSchemaPathGeneric,
		StorageSchemaPathGraph,
		StorageSchemaPathHostname,
		StorageSchemaPathIbaData,
		StorageSchemaPathIbaIntegerData,
		StorageSchemaPathIbaStringData,
		StorageSchemaPathInterface,
		StorageSchemaPathInterfaceCounters,
		StorageSchemaPathLAG,
		StorageSchemaPathLLDP,
		StorageSchemaPathMAC,
		StorageSchemaPathMLAG,
		StorageSchemaPathNSXT,
		StorageSchemaPathOpticalXcvr,
		StorageSchemaPathRoute,
		StorageSchemaPathRouteLookup,
		StorageSchemaPathXcvr,
	)

	SviIpv4Modes = oenum.New(
		SviIpv4ModeDisabled,
		SviIpv4ModeEnabled,
		SviIpv4ModeForced,
	)

	SviIpv6Modes = oenum.New(
		SviIpv6ModeDisabled,
		SviIpv6ModeEnabled,
		SviIpv6ModeForced,
		SviIpv6ModeLinkLocal,
	)

	SystemTypes = oenum.New(
		SystemTypeServer,
		SystemTypeSwitch,
	)

	TcpStateQualifiers = oenum.New(
		TcpStateQualifierEstablished,
	)

	VnTypes = oenum.New(
		VnTypeExternal,
		VnTypeVlan,
		VnTypeVxlan,
	)
)
View Source
var TcpStateQualifierEstablished = TcpStateQualifier{Value: "established"}

Functions

This section is empty.

Types

type ApiFeature

type ApiFeature oenum.Member[string]

func (*ApiFeature) FromString

func (o *ApiFeature) FromString(s string) error

func (*ApiFeature) MarshalJSON

func (o *ApiFeature) MarshalJSON() ([]byte, error)

func (ApiFeature) String

func (o ApiFeature) String() string

func (*ApiFeature) UnmarshalJSON

func (o *ApiFeature) UnmarshalJSON(bytes []byte) error

type ConfigletSection

type ConfigletSection oenum.Member[string]

func (*ConfigletSection) FromString

func (o *ConfigletSection) FromString(s string) error

func (*ConfigletSection) MarshalJSON

func (o *ConfigletSection) MarshalJSON() ([]byte, error)

func (ConfigletSection) String

func (o ConfigletSection) String() string

func (*ConfigletSection) UnmarshalJSON

func (o *ConfigletSection) UnmarshalJSON(bytes []byte) error

type ConfigletStyle

type ConfigletStyle oenum.Member[string]

func (*ConfigletStyle) FromString

func (o *ConfigletStyle) FromString(s string) error

func (*ConfigletStyle) MarshalJSON

func (o *ConfigletStyle) MarshalJSON() ([]byte, error)

func (ConfigletStyle) String

func (o ConfigletStyle) String() string

func (*ConfigletStyle) UnmarshalJSON

func (o *ConfigletStyle) UnmarshalJSON(bytes []byte) error

type DeployMode

type DeployMode oenum.Member[string]

func (*DeployMode) FromString

func (o *DeployMode) FromString(s string) error

func (*DeployMode) MarshalJSON

func (o *DeployMode) MarshalJSON() ([]byte, error)

func (DeployMode) String

func (o DeployMode) String() string

func (*DeployMode) UnmarshalJSON

func (o *DeployMode) UnmarshalJSON(bytes []byte) error

type DeviceProfileType

type DeviceProfileType oenum.Member[string]

func (*DeviceProfileType) FromString

func (o *DeviceProfileType) FromString(s string) error

func (*DeviceProfileType) MarshalJSON

func (o *DeviceProfileType) MarshalJSON() ([]byte, error)

func (DeviceProfileType) String

func (o DeviceProfileType) String() string

func (*DeviceProfileType) UnmarshalJSON

func (o *DeviceProfileType) UnmarshalJSON(bytes []byte) error

type DhcpServiceMode

type DhcpServiceMode oenum.Member[string]

func (*DhcpServiceMode) FromString

func (o *DhcpServiceMode) FromString(s string) error

func (*DhcpServiceMode) MarshalJSON

func (o *DhcpServiceMode) MarshalJSON() ([]byte, error)

func (DhcpServiceMode) String

func (o DhcpServiceMode) String() string

func (*DhcpServiceMode) UnmarshalJSON

func (o *DhcpServiceMode) UnmarshalJSON(bytes []byte) error

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (Error) Error

func (o Error) Error() string

func (Error) Type

func (o Error) Type() ErrorType

type ErrorType

type ErrorType int

type FFResourceType

type FFResourceType oenum.Member[string]

func (*FFResourceType) FromString

func (o *FFResourceType) FromString(s string) error

func (*FFResourceType) MarshalJSON

func (o *FFResourceType) MarshalJSON() ([]byte, error)

func (FFResourceType) String

func (o FFResourceType) String() string

func (*FFResourceType) UnmarshalJSON

func (o *FFResourceType) UnmarshalJSON(bytes []byte) error

type FeatureSwitch

type FeatureSwitch oenum.Member[string]

func (*FeatureSwitch) FromString

func (o *FeatureSwitch) FromString(s string) error

func (*FeatureSwitch) MarshalJSON

func (o *FeatureSwitch) MarshalJSON() ([]byte, error)

func (FeatureSwitch) String

func (o FeatureSwitch) String() string

func (*FeatureSwitch) UnmarshalJSON

func (o *FeatureSwitch) UnmarshalJSON(bytes []byte) error

type IbaWidgetType

type IbaWidgetType oenum.Member[string]

func (*IbaWidgetType) FromString

func (o *IbaWidgetType) FromString(s string) error

func (*IbaWidgetType) MarshalJSON

func (o *IbaWidgetType) MarshalJSON() ([]byte, error)

func (IbaWidgetType) String

func (o IbaWidgetType) String() string

func (*IbaWidgetType) UnmarshalJSON

func (o *IbaWidgetType) UnmarshalJSON(bytes []byte) error

type InterfaceNumberingIpv4Type

type InterfaceNumberingIpv4Type oenum.Member[string]

func (*InterfaceNumberingIpv4Type) FromString

func (o *InterfaceNumberingIpv4Type) FromString(s string) error

func (*InterfaceNumberingIpv4Type) MarshalJSON

func (o *InterfaceNumberingIpv4Type) MarshalJSON() ([]byte, error)

func (InterfaceNumberingIpv4Type) String

func (*InterfaceNumberingIpv4Type) UnmarshalJSON

func (o *InterfaceNumberingIpv4Type) UnmarshalJSON(bytes []byte) error

type InterfaceNumberingIpv6Type

type InterfaceNumberingIpv6Type oenum.Member[string]

func (*InterfaceNumberingIpv6Type) FromString

func (o *InterfaceNumberingIpv6Type) FromString(s string) error

func (*InterfaceNumberingIpv6Type) MarshalJSON

func (o *InterfaceNumberingIpv6Type) MarshalJSON() ([]byte, error)

func (InterfaceNumberingIpv6Type) String

func (*InterfaceNumberingIpv6Type) UnmarshalJSON

func (o *InterfaceNumberingIpv6Type) UnmarshalJSON(bytes []byte) error

type JunosEvpnIrbMode

type JunosEvpnIrbMode oenum.Member[string]

func (*JunosEvpnIrbMode) FromString

func (o *JunosEvpnIrbMode) FromString(s string) error

func (*JunosEvpnIrbMode) MarshalJSON

func (o *JunosEvpnIrbMode) MarshalJSON() ([]byte, error)

func (JunosEvpnIrbMode) String

func (o JunosEvpnIrbMode) String() string

func (*JunosEvpnIrbMode) UnmarshalJSON

func (o *JunosEvpnIrbMode) UnmarshalJSON(bytes []byte) error

type NodeRole

type NodeRole oenum.Member[string]

func (*NodeRole) FromString

func (o *NodeRole) FromString(s string) error

func (*NodeRole) MarshalJSON

func (o *NodeRole) MarshalJSON() ([]byte, error)

func (NodeRole) String

func (o NodeRole) String() string

func (*NodeRole) UnmarshalJSON

func (o *NodeRole) UnmarshalJSON(bytes []byte) error

type PolicyApplicationPointType

type PolicyApplicationPointType oenum.Member[string]

func (*PolicyApplicationPointType) FromString

func (o *PolicyApplicationPointType) FromString(s string) error

func (*PolicyApplicationPointType) MarshalJSON

func (o *PolicyApplicationPointType) MarshalJSON() ([]byte, error)

func (PolicyApplicationPointType) String

func (*PolicyApplicationPointType) UnmarshalJSON

func (o *PolicyApplicationPointType) UnmarshalJSON(bytes []byte) error

type PolicyRuleAction

type PolicyRuleAction oenum.Member[string]

func (*PolicyRuleAction) FromString

func (o *PolicyRuleAction) FromString(s string) error

func (*PolicyRuleAction) MarshalJSON

func (o *PolicyRuleAction) MarshalJSON() ([]byte, error)

func (PolicyRuleAction) String

func (o PolicyRuleAction) String() string

func (*PolicyRuleAction) UnmarshalJSON

func (o *PolicyRuleAction) UnmarshalJSON(bytes []byte) error

type PolicyRuleProtocol

type PolicyRuleProtocol oenum.Member[string]

func (*PolicyRuleProtocol) FromString

func (o *PolicyRuleProtocol) FromString(s string) error

func (*PolicyRuleProtocol) MarshalJSON

func (o *PolicyRuleProtocol) MarshalJSON() ([]byte, error)

func (PolicyRuleProtocol) String

func (o PolicyRuleProtocol) String() string

func (*PolicyRuleProtocol) UnmarshalJSON

func (o *PolicyRuleProtocol) UnmarshalJSON(bytes []byte) error

type PortRole

type PortRole oenum.Member[string]

func (*PortRole) FromString

func (o *PortRole) FromString(s string) error

func (*PortRole) MarshalJSON

func (o *PortRole) MarshalJSON() ([]byte, error)

func (PortRole) String

func (o PortRole) String() string

func (*PortRole) UnmarshalJSON

func (o *PortRole) UnmarshalJSON(bytes []byte) error

type RedundancyGroupType

type RedundancyGroupType oenum.Member[string]

func (*RedundancyGroupType) FromString

func (o *RedundancyGroupType) FromString(s string) error

func (*RedundancyGroupType) MarshalJSON

func (o *RedundancyGroupType) MarshalJSON() ([]byte, error)

func (RedundancyGroupType) String

func (o RedundancyGroupType) String() string

func (*RedundancyGroupType) UnmarshalJSON

func (o *RedundancyGroupType) UnmarshalJSON(bytes []byte) error

type RefDesign

type RefDesign oenum.Member[string]

func (*RefDesign) FromString

func (o *RefDesign) FromString(s string) error

func (*RefDesign) MarshalJSON

func (o *RefDesign) MarshalJSON() ([]byte, error)

func (RefDesign) String

func (o RefDesign) String() string

func (*RefDesign) UnmarshalJSON

func (o *RefDesign) UnmarshalJSON(bytes []byte) error

type RemoteGatewayRouteType

type RemoteGatewayRouteType oenum.Member[string]

func (*RemoteGatewayRouteType) FromString

func (o *RemoteGatewayRouteType) FromString(s string) error

func (*RemoteGatewayRouteType) MarshalJSON

func (o *RemoteGatewayRouteType) MarshalJSON() ([]byte, error)

func (RemoteGatewayRouteType) String

func (o RemoteGatewayRouteType) String() string

func (*RemoteGatewayRouteType) UnmarshalJSON

func (o *RemoteGatewayRouteType) UnmarshalJSON(bytes []byte) error

type RenderedConfigType

type RenderedConfigType oenum.Member[string]

func (*RenderedConfigType) FromString

func (o *RenderedConfigType) FromString(s string) error

func (*RenderedConfigType) MarshalJSON

func (o *RenderedConfigType) MarshalJSON() ([]byte, error)

func (RenderedConfigType) String

func (o RenderedConfigType) String() string

func (*RenderedConfigType) UnmarshalJSON

func (o *RenderedConfigType) UnmarshalJSON(bytes []byte) error

type ResourcePoolType

type ResourcePoolType oenum.Member[string]

func (*ResourcePoolType) FromString

func (o *ResourcePoolType) FromString(s string) error

func (*ResourcePoolType) MarshalJSON

func (o *ResourcePoolType) MarshalJSON() ([]byte, error)

func (ResourcePoolType) String

func (o ResourcePoolType) String() string

func (*ResourcePoolType) UnmarshalJSON

func (o *ResourcePoolType) UnmarshalJSON(bytes []byte) error

type RoutingZoneConstraintMode

type RoutingZoneConstraintMode oenum.Member[string]

func (*RoutingZoneConstraintMode) FromString

func (o *RoutingZoneConstraintMode) FromString(s string) error

func (*RoutingZoneConstraintMode) MarshalJSON

func (o *RoutingZoneConstraintMode) MarshalJSON() ([]byte, error)

func (RoutingZoneConstraintMode) String

func (o RoutingZoneConstraintMode) String() string

func (*RoutingZoneConstraintMode) UnmarshalJSON

func (o *RoutingZoneConstraintMode) UnmarshalJSON(bytes []byte) error

type StorageSchemaPath

type StorageSchemaPath oenum.Member[string]

func (*StorageSchemaPath) FromString

func (o *StorageSchemaPath) FromString(s string) error

func (*StorageSchemaPath) MarshalJSON

func (o *StorageSchemaPath) MarshalJSON() ([]byte, error)

func (StorageSchemaPath) String

func (o StorageSchemaPath) String() string

func (*StorageSchemaPath) UnmarshalJSON

func (o *StorageSchemaPath) UnmarshalJSON(bytes []byte) error

type SviIpv4Mode

type SviIpv4Mode oenum.Member[string]

func (*SviIpv4Mode) FromString

func (o *SviIpv4Mode) FromString(s string) error

func (*SviIpv4Mode) MarshalJSON

func (o *SviIpv4Mode) MarshalJSON() ([]byte, error)

func (SviIpv4Mode) String

func (o SviIpv4Mode) String() string

func (*SviIpv4Mode) UnmarshalJSON

func (o *SviIpv4Mode) UnmarshalJSON(bytes []byte) error

type SviIpv6Mode

type SviIpv6Mode oenum.Member[string]

func (*SviIpv6Mode) FromString

func (o *SviIpv6Mode) FromString(s string) error

func (*SviIpv6Mode) MarshalJSON

func (o *SviIpv6Mode) MarshalJSON() ([]byte, error)

func (SviIpv6Mode) String

func (o SviIpv6Mode) String() string

func (*SviIpv6Mode) UnmarshalJSON

func (o *SviIpv6Mode) UnmarshalJSON(bytes []byte) error

type SystemType

type SystemType oenum.Member[string]

func (*SystemType) FromString

func (o *SystemType) FromString(s string) error

func (*SystemType) MarshalJSON

func (o *SystemType) MarshalJSON() ([]byte, error)

func (SystemType) String

func (o SystemType) String() string

func (*SystemType) UnmarshalJSON

func (o *SystemType) UnmarshalJSON(bytes []byte) error

type TcpStateQualifier

type TcpStateQualifier oenum.Member[string]

func (*TcpStateQualifier) FromString

func (o *TcpStateQualifier) FromString(s string) error

func (*TcpStateQualifier) MarshalJSON

func (o *TcpStateQualifier) MarshalJSON() ([]byte, error)

func (TcpStateQualifier) String

func (o TcpStateQualifier) String() string

func (*TcpStateQualifier) UnmarshalJSON

func (o *TcpStateQualifier) UnmarshalJSON(bytes []byte) error

type VnType

type VnType oenum.Member[string]

func (*VnType) FromString

func (o *VnType) FromString(s string) error

func (*VnType) MarshalJSON

func (o *VnType) MarshalJSON() ([]byte, error)

func (VnType) String

func (o VnType) String() string

func (*VnType) UnmarshalJSON

func (o *VnType) UnmarshalJSON(bytes []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL