subnets

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: 6 Imported by: 0

Documentation

Overview

Package subnets implements reconciler for subnetworks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope interface {
	cloud.Cluster
	SubnetSpecs() []*compute.Subnetwork
}

Scope is an interfaces that hold used methods.

type Service

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

Service implements subnets 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 deletes cluster subnetwork 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