Documentation ¶
Index ¶
- func NewPolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest() datasource.DataSource
- func NewPolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest() datasource.DataSource
- type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest
- func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1ManifestData
- type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest
- func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest ¶
func NewPolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest() datasource.DataSource
func NewPolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest ¶
func NewPolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest() datasource.DataSource
Types ¶
type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest ¶
type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest struct{}
func (*PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Metadata ¶
func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Read ¶
func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Schema ¶
func (r *PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1ManifestData ¶
type PolicyNetworkingK8SIoAdminNetworkPolicyV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Egress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { PortNumber *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"port_number" json:"portNumber,omitempty"` PortRange *struct { End *int64 `tfsdk:"end" json:"end,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` Start *int64 `tfsdk:"start" json:"start,omitempty"` } `tfsdk:"port_range" json:"portRange,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` To *[]struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"to" json:"to,omitempty"` } `tfsdk:"egress" json:"egress,omitempty"` Ingress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` From *[]struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"from" json:"from,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { PortNumber *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"port_number" json:"portNumber,omitempty"` PortRange *struct { End *int64 `tfsdk:"end" json:"end,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` Start *int64 `tfsdk:"start" json:"start,omitempty"` } `tfsdk:"port_range" json:"portRange,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"ingress" json:"ingress,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` Subject *struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"subject" json:"subject,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest ¶
type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest struct{}
func (*PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Metadata ¶
func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Read ¶
func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Schema ¶
func (r *PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1ManifestData ¶
type PolicyNetworkingK8SIoBaselineAdminNetworkPolicyV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Egress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { PortNumber *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"port_number" json:"portNumber,omitempty"` PortRange *struct { End *int64 `tfsdk:"end" json:"end,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` Start *int64 `tfsdk:"start" json:"start,omitempty"` } `tfsdk:"port_range" json:"portRange,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` To *[]struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"to" json:"to,omitempty"` } `tfsdk:"egress" json:"egress,omitempty"` Ingress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` From *[]struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"from" json:"from,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { PortNumber *struct { Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"port_number" json:"portNumber,omitempty"` PortRange *struct { End *int64 `tfsdk:"end" json:"end,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` Start *int64 `tfsdk:"start" json:"start,omitempty"` } `tfsdk:"port_range" json:"portRange,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"ingress" json:"ingress,omitempty"` Subject *struct { Namespaces *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` Pods *struct { NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` PodSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"pod_selector" json:"podSelector,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` } `tfsdk:"subject" json:"subject,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.