kubernetes

package
v0.71.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 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 {
	defsecTypes.Metadata
	Ports            []Port
	DestinationCIDRs []defsecTypes.StringValue
}

type Ingress

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

type Kubernetes

type Kubernetes struct {
	NetworkPolicies []NetworkPolicy
}

type NetworkPolicy

type NetworkPolicy struct {
	defsecTypes.Metadata
	Spec Spec
}

type Port

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

type Spec

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

Jump to

Keyboard shortcuts

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