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 ¶
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
}
Click to show internal directories.
Click to hide internal directories.