networks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package networks implements reconciler for cluster networking components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope interface {
	cloud.Cluster
	NetworkSpec() *compute.Network
	NatRouterSpec() *compute.Router
}

Scope is an interfaces that hold used methods.

type Service

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

Service implements networks reconciler.

func New

func New(scope Scope) *Service

New returns Service from given scope.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) error

Delete delete cluster network components.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile reconcile cluster network components.

Jump to

Keyboard shortcuts

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