netroller

package
v0.0.0-...-856533e Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CreatedByAnnotation = "nais.io/created-by"

Variables

This section is empty.

Functions

This section is empty.

Types

type NetpolInfo

type NetpolInfo struct {
	InstanceUID  types.UID
	InstanceName string
	Namespace    string
	PublicIP     string
	PrivateIP    string
	Owner        string
}

func (*NetpolInfo) Name

func (ni *NetpolInfo) Name() string

type Netroller

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

func New

func New(log *logrus.Logger, k8sClient *kubernetes.Clientset) *Netroller

func (*Netroller) Add

func (n *Netroller) Add(new any)

func (*Netroller) Update

func (n *Netroller) Update(old any, new any)

Jump to

Keyboard shortcuts

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