network

package
v0.0.0-...-39055d0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Overview

Copyright (c) 2021 - for information on the respective copyright owner see the NOTICE file and/or the repository https://github.com/carbynestack/ephemeral.

SPDX-License-Identifier: Apache-2.0

The original file created by the Operator SDK has been modified to add Carbyne Stack Ephemeral network controller logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Network Controller and adds it to the PortsState. The PortsState will set fields on the Controller and Start it when the PortsState is Started.

Types

type ReconcileNetwork

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

ReconcileNetwork reconciles a Network object

func (*ReconcileNetwork) Reconcile

func (r *ReconcileNetwork) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Network object and makes changes based on the state read and what is in the Network.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Jump to

Keyboard shortcuts

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