condition

package
v1.56.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Attributes = struct {
	AppMonServerName                          Attribute
	AppMonSystemProfileName                   Attribute
	AWSAccountID                              Attribute
	AWSAccountName                            Attribute
	AWSApplicationLoadBalancerName            Attribute
	AWSApplicationLoadBalancerTags            Attribute
	AWSAutoScalingGroupName                   Attribute
	AWSAutoScalingGroupTags                   Attribute
	AWSAvailabilityZoneName                   Attribute
	AWSClassicLoadBalancerFrontendPorts       Attribute
	AWSClassicLoadBalancerName                Attribute
	AWSClassicLoadBalancerTags                Attribute
	AWSNetworkLoadBalancerName                Attribute
	AWSNetworkLoadBalancerTags                Attribute
	AWSRelationalDatabaseServiceDBName        Attribute
	AWSRelationalDatabaseServiceEndpoint      Attribute
	AWSRelationalDatabaseServiceEngine        Attribute
	AWSRelationalDatabaseServiceInstanceClass Attribute
	AWSRelationalDatabaseServiceName          Attribute
	AWSRelationalDatabaseServicePort          Attribute
	AWSRelationalDatabaseServiceTags          Attribute
	AzureEntityName                           Attribute
	AzureEntityTags                           Attribute
	AzureMgmtGroupName                        Attribute
	AzureMgmtGroupUUID                        Attribute
	AzureRegionName                           Attribute
	AzureScaleSetName                         Attribute
	AzureSubscriptionName                     Attribute
	AzureSubscriptionUUID                     Attribute
	AzureTenantName                           Attribute
	AzureTenantUUID                           Attribute
	AzureVMName                               Attribute
	BrowserMonitorName                        Attribute
	BrowserMonitorTags                        Attribute
	CloudApplicationLabels                    Attribute
	CloudApplicationName                      Attribute
	CloudApplicationNamespaceLabels           Attribute
	CloudApplicationNamespaceName             Attribute
	CloudFoundryFoundationName                Attribute
	CloudFoundryOrgName                       Attribute
	CustomApplicationName                     Attribute
	CustomApplicationPlatform                 Attribute
	CustomApplicationTags                     Attribute
	CustomApplicationType                     Attribute
	CustomDeviceDetectedName                  Attribute
	CustomDeviceDNSAddress                    Attribute
	CustomDeviceGroupName                     Attribute
	CustomDeviceGroupTags                     Attribute
	CustomDeviceIPAddress                     Attribute
	CustomDeviceMetadata                      Attribute
	CustomDeviceName                          Attribute
	CustomDevicePort                          Attribute
	CustomDeviceTags                          Attribute
	CustomDeviceTechnology                    Attribute
	DataCenterServiceDecoderType              Attribute
	DataCenterServiceIPAddress                Attribute
	DataCenterServiceMetadata                 Attribute
	DataCenterServiceName                     Attribute
	DataCenterServicePort                     Attribute
	DataCenterServiceTags                     Attribute
	DockerContainerName                       Attribute
	DockerFullImageName                       Attribute
	DockerImageVersion                        Attribute
	DockerStrippedImageName                   Attribute
	EC2InstanceAmiID                          Attribute
	EC2InstanceAWSInstanceType                Attribute
	EC2InstanceAWSSecurityGroup               Attribute
	EC2InstanceBeanstalkEnvName               Attribute
	EC2InstanceID                             Attribute
	EC2InstanceName                           Attribute
	EC2InstancePrivateHostName                Attribute
	EC2InstancePublicHostName                 Attribute
	EC2InstanceTags                           Attribute
	EnterpriseApplicationDecoderType          Attribute
	EnterpriseApplicationIPAddress            Attribute
	EnterpriseApplicationMetadata             Attribute
	EnterpriseApplicationName                 Attribute
	EnterpriseApplicationPort                 Attribute
	EnterpriseApplicationTags                 Attribute
	ESXIHostClusterName                       Attribute
	ESXIHostHardwareModel                     Attribute
	ESXIHostHardwareVendor                    Attribute
	ESXIHostName                              Attribute
	ESXIHostProductName                       Attribute
	ESXIHostProductVersion                    Attribute
	ESXIHostTags                              Attribute
	ExternalMonitorEngineDescription          Attribute
	ExternalMonitorEngineName                 Attribute
	ExternalMonitorEngineType                 Attribute
	ExternalMonitorName                       Attribute
	ExternalMonitorTags                       Attribute
	GeolocationSiteName                       Attribute
	GoogleCloudPlatformZoneName               Attribute
	GoogleComputeInstanceID                   Attribute
	GoogleComputeInstanceMachineType          Attribute
	GoogleComputeInstanceName                 Attribute
	GoogleComputeInstanceProject              Attribute
	GoogleComputeInstanceProjectID            Attribute
	GoogleComputeInstancePublicIPAddresses    Attribute
	HostAIXLogicalCPUCount                    Attribute
	HostAIXSimultaneousThreads                Attribute
	HostAIXVirtualCPUCount                    Attribute
	HostArchitecture                          Attribute
	HostAWSNameTag                            Attribute
	HostAzureComputeMode                      Attribute
	HostAzureSku                              Attribute
	HostAzureWebApplicationHostNames          Attribute
	HostAzureWebApplicationSiteNames          Attribute
	HostBitness                               Attribute
	HostBoshAvailabilityZone                  Attribute
	HostBoshDeploymentID                      Attribute
	HostBoshInstanceID                        Attribute
	HostBoshInstanceName                      Attribute
	HostBoshName                              Attribute
	HostBoshStemcellVersion                   Attribute
	HostCloudType                             Attribute
	HostCPUCores                              Attribute
	HostCustomMetadata                        Attribute
	HostDetectedName                          Attribute
	HostGroupID                               Attribute
	HostGroupName                             Attribute
	HostHypervisorType                        Attribute
	HostIPAddress                             Attribute
	HostKubernetesLabels                      Attribute
	HostLogicalCPUCores                       Attribute
	HostName                                  Attribute
	HostOneAgentCustomHostName                Attribute
	HostOSType                                Attribute
	HostOSVersion                             Attribute
	HostPaasMemoryLimit                       Attribute
	HostPaasType                              Attribute
	HostTags                                  Attribute
	HostTechnology                            Attribute
	HTTPMonitorName                           Attribute
	HTTPMonitorTags                           Attribute
	KubernetesClusterName                     Attribute
	KubernetesNodeName                        Attribute
	KubernetesServiceName                     Attribute
	MobileApplicationName                     Attribute
	MobileApplicationPlatform                 Attribute
	MobileApplicationTags                     Attribute
	NameOfComputeNode                         Attribute
	OpenStackAccountName                      Attribute
	OpenStackAccountProjectName               Attribute
	OpenStackAvailabilityZoneName             Attribute
	OpenStackProjectName                      Attribute
	OpenStackRegionName                       Attribute
	OpenStackVMInstanceType                   Attribute
	OpenStackVMName                           Attribute
	OpenStackVMSecurityGroup                  Attribute
	ProcessGroupAzureHostName                 Attribute
	ProcessGroupAzureSiteName                 Attribute
	ProcessGroupCustomMetadata                Attribute
	ProcessGroupDetectedName                  Attribute
	ProcessGroupID                            Attribute
	ProcessGroupListenPort                    Attribute
	ProcessGroupName                          Attribute
	ProcessGroupPredefinedMetadata            Attribute
	ProcessGroupTags                          Attribute
	ProcessGroupTechnology                    Attribute
	ProcessGroupTechnologyEdition             Attribute
	ProcessGroupTechnologyVersion             Attribute
	QueueName                                 Attribute
	QueueTechnology                           Attribute
	QueueVendor                               Attribute
	ServiceAkkaActorSystem                    Attribute
	ServiceCTGServiceName                     Attribute
	ServiceDatabaseHostName                   Attribute
	ServiceDatabaseName                       Attribute
	ServiceDatabaseTopology                   Attribute
	ServiceDatabaseVendor                     Attribute
	ServiceDetectedName                       Attribute
	ServiceEsbApplicationName                 Attribute
	ServiceIBMCTGGatewayURL                   Attribute
	ServiceIibApplicationName                 Attribute
	ServiceMessagingListenerClassName         Attribute
	ServiceName                               Attribute
	ServicePort                               Attribute
	ServicePublicDomainName                   Attribute
	ServiceRemoteEndpoint                     Attribute
	ServiceRemoteServiceName                  Attribute
	ServiceTags                               Attribute
	ServiceTechnology                         Attribute
	ServiceTechnologyEdition                  Attribute
	ServiceTechnologyVersion                  Attribute
	ServiceTopology                           Attribute
	ServiceType                               Attribute
	ServiceWebApplicationID                   Attribute
	ServiceWebContextRoot                     Attribute
	ServiceWebServerEndpoint                  Attribute
	ServiceWebServerName                      Attribute
	ServiceWebServiceName                     Attribute
	ServiceWebServiceNamespace                Attribute
	VmwareDatacenterName                      Attribute
	VmwareVMName                              Attribute
	WebApplicationName                        Attribute
	WebApplicationNamePattern                 Attribute
	WebApplicationTags                        Attribute
	WebApplicationType                        Attribute

}{}/* 199 elements not displayed */

Attributes offers the known enum values

View Source
var ConditionKeyTypes = struct {
	HostCustomMetadataKey        ConditionKeyType
	ProcessCustomMetadataKey     ConditionKeyType
	ProcessPredefinedMetadataKey ConditionKeyType
	Static                       ConditionKeyType
	String                       ConditionKeyType
}{
	"HOST_CUSTOM_METADATA_KEY",
	"PROCESS_CUSTOM_METADATA_KEY",
	"PROCESS_PREDEFINED_METADATA_KEY",
	"STATIC",
	"STRING",
}

ConditionKeyTypes offers the known enum values

View Source
var CustomHostMetadataKeySources = struct {
	Environment         CustomHostMetadataKeySource
	GoogleComputeEngine CustomHostMetadataKeySource
	Plugin              CustomHostMetadataKeySource
}{
	"ENVIRONMENT",
	"GOOGLE_COMPUTE_ENGINE",
	"PLUGIN",
}

CustomHostMetadataKeySources offers the known enum values

View Source
var CustomProcessMetadataKeySources = struct {
	CloudFoundry CustomProcessMetadataKeySource
	Environment  CustomProcessMetadataKeySource
	GoogleCloud  CustomProcessMetadataKeySource
	Kubernetes   CustomProcessMetadataKeySource
	Plugin       CustomProcessMetadataKeySource
}{
	"CLOUD_FOUNDRY",
	"ENVIRONMENT",
	"GOOGLE_CLOUD",
	"KUBERNETES",
	"PLUGIN",
}

CustomProcessMetadataKeySources offers the known enum values

View Source
var DynamicKeys = struct {
	AmazonECRImageAccountID                  DynamicKey
	AmazonECRImageRegion                     DynamicKey
	AmazonLambdaFunctionName                 DynamicKey
	AmazonRegion                             DynamicKey
	ApacheConfigPath                         DynamicKey
	ApacheSparkMasterIPAddress               DynamicKey
	ASPDotNetCoreApplicationPath             DynamicKey
	AWSECSCluster                            DynamicKey
	AWSECSContainername                      DynamicKey
	AWSECSFamily                             DynamicKey
	AWSECSRevision                           DynamicKey
	CassandraClusterName                     DynamicKey
	CatalinaBase                             DynamicKey
	CatalinaHome                             DynamicKey
	CloudFoundryAppID                        DynamicKey
	CloudFoundryAppName                      DynamicKey
	CloudFoundryInstanceIndex                DynamicKey
	CloudFoundrySpaceID                      DynamicKey
	CloudFoundrySpaceName                    DynamicKey
	ColdfusionJVMConfigFile                  DynamicKey
	ColdfusionServiceName                    DynamicKey
	CommandLineArgs                          DynamicKey
	DotNetCommand                            DynamicKey
	DotNetCommandPath                        DynamicKey
	DynatraceClusterID                       DynamicKey
	DynatraceNodeID                          DynamicKey
	ElasticSearchClusterName                 DynamicKey
	ElasticSearchNodeName                    DynamicKey
	EquinoxConfigPath                        DynamicKey
	ExeName                                  DynamicKey
	ExePath                                  DynamicKey
	GlassFishDomainName                      DynamicKey
	GlassFishInstanceName                    DynamicKey
	GoogleAppEngineInstance                  DynamicKey
	GoogleAppEngineService                   DynamicKey
	GoogleCloudProject                       DynamicKey
	HybrisBinDirectory                       DynamicKey
	HybrisConfigDirectory                    DynamicKey
	HybrisDataDirectory                      DynamicKey
	IBMCICSRegion                            DynamicKey
	IBMCTGName                               DynamicKey
	IBMIMSConnectRegion                      DynamicKey
	IBMIMSControlRegion                      DynamicKey
	IBMIMSMessageProcessingRegion            DynamicKey
	IBMIMSSoapGwName                         DynamicKey
	IBMIntegrationNodeName                   DynamicKey
	IBMIntegrationServerName                 DynamicKey
	IISAppPool                               DynamicKey
	IISRoleName                              DynamicKey
	JavaJarFile                              DynamicKey
	JavaJarPath                              DynamicKey
	JavaMainClass                            DynamicKey
	JavaMainModule                           DynamicKey
	JBossHome                                DynamicKey
	JBossMode                                DynamicKey
	JBossServerName                          DynamicKey
	KubernetesBasePodName                    DynamicKey
	KubernetesContainerName                  DynamicKey
	KubernetesFullPodName                    DynamicKey
	KubernetesNamespace                      DynamicKey
	KubernetesPodUID                         DynamicKey
	MSSQLInstanceName                        DynamicKey
	NodeJsAppBaseDirectory                   DynamicKey
	NodeJsAppName                            DynamicKey
	NodeJsScriptName                         DynamicKey
	OracleSid                                DynamicKey
	PgIDCalcInputKeyLinkage                  DynamicKey
	PHPScriptPath                            DynamicKey
	PHPWorkingDirectory                      DynamicKey
	RubyAppRootPath                          DynamicKey
	RubyScriptPath                           DynamicKey
	RuleResult                               DynamicKey
	SoftwareAGInstallRoot                    DynamicKey
	SoftwareAGProductpropname                DynamicKey
	SpringBootAppName                        DynamicKey
	SpringBootProfileName                    DynamicKey
	SpringBootStartupClass                   DynamicKey
	TibcoBusinessworksCeAppName              DynamicKey
	TibcoBusinessworksCeVersion              DynamicKey
	TibcoBusinessWorksAppNodeName            DynamicKey
	TibcoBusinessWorksAppSpaceName           DynamicKey
	TibcoBusinessWorksDomainName             DynamicKey
	TibcoBusinessWorksEnginePropertyFile     DynamicKey
	TibcoBusinessWorksEnginePropertyFilePath DynamicKey
	TibcoBusinessWorksHome                   DynamicKey
	VarnishInstanceName                      DynamicKey
	WebLogicClusterName                      DynamicKey
	WebLogicDomainName                       DynamicKey
	WebLogicHome                             DynamicKey
	WebLogicName                             DynamicKey
	WebSphereCellName                        DynamicKey
	WebSphereClusterName                     DynamicKey
	WebSphereNodeName                        DynamicKey
	WebSphereServerName                      DynamicKey
}{
	"AMAZON_ECR_IMAGE_ACCOUNT_ID",
	"AMAZON_ECR_IMAGE_REGION",
	"AMAZON_LAMBDA_FUNCTION_NAME",
	"AMAZON_REGION",
	"APACHE_CONFIG_PATH",
	"APACHE_SPARK_MASTER_IP_ADDRESS",
	"ASP_DOT_NET_CORE_APPLICATION_PATH",
	"AWS_ECS_CLUSTER",
	"AWS_ECS_CONTAINERNAME",
	"AWS_ECS_FAMILY",
	"AWS_ECS_REVISION",
	"CASSANDRA_CLUSTER_NAME",
	"CATALINA_BASE",
	"CATALINA_HOME",
	"CLOUD_FOUNDRY_APP_ID",
	"CLOUD_FOUNDRY_APP_NAME",
	"CLOUD_FOUNDRY_INSTANCE_INDEX",
	"CLOUD_FOUNDRY_SPACE_ID",
	"CLOUD_FOUNDRY_SPACE_NAME",
	"COLDFUSION_JVM_CONFIG_FILE",
	"COLDFUSION_SERVICE_NAME",
	"COMMAND_LINE_ARGS",
	"DOTNET_COMMAND",
	"DOTNET_COMMAND_PATH",
	"DYNATRACE_CLUSTER_ID",
	"DYNATRACE_NODE_ID",
	"ELASTICSEARCH_CLUSTER_NAME",
	"ELASTICSEARCH_NODE_NAME",
	"EQUINOX_CONFIG_PATH",
	"EXE_NAME",
	"EXE_PATH",
	"GLASS_FISH_DOMAIN_NAME",
	"GLASS_FISH_INSTANCE_NAME",
	"GOOGLE_APP_ENGINE_INSTANCE",
	"GOOGLE_APP_ENGINE_SERVICE",
	"GOOGLE_CLOUD_PROJECT",
	"HYBRIS_BIN_DIRECTORY",
	"HYBRIS_CONFIG_DIRECTORY",
	"HYBRIS_DATA_DIRECTORY",
	"IBM_CICS_REGION",
	"IBM_CTG_NAME",
	"IBM_IMS_CONNECT_REGION",
	"IBM_IMS_CONTROL_REGION",
	"IBM_IMS_MESSAGE_PROCESSING_REGION",
	"IBM_IMS_SOAP_GW_NAME",
	"IBM_INTEGRATION_NODE_NAME",
	"IBM_INTEGRATION_SERVER_NAME",
	"IIS_APP_POOL",
	"IIS_ROLE_NAME",
	"JAVA_JAR_FILE",
	"JAVA_JAR_PATH",
	"JAVA_MAIN_CLASS",
	"JAVA_MAIN_MODULE",
	"JBOSS_HOME",
	"JBOSS_MODE",
	"JBOSS_SERVER_NAME",
	"KUBERNETES_BASE_POD_NAME",
	"KUBERNETES_CONTAINER_NAME",
	"KUBERNETES_FULL_POD_NAME",
	"KUBERNETES_NAMESPACE",
	"KUBERNETES_POD_UID",
	"MSSQL_INSTANCE_NAME",
	"NODE_JS_APP_BASE_DIRECTORY",
	"NODE_JS_APP_NAME",
	"NODE_JS_SCRIPT_NAME",
	"ORACLE_SID",
	"PG_ID_CALC_INPUT_KEY_LINKAGE",
	"PHP_SCRIPT_PATH",
	"PHP_WORKING_DIRECTORY",
	"RUBY_APP_ROOT_PATH",
	"RUBY_SCRIPT_PATH",
	"RULE_RESULT",
	"SOFTWAREAG_INSTALL_ROOT",
	"SOFTWAREAG_PRODUCTPROPNAME",
	"SPRINGBOOT_APP_NAME",
	"SPRINGBOOT_PROFILE_NAME",
	"SPRINGBOOT_STARTUP_CLASS",
	"TIBCO_BUSINESSWORKS_CE_APP_NAME",
	"TIBCO_BUSINESSWORKS_CE_VERSION",
	"TIBCO_BUSINESS_WORKS_APP_NODE_NAME",
	"TIBCO_BUSINESS_WORKS_APP_SPACE_NAME",
	"TIBCO_BUSINESS_WORKS_DOMAIN_NAME",
	"TIBCO_BUSINESS_WORKS_ENGINE_PROPERTY_FILE",
	"TIBCO_BUSINESS_WORKS_ENGINE_PROPERTY_FILE_PATH",
	"TIBCO_BUSINESS_WORKS_HOME",
	"VARNISH_INSTANCE_NAME",
	"WEB_LOGIC_CLUSTER_NAME",
	"WEB_LOGIC_DOMAIN_NAME",
	"WEB_LOGIC_HOME",
	"WEB_LOGIC_NAME",
	"WEB_SPHERE_CELL_NAME",
	"WEB_SPHERE_CLUSTER_NAME",
	"WEB_SPHERE_NODE_NAME",
	"WEB_SPHERE_SERVER_NAME",
}

DynamicKeys offers the known enum values

Functions

This section is empty.

Types

type Attribute

type Attribute string

Attribute The attribute to be used for comparision.

type BaseConditionKey

type BaseConditionKey struct {
	Attribute Attribute                  `json:"attribute"`      // The attribute to be used for comparision.
	Type      *ConditionKeyType          `json:"type,omitempty"` // Defines the actual set of fields depending on the value. See one of the following objects:  * `PROCESS_CUSTOM_METADATA_KEY` -> CustomProcessMetadataConditionKey  * `HOST_CUSTOM_METADATA_KEY` -> CustomHostMetadataConditionKey  * `PROCESS_PREDEFINED_METADATA_KEY` -> ProcessMetadataConditionKey  * `STRING` -> StringConditionKey
	Unknowns  map[string]json.RawMessage `json:"-"`
}

BaseConditionKey The key to identify the data we're matching. The actual set of fields and possible values vary, depending on the **type** of the key. Find the list of actual objects in the description of the **type** field.

func (*BaseConditionKey) GetAttribute

func (bck *BaseConditionKey) GetAttribute() Attribute

func (*BaseConditionKey) GetType

func (bck *BaseConditionKey) GetType() *ConditionKeyType

func (*BaseConditionKey) MarshalHCL

func (bck *BaseConditionKey) MarshalHCL(properties hcl.Properties) error

func (*BaseConditionKey) MarshalJSON

func (bck *BaseConditionKey) MarshalJSON() ([]byte, error)

func (*BaseConditionKey) Schema

func (bck *BaseConditionKey) Schema() map[string]*schema.Schema

func (*BaseConditionKey) UnmarshalHCL

func (bck *BaseConditionKey) UnmarshalHCL(decoder hcl.Decoder) error

func (*BaseConditionKey) UnmarshalJSON

func (bck *BaseConditionKey) UnmarshalJSON(data []byte) error

type ConditionKeyType

type ConditionKeyType string

ConditionKeyType Defines the actual set of fields depending on the value. See one of the following objects: * `PROCESS_CUSTOM_METADATA_KEY` -> CustomProcessMetadataConditionKey * `HOST_CUSTOM_METADATA_KEY` -> CustomHostMetadataConditionKey * `PROCESS_PREDEFINED_METADATA_KEY` -> ProcessMetadataConditionKey * `STRING` -> StringConditionKey * `STATIC` -> StringConditionKey

func (ConditionKeyType) Ref

func (*ConditionKeyType) String

func (v *ConditionKeyType) String() string

type CustomHostMetadata

type CustomHostMetadata struct {
	BaseConditionKey
	DynamicKey *CustomHostMetadataKey `json:"dynamicKey"` // The key of the attribute, which need dynamic keys.  Not applicable otherwise, as the attibute itself acts as a key.
}

CustomHostMetadata The key for dynamic attributes of the `HOST_CUSTOM_METADATA_KEY` type.

func (*CustomHostMetadata) GetType

func (chmck *CustomHostMetadata) GetType() *ConditionKeyType

func (*CustomHostMetadata) MarshalHCL

func (chmck *CustomHostMetadata) MarshalHCL(properties hcl.Properties) error

func (*CustomHostMetadata) MarshalJSON

func (chmck *CustomHostMetadata) MarshalJSON() ([]byte, error)

func (*CustomHostMetadata) Schema

func (chmck *CustomHostMetadata) Schema() map[string]*schema.Schema

func (*CustomHostMetadata) UnmarshalHCL

func (chmck *CustomHostMetadata) UnmarshalHCL(decoder hcl.Decoder) error

func (*CustomHostMetadata) UnmarshalJSON

func (chmck *CustomHostMetadata) UnmarshalJSON(data []byte) error

type CustomHostMetadataKey

type CustomHostMetadataKey struct {
	Key      string                      `json:"key"`    // The actual key of the custom metadata.
	Source   CustomHostMetadataKeySource `json:"source"` // The source of the custom metadata.
	Unknowns map[string]json.RawMessage  `json:"-"`
}

CustomHostMetadataKey The key of the attribute, which need dynamic keys. Not applicable otherwise, as the attibute itself acts as a key.

func (*CustomHostMetadataKey) MarshalHCL

func (chmk *CustomHostMetadataKey) MarshalHCL(properties hcl.Properties) error

func (*CustomHostMetadataKey) MarshalJSON

func (chmk *CustomHostMetadataKey) MarshalJSON() ([]byte, error)

func (*CustomHostMetadataKey) Schema

func (chmk *CustomHostMetadataKey) Schema() map[string]*schema.Schema

func (*CustomHostMetadataKey) UnmarshalHCL

func (chmk *CustomHostMetadataKey) UnmarshalHCL(decoder hcl.Decoder) error

func (*CustomHostMetadataKey) UnmarshalJSON

func (chmk *CustomHostMetadataKey) UnmarshalJSON(data []byte) error

type CustomHostMetadataKeySource

type CustomHostMetadataKeySource string

CustomHostMetadataKeySource The source of the custom metadata.

type CustomProcessMetadata

type CustomProcessMetadata struct {
	BaseConditionKey
	DynamicKey *CustomProcessMetadataKey  `json:"dynamicKey"` // The key of the attribute, which need dynamic keys.  Not applicable otherwise, as the attibute itself acts as a key.
	Unknowns   map[string]json.RawMessage `json:"-"`
}

CustomProcessMetadata The key for dynamic attributes of the `PROCESS_CUSTOM_METADATA_KEY` type.

func (*CustomProcessMetadata) GetType

func (cpmck *CustomProcessMetadata) GetType() *ConditionKeyType

func (*CustomProcessMetadata) MarshalHCL

func (cpmck *CustomProcessMetadata) MarshalHCL(properties hcl.Properties) error

func (*CustomProcessMetadata) MarshalJSON

func (cpmck *CustomProcessMetadata) MarshalJSON() ([]byte, error)

func (*CustomProcessMetadata) Schema

func (cpmck *CustomProcessMetadata) Schema() map[string]*schema.Schema

func (*CustomProcessMetadata) UnmarshalHCL

func (cpmck *CustomProcessMetadata) UnmarshalHCL(decoder hcl.Decoder) error

func (*CustomProcessMetadata) UnmarshalJSON

func (cpmck *CustomProcessMetadata) UnmarshalJSON(data []byte) error

type CustomProcessMetadataKey

type CustomProcessMetadataKey struct {
	Source   CustomProcessMetadataKeySource `json:"source"` // The source of the custom metadata.
	Key      string                         `json:"key"`    // The actual key of the custom metadata.
	Unknowns map[string]json.RawMessage     `json:"-"`
}

CustomProcessMetadataKey The key of the attribute, which need dynamic keys. Not applicable otherwise, as the attibute itself acts as a key.

func (*CustomProcessMetadataKey) MarshalHCL

func (cpmk *CustomProcessMetadataKey) MarshalHCL(properties hcl.Properties) error

func (*CustomProcessMetadataKey) MarshalJSON

func (cpmk *CustomProcessMetadataKey) MarshalJSON() ([]byte, error)

func (*CustomProcessMetadataKey) Schema

func (cpmk *CustomProcessMetadataKey) Schema() map[string]*schema.Schema

func (*CustomProcessMetadataKey) UnmarshalHCL

func (cpmk *CustomProcessMetadataKey) UnmarshalHCL(decoder hcl.Decoder) error

func (*CustomProcessMetadataKey) UnmarshalJSON

func (cpmk *CustomProcessMetadataKey) UnmarshalJSON(data []byte) error

type CustomProcessMetadataKeySource

type CustomProcessMetadataKeySource string

CustomProcessMetadataKeySource The source of the custom metadata.

type DynamicKey

type DynamicKey string

DynamicKey The key of the attribute, which need dynamic keys. Not applicable otherwise, as the attibute itself acts as a key.

func (DynamicKey) Ref

func (v DynamicKey) Ref() *DynamicKey

type Key

type Key interface {
	MarshalHCL(hcl.Properties) error
	UnmarshalHCL(decoder hcl.Decoder) error
	MarshalJSON() ([]byte, error)
	UnmarshalJSON(data []byte) error
	GetAttribute() Attribute
	GetType() *ConditionKeyType
	Schema() map[string]*schema.Schema
}

Key The key to identify the data we're matching. The actual set of fields and possible values vary, depending on the **type** of the key. Find the list of actual objects in the description of the **type** field.

type ProcessMetadata

type ProcessMetadata struct {
	BaseConditionKey
	DynamicKey *DynamicKey `json:"dynamicKey"` // The key of the attribute, which need dynamic keys. Not applicable otherwise, as the attibute itself acts as a key.
}

ProcessMetadata The key for dynamic attributes of the `PROCESS_PREDEFINED_METADATA_KEY` type.

func (*ProcessMetadata) GetType

func (pmck *ProcessMetadata) GetType() *ConditionKeyType

func (*ProcessMetadata) MarshalHCL

func (pmck *ProcessMetadata) MarshalHCL(properties hcl.Properties) error

func (*ProcessMetadata) MarshalJSON

func (pmck *ProcessMetadata) MarshalJSON() ([]byte, error)

func (*ProcessMetadata) Schema

func (pmck *ProcessMetadata) Schema() map[string]*schema.Schema

func (*ProcessMetadata) UnmarshalHCL

func (pmck *ProcessMetadata) UnmarshalHCL(decoder hcl.Decoder) error

func (*ProcessMetadata) UnmarshalJSON

func (pmck *ProcessMetadata) UnmarshalJSON(data []byte) error

type String

type String struct {
	BaseConditionKey
	DynamicKey string `json:"dynamicKey"` // The key of the attribute, which need dynamic keys. Not applicable otherwise, as the attibute itself acts as a key.
}

String The key for dynamic attributes of the `STRING` type.

func (*String) GetType

func (sck *String) GetType() *ConditionKeyType

func (*String) MarshalHCL

func (sck *String) MarshalHCL(properties hcl.Properties) error

func (*String) MarshalJSON

func (sck *String) MarshalJSON() ([]byte, error)

func (*String) Schema

func (sck *String) Schema() map[string]*schema.Schema

func (*String) UnmarshalHCL

func (sck *String) UnmarshalHCL(decoder hcl.Decoder) error

func (*String) UnmarshalJSON

func (sck *String) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL