Documentation ¶
Index ¶
- func NewInstanaIoInstanaAgentV1Manifest() datasource.DataSource
- type InstanaIoInstanaAgentV1Manifest
- func (r *InstanaIoInstanaAgentV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *InstanaIoInstanaAgentV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *InstanaIoInstanaAgentV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type InstanaIoInstanaAgentV1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanaIoInstanaAgentV1Manifest ¶
func NewInstanaIoInstanaAgentV1Manifest() datasource.DataSource
Types ¶
type InstanaIoInstanaAgentV1Manifest ¶
type InstanaIoInstanaAgentV1Manifest struct{}
func (*InstanaIoInstanaAgentV1Manifest) Metadata ¶
func (r *InstanaIoInstanaAgentV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*InstanaIoInstanaAgentV1Manifest) Read ¶
func (r *InstanaIoInstanaAgentV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*InstanaIoInstanaAgentV1Manifest) Schema ¶
func (r *InstanaIoInstanaAgentV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type InstanaIoInstanaAgentV1ManifestData ¶
type InstanaIoInstanaAgentV1ManifestData 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 { Agent *struct { AdditionalBackends *[]struct { EndpointHost *string `tfsdk:"endpoint_host" json:"endpointHost,omitempty"` EndpointPort *string `tfsdk:"endpoint_port" json:"endpointPort,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` } `tfsdk:"additional_backends" json:"additionalBackends,omitempty"` Charts_url *string `tfsdk:"charts_url" json:"charts_url,omitempty"` Configuration *struct { AutoMountConfigEntries *bool `tfsdk:"auto_mount_config_entries" json:"autoMountConfigEntries,omitempty"` } `tfsdk:"configuration" json:"configuration,omitempty"` Configuration_yaml *string `tfsdk:"configuration_yaml" json:"configuration_yaml,omitempty"` DownloadKey *string `tfsdk:"download_key" json:"downloadKey,omitempty"` EndpointHost *string `tfsdk:"endpoint_host" json:"endpointHost,omitempty"` EndpointPort *string `tfsdk:"endpoint_port" json:"endpointPort,omitempty"` Env *map[string]string `tfsdk:"env" json:"env,omitempty"` Host *struct { Repository *string `tfsdk:"repository" json:"repository,omitempty"` } `tfsdk:"host" json:"host,omitempty"` Image *struct { Digest *string `tfsdk:"digest" json:"digest,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` PullPolicy *string `tfsdk:"pull_policy" json:"pullPolicy,omitempty"` PullSecrets *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"pull_secrets" json:"pullSecrets,omitempty"` Tag *string `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"image" json:"image,omitempty"` InstanaMvnRepoUrl *string `tfsdk:"instana_mvn_repo_url" json:"instanaMvnRepoUrl,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` KeysSecret *string `tfsdk:"keys_secret" json:"keysSecret,omitempty"` ListenAddress *string `tfsdk:"listen_address" json:"listenAddress,omitempty"` MinReadySeconds *int64 `tfsdk:"min_ready_seconds" json:"minReadySeconds,omitempty"` Mode *string `tfsdk:"mode" json:"mode,omitempty"` Pod *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"` 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"` 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"` 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"` 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"` Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"` PriorityClassName *string `tfsdk:"priority_class_name" json:"priorityClassName,omitempty"` Requests *map[string]string `tfsdk:"requests" json:"requests,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:"pod" json:"pod,omitempty"` ProxyHost *string `tfsdk:"proxy_host" json:"proxyHost,omitempty"` ProxyPassword *string `tfsdk:"proxy_password" json:"proxyPassword,omitempty"` ProxyPort *string `tfsdk:"proxy_port" json:"proxyPort,omitempty"` ProxyProtocol *string `tfsdk:"proxy_protocol" json:"proxyProtocol,omitempty"` ProxyUseDNS *bool `tfsdk:"proxy_use_dns" json:"proxyUseDNS,omitempty"` ProxyUser *string `tfsdk:"proxy_user" json:"proxyUser,omitempty"` RedactKubernetesSecrets *string `tfsdk:"redact_kubernetes_secrets" json:"redactKubernetesSecrets,omitempty"` Tls *struct { Certificate *string `tfsdk:"certificate" json:"certificate,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` UpdateStrategy *struct { RollingUpdate *struct { MaxSurge *string `tfsdk:"max_surge" json:"maxSurge,omitempty"` MaxUnavailable *string `tfsdk:"max_unavailable" json:"maxUnavailable,omitempty"` } `tfsdk:"rolling_update" json:"rollingUpdate,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"update_strategy" json:"updateStrategy,omitempty"` } `tfsdk:"agent" json:"agent,omitempty"` Agent_clusterRoleBindingName *string `tfsdk:"agent_cluster_role_binding_name" json:"agent.clusterRoleBindingName,omitempty"` Agent_clusterRoleName *string `tfsdk:"agent_cluster_role_name" json:"agent.clusterRoleName,omitempty"` Agent_configMapName *string `tfsdk:"agent_config_map_name" json:"agent.configMapName,omitempty"` Agent_cpuLimit *string `tfsdk:"agent_cpu_limit" json:"agent.cpuLimit,omitempty"` Agent_cpuReq *string `tfsdk:"agent_cpu_req" json:"agent.cpuReq,omitempty"` Agent_daemonSetName *string `tfsdk:"agent_daemon_set_name" json:"agent.daemonSetName,omitempty"` Agent_downloadKey *string `tfsdk:"agent_download_key" json:"agent.downloadKey,omitempty"` Agent_endpoint_host *string `tfsdk:"agent_endpoint_host" json:"agent.endpoint.host,omitempty"` Agent_endpoint_port *int64 `tfsdk:"agent_endpoint_port" json:"agent.endpoint.port,omitempty"` Agent_env *map[string]string `tfsdk:"agent_env" json:"agent.env,omitempty"` Agent_host_repository *string `tfsdk:"agent_host_repository" json:"agent.host.repository,omitempty"` Agent_image *string `tfsdk:"agent_image" json:"agent.image,omitempty"` Agent_imagePullPolicy *string `tfsdk:"agent_image_pull_policy" json:"agent.imagePullPolicy,omitempty"` Agent_key *string `tfsdk:"agent_key" json:"agent.key,omitempty"` Agent_memLimit *string `tfsdk:"agent_mem_limit" json:"agent.memLimit,omitempty"` Agent_memReq *string `tfsdk:"agent_mem_req" json:"agent.memReq,omitempty"` Agent_rbac_create *bool `tfsdk:"agent_rbac_create" json:"agent.rbac.create,omitempty"` Agent_secretName *string `tfsdk:"agent_secret_name" json:"agent.secretName,omitempty"` Agent_serviceAccountName *string `tfsdk:"agent_service_account_name" json:"agent.serviceAccountName,omitempty"` Agent_tls_certificate *string `tfsdk:"agent_tls_certificate" json:"agent.tls.certificate,omitempty"` Agent_tls_key *string `tfsdk:"agent_tls_key" json:"agent.tls.key,omitempty"` Agent_tls_secretName *string `tfsdk:"agent_tls_secret_name" json:"agent.tls.secretName,omitempty"` Agent_zone_name *string `tfsdk:"agent_zone_name" json:"agent.zone.name,omitempty"` Cluster *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"cluster" json:"cluster,omitempty"` Cluster_name *string `tfsdk:"cluster_name" json:"cluster.name,omitempty"` Config_files *map[string]string `tfsdk:"config_files" json:"config.files,omitempty"` K8s_sensor *struct { Deployment *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` MinReadySeconds *int64 `tfsdk:"min_ready_seconds" json:"minReadySeconds,omitempty"` Pod *struct { Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"` Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"` } `tfsdk:"pod" json:"pod,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` } `tfsdk:"deployment" json:"deployment,omitempty"` Image *struct { Digest *string `tfsdk:"digest" json:"digest,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` PullPolicy *string `tfsdk:"pull_policy" json:"pullPolicy,omitempty"` PullSecrets *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"pull_secrets" json:"pullSecrets,omitempty"` Tag *string `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"image" json:"image,omitempty"` } `tfsdk:"k8s_sensor" json:"k8s_sensor,omitempty"` Kubernetes *struct { Deployment *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` MinReadySeconds *int64 `tfsdk:"min_ready_seconds" json:"minReadySeconds,omitempty"` Pod *struct { Limits *map[string]string `tfsdk:"limits" json:"limits,omitempty"` Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"` } `tfsdk:"pod" json:"pod,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` } `tfsdk:"deployment" json:"deployment,omitempty"` } `tfsdk:"kubernetes" json:"kubernetes,omitempty"` Openshift *bool `tfsdk:"openshift" json:"openshift,omitempty"` Opentelemetry *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` Grpc *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` } `tfsdk:"grpc" json:"grpc,omitempty"` Http *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` } `tfsdk:"http" json:"http,omitempty"` } `tfsdk:"opentelemetry" json:"opentelemetry,omitempty"` Opentelemetry_enabled *bool `tfsdk:"opentelemetry_enabled" json:"opentelemetry.enabled,omitempty"` PinnedChartVersion *string `tfsdk:"pinned_chart_version" json:"pinnedChartVersion,omitempty"` PodSecurityPolicy *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"pod_security_policy" json:"podSecurityPolicy,omitempty"` Prometheus *struct { RemoteWrite *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` } `tfsdk:"remote_write" json:"remoteWrite,omitempty"` } `tfsdk:"prometheus" json:"prometheus,omitempty"` Rbac *struct { Create *bool `tfsdk:"create" json:"create,omitempty"` } `tfsdk:"rbac" json:"rbac,omitempty"` Service *struct { Create *bool `tfsdk:"create" json:"create,omitempty"` } `tfsdk:"service" json:"service,omitempty"` ServiceAccount *struct { Create *bool `tfsdk:"create" json:"create,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"service_account" json:"serviceAccount,omitempty"` Zone *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"zone" json:"zone,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.