Documentation ¶
Index ¶
- func NewMulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoGatewayV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest() datasource.DataSource
- func NewMulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest() datasource.DataSource
- type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoClusterSetV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoGatewayV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoResourceExportV1Alpha1ManifestData
- type MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest
- func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MulticlusterCrdAntreaIoResourceImportV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoGatewayV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoGatewayV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest() datasource.DataSource
func NewMulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest ¶
func NewMulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest() datasource.DataSource
Types ¶
type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoClusterInfoImportV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` GatewayInfos *[]struct { GatewayIP *string `tfsdk:"gateway_ip" json:"gatewayIP,omitempty"` } `tfsdk:"gateway_infos" json:"gatewayInfos,omitempty"` PodCIDRs *[]string `tfsdk:"pod_cidrs" json:"podCIDRs,omitempty"` ServiceCIDR *string `tfsdk:"service_cidr" json:"serviceCIDR,omitempty"` WireGuard *struct { PublicKey *string `tfsdk:"public_key" json:"publicKey,omitempty"` } `tfsdk:"wire_guard" json:"wireGuard,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoClusterSetV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoClusterSetV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoClusterSetV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Leaders *[]struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` Secret *string `tfsdk:"secret" json:"secret,omitempty"` Server *string `tfsdk:"server" json:"server,omitempty"` ServiceAccount *string `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"leaders" json:"leaders,omitempty"` Members *[]struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` Secret *string `tfsdk:"secret" json:"secret,omitempty"` Server *string `tfsdk:"server" json:"server,omitempty"` ServiceAccount *string `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"members" json:"members,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoGatewayV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoGatewayV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoGatewayV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` GatewayIP *string `tfsdk:"gateway_ip" json:"gatewayIP,omitempty"` InternalIP *string `tfsdk:"internal_ip" json:"internalIP,omitempty"` ServiceCIDR *string `tfsdk:"service_cidr" json:"serviceCIDR,omitempty"` WireGuard *struct { PublicKey *string `tfsdk:"public_key" json:"publicKey,omitempty"` } `tfsdk:"wire_guard" json:"wireGuard,omitempty"` }
type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoLabelIdentityV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoLabelIdentityV1Alpha1ManifestData 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 { Id *int64 `tfsdk:"id" json:"id,omitempty"` Label *string `tfsdk:"label" json:"label,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoMemberClusterAnnounceV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` ClusterSetID *string `tfsdk:"cluster_set_id" json:"clusterSetID,omitempty"` LeaderClusterID *string `tfsdk:"leader_cluster_id" json:"leaderClusterID,omitempty"` }
type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoMultiClusterConfigV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Foo *string `tfsdk:"foo" json:"foo,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoResourceExportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoResourceExportV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoResourceExportV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` ClusterInfo *struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` GatewayInfos *[]struct { GatewayIP *string `tfsdk:"gateway_ip" json:"gatewayIP,omitempty"` } `tfsdk:"gateway_infos" json:"gatewayInfos,omitempty"` PodCIDRs *[]string `tfsdk:"pod_cidrs" json:"podCIDRs,omitempty"` ServiceCIDR *string `tfsdk:"service_cidr" json:"serviceCIDR,omitempty"` WireGuard *struct { PublicKey *string `tfsdk:"public_key" json:"publicKey,omitempty"` } `tfsdk:"wire_guard" json:"wireGuard,omitempty"` } `tfsdk:"cluster_info" json:"clusterInfo,omitempty"` ClusterNetworkPolicy *struct { AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` Egress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` EnableLogging *bool `tfsdk:"enable_logging" json:"enableLogging,omitempty"` From *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"from" json:"from,omitempty"` L7Protocols *[]struct { Http *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"http" json:"http,omitempty"` Tls *struct { Sni *string `tfsdk:"sni" json:"sni,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"l7_protocols" json:"l7Protocols,omitempty"` LogLabel *string `tfsdk:"log_label" json:"logLabel,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { EndPort *int64 `tfsdk:"end_port" json:"endPort,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` SourceEndPort *int64 `tfsdk:"source_end_port" json:"sourceEndPort,omitempty"` SourcePort *int64 `tfsdk:"source_port" json:"sourcePort,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` Protocols *[]struct { Icmp *struct { IcmpCode *int64 `tfsdk:"icmp_code" json:"icmpCode,omitempty"` IcmpType *int64 `tfsdk:"icmp_type" json:"icmpType,omitempty"` } `tfsdk:"icmp" json:"icmp,omitempty"` Igmp *struct { GroupAddress *string `tfsdk:"group_address" json:"groupAddress,omitempty"` IgmpType *int64 `tfsdk:"igmp_type" json:"igmpType,omitempty"` } `tfsdk:"igmp" json:"igmp,omitempty"` } `tfsdk:"protocols" json:"protocols,omitempty"` To *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"to" json:"to,omitempty"` ToServices *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` } `tfsdk:"to_services" json:"toServices,omitempty"` } `tfsdk:"egress" json:"egress,omitempty"` Ingress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` EnableLogging *bool `tfsdk:"enable_logging" json:"enableLogging,omitempty"` From *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"from" json:"from,omitempty"` L7Protocols *[]struct { Http *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"http" json:"http,omitempty"` Tls *struct { Sni *string `tfsdk:"sni" json:"sni,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"l7_protocols" json:"l7Protocols,omitempty"` LogLabel *string `tfsdk:"log_label" json:"logLabel,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { EndPort *int64 `tfsdk:"end_port" json:"endPort,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` SourceEndPort *int64 `tfsdk:"source_end_port" json:"sourceEndPort,omitempty"` SourcePort *int64 `tfsdk:"source_port" json:"sourcePort,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` Protocols *[]struct { Icmp *struct { IcmpCode *int64 `tfsdk:"icmp_code" json:"icmpCode,omitempty"` IcmpType *int64 `tfsdk:"icmp_type" json:"icmpType,omitempty"` } `tfsdk:"icmp" json:"icmp,omitempty"` Igmp *struct { GroupAddress *string `tfsdk:"group_address" json:"groupAddress,omitempty"` IgmpType *int64 `tfsdk:"igmp_type" json:"igmpType,omitempty"` } `tfsdk:"igmp" json:"igmp,omitempty"` } `tfsdk:"protocols" json:"protocols,omitempty"` To *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"to" json:"to,omitempty"` ToServices *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` } `tfsdk:"to_services" json:"toServices,omitempty"` } `tfsdk:"ingress" json:"ingress,omitempty"` Priority *float64 `tfsdk:"priority" json:"priority,omitempty"` Tier *string `tfsdk:"tier" json:"tier,omitempty"` } `tfsdk:"cluster_network_policy" json:"clusterNetworkPolicy,omitempty"` Endpoints *struct { Subsets *[]struct { Addresses *[]struct { Hostname *string `tfsdk:"hostname" json:"hostname,omitempty"` Ip *string `tfsdk:"ip" json:"ip,omitempty"` NodeName *string `tfsdk:"node_name" json:"nodeName,omitempty"` TargetRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"target_ref" json:"targetRef,omitempty"` } `tfsdk:"addresses" json:"addresses,omitempty"` NotReadyAddresses *[]struct { Hostname *string `tfsdk:"hostname" json:"hostname,omitempty"` Ip *string `tfsdk:"ip" json:"ip,omitempty"` NodeName *string `tfsdk:"node_name" json:"nodeName,omitempty"` TargetRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"target_ref" json:"targetRef,omitempty"` } `tfsdk:"not_ready_addresses" json:"notReadyAddresses,omitempty"` Ports *[]struct { AppProtocol *string `tfsdk:"app_protocol" json:"appProtocol,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"subsets" json:"subsets,omitempty"` } `tfsdk:"endpoints" json:"endpoints,omitempty"` ExternalEntity *struct { ExternalEntitySpec *struct { Endpoints *[]struct { Ip *string `tfsdk:"ip" json:"ip,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"endpoints" json:"endpoints,omitempty"` ExternalNode *string `tfsdk:"external_node" json:"externalNode,omitempty"` Ports *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"external_entity_spec" json:"externalEntitySpec,omitempty"` } `tfsdk:"external_entity" json:"externalEntity,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` LabelIdentity *struct { NormalizedLabel *string `tfsdk:"normalized_label" json:"normalizedLabel,omitempty"` } `tfsdk:"label_identity" json:"labelIdentity,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Raw *struct { Data *string `tfsdk:"data" json:"data,omitempty"` } `tfsdk:"raw" json:"raw,omitempty"` Service *struct { ServiceSpec *struct { AllocateLoadBalancerNodePorts *bool `tfsdk:"allocate_load_balancer_node_ports" json:"allocateLoadBalancerNodePorts,omitempty"` ClusterIP *string `tfsdk:"cluster_ip" json:"clusterIP,omitempty"` ClusterIPs *[]string `tfsdk:"cluster_i_ps" json:"clusterIPs,omitempty"` ExternalIPs *[]string `tfsdk:"external_i_ps" json:"externalIPs,omitempty"` ExternalName *string `tfsdk:"external_name" json:"externalName,omitempty"` ExternalTrafficPolicy *string `tfsdk:"external_traffic_policy" json:"externalTrafficPolicy,omitempty"` HealthCheckNodePort *int64 `tfsdk:"health_check_node_port" json:"healthCheckNodePort,omitempty"` InternalTrafficPolicy *string `tfsdk:"internal_traffic_policy" json:"internalTrafficPolicy,omitempty"` IpFamilies *[]string `tfsdk:"ip_families" json:"ipFamilies,omitempty"` IpFamilyPolicy *string `tfsdk:"ip_family_policy" json:"ipFamilyPolicy,omitempty"` LoadBalancerClass *string `tfsdk:"load_balancer_class" json:"loadBalancerClass,omitempty"` LoadBalancerIP *string `tfsdk:"load_balancer_ip" json:"loadBalancerIP,omitempty"` LoadBalancerSourceRanges *[]string `tfsdk:"load_balancer_source_ranges" json:"loadBalancerSourceRanges,omitempty"` Ports *[]struct { AppProtocol *string `tfsdk:"app_protocol" json:"appProtocol,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` NodePort *int64 `tfsdk:"node_port" json:"nodePort,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` TargetPort *string `tfsdk:"target_port" json:"targetPort,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` PublishNotReadyAddresses *bool `tfsdk:"publish_not_ready_addresses" json:"publishNotReadyAddresses,omitempty"` Selector *map[string]string `tfsdk:"selector" json:"selector,omitempty"` SessionAffinity *string `tfsdk:"session_affinity" json:"sessionAffinity,omitempty"` SessionAffinityConfig *struct { ClientIP *struct { TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"` } `tfsdk:"client_ip" json:"clientIP,omitempty"` } `tfsdk:"session_affinity_config" json:"sessionAffinityConfig,omitempty"` TrafficDistribution *string `tfsdk:"traffic_distribution" json:"trafficDistribution,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"service_spec" json:"serviceSpec,omitempty"` } `tfsdk:"service" json:"service,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest ¶
type MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest struct{}
func (*MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Metadata ¶
func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Read ¶
func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Schema ¶
func (r *MulticlusterCrdAntreaIoResourceImportV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MulticlusterCrdAntreaIoResourceImportV1Alpha1ManifestData ¶
type MulticlusterCrdAntreaIoResourceImportV1Alpha1ManifestData 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"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ClusterID *[]string `tfsdk:"cluster_id" json:"clusterID,omitempty"` Clusterinfo *struct { ClusterID *string `tfsdk:"cluster_id" json:"clusterID,omitempty"` GatewayInfos *[]struct { GatewayIP *string `tfsdk:"gateway_ip" json:"gatewayIP,omitempty"` } `tfsdk:"gateway_infos" json:"gatewayInfos,omitempty"` PodCIDRs *[]string `tfsdk:"pod_cidrs" json:"podCIDRs,omitempty"` ServiceCIDR *string `tfsdk:"service_cidr" json:"serviceCIDR,omitempty"` WireGuard *struct { PublicKey *string `tfsdk:"public_key" json:"publicKey,omitempty"` } `tfsdk:"wire_guard" json:"wireGuard,omitempty"` } `tfsdk:"clusterinfo" json:"clusterinfo,omitempty"` Clusternetworkpolicy *struct { AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` Egress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` EnableLogging *bool `tfsdk:"enable_logging" json:"enableLogging,omitempty"` From *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"from" json:"from,omitempty"` L7Protocols *[]struct { Http *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"http" json:"http,omitempty"` Tls *struct { Sni *string `tfsdk:"sni" json:"sni,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"l7_protocols" json:"l7Protocols,omitempty"` LogLabel *string `tfsdk:"log_label" json:"logLabel,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { EndPort *int64 `tfsdk:"end_port" json:"endPort,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` SourceEndPort *int64 `tfsdk:"source_end_port" json:"sourceEndPort,omitempty"` SourcePort *int64 `tfsdk:"source_port" json:"sourcePort,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` Protocols *[]struct { Icmp *struct { IcmpCode *int64 `tfsdk:"icmp_code" json:"icmpCode,omitempty"` IcmpType *int64 `tfsdk:"icmp_type" json:"icmpType,omitempty"` } `tfsdk:"icmp" json:"icmp,omitempty"` Igmp *struct { GroupAddress *string `tfsdk:"group_address" json:"groupAddress,omitempty"` IgmpType *int64 `tfsdk:"igmp_type" json:"igmpType,omitempty"` } `tfsdk:"igmp" json:"igmp,omitempty"` } `tfsdk:"protocols" json:"protocols,omitempty"` To *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"to" json:"to,omitempty"` ToServices *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` } `tfsdk:"to_services" json:"toServices,omitempty"` } `tfsdk:"egress" json:"egress,omitempty"` Ingress *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` AppliedTo *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` 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"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Service *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"applied_to" json:"appliedTo,omitempty"` EnableLogging *bool `tfsdk:"enable_logging" json:"enableLogging,omitempty"` From *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"from" json:"from,omitempty"` L7Protocols *[]struct { Http *struct { Host *string `tfsdk:"host" json:"host,omitempty"` Method *string `tfsdk:"method" json:"method,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"http" json:"http,omitempty"` Tls *struct { Sni *string `tfsdk:"sni" json:"sni,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"l7_protocols" json:"l7Protocols,omitempty"` LogLabel *string `tfsdk:"log_label" json:"logLabel,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Ports *[]struct { EndPort *int64 `tfsdk:"end_port" json:"endPort,omitempty"` Port *string `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` SourceEndPort *int64 `tfsdk:"source_end_port" json:"sourceEndPort,omitempty"` SourcePort *int64 `tfsdk:"source_port" json:"sourcePort,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` Protocols *[]struct { Icmp *struct { IcmpCode *int64 `tfsdk:"icmp_code" json:"icmpCode,omitempty"` IcmpType *int64 `tfsdk:"icmp_type" json:"icmpType,omitempty"` } `tfsdk:"icmp" json:"icmp,omitempty"` Igmp *struct { GroupAddress *string `tfsdk:"group_address" json:"groupAddress,omitempty"` IgmpType *int64 `tfsdk:"igmp_type" json:"igmpType,omitempty"` } `tfsdk:"igmp" json:"igmp,omitempty"` } `tfsdk:"protocols" json:"protocols,omitempty"` To *[]struct { ExternalEntitySelector *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:"external_entity_selector" json:"externalEntitySelector,omitempty"` Fqdn *string `tfsdk:"fqdn" json:"fqdn,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` IpBlock *struct { Cidr *string `tfsdk:"cidr" json:"cidr,omitempty"` Except *[]string `tfsdk:"except" json:"except,omitempty"` } `tfsdk:"ip_block" json:"ipBlock,omitempty"` 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"` Namespaces *struct { Match *string `tfsdk:"match" json:"match,omitempty"` SameLabels *[]string `tfsdk:"same_labels" json:"sameLabels,omitempty"` } `tfsdk:"namespaces" json:"namespaces,omitempty"` NodeSelector *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:"node_selector" json:"nodeSelector,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"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` ServiceAccount *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` } `tfsdk:"to" json:"to,omitempty"` ToServices *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` } `tfsdk:"to_services" json:"toServices,omitempty"` } `tfsdk:"ingress" json:"ingress,omitempty"` Priority *float64 `tfsdk:"priority" json:"priority,omitempty"` Tier *string `tfsdk:"tier" json:"tier,omitempty"` } `tfsdk:"clusternetworkpolicy" json:"clusternetworkpolicy,omitempty"` Endpoints *struct { Subsets *[]struct { Addresses *[]struct { Hostname *string `tfsdk:"hostname" json:"hostname,omitempty"` Ip *string `tfsdk:"ip" json:"ip,omitempty"` NodeName *string `tfsdk:"node_name" json:"nodeName,omitempty"` TargetRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"target_ref" json:"targetRef,omitempty"` } `tfsdk:"addresses" json:"addresses,omitempty"` NotReadyAddresses *[]struct { Hostname *string `tfsdk:"hostname" json:"hostname,omitempty"` Ip *string `tfsdk:"ip" json:"ip,omitempty"` NodeName *string `tfsdk:"node_name" json:"nodeName,omitempty"` TargetRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"` Uid *string `tfsdk:"uid" json:"uid,omitempty"` } `tfsdk:"target_ref" json:"targetRef,omitempty"` } `tfsdk:"not_ready_addresses" json:"notReadyAddresses,omitempty"` Ports *[]struct { AppProtocol *string `tfsdk:"app_protocol" json:"appProtocol,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"subsets" json:"subsets,omitempty"` } `tfsdk:"endpoints" json:"endpoints,omitempty"` Externalentity *struct { Externalentityspec *struct { Endpoints *[]struct { Ip *string `tfsdk:"ip" json:"ip,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"endpoints" json:"endpoints,omitempty"` ExternalNode *string `tfsdk:"external_node" json:"externalNode,omitempty"` Ports *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` } `tfsdk:"externalentityspec" json:"externalentityspec,omitempty"` } `tfsdk:"externalentity" json:"externalentity,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` LabelIdentity *struct { Id *int64 `tfsdk:"id" json:"id,omitempty"` Label *string `tfsdk:"label" json:"label,omitempty"` } `tfsdk:"label_identity" json:"labelIdentity,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Raw *struct { Data *string `tfsdk:"data" json:"data,omitempty"` } `tfsdk:"raw" json:"raw,omitempty"` ServiceImport *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Metadata *map[string]string `tfsdk:"metadata" json:"metadata,omitempty"` Spec *struct { Ips *[]string `tfsdk:"ips" json:"ips,omitempty"` Ports *[]struct { AppProtocol *string `tfsdk:"app_protocol" json:"appProtocol,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"ports" json:"ports,omitempty"` SessionAffinity *string `tfsdk:"session_affinity" json:"sessionAffinity,omitempty"` SessionAffinityConfig *struct { ClientIP *struct { TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"` } `tfsdk:"client_ip" json:"clientIP,omitempty"` } `tfsdk:"session_affinity_config" json:"sessionAffinityConfig,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` Status *struct { Clusters *[]struct { Cluster *string `tfsdk:"cluster" json:"cluster,omitempty"` } `tfsdk:"clusters" json:"clusters,omitempty"` } `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"service_import" json:"serviceImport,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Source Files ¶
- multicluster_crd_antrea_io_cluster_info_import_v1alpha1_manifest.go
- multicluster_crd_antrea_io_cluster_set_v1alpha1_manifest.go
- multicluster_crd_antrea_io_gateway_v1alpha1_manifest.go
- multicluster_crd_antrea_io_label_identity_v1alpha1_manifest.go
- multicluster_crd_antrea_io_member_cluster_announce_v1alpha1_manifest.go
- multicluster_crd_antrea_io_multi_cluster_config_v1alpha1_manifest.go
- multicluster_crd_antrea_io_resource_export_v1alpha1_manifest.go
- multicluster_crd_antrea_io_resource_import_v1alpha1_manifest.go
Click to show internal directories.
Click to hide internal directories.