cloudinit

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoDefaultRoute

func AutoDefaultRoute(addr *net.IPNet) net.IP

AutoDefaultRoute returns an IP of the default gateway, calculated according to the following rules:

  • IPv4, netlen < 32: the last addr from the network
  • IPv4, netlen = 32: onlink 10.11.11.11 (must be configured on dummy-interface on the host)
  • IPv6: the last addr from the network

Types

type ServiceServer

type ServiceServer struct {
	*services.ServiceServer
}

func (*ServiceServer) BuildImage

func (*ServiceServer) Init

func (s *ServiceServer) Init(inner *services.ServiceServer)

func (*ServiceServer) Name

func (s *ServiceServer) Name() string

func (*ServiceServer) Register

func (s *ServiceServer) Register(server *grpc.Server)

Jump to

Keyboard shortcuts

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