forward

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright 2024 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultImage is the container image used for FORWARD nodes that do not
	// specify one. It must provide the `kne bridge` daemon as its entrypoint.
	DefaultImage = "us-west1-docker.pkg.dev/kne-external/kne/bridge:ga"
)

Functions

func New

func New(nodeImpl *node.Impl) (node.Node, error)

Types

type Node

type Node struct {
	*node.Impl
}

func (*Node) Create

func (n *Node) Create(ctx context.Context) error

func (*Node) CreatePod

func (n *Node) CreatePod(ctx context.Context) error

CreatePod creates a Pod for the Node based on the underlying proto.

func (*Node) CreateService added in v0.3.2

func (n *Node) CreateService(ctx context.Context) error

CreateService creates the services declared in the topology, plus a headless Service named after the node so that peers naming it with local_node can reach it as "<node>:<wirePort>".

Jump to

Keyboard shortcuts

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