Documentation ¶
Index ¶
- func NewStunnerL7MpIoDataplaneV1Alpha1Manifest() datasource.DataSource
- func NewStunnerL7MpIoGatewayConfigV1Alpha1Manifest() datasource.DataSource
- func NewStunnerL7MpIoStaticServiceV1Alpha1Manifest() datasource.DataSource
- type StunnerL7MpIoDataplaneV1Alpha1Manifest
- func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type StunnerL7MpIoDataplaneV1Alpha1ManifestData
- type StunnerL7MpIoGatewayConfigV1Alpha1Manifest
- func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type StunnerL7MpIoGatewayConfigV1Alpha1ManifestData
- type StunnerL7MpIoStaticServiceV1Alpha1Manifest
- func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type StunnerL7MpIoStaticServiceV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStunnerL7MpIoDataplaneV1Alpha1Manifest ¶
func NewStunnerL7MpIoDataplaneV1Alpha1Manifest() datasource.DataSource
func NewStunnerL7MpIoGatewayConfigV1Alpha1Manifest ¶
func NewStunnerL7MpIoGatewayConfigV1Alpha1Manifest() datasource.DataSource
func NewStunnerL7MpIoStaticServiceV1Alpha1Manifest ¶
func NewStunnerL7MpIoStaticServiceV1Alpha1Manifest() datasource.DataSource
Types ¶
type StunnerL7MpIoDataplaneV1Alpha1Manifest ¶
type StunnerL7MpIoDataplaneV1Alpha1Manifest struct{}
func (*StunnerL7MpIoDataplaneV1Alpha1Manifest) Metadata ¶
func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*StunnerL7MpIoDataplaneV1Alpha1Manifest) Read ¶
func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*StunnerL7MpIoDataplaneV1Alpha1Manifest) Schema ¶
func (r *StunnerL7MpIoDataplaneV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type StunnerL7MpIoDataplaneV1Alpha1ManifestData ¶
type StunnerL7MpIoDataplaneV1Alpha1ManifestData 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 { Affinity *struct { NodeAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { Preference *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"` MatchFields *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_fields" json:"matchFields,omitempty"` } `tfsdk:"preference" json:"preference,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *struct { NodeSelectorTerms *[]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"` MatchFields *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_fields" json:"matchFields,omitempty"` } `tfsdk:"node_selector_terms" json:"nodeSelectorTerms,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"node_affinity" json:"nodeAffinity,omitempty"` PodAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *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:"label_selector" json:"labelSelector,omitempty"` MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"` MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,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 *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *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:"label_selector" json:"labelSelector,omitempty"` MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"` MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,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 *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_affinity" json:"podAffinity,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *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:"label_selector" json:"labelSelector,omitempty"` MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"` MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,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 *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *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:"label_selector" json:"labelSelector,omitempty"` MatchLabelKeys *[]string `tfsdk:"match_label_keys" json:"matchLabelKeys,omitempty"` MismatchLabelKeys *[]string `tfsdk:"mismatch_label_keys" json:"mismatchLabelKeys,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 *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` } `tfsdk:"affinity" json:"affinity,omitempty"` Args *[]string `tfsdk:"args" json:"args,omitempty"` Command *[]string `tfsdk:"command" json:"command,omitempty"` Env *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` ValueFrom *struct { ConfigMapKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"` FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` ResourceFieldRef *struct { ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"` Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` } `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"` SecretKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"` } `tfsdk:"value_from" json:"valueFrom,omitempty"` } `tfsdk:"env" json:"env,omitempty"` HealthCheckPort *int64 `tfsdk:"health_check_port" json:"healthCheckPort,omitempty"` HostNetwork *bool `tfsdk:"host_network" json:"hostNetwork,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Resources *struct { Claims *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"claims" json:"claims,omitempty"` Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"` Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` SecurityContext *struct { FsGroup *int64 `tfsdk:"fs_group" json:"fsGroup,omitempty"` FsGroupChangePolicy *string `tfsdk:"fs_group_change_policy" json:"fsGroupChangePolicy,omitempty"` RunAsGroup *int64 `tfsdk:"run_as_group" json:"runAsGroup,omitempty"` RunAsNonRoot *bool `tfsdk:"run_as_non_root" json:"runAsNonRoot,omitempty"` RunAsUser *int64 `tfsdk:"run_as_user" json:"runAsUser,omitempty"` SeLinuxOptions *struct { Level *string `tfsdk:"level" json:"level,omitempty"` Role *string `tfsdk:"role" json:"role,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` User *string `tfsdk:"user" json:"user,omitempty"` } `tfsdk:"se_linux_options" json:"seLinuxOptions,omitempty"` SeccompProfile *struct { LocalhostProfile *string `tfsdk:"localhost_profile" json:"localhostProfile,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"seccomp_profile" json:"seccompProfile,omitempty"` SupplementalGroups *[]string `tfsdk:"supplemental_groups" json:"supplementalGroups,omitempty"` Sysctls *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"sysctls" json:"sysctls,omitempty"` WindowsOptions *struct { GmsaCredentialSpec *string `tfsdk:"gmsa_credential_spec" json:"gmsaCredentialSpec,omitempty"` GmsaCredentialSpecName *string `tfsdk:"gmsa_credential_spec_name" json:"gmsaCredentialSpecName,omitempty"` HostProcess *bool `tfsdk:"host_process" json:"hostProcess,omitempty"` RunAsUserName *string `tfsdk:"run_as_user_name" json:"runAsUserName,omitempty"` } `tfsdk:"windows_options" json:"windowsOptions,omitempty"` } `tfsdk:"security_context" json:"securityContext,omitempty"` TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type StunnerL7MpIoGatewayConfigV1Alpha1Manifest ¶
type StunnerL7MpIoGatewayConfigV1Alpha1Manifest struct{}
func (*StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Metadata ¶
func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Read ¶
func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Schema ¶
func (r *StunnerL7MpIoGatewayConfigV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type StunnerL7MpIoGatewayConfigV1Alpha1ManifestData ¶
type StunnerL7MpIoGatewayConfigV1Alpha1ManifestData 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 { AuthLifetime *int64 `tfsdk:"auth_lifetime" json:"authLifetime,omitempty"` AuthRef *struct { Group *string `tfsdk:"group" json:"group,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"auth_ref" json:"authRef,omitempty"` AuthType *string `tfsdk:"auth_type" json:"authType,omitempty"` Dataplane *string `tfsdk:"dataplane" json:"dataplane,omitempty"` HealthCheckEndpoint *string `tfsdk:"health_check_endpoint" json:"healthCheckEndpoint,omitempty"` LoadBalancerServiceAnnotations *map[string]string `tfsdk:"load_balancer_service_annotations" json:"loadBalancerServiceAnnotations,omitempty"` LogLevel *string `tfsdk:"log_level" json:"logLevel,omitempty"` MaxPort *int64 `tfsdk:"max_port" json:"maxPort,omitempty"` MetricsEndpoint *string `tfsdk:"metrics_endpoint" json:"metricsEndpoint,omitempty"` MinPort *int64 `tfsdk:"min_port" json:"minPort,omitempty"` Password *string `tfsdk:"password" json:"password,omitempty"` Realm *string `tfsdk:"realm" json:"realm,omitempty"` SharedSecret *string `tfsdk:"shared_secret" json:"sharedSecret,omitempty"` StunnerConfig *string `tfsdk:"stunner_config" json:"stunnerConfig,omitempty"` UserName *string `tfsdk:"user_name" json:"userName,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type StunnerL7MpIoStaticServiceV1Alpha1Manifest ¶
type StunnerL7MpIoStaticServiceV1Alpha1Manifest struct{}
func (*StunnerL7MpIoStaticServiceV1Alpha1Manifest) Metadata ¶
func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*StunnerL7MpIoStaticServiceV1Alpha1Manifest) Read ¶
func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*StunnerL7MpIoStaticServiceV1Alpha1Manifest) Schema ¶
func (r *StunnerL7MpIoStaticServiceV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type StunnerL7MpIoStaticServiceV1Alpha1ManifestData ¶
type StunnerL7MpIoStaticServiceV1Alpha1ManifestData 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 { 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"` Prefixes *[]string `tfsdk:"prefixes" json:"prefixes,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.