kubernetes

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 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 {
	types.Metadata
	Ports            []Port
	DestinationCIDRs []types.StringValue
}

type Ingress

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

type Kubernetes

type Kubernetes struct {
	types.Metadata
	NetworkPolicies []NetworkPolicy
}

type NetworkPolicy

type NetworkPolicy struct {
	types.Metadata
	Spec Spec
}

type Port

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

type Spec

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

Jump to

Keyboard shortcuts

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