kubernetes

package
v0.84.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Egress

type Egress struct {
	Metadata         defsecTypes.Metadata
	Ports            []Port
	DestinationCIDRs []defsecTypes.StringValue
}

type Ingress

type Ingress struct {
	Metadata    defsecTypes.Metadata
	Ports       []Port
	SourceCIDRs []defsecTypes.StringValue
}

type Kubernetes

type Kubernetes struct {
	NetworkPolicies []NetworkPolicy
}

type NetworkPolicy

type NetworkPolicy struct {
	Metadata defsecTypes.Metadata
	Spec     NetworkPolicySpec
}

type NetworkPolicySpec added in v0.77.0

type NetworkPolicySpec struct {
	Metadata defsecTypes.Metadata
	Egress   Egress
	Ingress  Ingress
}

type Port

type Port struct {
	Metadata defsecTypes.Metadata
	Number   defsecTypes.StringValue // e.g. "http" or "80"
	Protocol defsecTypes.StringValue
}

Jump to

Keyboard shortcuts

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