networkpolicy

package
v0.0.0-...-709f317 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(source Source, ast *resource.Ast, cfg Config)

Types

type Config

type Config interface {
	GetAPIServerIP() string
	GetAccessPolicyNotAllowedCIDRs() []string
	GetClusterName() string
	GetAivenRange() string
	GetGatewayMappings() []config.GatewayMapping
	GetGoogleProjectID() string
	GetNaisNamespace() string
	IsNetworkPolicyEnabled() bool
	IsLegacyGCP() bool
}

type Source

type Source interface {
	resource.Source
	GetAccessPolicy() *nais_io_v1.AccessPolicy
	GetIngress() []nais_io_v1.Ingress
	GetLeaderElection() bool
}

Jump to

Keyboard shortcuts

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