networking

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrafanaAgentName      = "grafana-agent"
	GrafanaAgentNamespace = GrafanaAgentName
)

Variables

This section is empty.

Functions

func CreateNetPolSpec

func CreateNetPolSpec(opts NetPolOpts) *networkingv1.NetworkPolicySpec

Types

type NetPolOpts

type NetPolOpts struct {
	AccessPolicy     *podtypes.AccessPolicy
	Ingresses        *[]string
	Port             *int
	RelatedServices  *[]corev1.Service
	Namespace        string
	Name             string
	PrometheusConfig *skiperatorv1alpha1.PrometheusConfig
	IstioEnabled     bool
}

Jump to

Keyboard shortcuts

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