kubernetes

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 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         iacTypes.Metadata
	Ports            []Port
	DestinationCIDRs []iacTypes.StringValue
}

type Ingress

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

type Kubernetes

type Kubernetes struct {
	NetworkPolicies []NetworkPolicy
}

type NetworkPolicy

type NetworkPolicy struct {
	Metadata iacTypes.Metadata
	Spec     NetworkPolicySpec
}

type NetworkPolicySpec

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

type Port

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

Jump to

Keyboard shortcuts

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