mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-21 04:21:39 +02:00
Fixes #4094 Deprecate old networkd APIs, `talosctl interfaces` and `talosctl routes` now suggest different commands to be used to achieve same task. TUI installer was updated to stop using Interfaces API. Those APIs will be completely removed in 0.14. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
21 lines
800 B
Go
21 lines
800 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package network
|
|
|
|
import (
|
|
"github.com/cosi-project/runtime/pkg/resource"
|
|
)
|
|
|
|
// NamespaceName contains resources related to networking.
|
|
const NamespaceName resource.Namespace = "network"
|
|
|
|
// ConfigNamespaceName contains umerged resources related to networking generate from the configuration.
|
|
//
|
|
// Resources in the ConfigNamespaceName namespace are merged to produce final versions in the NamespaceName namespace.
|
|
const ConfigNamespaceName resource.Namespace = "network-config"
|
|
|
|
// LinkStatusType is type of LinkStatus resource.
|
|
const LinkStatusType = resource.Type("LinkStatuses.net.talos.dev")
|