Documentation ¶
Index ¶
- Constants
- func NewSubscription() *subscription.Subscription
- func SuppressIfImportedFromGKE(k, old, new string, d *schema.ResourceData) bool
- func ToJson(object interface{}) (string, error)
- type AKSClusterWrapper
- type AWSClusterWrapper
- type DataIntegrationResourceTerraformResource
- func (res *DataIntegrationResourceTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.DataIntegration, error)
- func (res *DataIntegrationResourceTerraformResource) OnRead(extendedResourceDefinition *aws.DataIntegration, ...) error
- func (res *DataIntegrationResourceTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.DataIntegration, error)
- type DataIntegrationWrapper
- type ECSClusterWrapper
- type ECSLaunchSpecWrapper
- type ElastigroupAWSBeanstalkTerraformResource
- func (res *ElastigroupAWSBeanstalkTerraformResource) MaintenanceState(resourceData *schema.ResourceData, meta interface{}) (string, error)
- func (res *ElastigroupAWSBeanstalkTerraformResource) OnCreate(importedGroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) (*aws.Group, error)
- func (res *ElastigroupAWSBeanstalkTerraformResource) OnRead(elastigroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) error
- func (res *ElastigroupAWSBeanstalkTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.Group, error)
- type ElastigroupAWSBeanstalkWrapper
- type ElastigroupAzureTerraformResource
- func (res *ElastigroupAzureTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*azure.Group, error)
- func (res *ElastigroupAzureTerraformResource) OnRead(elastigroup *azure.Group, resourceData *schema.ResourceData, meta interface{}) error
- func (res *ElastigroupAzureTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *azure.Group, error)
- type ElastigroupAzureV3TerraformResource
- func (res *ElastigroupAzureV3TerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*azurev3.Group, error)
- func (res *ElastigroupAzureV3TerraformResource) OnRead(elastigroup *azurev3.Group, resourceData *schema.ResourceData, ...) error
- func (res *ElastigroupAzureV3TerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *azurev3.Group, error)
- type ElastigroupAzureV3Wrapper
- type ElastigroupAzureWrapper
- type ElastigroupGCPTerraformResource
- func (res *ElastigroupGCPTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
- func (res *ElastigroupGCPTerraformResource) OnRead(elastigroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) error
- func (res *ElastigroupGCPTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Group, error)
- type ElastigroupGCPWrapper
- type ElastigroupGKETerraformResource
- func (res *ElastigroupGKETerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
- func (res *ElastigroupGKETerraformResource) OnImport(templateGroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) (*gcp.ImportGKEGroup, error)
- func (res *ElastigroupGKETerraformResource) OnMerge(importedGroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
- func (res *ElastigroupGKETerraformResource) OnRead(elastigroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) error
- func (res *ElastigroupGKETerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Group, error)
- type ElastigroupGKEWrapper
- type ElastigroupTerraformResource
- func (res *ElastigroupTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.Group, error)
- func (res *ElastigroupTerraformResource) OnRead(elastigroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) error
- func (res *ElastigroupTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.Group, error)
- type ElastigroupWrapper
- type ExtendedResourceDefinitionWrapper
- type FieldName
- type GKEClusterWrapper
- type GKEImportClusterWrapper
- type GKELaunchSpecImportWrapper
- type GenericField
- type GenericFields
- type GenericResource
- type HealthCheckTerraformResource
- func (res *HealthCheckTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*healthcheck.HealthCheck, error)
- func (res *HealthCheckTerraformResource) OnRead(healthCheck *healthcheck.HealthCheck, resourceData *schema.ResourceData, ...) error
- func (res *HealthCheckTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *healthcheck.HealthCheck, error)
- type HealthCheckWrapper
- type ImportGKEWrapper
- type LaunchSpecGKEWrapper
- type LaunchSpecWrapper
- type LogFormat
- type MRScalerAWSTerraformResource
- func (res *MRScalerAWSTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*mrscaler.Scaler, error)
- func (res *MRScalerAWSTerraformResource) OnRead(mrscaler *mrscaler.Scaler, resourceData *schema.ResourceData, meta interface{}) error
- func (res *MRScalerAWSTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *mrscaler.Scaler, error)
- type MRScalerAWSWrapper
- type ManagedInstanceTerraformResource
- func (res *ManagedInstanceTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.ManagedInstance, error)
- func (res *ManagedInstanceTerraformResource) OnRead(managedInstance *aws.ManagedInstance, resourceData *schema.ResourceData, ...) error
- func (res *ManagedInstanceTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ManagedInstance, error)
- type MangedInstanceAWSWrapper
- type MultaiBalancerTerraformResource
- func (res *MultaiBalancerTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.LoadBalancer, error)
- func (res *MultaiBalancerTerraformResource) OnRead(balancer *multai.LoadBalancer, resourceData *schema.ResourceData, ...) error
- func (res *MultaiBalancerTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.LoadBalancer, error)
- type MultaiBalancerWrapper
- type MultaiDeploymentTerraformResource
- func (res *MultaiDeploymentTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.Deployment, error)
- func (res *MultaiDeploymentTerraformResource) OnRead(deployment *multai.Deployment, resourceData *schema.ResourceData, ...) error
- func (res *MultaiDeploymentTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Deployment, error)
- type MultaiDeploymentWrapper
- type MultaiListenerTerraformResource
- func (res *MultaiListenerTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.Listener, error)
- func (res *MultaiListenerTerraformResource) OnRead(listener *multai.Listener, resourceData *schema.ResourceData, meta interface{}) error
- func (res *MultaiListenerTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Listener, error)
- type MultaiListenerWrapper
- type MultaiRoutingRuleTerraformResource
- func (res *MultaiRoutingRuleTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.RoutingRule, error)
- func (res *MultaiRoutingRuleTerraformResource) OnRead(routingRule *multai.RoutingRule, resourceData *schema.ResourceData, ...) error
- func (res *MultaiRoutingRuleTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.RoutingRule, error)
- type MultaiRoutingRuleWrapper
- type MultaiTargetSetTerraformResource
- func (res *MultaiTargetSetTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.TargetSet, error)
- func (res *MultaiTargetSetTerraformResource) OnRead(targetSet *multai.TargetSet, resourceData *schema.ResourceData, ...) error
- func (res *MultaiTargetSetTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.TargetSet, error)
- type MultaiTargetSetWrapper
- type MultaiTargetTerraformResource
- func (res *MultaiTargetTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*multai.Target, error)
- func (res *MultaiTargetTerraformResource) OnRead(target *multai.Target, resourceData *schema.ResourceData, meta interface{}) error
- func (res *MultaiTargetTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Target, error)
- type MultaiTargetWrapper
- type OceanAKSTerraformResource
- func (res *OceanAKSTerraformResource) OnCreate(importedCluster *azure.Cluster, resourceData *schema.ResourceData, ...) (*azure.Cluster, error)
- func (res *OceanAKSTerraformResource) OnRead(cluster *azure.Cluster, resourceData *schema.ResourceData, meta interface{}) error
- func (res *OceanAKSTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *azure.Cluster, error)
- type OceanAKSVirtualNodeGroupTerraformResource
- func (res *OceanAKSVirtualNodeGroupTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*azure.VirtualNodeGroup, error)
- func (res *OceanAKSVirtualNodeGroupTerraformResource) OnRead(launchSpec *azure.VirtualNodeGroup, resourceData *schema.ResourceData, ...) error
- func (res *OceanAKSVirtualNodeGroupTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *azure.VirtualNodeGroup, error)
- type OceanAWSExtendedResourceDefinitionTerraformResource
- func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.ExtendedResourceDefinition, error)
- func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnRead(extendedResourceDefinition *aws.ExtendedResourceDefinition, ...) error
- func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ExtendedResourceDefinition, error)
- type OceanAWSLaunchSpecTerraformResource
- func (res *OceanAWSLaunchSpecTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.LaunchSpec, error)
- func (res *OceanAWSLaunchSpecTerraformResource) OnRead(launchSpec *aws.LaunchSpec, resourceData *schema.ResourceData, ...) error
- func (res *OceanAWSLaunchSpecTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.LaunchSpec, error)
- type OceanAWSTerraformResource
- func (res *OceanAWSTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.Cluster, error)
- func (res *OceanAWSTerraformResource) OnRead(cluster *aws.Cluster, resourceData *schema.ResourceData, meta interface{}) error
- func (res *OceanAWSTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, bool, bool, *aws.Cluster, error)
- type OceanECSLaunchSpecTerraformResource
- func (res *OceanECSLaunchSpecTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.ECSLaunchSpec, error)
- func (res *OceanECSLaunchSpecTerraformResource) OnRead(launchSpec *aws.ECSLaunchSpec, resourceData *schema.ResourceData, ...) error
- func (res *OceanECSLaunchSpecTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ECSLaunchSpec, error)
- type OceanECSTerraformResource
- func (res *OceanECSTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.ECSCluster, error)
- func (res *OceanECSTerraformResource) OnRead(cluster *aws.ECSCluster, resourceData *schema.ResourceData, meta interface{}) error
- func (res *OceanECSTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, bool, bool, *aws.ECSCluster, error)
- type OceanGKEImportTerraformResource
- func (res *OceanGKEImportTerraformResource) OnCreate(importedCluster *gcp.Cluster, resourceData *schema.ResourceData, ...) (*gcp.Cluster, error)
- func (res *OceanGKEImportTerraformResource) OnRead(cluster *gcp.Cluster, resourceData *schema.ResourceData, meta interface{}) error
- func (res *OceanGKEImportTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, bool, *gcp.Cluster, error)
- type OceanGKELaunchSpecImportTerraformResource
- func (res *OceanGKELaunchSpecImportTerraformResource) OnCreate(importedLaunchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, ...) (*gcp.LaunchSpec, error)
- func (res *OceanGKELaunchSpecImportTerraformResource) OnRead(launchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, ...) error
- func (res *OceanGKELaunchSpecImportTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.LaunchSpec, error)
- type OceanGKELaunchSpecTerraformResource
- func (res *OceanGKELaunchSpecTerraformResource) OnCreate(importedLaunchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, ...) (*gcp.LaunchSpec, error)
- func (res *OceanGKELaunchSpecTerraformResource) OnRead(launchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, ...) error
- func (res *OceanGKELaunchSpecTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.LaunchSpec, error)
- type OceanGKETerraformResource
- func (res *OceanGKETerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*gcp.Cluster, error)
- func (res *OceanGKETerraformResource) OnRead(cluster *gcp.Cluster, resourceData *schema.ResourceData, meta interface{}) error
- func (res *OceanGKETerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Cluster, error)
- type ResourceAffinity
- type ResourceName
- type StatefulNodeAzureV3TerraformResource
- func (res *StatefulNodeAzureV3TerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*azure.StatefulNode, error)
- func (res *StatefulNodeAzureV3TerraformResource) OnRead(statefulNode *azure.StatefulNode, resourceData *schema.ResourceData, ...) error
- func (res *StatefulNodeAzureV3TerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *azure.StatefulNode, error)
- type StatefulNodeAzureV3Wrapper
- type SubscriptionTerraformResource
- func (res *SubscriptionTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*subscription.Subscription, error)
- func (res *SubscriptionTerraformResource) OnRead(subscription *subscription.Subscription, resourceData *schema.ResourceData, ...) error
- func (res *SubscriptionTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *subscription.Subscription, error)
- type SuspendProcessesTerraformResource
- func (res *SuspendProcessesTerraformResource) OnCreate(resourceData *schema.ResourceData, meta interface{}) (*aws.SuspendProcesses, error)
- func (res *SuspendProcessesTerraformResource) OnRead(suspendProcesses *aws.SuspendProcesses, resourceData *schema.ResourceData, ...) error
- func (res *SuspendProcessesTerraformResource) OnUpdate(resourceData *schema.ResourceData, meta interface{}) (bool, *aws.SuspendProcesses, error)
- type SuspendProcessesWrapper
- type VirtualNodeGroupAKSWrapper
Constants ¶
const ( FailureFieldReadPattern = "failed reading field %v - %#v" FailureFieldCreatePattern = "failed creating field %v - %#v" FailureFieldUpdatePattern = "failed updating field %v - %#v" FieldUpdateNotAllowedPattern = "field [%v] is immutable, cannot be changed post creation" FieldCreateNotAllowedPattern = "field [%v] can only be changed post creation" ProviderToken FieldName = "token" ProviderAccount FieldName = "account" ProviderFeatureFlags FieldName = "feature_flags" Subscription ResourceAffinity = "Subscription" ElastigroupAWSBeanstalk ResourceAffinity = "ElastigroupAWSBeanstalk" ElastigroupAWSBeanstalkScheduledTask ResourceAffinity = "ElastigroupAWSBeanstalk_Scheduled_Task" OceanAWS ResourceAffinity = "Ocean_AWS" OceanAWSInstanceTypes ResourceAffinity = "Ocean_AWS_Instance_Types" OceanAWSAutoScaling ResourceAffinity = "Ocean_AWS_Auto_Scaling" OceanAWSStrategy ResourceAffinity = "Ocean_AWS_Strategy" OceanAWSScheduling ResourceAffinity = "Ocean_AWS_Scheduling" OceanAWSLaunchConfiguration ResourceAffinity = "Ocean_AWS_Launch_Configuration" OceanAwsLogging ResourceAffinity = "Ocean_AWS_Logging" OceanAWSLaunchSpec ResourceAffinity = "Ocean_AWS_Launch_Spec" OceanAWSExtendedResourceDefinition ResourceAffinity = "Ocean_AWS_Extended_Resource_Definition" OceanGKE ResourceAffinity = "Ocean_GKE" OceanGKEImport ResourceAffinity = "Ocean_GKE_Import" OceanGKEImportScheduling ResourceAffinity = "Ocean_GKE_Import_Scheduling" OceanGKEImportAutoScaler ResourceAffinity = "Ocean_GKE_Import_Auto_Scaler" OceanGKEImportLaunchSpecification ResourceAffinity = "Ocean_GKE_Import_Launch_Specification" OceanGKEImportStrategy ResourceAffinity = "Ocean_GKE_Import_Strategy" OceanGKEInstanceTypes ResourceAffinity = "Ocean_GKE_Instance_Types" OceanGKEAutoScaling ResourceAffinity = "Ocean_GKE_Auto_Scaling" OceanGKEStrategy ResourceAffinity = "Ocean_GKE_Strategy" OceanGKELaunchSpec ResourceAffinity = "Ocean_GKE_Launch_Spec" OceanGKELaunchSpecStrategy ResourceAffinity = "Ocean_GKE_Launch_Spec_Strategy" OceanGKELaunchSpecImport ResourceAffinity = "Ocean_GKE_Launch_Spec_Import" OceanGKENetworkInterface ResourceAffinity = "Ocean_GKE_Network_Interface" OceanAKS ResourceAffinity = "Ocean_AKS" OceanAKSLogin ResourceAffinity = "Ocean_AKS_Login" OceanAKSStrategy ResourceAffinity = "Ocean_AKS_Strategy" OceanAKSHealth ResourceAffinity = "Ocean_AKS_Health" OceanAKSAutoScaling ResourceAffinity = "Ocean_AKS_Auto_Scaling" OceanAKSLaunchSpecification ResourceAffinity = "Ocean_AKS_Launch_Specification" OceanAKSImage ResourceAffinity = "Ocean_AKS_Image" OceanAKSExtensions ResourceAffinity = "Ocean_AKS_Extensions" OceanAKSLoadBalancers ResourceAffinity = "Ocean_AKS_Load_Balancers_Config" OceanAKSNetwork ResourceAffinity = "Ocean_AKS_Network" OceanAKSVMSizes ResourceAffinity = "Ocean_AKS_VMSizes" OceanAKSVirtualNodeGroup ResourceAffinity = "Ocean_AKS_virtual_node_group" OceanAKSVirtualNodeGroupAutoScaling ResourceAffinity = "Ocean_AKS_virtual_node_group_Auto_Scaling" OceanAKSVirtualNodeGroupLaunchSpecification ResourceAffinity = "Ocean_AKS_virtual_node_group_launch_specification" OceanECS ResourceAffinity = "Ocean_ECS" OceanECSAutoScaler ResourceAffinity = "Ocean_ECS_Auto_Scaler" OceanECSInstanceTypes ResourceAffinity = "Ocean_ECS_Instance_Types" OceanECSLaunchSpecification ResourceAffinity = "Ocean_ECS_Launch_Specification" OceanECSStrategy ResourceAffinity = "Ocean_ECS_Strategy" OceanECSScheduling ResourceAffinity = "Ocean_ECS_Scheduling" OceanECSOptimizeImages ResourceAffinity = "Ocean_ECS_Optimize_Images" OceanECSLogging ResourceAffinity = "Ocean_ECS_Logging" OceanECSLaunchSpec ResourceAffinity = "Ocean_ECS_Launch_Spec" ElastigroupAWS ResourceAffinity = "Elastigroup_AWS" ElastigroupAWSInstanceType ResourceAffinity = "Elastigroup_AWS_Instance_Type" ElastigroupAWSStrategy ResourceAffinity = "Elastigroup_AWS_Strategy" ElastigroupAWSStateful ResourceAffinity = "Elastigroup_AWS_Stateful" ElastigroupAWSLaunchConfiguration ResourceAffinity = "Elastigroup_AWS_Launch_Configuration" ElastigroupAWSNetworkInterface ResourceAffinity = "Elastigroup_AWS_Network_Interface" ElastigroupAWSScheduledTask ResourceAffinity = "Elastigroup_AWS_Scheduled_Task" ElastigroupAWSBlockDevices ResourceAffinity = "Elastigroup_AWS_Block_Device" ElastigroupAWSScalingPolicies ResourceAffinity = "Elastigroup_AWS_Scaling_Policies" ElastigroupAWSIntegrations ResourceAffinity = "Elastigroup_AWS_Integrations" ManagedInstanceAWS ResourceAffinity = "Managed_Instance_AWS" ManagedInstanceAWSStrategy ResourceAffinity = "Managed_Instance_AWS_Strategy" ManagedInstanceAWSPersistence ResourceAffinity = "Managed_Instance_AWS_Persistence" ManagedInstanceAWSHealthCheck ResourceAffinity = "Managed_Instance_AWS_HealthCheck" ManagedInstanceAWSIntegrations ResourceAffinity = "Managed_Instance_AWS_Integrations" ManagedInstanceAWSCompute ResourceAffinity = "Managed_Instance_AWS_Compute" ManagedInstanceAWSLaunchSpecification ResourceAffinity = "Managed_Instance_AWS_Launch_Specification" ManagedInstanceAWSNetworkInterfaces ResourceAffinity = "Managed_Instance_AWS_Network_Interfaces" ManagedInstanceAWSScheduling ResourceAffinity = "Managed_Instance_AWS_Scheduling" ManagedInstanceAWSComputeInstanceType ResourceAffinity = "Managed_Instance_AWS_Compute_Instance_Type" ElastigroupGCP ResourceAffinity = "Elastigroup_GCP" ElastigroupGCPDisk ResourceAffinity = "Elastigroup_GCP_Disk" ElastigroupGCPGPU ResourceAffinity = "Elastigroup_GPC_GPU" ElastigroupGCPInstanceType ResourceAffinity = "Elastigroup_GCP_Instance_Type" ElastigroupGCPIntegrations ResourceAffinity = "Elastigroup_GCP_Integrations" ElastigroupGCPLaunchConfiguration ResourceAffinity = "Elastigroup_GCP_Launch_Configuration" ElastigroupGCPNetworkInterface ResourceAffinity = "Elastigroup_GCP_Network_Interface" ElastigroupGCPScalingPolicies ResourceAffinity = "Elastigroup_GCP_Scaling_Policies" ElastigroupGCPScheduledTask ResourceAffinity = "Elastigroup_GCP_Scheduled_Task" ElastigroupGCPStrategy ResourceAffinity = "Elastigroup_GCP_Strategy" ElastigroupGKE ResourceAffinity = "Elastigroup_GKE" ElastigroupAzure ResourceAffinity = "Elastigroup_Azure" ElastigroupAzureStrategy ResourceAffinity = "Elastigroup_Azure_Strategy" ElastigroupAzureLogin ResourceAffinity = "Elastigroup_Azure_Login" ElastigroupAzureNetwork ResourceAffinity = "Elastigroup_Azure_Network" ElastigroupAzureLoadBalancers ResourceAffinity = "Elastigroup_Azure_Load_Balancers" ElastigroupAzureVMSizes ResourceAffinity = "Elastigroup_Azure_VM_Sizes" ElastigroupAzureImage ResourceAffinity = "Elastigroup_Azure_Image" ElastigroupAzureIntegrations ResourceAffinity = "Elastigroup_Azure_Integrations" ElastigroupAzureLaunchConfiguration ResourceAffinity = "Elastigroup_Azure_Launch_Configuration" ElastigroupAzureHealthCheck ResourceAffinity = "Elastigroup_Azure_Health_Check" ElastigroupAzureScalingPolicies ResourceAffinity = "Elastigroup_Azure_Scaling_Policies" ElastigroupAzureScheduledTask ResourceAffinity = "Elastigroup_Azure_Scheduled_Task" ElastigroupAzureLaunchSpecification ResourceAffinity = "Elastigroup_Azure_Launch_Specification" MRScalerAWS ResourceAffinity = "MRScaler_AWS" MRScalerAWSTaskScalingPolicies ResourceAffinity = "MRScaler_Task_AWS_Scaling_Polices" MRScalerAWSCoreScalingPolicies ResourceAffinity = "MRScaler_Core_AWS_Scaling_Polices" MRScalerAWSCoreGroup ResourceAffinity = "MRScaler_AWS_Core_Group" MRScalerAWSMasterGroup ResourceAffinity = "MRScaler_AWS_Master_Group" MRScalerAWSTaskGroup ResourceAffinity = "MRScaler_AWS_Task_Group" MRScalerAWSStrategy ResourceAffinity = "MRScaler_AWS_Strategy" MRScalerAWSCluster ResourceAffinity = "MRScaler_AWS_Cluster" MRScalerAWSScheduledTask ResourceAffinity = "MRScaler_AWS_Scheduled_Task" MRScalerAWSTerminationPolicies ResourceAffinity = "MRScaler_AWS_Termination_Policies" MultaiBalancer ResourceAffinity = "Multai_Balancer" MultaiDeployment ResourceAffinity = "Multai_Deployment" MultaiListener ResourceAffinity = "Multai_Listener" MultaiRoutingRule ResourceAffinity = "Multai_Routing_Rule" MultaiTarget ResourceAffinity = "Multai_Target" MultaiTargetSet ResourceAffinity = "Multai_Target_Set" DataIntegration ResourceAffinity = "Data_Integration" HealthCheck ResourceAffinity = "Health_Check" SuspendProcesses ResourceAffinity = "Suspend_Processes" StatefulNodeAzure ResourceAffinity = "Stateful_Node_Azure" StatefulNodeAzureStrategy ResourceAffinity = "Stateful_Node_Azure_Strategy" StatefulNodeAzureNetwork ResourceAffinity = "Stateful_Node_Azure_Network" StatefulNodeAzureLoadBalancer ResourceAffinity = "Stateful_Node_Azure_Load_Balancer" StatefulNodeAzureLogin ResourceAffinity = "Stateful_Node_Azure_Login" StatefulNodeAzureVMSizes ResourceAffinity = "Stateful_Node_Azure_VM_Sizes" StatefulNodeAzureImage ResourceAffinity = "Stateful_Node_Azure_Image" StatefulNodeAzurePersistence ResourceAffinity = "Stateful_Node_Azure_Persistence" StatefulNodeAzureHealth ResourceAffinity = "Stateful_Node_Azure_Health" StatefulNodeAzureScheduling ResourceAffinity = "Stateful_Node_Azure_Scheduling" StatefulNodeAzureLaunchSpecification ResourceAffinity = "Stateful_Node_Azure_Launch_Specification" StatefulNodeAzureExtensions ResourceAffinity = "Stateful_Node_Azure_Extensions" StatefulNodeAzureSecret ResourceAffinity = "Stateful_Node_Azure_Secret" ResourceFieldOnRead LogFormat = "onRead() -> %s -> %s" ResourceFieldOnCreate LogFormat = "onCreate() -> %s -> %s" ResourceFieldOnUpdate LogFormat = "onUpdate() -> %s -> %s" ResourceFieldOnMerge LogFormat = "onMerge() -> %s -> %s" ResourceOnDelete LogFormat = "onDelete() -> %s -> started for %s..." ResourceOnUpdate LogFormat = "onUpdate() -> %s -> started for %s..." ResourceOnRead LogFormat = "onRead() -> %s -> started for %s..." ResourceOnCreate LogFormat = "onCreate() -> %s -> started..." )
Variables ¶
This section is empty.
Functions ¶
func NewSubscription ¶ added in v1.1.0
func NewSubscription() *subscription.Subscription
func SuppressIfImportedFromGKE ¶ added in v1.10.0
func SuppressIfImportedFromGKE(k, old, new string, d *schema.ResourceData) bool
SuppressIfImportedFromGKE suppresses a large diff between the state and user's template as a result of the import. users may update imported fields, but may not set them to null
Types ¶
type AKSClusterWrapper ¶ added in v1.77.3
type AKSClusterWrapper struct {
// contains filtered or unexported fields
}
func NewAKSClusterWrapper ¶ added in v1.77.3
func NewAKSClusterWrapper() *AKSClusterWrapper
func (*AKSClusterWrapper) GetCluster ¶ added in v1.77.3
func (clusterWrapper *AKSClusterWrapper) GetCluster() *azure.Cluster
func (*AKSClusterWrapper) SetCluster ¶ added in v1.77.3
func (clusterWrapper *AKSClusterWrapper) SetCluster(cluster *azure.Cluster)
type AWSClusterWrapper ¶ added in v1.77.3
type AWSClusterWrapper struct {
// contains filtered or unexported fields
}
func NewClusterWrapper ¶ added in v1.6.0
func NewClusterWrapper() *AWSClusterWrapper
func (*AWSClusterWrapper) GetCluster ¶ added in v1.77.3
func (clusterWrapper *AWSClusterWrapper) GetCluster() *aws.Cluster
func (*AWSClusterWrapper) SetCluster ¶ added in v1.77.3
func (clusterWrapper *AWSClusterWrapper) SetCluster(cluster *aws.Cluster)
type DataIntegrationResourceTerraformResource ¶ added in v1.77.3
type DataIntegrationResourceTerraformResource struct {
GenericResource
}
var DataIntegrationResource *DataIntegrationResourceTerraformResource
func NewDataIntegrationResource ¶ added in v1.77.3
func NewDataIntegrationResource(fieldMap map[FieldName]*GenericField) *DataIntegrationResourceTerraformResource
NewDataIntegrationResource creates a new DataIntegration resource
func (*DataIntegrationResourceTerraformResource) OnCreate ¶ added in v1.77.3
func (res *DataIntegrationResourceTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.DataIntegration, error)
OnCreate is called when creating a new resource block and returns a new DataIntegration resource or an error.
func (*DataIntegrationResourceTerraformResource) OnRead ¶ added in v1.77.3
func (res *DataIntegrationResourceTerraformResource) OnRead( extendedResourceDefinition *aws.DataIntegration, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*DataIntegrationResourceTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *DataIntegrationResourceTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.DataIntegration, error)
OnUpdate is called when updating an existing resource and returns an DataIntegration with a bool indicating if had been updated, or an error.
type DataIntegrationWrapper ¶ added in v1.77.3
type DataIntegrationWrapper struct {
DataIntegration *aws.DataIntegration
}
func NewDataIntegrationWrapper ¶ added in v1.77.3
func NewDataIntegrationWrapper() *DataIntegrationWrapper
Spotinst DataIntegration must have a wrapper struct. the wrapper struct is intended to help reflect the field states into the DataIntegration object properly.
func (*DataIntegrationWrapper) GetDataIntegration ¶ added in v1.77.3
func (diWrapper *DataIntegrationWrapper) GetDataIntegration() *aws.DataIntegration
GetDataIntegration returns a wrapped DataIntegration
func (*DataIntegrationWrapper) SetDataIntegration ¶ added in v1.77.3
func (diWrapper *DataIntegrationWrapper) SetDataIntegration(di *aws.DataIntegration)
SetDataIntegration applies DataIntegration fields to the DataIntegration wrapper.
type ECSClusterWrapper ¶ added in v1.77.3
type ECSClusterWrapper struct {
// contains filtered or unexported fields
}
func NewECSClusterWrapper ¶ added in v1.77.3
func NewECSClusterWrapper() *ECSClusterWrapper
func (*ECSClusterWrapper) GetECSCluster ¶ added in v1.77.3
func (clusterWrapper *ECSClusterWrapper) GetECSCluster() *aws.ECSCluster
func (*ECSClusterWrapper) SetECSCluster ¶ added in v1.77.3
func (clusterWrapper *ECSClusterWrapper) SetECSCluster(cluster *aws.ECSCluster)
type ECSLaunchSpecWrapper ¶ added in v1.77.3
type ECSLaunchSpecWrapper struct {
// contains filtered or unexported fields
}
func NewLaunchSpecECSWrapper ¶ added in v1.77.3
func NewLaunchSpecECSWrapper() *ECSLaunchSpecWrapper
func (*ECSLaunchSpecWrapper) GetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *ECSLaunchSpecWrapper) GetLaunchSpec() *aws.ECSLaunchSpec
func (*ECSLaunchSpecWrapper) SetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *ECSLaunchSpecWrapper) SetLaunchSpec(launchSpec *aws.ECSLaunchSpec)
type ElastigroupAWSBeanstalkTerraformResource ¶ added in v1.5.0
type ElastigroupAWSBeanstalkTerraformResource struct {
GenericResource
}
var ElastigroupAWSBeanstalkResource *ElastigroupAWSBeanstalkTerraformResource
func NewElastigroupAWSBeanstalkResource ¶ added in v1.5.0
func NewElastigroupAWSBeanstalkResource(fieldsMap map[FieldName]*GenericField) *ElastigroupAWSBeanstalkTerraformResource
func (*ElastigroupAWSBeanstalkTerraformResource) MaintenanceState ¶ added in v1.5.0
func (res *ElastigroupAWSBeanstalkTerraformResource) MaintenanceState( resourceData *schema.ResourceData, meta interface{}) (string, error)
func (*ElastigroupAWSBeanstalkTerraformResource) OnCreate ¶ added in v1.5.0
func (res *ElastigroupAWSBeanstalkTerraformResource) OnCreate( importedGroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) (*aws.Group, error)
func (*ElastigroupAWSBeanstalkTerraformResource) OnRead ¶ added in v1.5.0
func (res *ElastigroupAWSBeanstalkTerraformResource) OnRead( elastigroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) error
func (*ElastigroupAWSBeanstalkTerraformResource) OnUpdate ¶ added in v1.5.0
func (res *ElastigroupAWSBeanstalkTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.Group, error)
type ElastigroupAWSBeanstalkWrapper ¶ added in v1.5.0
type ElastigroupAWSBeanstalkWrapper struct { BeanstalkEnvironmentName string // Load balancer states StatusElbUpdated bool StatusTgUpdated bool StatusMlbUpdated bool // Block devices states StatusEphemeralBlockDeviceUpdated bool StatusEbsBlockDeviceUpdated bool // contains filtered or unexported fields }
func NewElastigroupAWSBeanstalkWrapper ¶ added in v1.5.0
func NewElastigroupAWSBeanstalkWrapper() *ElastigroupAWSBeanstalkWrapper
Spotinst elastigroup must have a wrapper struct. Reason is that there are multiple fields who share the same elastigroup API object e.g. LoadBalancersConfig fields and BlockDeviceMapping fields Wrapper struct intended to help reflecting these fields state properly into the elastigroup object.
func (*ElastigroupAWSBeanstalkWrapper) GetElastigroupAWSBeanstalk ¶ added in v1.5.0
func (egWrapper *ElastigroupAWSBeanstalkWrapper) GetElastigroupAWSBeanstalk() *aws.Group
func (*ElastigroupAWSBeanstalkWrapper) SetElastigroupAWSBeanstalk ¶ added in v1.5.0
func (egWrapper *ElastigroupAWSBeanstalkWrapper) SetElastigroupAWSBeanstalk(elastigroup *aws.Group)
type ElastigroupAzureTerraformResource ¶ added in v1.6.0
type ElastigroupAzureTerraformResource struct {
GenericResource
}
var ElastigroupAzureResource *ElastigroupAzureTerraformResource
func NewElastigroupAzureResource ¶ added in v1.6.0
func NewElastigroupAzureResource(fieldsMap map[FieldName]*GenericField) *ElastigroupAzureTerraformResource
func (*ElastigroupAzureTerraformResource) OnCreate ¶ added in v1.6.0
func (res *ElastigroupAzureTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*azure.Group, error)
func (*ElastigroupAzureTerraformResource) OnRead ¶ added in v1.6.0
func (res *ElastigroupAzureTerraformResource) OnRead( elastigroup *azure.Group, resourceData *schema.ResourceData, meta interface{}) error
func (*ElastigroupAzureTerraformResource) OnUpdate ¶ added in v1.6.0
func (res *ElastigroupAzureTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *azure.Group, error)
type ElastigroupAzureV3TerraformResource ¶ added in v1.77.3
type ElastigroupAzureV3TerraformResource struct {
GenericResource
}
var ElastigroupAzureV3Resource *ElastigroupAzureV3TerraformResource
func NewElastigroupAzureV3Resource ¶ added in v1.77.3
func NewElastigroupAzureV3Resource(fieldsMap map[FieldName]*GenericField) *ElastigroupAzureV3TerraformResource
func (*ElastigroupAzureV3TerraformResource) OnCreate ¶ added in v1.77.3
func (res *ElastigroupAzureV3TerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*azurev3.Group, error)
func (*ElastigroupAzureV3TerraformResource) OnRead ¶ added in v1.77.3
func (res *ElastigroupAzureV3TerraformResource) OnRead( elastigroup *azurev3.Group, resourceData *schema.ResourceData, meta interface{}) error
func (*ElastigroupAzureV3TerraformResource) OnUpdate ¶ added in v1.77.3
func (res *ElastigroupAzureV3TerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *azurev3.Group, error)
type ElastigroupAzureV3Wrapper ¶ added in v1.77.3
type ElastigroupAzureV3Wrapper struct {
// contains filtered or unexported fields
}
func NewElastigroupAzureV3Wrapper ¶ added in v1.77.3
func NewElastigroupAzureV3Wrapper() *ElastigroupAzureV3Wrapper
Spotinst elastigroup must have a wrapper struct. Reason is that there are multiple fields who share the same elastigroup API object e.g. LoadBalancersConfig fields and BlockDeviceMapping fields Wrapper struct intended to help reflecting these fields state properly into the elastigroup object.
func (*ElastigroupAzureV3Wrapper) GetElastigroup ¶ added in v1.77.3
func (egWrapper *ElastigroupAzureV3Wrapper) GetElastigroup() *azurev3.Group
func (*ElastigroupAzureV3Wrapper) SetElastigroup ¶ added in v1.77.3
func (egWrapper *ElastigroupAzureV3Wrapper) SetElastigroup(elastigroup *azurev3.Group)
type ElastigroupAzureWrapper ¶ added in v1.6.0
type ElastigroupAzureWrapper struct {
// contains filtered or unexported fields
}
func NewElastigroupAzureWrapper ¶ added in v1.6.0
func NewElastigroupAzureWrapper() *ElastigroupAzureWrapper
Spotinst elastigroup must have a wrapper struct. Reason is that there are multiple fields who share the same elastigroup API object e.g. LoadBalancersConfig fields and BlockDeviceMapping fields Wrapper struct intended to help reflecting these fields state properly into the elastigroup object.
func (*ElastigroupAzureWrapper) GetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupAzureWrapper) GetElastigroup() *azure.Group
func (*ElastigroupAzureWrapper) SetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupAzureWrapper) SetElastigroup(elastigroup *azure.Group)
type ElastigroupGCPTerraformResource ¶ added in v1.6.0
type ElastigroupGCPTerraformResource struct {
GenericResource
}
var ElastigroupGCPResource *ElastigroupGCPTerraformResource
func NewElastigroupGCPResource ¶ added in v1.6.0
func NewElastigroupGCPResource(fieldMap map[FieldName]*GenericField) *ElastigroupGCPTerraformResource
NewElastigroupGCPResource creates a new GCP resource
func (*ElastigroupGCPTerraformResource) OnCreate ¶ added in v1.6.0
func (res *ElastigroupGCPTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
OnCreate is called when creating a new resource block and returns a new elastigroup or an error.
func (*ElastigroupGCPTerraformResource) OnRead ¶ added in v1.6.0
func (res *ElastigroupGCPTerraformResource) OnRead( elastigroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*ElastigroupGCPTerraformResource) OnUpdate ¶ added in v1.6.0
func (res *ElastigroupGCPTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Group, error)
OnUpdate is called when updating an existing resource and returns an elastigroup with a bool indicating if had been updated, or an error.
type ElastigroupGCPWrapper ¶ added in v1.6.0
type ElastigroupGCPWrapper struct {
// contains filtered or unexported fields
}
func NewElastigroupGCPWrapper ¶ added in v1.6.0
func NewElastigroupGCPWrapper() *ElastigroupGCPWrapper
NewElastigroupGCPWrapper avoids parameter collisions and returns a GCP Elastigroup. Spotinst elastigroup must have a wrapper struct. The reason is that there are multiple fields that share the same elastigroup API object. the wrapper struct is intended to help reflect the field states into the elastigroup object properly.
func NewElastigroupGKEWrapper ¶ added in v1.6.0
func NewElastigroupGKEWrapper() *ElastigroupGCPWrapper
NewElastigroupGKEWrapper avoids parameter collisions and returns a GKE Elastigroup. Spotinst elastigroup must have a wrapper struct. The reason is that there are multiple fields that share the same elastigroup API object. the wrapper struct is intended to help reflect the field states into the elastigroup object properly.
func (*ElastigroupGCPWrapper) GetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupGCPWrapper) GetElastigroup() *gcp.Group
GetElastigroup returns a wrapped elastigroup
func (*ElastigroupGCPWrapper) SetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupGCPWrapper) SetElastigroup(elastigroup *gcp.Group)
SetElastigroup applies elastigroup fields to the elastigroup wrapper.
type ElastigroupGKETerraformResource ¶ added in v1.6.0
type ElastigroupGKETerraformResource struct {
GenericResource
}
var ElastigroupGKEResource *ElastigroupGKETerraformResource
func NewElastigroupGKEResource ¶ added in v1.6.0
func NewElastigroupGKEResource(fieldMap map[FieldName]*GenericField) *ElastigroupGKETerraformResource
NewElastigroupGKEResource creates a new GKE resource
func (*ElastigroupGKETerraformResource) OnCreate ¶ added in v1.6.0
func (res *ElastigroupGKETerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
OnCreate is called when creating a new resource block and returns a new elastigroup or an error.
func (*ElastigroupGKETerraformResource) OnImport ¶ added in v1.10.0
func (res *ElastigroupGKETerraformResource) OnImport( templateGroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) (*gcp.ImportGKEGroup, error)
func (*ElastigroupGKETerraformResource) OnMerge ¶ added in v1.10.0
func (res *ElastigroupGKETerraformResource) OnMerge( importedGroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) (*gcp.Group, error)
func (*ElastigroupGKETerraformResource) OnRead ¶ added in v1.6.0
func (res *ElastigroupGKETerraformResource) OnRead( elastigroup *gcp.Group, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*ElastigroupGKETerraformResource) OnUpdate ¶ added in v1.6.0
func (res *ElastigroupGKETerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Group, error)
OnUpdate is called when updating an existing resource and returns an elastigroup with a bool indicating if had been updated, or an error.
type ElastigroupGKEWrapper ¶ added in v1.6.0
type ElastigroupGKEWrapper struct { ClusterID string ClusterZoneName string // contains filtered or unexported fields }
func (*ElastigroupGKEWrapper) GetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupGKEWrapper) GetElastigroup() *gcp.Group
GetElastigroup returns a wrapped elastigroup
func (*ElastigroupGKEWrapper) SetElastigroup ¶ added in v1.6.0
func (egWrapper *ElastigroupGKEWrapper) SetElastigroup(elastigroup *gcp.Group)
SetElastigroup applies elastigroup fields to the elastigroup wrapper.
type ElastigroupTerraformResource ¶ added in v1.1.0
type ElastigroupTerraformResource struct {
GenericResource
}
var ElastigroupResource *ElastigroupTerraformResource
func NewElastigroupResource ¶
func NewElastigroupResource(fieldsMap map[FieldName]*GenericField) *ElastigroupTerraformResource
func (*ElastigroupTerraformResource) OnCreate ¶ added in v1.1.0
func (res *ElastigroupTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.Group, error)
func (*ElastigroupTerraformResource) OnRead ¶ added in v1.1.0
func (res *ElastigroupTerraformResource) OnRead( elastigroup *aws.Group, resourceData *schema.ResourceData, meta interface{}) error
func (*ElastigroupTerraformResource) OnUpdate ¶ added in v1.1.0
func (res *ElastigroupTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.Group, error)
type ElastigroupWrapper ¶ added in v1.1.0
type ElastigroupWrapper struct { // Load balancer states StatusElbUpdated bool StatusTgUpdated bool StatusMlbUpdated bool // Block devices states StatusEphemeralBlockDeviceUpdated bool StatusEbsBlockDeviceUpdated bool // contains filtered or unexported fields }
func NewElastigroupWrapper ¶ added in v1.1.0
func NewElastigroupWrapper() *ElastigroupWrapper
Spotinst elastigroup must have a wrapper struct. Reason is that there are multiple fields who share the same elastigroup API object e.g. LoadBalancersConfig fields and BlockDeviceMapping fields Wrapper struct intended to help reflecting these fields state properly into the elastigroup object.
func (*ElastigroupWrapper) GetElastigroup ¶ added in v1.1.0
func (egWrapper *ElastigroupWrapper) GetElastigroup() *aws.Group
func (*ElastigroupWrapper) SetElastigroup ¶ added in v1.1.0
func (egWrapper *ElastigroupWrapper) SetElastigroup(elastigroup *aws.Group)
type ExtendedResourceDefinitionWrapper ¶ added in v1.77.3
type ExtendedResourceDefinitionWrapper struct {
// contains filtered or unexported fields
}
func NewOceanAWSExtendedResourceDefinitionWrapper ¶ added in v1.77.3
func NewOceanAWSExtendedResourceDefinitionWrapper() *ExtendedResourceDefinitionWrapper
Spotinst ExtendedResourceDefinition must have a wrapper struct. the wrapper struct is intended to help reflect the field states into the ExtendedResourceDefinition object properly.
func (*ExtendedResourceDefinitionWrapper) GetOceanAWSExtendedResourceDefinition ¶ added in v1.77.3
func (erdWrapper *ExtendedResourceDefinitionWrapper) GetOceanAWSExtendedResourceDefinition() *aws.ExtendedResourceDefinition
GetOceanAWSExtendedResourceDefinition returns a wrapped OceanAWSExtendedResourceDefinition
func (*ExtendedResourceDefinitionWrapper) SetOceanAWSExtendedResourceDefinition ¶ added in v1.77.3
func (erdWrapper *ExtendedResourceDefinitionWrapper) SetOceanAWSExtendedResourceDefinition(erd *aws.ExtendedResourceDefinition)
SetOceanAWSExtendedResourceDefinition applies extendedResourceDefinition fields to the extendedResourceDefinition wrapper.
type GKEClusterWrapper ¶ added in v1.77.3
type GKEClusterWrapper struct {
// contains filtered or unexported fields
}
func NewGKEClusterWrapper ¶ added in v1.77.3
func NewGKEClusterWrapper() *GKEClusterWrapper
func (*GKEClusterWrapper) GetCluster ¶ added in v1.77.3
func (clusterWrapper *GKEClusterWrapper) GetCluster() *gcp.Cluster
func (*GKEClusterWrapper) SetCluster ¶ added in v1.77.3
func (clusterWrapper *GKEClusterWrapper) SetCluster(cluster *gcp.Cluster)
type GKEImportClusterWrapper ¶ added in v1.77.3
type GKEImportClusterWrapper struct {
// contains filtered or unexported fields
}
func NewGKEImportClusterWrapper ¶ added in v1.77.3
func NewGKEImportClusterWrapper() *GKEImportClusterWrapper
func (*GKEImportClusterWrapper) GetCluster ¶ added in v1.77.3
func (clusterWrapper *GKEImportClusterWrapper) GetCluster() *gcp.Cluster
func (*GKEImportClusterWrapper) SetCluster ¶ added in v1.77.3
func (clusterWrapper *GKEImportClusterWrapper) SetCluster(cluster *gcp.Cluster)
type GKELaunchSpecImportWrapper ¶ added in v1.77.3
type GKELaunchSpecImportWrapper struct {
// contains filtered or unexported fields
}
func NewGKELaunchSpecImportWrapper ¶ added in v1.77.3
func NewGKELaunchSpecImportWrapper() *GKELaunchSpecImportWrapper
func (*GKELaunchSpecImportWrapper) GetLaunchSpec ¶ added in v1.77.3
func (launchSpecImportWrapper *GKELaunchSpecImportWrapper) GetLaunchSpec() *gcp.LaunchSpec
func (*GKELaunchSpecImportWrapper) SetLaunchSpec ¶ added in v1.77.3
func (launchSpecImportWrapper *GKELaunchSpecImportWrapper) SetLaunchSpec(launchSpecImport *gcp.LaunchSpec)
type GenericField ¶
type GenericField struct {
// contains filtered or unexported fields
}
func NewGenericField ¶
func NewGenericField( resourceAffinity ResourceAffinity, fieldName FieldName, schema *schema.Schema, onRead onFieldRead, onCreate onFieldCreate, onUpdate onFieldUpdate, hasChangeCustom hasFieldChange, ) *GenericField
func (*GenericField) GetSchema ¶
func (field *GenericField) GetSchema() *schema.Schema
type GenericFields ¶
type GenericFields struct {
// contains filtered or unexported fields
}
func NewGenericFields ¶
func NewGenericFields(fieldsMap map[FieldName]*GenericField) *GenericFields
type GenericResource ¶
type GenericResource struct {
// contains filtered or unexported fields
}
func (*GenericResource) GetField ¶
func (res *GenericResource) GetField(fieldName FieldName) *GenericField
func (*GenericResource) GetName ¶
func (res *GenericResource) GetName() string
func (*GenericResource) GetSchemaMap ¶
func (res *GenericResource) GetSchemaMap() map[string]*schema.Schema
type HealthCheckTerraformResource ¶ added in v1.77.3
type HealthCheckTerraformResource struct {
GenericResource
}
var HealthCheckResource *HealthCheckTerraformResource
func NewHealthCheckResource ¶ added in v1.77.3
func NewHealthCheckResource(fieldMap map[FieldName]*GenericField) *HealthCheckTerraformResource
NewHealthCheckResource creates a new HealthCheck resource
func (*HealthCheckTerraformResource) OnCreate ¶ added in v1.77.3
func (res *HealthCheckTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*healthcheck.HealthCheck, error)
OnCreate is called when creating a new resource block and returns a new HealthCheck or an error.
func (*HealthCheckTerraformResource) OnRead ¶ added in v1.77.3
func (res *HealthCheckTerraformResource) OnRead( healthCheck *healthcheck.HealthCheck, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*HealthCheckTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *HealthCheckTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *healthcheck.HealthCheck, error)
OnUpdate is called when updating an existing resource and returns an healthCheck with a bool indicating if had been updated, or an error.
type HealthCheckWrapper ¶ added in v1.77.3
type HealthCheckWrapper struct {
// contains filtered or unexported fields
}
func NewHealthCheckWrapper ¶ added in v1.77.3
func NewHealthCheckWrapper() *HealthCheckWrapper
NewElastigroupGCPWrapper avoids parameter collisions and returns a HealthCheck. Spotinst HealthCheck must have a wrapper struct. the wrapper struct is intended to help reflect the field states into the HealthCheck object properly.
func (*HealthCheckWrapper) GetHealthCheck ¶ added in v1.77.3
func (hcWrapper *HealthCheckWrapper) GetHealthCheck() *healthcheck.HealthCheck
GetElastigroup returns a wrapped elastigroup
func (*HealthCheckWrapper) SetHealthCheck ¶ added in v1.77.3
func (hcWrapper *HealthCheckWrapper) SetHealthCheck(healthCheck *healthcheck.HealthCheck)
SetElastigroup applies elastigroup fields to the elastigroup wrapper.
type ImportGKEWrapper ¶ added in v1.6.0
type ImportGKEWrapper struct { ClusterID string ClusterZoneName string // contains filtered or unexported fields }
func NewImportGKEWrapper ¶ added in v1.6.0
func NewImportGKEWrapper() *ImportGKEWrapper
func (*ImportGKEWrapper) GetImport ¶ added in v1.6.0
func (egWrapper *ImportGKEWrapper) GetImport() *gcp.ImportGKEGroup
func (*ImportGKEWrapper) SetImport ¶ added in v1.6.0
func (egWrapper *ImportGKEWrapper) SetImport(elastigroup *gcp.ImportGKEGroup)
type LaunchSpecGKEWrapper ¶ added in v1.77.3
type LaunchSpecGKEWrapper struct {
// contains filtered or unexported fields
}
func NewGKELaunchSpecWrapper ¶ added in v1.77.3
func NewGKELaunchSpecWrapper() *LaunchSpecGKEWrapper
func (*LaunchSpecGKEWrapper) GetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *LaunchSpecGKEWrapper) GetLaunchSpec() *gcp.LaunchSpec
func (*LaunchSpecGKEWrapper) SetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *LaunchSpecGKEWrapper) SetLaunchSpec(launchSpec *gcp.LaunchSpec)
type LaunchSpecWrapper ¶ added in v1.77.3
type LaunchSpecWrapper struct {
// contains filtered or unexported fields
}
func NewLaunchSpecWrapper ¶ added in v1.77.3
func NewLaunchSpecWrapper() *LaunchSpecWrapper
func (*LaunchSpecWrapper) GetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *LaunchSpecWrapper) GetLaunchSpec() *aws.LaunchSpec
func (*LaunchSpecWrapper) SetLaunchSpec ¶ added in v1.77.3
func (launchSpecWrapper *LaunchSpecWrapper) SetLaunchSpec(launchSpec *aws.LaunchSpec)
type MRScalerAWSTerraformResource ¶ added in v1.7.0
type MRScalerAWSTerraformResource struct {
GenericResource
}
var MRScalerAWSResource *MRScalerAWSTerraformResource
func NewMRScalerAWSResource ¶ added in v1.7.0
func NewMRScalerAWSResource(fieldsMap map[FieldName]*GenericField) *MRScalerAWSTerraformResource
func (*MRScalerAWSTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MRScalerAWSTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*mrscaler.Scaler, error)
func (*MRScalerAWSTerraformResource) OnRead ¶ added in v1.7.0
func (res *MRScalerAWSTerraformResource) OnRead( mrscaler *mrscaler.Scaler, resourceData *schema.ResourceData, meta interface{}) error
func (*MRScalerAWSTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MRScalerAWSTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *mrscaler.Scaler, error)
type MRScalerAWSWrapper ¶ added in v1.7.0
type MRScalerAWSWrapper struct {
// contains filtered or unexported fields
}
func NewMRScalerAWSWrapper ¶ added in v1.7.0
func NewMRScalerAWSWrapper() *MRScalerAWSWrapper
func (*MRScalerAWSWrapper) GetMRScalerAWS ¶ added in v1.7.0
func (mrsWrapper *MRScalerAWSWrapper) GetMRScalerAWS() *mrscaler.Scaler
func (*MRScalerAWSWrapper) SetMRScalerAWS ¶ added in v1.7.0
func (mrsWrapper *MRScalerAWSWrapper) SetMRScalerAWS(mrscaler *mrscaler.Scaler)
type ManagedInstanceTerraformResource ¶ added in v1.77.3
type ManagedInstanceTerraformResource struct {
GenericResource
}
var ManagedInstanceResource *ManagedInstanceTerraformResource
func NewManagedInstanceResource ¶ added in v1.77.3
func NewManagedInstanceResource(fieldsMap map[FieldName]*GenericField) *ManagedInstanceTerraformResource
func (*ManagedInstanceTerraformResource) OnCreate ¶ added in v1.77.3
func (res *ManagedInstanceTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.ManagedInstance, error)
func (*ManagedInstanceTerraformResource) OnRead ¶ added in v1.77.3
func (res *ManagedInstanceTerraformResource) OnRead( managedInstance *aws.ManagedInstance, resourceData *schema.ResourceData, meta interface{}) error
func (*ManagedInstanceTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *ManagedInstanceTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ManagedInstance, error)
type MangedInstanceAWSWrapper ¶ added in v1.77.3
type MangedInstanceAWSWrapper struct { // Load balancer states StatusElbUpdated bool StatusTgUpdated bool StatusMlbUpdated bool // Block devices states StatusEphemeralBlockDeviceUpdated bool StatusEbsBlockDeviceUpdated bool // contains filtered or unexported fields }
func NewManagedInstanceWrapper ¶ added in v1.77.3
func NewManagedInstanceWrapper() *MangedInstanceAWSWrapper
func (*MangedInstanceAWSWrapper) GetManagedInstance ¶ added in v1.77.3
func (miWrapper *MangedInstanceAWSWrapper) GetManagedInstance() *aws.ManagedInstance
func (*MangedInstanceAWSWrapper) SetManagedInstance ¶ added in v1.77.3
func (miWrapper *MangedInstanceAWSWrapper) SetManagedInstance(mangedInstance *aws.ManagedInstance)
type MultaiBalancerTerraformResource ¶ added in v1.7.0
type MultaiBalancerTerraformResource struct {
GenericResource
}
var MultaiBalancerResource *MultaiBalancerTerraformResource
func NewMultaiBalancerResource ¶ added in v1.7.0
func NewMultaiBalancerResource(fieldMap map[FieldName]*GenericField) *MultaiBalancerTerraformResource
func (*MultaiBalancerTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiBalancerTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.LoadBalancer, error)
func (*MultaiBalancerTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiBalancerTerraformResource) OnRead( balancer *multai.LoadBalancer, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiBalancerTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiBalancerTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.LoadBalancer, error)
type MultaiBalancerWrapper ¶ added in v1.7.0
type MultaiBalancerWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiBalancerWrapper ¶ added in v1.7.0
func NewMultaiBalancerWrapper() *MultaiBalancerWrapper
func (*MultaiBalancerWrapper) GetMultaiBalancer ¶ added in v1.7.0
func (mlbWrapper *MultaiBalancerWrapper) GetMultaiBalancer() *multai.LoadBalancer
func (*MultaiBalancerWrapper) SetMultaiBalancer ¶ added in v1.7.0
func (mlbWrapper *MultaiBalancerWrapper) SetMultaiBalancer(balancer *multai.LoadBalancer)
type MultaiDeploymentTerraformResource ¶ added in v1.7.0
type MultaiDeploymentTerraformResource struct {
GenericResource
}
var MultaiDeploymentResource *MultaiDeploymentTerraformResource
func NewMultaiDeploymentResource ¶ added in v1.7.0
func NewMultaiDeploymentResource(fieldMap map[FieldName]*GenericField) *MultaiDeploymentTerraformResource
func (*MultaiDeploymentTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiDeploymentTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.Deployment, error)
func (*MultaiDeploymentTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiDeploymentTerraformResource) OnRead( deployment *multai.Deployment, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiDeploymentTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiDeploymentTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Deployment, error)
type MultaiDeploymentWrapper ¶ added in v1.7.0
type MultaiDeploymentWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiDeploymentWrapper ¶ added in v1.7.0
func NewMultaiDeploymentWrapper() *MultaiDeploymentWrapper
func (*MultaiDeploymentWrapper) GetMultaiDeployment ¶ added in v1.7.0
func (mlbWrapper *MultaiDeploymentWrapper) GetMultaiDeployment() *multai.Deployment
func (*MultaiDeploymentWrapper) SetMultaiDeployment ¶ added in v1.7.0
func (mlbWrapper *MultaiDeploymentWrapper) SetMultaiDeployment(deployment *multai.Deployment)
type MultaiListenerTerraformResource ¶ added in v1.7.0
type MultaiListenerTerraformResource struct {
GenericResource
}
var MultaiListenerResource *MultaiListenerTerraformResource
func NewMultaiListenerResource ¶ added in v1.7.0
func NewMultaiListenerResource(fieldMap map[FieldName]*GenericField) *MultaiListenerTerraformResource
func (*MultaiListenerTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiListenerTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.Listener, error)
func (*MultaiListenerTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiListenerTerraformResource) OnRead( listener *multai.Listener, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiListenerTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiListenerTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Listener, error)
type MultaiListenerWrapper ¶ added in v1.7.0
type MultaiListenerWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiListenerWrapper ¶ added in v1.7.0
func NewMultaiListenerWrapper() *MultaiListenerWrapper
func (*MultaiListenerWrapper) GetMultaiListener ¶ added in v1.7.0
func (mlbWrapper *MultaiListenerWrapper) GetMultaiListener() *multai.Listener
func (*MultaiListenerWrapper) SetMultaiListener ¶ added in v1.7.0
func (mlbWrapper *MultaiListenerWrapper) SetMultaiListener(listener *multai.Listener)
type MultaiRoutingRuleTerraformResource ¶ added in v1.7.0
type MultaiRoutingRuleTerraformResource struct {
GenericResource
}
var MultaiRoutingRuleResource *MultaiRoutingRuleTerraformResource
func NewMultaiRoutingRuleResource ¶ added in v1.7.0
func NewMultaiRoutingRuleResource(fieldMap map[FieldName]*GenericField) *MultaiRoutingRuleTerraformResource
func (*MultaiRoutingRuleTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiRoutingRuleTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.RoutingRule, error)
func (*MultaiRoutingRuleTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiRoutingRuleTerraformResource) OnRead( routingRule *multai.RoutingRule, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiRoutingRuleTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiRoutingRuleTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.RoutingRule, error)
type MultaiRoutingRuleWrapper ¶ added in v1.7.0
type MultaiRoutingRuleWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiRoutingRuleWrapper ¶ added in v1.7.0
func NewMultaiRoutingRuleWrapper() *MultaiRoutingRuleWrapper
func (*MultaiRoutingRuleWrapper) GetMultaiRoutingRule ¶ added in v1.7.0
func (mlbWrapper *MultaiRoutingRuleWrapper) GetMultaiRoutingRule() *multai.RoutingRule
func (*MultaiRoutingRuleWrapper) SetMultaiRoutingRule ¶ added in v1.7.0
func (mlbWrapper *MultaiRoutingRuleWrapper) SetMultaiRoutingRule(routingRule *multai.RoutingRule)
type MultaiTargetSetTerraformResource ¶ added in v1.7.0
type MultaiTargetSetTerraformResource struct {
GenericResource
}
var MultaiTargetSetResource *MultaiTargetSetTerraformResource
func NewMultaiTargetSetResource ¶ added in v1.7.0
func NewMultaiTargetSetResource(fieldMap map[FieldName]*GenericField) *MultaiTargetSetTerraformResource
func (*MultaiTargetSetTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiTargetSetTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.TargetSet, error)
func (*MultaiTargetSetTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiTargetSetTerraformResource) OnRead( targetSet *multai.TargetSet, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiTargetSetTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiTargetSetTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.TargetSet, error)
type MultaiTargetSetWrapper ¶ added in v1.7.0
type MultaiTargetSetWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiTargetSetWrapper ¶ added in v1.7.0
func NewMultaiTargetSetWrapper() *MultaiTargetSetWrapper
func (*MultaiTargetSetWrapper) GetMultaiTargetSet ¶ added in v1.7.0
func (targetSetWrapper *MultaiTargetSetWrapper) GetMultaiTargetSet() *multai.TargetSet
func (*MultaiTargetSetWrapper) SetMultaiTargetSet ¶ added in v1.7.0
func (targetSetWrapper *MultaiTargetSetWrapper) SetMultaiTargetSet(targetSet *multai.TargetSet)
type MultaiTargetTerraformResource ¶ added in v1.7.0
type MultaiTargetTerraformResource struct {
GenericResource
}
var MultaiTargetResource *MultaiTargetTerraformResource
func NewMultaiTargetResource ¶ added in v1.7.0
func NewMultaiTargetResource(fieldMap map[FieldName]*GenericField) *MultaiTargetTerraformResource
func (*MultaiTargetTerraformResource) OnCreate ¶ added in v1.7.0
func (res *MultaiTargetTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*multai.Target, error)
func (*MultaiTargetTerraformResource) OnRead ¶ added in v1.7.0
func (res *MultaiTargetTerraformResource) OnRead( target *multai.Target, resourceData *schema.ResourceData, meta interface{}) error
func (*MultaiTargetTerraformResource) OnUpdate ¶ added in v1.7.0
func (res *MultaiTargetTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *multai.Target, error)
type MultaiTargetWrapper ¶ added in v1.7.0
type MultaiTargetWrapper struct {
// contains filtered or unexported fields
}
func NewMultaiTargetWrapper ¶ added in v1.7.0
func NewMultaiTargetWrapper() *MultaiTargetWrapper
func (*MultaiTargetWrapper) GetMultaiTarget ¶ added in v1.7.0
func (targetWrapper *MultaiTargetWrapper) GetMultaiTarget() *multai.Target
func (*MultaiTargetWrapper) SetMultaiTarget ¶ added in v1.7.0
func (targetWrapper *MultaiTargetWrapper) SetMultaiTarget(target *multai.Target)
type OceanAKSTerraformResource ¶ added in v1.77.3
type OceanAKSTerraformResource struct {
GenericResource
}
var OceanAKSResource *OceanAKSTerraformResource
func NewOceanAKSResource ¶ added in v1.77.3
func NewOceanAKSResource(fieldsMap map[FieldName]*GenericField) *OceanAKSTerraformResource
func (*OceanAKSTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanAKSTerraformResource) OnCreate( importedCluster *azure.Cluster, resourceData *schema.ResourceData, meta interface{}) (*azure.Cluster, error)
func (*OceanAKSTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanAKSTerraformResource) OnRead( cluster *azure.Cluster, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanAKSTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanAKSTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *azure.Cluster, error)
type OceanAKSVirtualNodeGroupTerraformResource ¶ added in v1.77.3
type OceanAKSVirtualNodeGroupTerraformResource struct {
GenericResource
}
var OceanAKSVirtualNodeGroupResource *OceanAKSVirtualNodeGroupTerraformResource
func NewOceanAKSVirtualNodeGroupResource ¶ added in v1.77.3
func NewOceanAKSVirtualNodeGroupResource(fieldsMap map[FieldName]*GenericField) *OceanAKSVirtualNodeGroupTerraformResource
func (*OceanAKSVirtualNodeGroupTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanAKSVirtualNodeGroupTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*azure.VirtualNodeGroup, error)
func (*OceanAKSVirtualNodeGroupTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanAKSVirtualNodeGroupTerraformResource) OnRead( launchSpec *azure.VirtualNodeGroup, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanAKSVirtualNodeGroupTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanAKSVirtualNodeGroupTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *azure.VirtualNodeGroup, error)
type OceanAWSExtendedResourceDefinitionTerraformResource ¶ added in v1.77.3
type OceanAWSExtendedResourceDefinitionTerraformResource struct {
GenericResource
}
var OceanAWSExtendedResourceDefinitionResource *OceanAWSExtendedResourceDefinitionTerraformResource
func NewOceanAWSExtendedResourceDefinitionResource ¶ added in v1.77.3
func NewOceanAWSExtendedResourceDefinitionResource(fieldMap map[FieldName]*GenericField) *OceanAWSExtendedResourceDefinitionTerraformResource
NewOceanAWSExtendedResourceDefinitionResource creates a new OceanAWSExtendedResourceDefinition resource
func (*OceanAWSExtendedResourceDefinitionTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.ExtendedResourceDefinition, error)
OnCreate is called when creating a new resource block and returns a new OceanAWSExtendedResourceDefinition or an error.
func (*OceanAWSExtendedResourceDefinitionTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnRead( extendedResourceDefinition *aws.ExtendedResourceDefinition, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*OceanAWSExtendedResourceDefinitionTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanAWSExtendedResourceDefinitionTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ExtendedResourceDefinition, error)
OnUpdate is called when updating an existing resource and returns an extendedResourceDefinition with a bool indicating if had been updated, or an error.
type OceanAWSLaunchSpecTerraformResource ¶ added in v1.77.3
type OceanAWSLaunchSpecTerraformResource struct {
GenericResource
}
var OceanAWSLaunchSpecResource *OceanAWSLaunchSpecTerraformResource
func NewOceanAWSLaunchSpecResource ¶ added in v1.77.3
func NewOceanAWSLaunchSpecResource(fieldsMap map[FieldName]*GenericField) *OceanAWSLaunchSpecTerraformResource
func (*OceanAWSLaunchSpecTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanAWSLaunchSpecTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.LaunchSpec, error)
func (*OceanAWSLaunchSpecTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanAWSLaunchSpecTerraformResource) OnRead( launchSpec *aws.LaunchSpec, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanAWSLaunchSpecTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanAWSLaunchSpecTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.LaunchSpec, error)
type OceanAWSTerraformResource ¶ added in v1.6.0
type OceanAWSTerraformResource struct {
GenericResource
}
var OceanAWSResource *OceanAWSTerraformResource
func NewOceanAWSResource ¶ added in v1.6.0
func NewOceanAWSResource(fieldsMap map[FieldName]*GenericField) *OceanAWSTerraformResource
func (*OceanAWSTerraformResource) OnCreate ¶ added in v1.6.0
func (res *OceanAWSTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.Cluster, error)
func (*OceanAWSTerraformResource) OnRead ¶ added in v1.6.0
func (res *OceanAWSTerraformResource) OnRead( cluster *aws.Cluster, resourceData *schema.ResourceData, meta interface{}) error
type OceanECSLaunchSpecTerraformResource ¶ added in v1.77.3
type OceanECSLaunchSpecTerraformResource struct {
GenericResource
}
var OceanECSLaunchSpecResource *OceanECSLaunchSpecTerraformResource
func NewOceanECSLaunchSpecResource ¶ added in v1.77.3
func NewOceanECSLaunchSpecResource(fieldsMap map[FieldName]*GenericField) *OceanECSLaunchSpecTerraformResource
func (*OceanECSLaunchSpecTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanECSLaunchSpecTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.ECSLaunchSpec, error)
func (*OceanECSLaunchSpecTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanECSLaunchSpecTerraformResource) OnRead( launchSpec *aws.ECSLaunchSpec, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanECSLaunchSpecTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanECSLaunchSpecTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.ECSLaunchSpec, error)
type OceanECSTerraformResource ¶ added in v1.77.3
type OceanECSTerraformResource struct {
GenericResource
}
var OceanECSResource *OceanECSTerraformResource
func NewOceanECSResource ¶ added in v1.77.3
func NewOceanECSResource(fieldsMap map[FieldName]*GenericField) *OceanECSTerraformResource
func (*OceanECSTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanECSTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.ECSCluster, error)
func (*OceanECSTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanECSTerraformResource) OnRead( cluster *aws.ECSCluster, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanECSTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanECSTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, bool, bool, *aws.ECSCluster, error)
type OceanGKEImportTerraformResource ¶ added in v1.77.3
type OceanGKEImportTerraformResource struct {
GenericResource
}
var OceanGKEImportResource *OceanGKEImportTerraformResource
func NewOceanGKEImportResource ¶ added in v1.77.3
func NewOceanGKEImportResource(fieldsMap map[FieldName]*GenericField) *OceanGKEImportTerraformResource
func (*OceanGKEImportTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanGKEImportTerraformResource) OnCreate( importedCluster *gcp.Cluster, resourceData *schema.ResourceData, meta interface{}) (*gcp.Cluster, error)
func (*OceanGKEImportTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanGKEImportTerraformResource) OnRead( cluster *gcp.Cluster, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanGKEImportTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanGKEImportTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, bool, *gcp.Cluster, error)
type OceanGKELaunchSpecImportTerraformResource ¶ added in v1.77.3
type OceanGKELaunchSpecImportTerraformResource struct {
GenericResource
}
var OceanGKELaunchSpecImportResource *OceanGKELaunchSpecImportTerraformResource
func NewOceanGKELaunchSpecImportResource ¶ added in v1.77.3
func NewOceanGKELaunchSpecImportResource(fieldsMap map[FieldName]*GenericField) *OceanGKELaunchSpecImportTerraformResource
func (*OceanGKELaunchSpecImportTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanGKELaunchSpecImportTerraformResource) OnCreate( importedLaunchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, meta interface{}) (*gcp.LaunchSpec, error)
func (*OceanGKELaunchSpecImportTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanGKELaunchSpecImportTerraformResource) OnRead( launchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanGKELaunchSpecImportTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanGKELaunchSpecImportTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.LaunchSpec, error)
type OceanGKELaunchSpecTerraformResource ¶ added in v1.77.3
type OceanGKELaunchSpecTerraformResource struct {
GenericResource
}
var OceanGKELaunchSpecResource *OceanGKELaunchSpecTerraformResource
func NewOceanGKELaunchSpecResource ¶ added in v1.77.3
func NewOceanGKELaunchSpecResource(fieldsMap map[FieldName]*GenericField) *OceanGKELaunchSpecTerraformResource
func (*OceanGKELaunchSpecTerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanGKELaunchSpecTerraformResource) OnCreate( importedLaunchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, meta interface{}) (*gcp.LaunchSpec, error)
func (*OceanGKELaunchSpecTerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanGKELaunchSpecTerraformResource) OnRead( launchSpec *gcp.LaunchSpec, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanGKELaunchSpecTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanGKELaunchSpecTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.LaunchSpec, error)
type OceanGKETerraformResource ¶ added in v1.77.3
type OceanGKETerraformResource struct {
GenericResource
}
var OceanGKEResource *OceanGKETerraformResource
func NewOceanGKEResource ¶ added in v1.77.3
func NewOceanGKEResource(fieldsMap map[FieldName]*GenericField) *OceanGKETerraformResource
func (*OceanGKETerraformResource) OnCreate ¶ added in v1.77.3
func (res *OceanGKETerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*gcp.Cluster, error)
func (*OceanGKETerraformResource) OnRead ¶ added in v1.77.3
func (res *OceanGKETerraformResource) OnRead( cluster *gcp.Cluster, resourceData *schema.ResourceData, meta interface{}) error
func (*OceanGKETerraformResource) OnUpdate ¶ added in v1.77.3
func (res *OceanGKETerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *gcp.Cluster, error)
type ResourceAffinity ¶
type ResourceAffinity string
type ResourceName ¶
type ResourceName string
const (
DataIntegrationResourceName ResourceName = "spotinst_data_integration"
)
const (
ElastigroupAWSBeanstalkResourceName ResourceName = "spotinst_elastigroup_aws_beanstalk"
)
const (
ElastigroupAWSResourceName ResourceName = "spotinst_elastigroup_aws"
)
const (
ElastigroupAzureResourceName ResourceName = "spotinst_elastigroup_azure"
)
const (
ElastigroupAzureV3ResourceName ResourceName = "spotinst_elastigroup_azure_v3"
)
const (
ElastigroupGCPResourceName ResourceName = "spotinst_elastigroup_gcp"
)
const (
ElastigroupGKEResourceName ResourceName = "spotinst_elastigroup_gke"
)
const (
HealthCheckResourceName ResourceName = "spotinst_health_check"
)
const (
MRScalerAWSResourceName ResourceName = "spotinst_mrscaler_aws"
)
const (
ManagedInstanceAWSResourceName ResourceName = "spotinst_managed_instance_aws"
)
const (
MultaiBalancerResourceName ResourceName = "spotinst_multai_balancer"
)
const (
MultaiDeploymentResourceName ResourceName = "spotinst_multai_deployment"
)
const (
MultaiListenerResourceName ResourceName = "spotinst_multai_listener"
)
const (
MultaiRoutingRuleResourceName ResourceName = "spotinst_multai_routing_rule"
)
const (
MultaiTargetResourceName ResourceName = "spotinst_multai_target"
)
const (
MultaiTargetSetResourceName ResourceName = "spotinst_multai_target_set"
)
const OceanAKSResourceName ResourceName = "spotinst_ocean_aks"
const OceanAKSVirtualNodeGroupResourceName ResourceName = "spotinst_ocean_aks_virtual_node_group"
const (
OceanAWSExtendedResourceDefinitionResourceName ResourceName = "spotinst_ocean_aws_extended_resource_definition"
)
const (
OceanAWSLaunchSpecResourceName ResourceName = "spotinst_ocean_aws_launch_spec"
)
const (
OceanAWSResourceName ResourceName = "spotinst_ocean_aws"
)
const (
OceanECSLaunchSpecResourceName ResourceName = "spotinst_ocean_ecs_launch_spec"
)
const (
OceanECSResourceName ResourceName = "spotinst_ocean_ecs"
)
const (
OceanGKEImportResourceName ResourceName = "spotinst_ocean_gke_import"
)
const (
OceanGKELaunchSpecImportResourceName ResourceName = "spotinst_ocean_gke_launch_spec_import"
)
const (
OceanGKELaunchSpecResourceName ResourceName = "spotinst_ocean_gke_launch_spec"
)
const (
OceanGKEResourceName ResourceName = "spotinst_ocean_gke"
)
const (
StatefulNodeAzureResourceName ResourceName = "spotinst_stateful_node_azure"
)
const (
SubscriptionResourceName ResourceName = "spotinst_subscription"
)
const (
SuspendProcessesResourceName ResourceName = "spotinst_elastigroup_aws_suspension"
)
type StatefulNodeAzureV3TerraformResource ¶ added in v1.77.3
type StatefulNodeAzureV3TerraformResource struct {
GenericResource
}
var StatefulNodeAzureV3Resource *StatefulNodeAzureV3TerraformResource
func NewStatefulNodeAzureV3Resource ¶ added in v1.77.3
func NewStatefulNodeAzureV3Resource(fieldsMap map[FieldName]*GenericField) *StatefulNodeAzureV3TerraformResource
func (*StatefulNodeAzureV3TerraformResource) OnCreate ¶ added in v1.77.3
func (res *StatefulNodeAzureV3TerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*azure.StatefulNode, error)
func (*StatefulNodeAzureV3TerraformResource) OnRead ¶ added in v1.77.3
func (res *StatefulNodeAzureV3TerraformResource) OnRead( statefulNode *azure.StatefulNode, resourceData *schema.ResourceData, meta interface{}) error
func (*StatefulNodeAzureV3TerraformResource) OnUpdate ¶ added in v1.77.3
func (res *StatefulNodeAzureV3TerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *azure.StatefulNode, error)
type StatefulNodeAzureV3Wrapper ¶ added in v1.77.3
type StatefulNodeAzureV3Wrapper struct {
// contains filtered or unexported fields
}
func NewStatefulNodeAzureV3Wrapper ¶ added in v1.77.3
func NewStatefulNodeAzureV3Wrapper() *StatefulNodeAzureV3Wrapper
func (*StatefulNodeAzureV3Wrapper) GetStatefulNode ¶ added in v1.77.3
func (snWrapper *StatefulNodeAzureV3Wrapper) GetStatefulNode() *azure.StatefulNode
func (*StatefulNodeAzureV3Wrapper) SetStatefulNode ¶ added in v1.77.3
func (snWrapper *StatefulNodeAzureV3Wrapper) SetStatefulNode(statefulNode *azure.StatefulNode)
type SubscriptionTerraformResource ¶ added in v1.1.0
type SubscriptionTerraformResource struct {
GenericResource
}
var SubscriptionResource *SubscriptionTerraformResource
func NewSubscriptionResource ¶
func NewSubscriptionResource( fieldsMap map[FieldName]*GenericField) *SubscriptionTerraformResource
func (*SubscriptionTerraformResource) OnCreate ¶ added in v1.1.0
func (res *SubscriptionTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*subscription.Subscription, error)
func (*SubscriptionTerraformResource) OnRead ¶ added in v1.1.0
func (res *SubscriptionTerraformResource) OnRead( subscription *subscription.Subscription, resourceData *schema.ResourceData, meta interface{}) error
func (*SubscriptionTerraformResource) OnUpdate ¶ added in v1.1.0
func (res *SubscriptionTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *subscription.Subscription, error)
type SuspendProcessesTerraformResource ¶ added in v1.77.3
type SuspendProcessesTerraformResource struct {
GenericResource
}
var SuspendProcessesResource *SuspendProcessesTerraformResource
func NewSuspendProcessesResource ¶ added in v1.77.3
func NewSuspendProcessesResource(fieldMap map[FieldName]*GenericField) *SuspendProcessesTerraformResource
func (*SuspendProcessesTerraformResource) OnCreate ¶ added in v1.77.3
func (res *SuspendProcessesTerraformResource) OnCreate( resourceData *schema.ResourceData, meta interface{}) (*aws.SuspendProcesses, error)
OnCreate is called when creating a new resource block and returns a new SuspendProcesses or an error.
func (*SuspendProcessesTerraformResource) OnRead ¶ added in v1.77.3
func (res *SuspendProcessesTerraformResource) OnRead( suspendProcesses *aws.SuspendProcesses, resourceData *schema.ResourceData, meta interface{}) error
OnRead is called when reading an existing resource and throws an error if it is unable to do so.
func (*SuspendProcessesTerraformResource) OnUpdate ¶ added in v1.77.3
func (res *SuspendProcessesTerraformResource) OnUpdate( resourceData *schema.ResourceData, meta interface{}) (bool, *aws.SuspendProcesses, error)
OnUpdate is called when updating an existing resource and returns a suspedProcesses with a bool indicating if had been updated, or an error.
type SuspendProcessesWrapper ¶ added in v1.77.3
type SuspendProcessesWrapper struct { GroupID *string SuspendProcesses *aws.SuspendProcesses }
func NewSuspendProcessesWrapper ¶ added in v1.77.3
func NewSuspendProcessesWrapper() *SuspendProcessesWrapper
NewsuspendProcessesWrapper avoids parameter collisions and returns a SuspendProcesses. Spotinst SuspendProcesses must have a wrapper struct. the wrapper struct is intended to help reflect the field states into the SuspendProcesses object properly.
func (*SuspendProcessesWrapper) GetSuspendProcesses ¶ added in v1.77.3
func (spWrapper *SuspendProcessesWrapper) GetSuspendProcesses() *SuspendProcessesWrapper
GetSuspendProcesses returns a wrapped SuspendProcesses
func (*SuspendProcessesWrapper) SetSuspendProcesses ¶ added in v1.77.3
func (spWrapper *SuspendProcessesWrapper) SetSuspendProcesses(suspendProcesses *aws.SuspendProcesses)
SetSuspendProcesses applies SuspendProcesses fields to the SuspendProcesses wrapper.
type VirtualNodeGroupAKSWrapper ¶ added in v1.77.3
type VirtualNodeGroupAKSWrapper struct {
VirtualNodeGroup *azure.VirtualNodeGroup
}
func NewVirtualNodeGroupAKSWrapper ¶ added in v1.77.3
func NewVirtualNodeGroupAKSWrapper() *VirtualNodeGroupAKSWrapper
func (*VirtualNodeGroupAKSWrapper) GetVirtualNodeGroup ¶ added in v1.77.3
func (launchSpecWrapper *VirtualNodeGroupAKSWrapper) GetVirtualNodeGroup() *azure.VirtualNodeGroup
func (*VirtualNodeGroupAKSWrapper) SetVirtualNodeGroup ¶ added in v1.77.3
func (launchSpecWrapper *VirtualNodeGroupAKSWrapper) SetVirtualNodeGroup(launchSpec *azure.VirtualNodeGroup)
Source Files ¶
- common_dataintegration.go
- common_elastigroup_aws.go
- common_elastigroup_aws_beanstalk.go
- common_elastigroup_aws_suspend_processes.go
- common_elastigroup_azure.go
- common_elastigroup_azure_v3.go
- common_elastigroup_gcp.go
- common_elastigroup_gke.go
- common_health_check.go
- common_managed_instance_aws.go
- common_mrscaler_aws.go
- common_multai_balancer.go
- common_multai_deployment.go
- common_multai_listener.go
- common_multai_routing_rule.go
- common_multai_target.go
- common_multai_target_set.go
- common_ocean_aks.go
- common_ocean_aks_virtual_node_group.go
- common_ocean_aws.go
- common_ocean_aws_extended_resource_definition.go
- common_ocean_aws_launch_spec.go
- common_ocean_condintional_roll.go
- common_ocean_ecs.go
- common_ocean_ecs_launch_spec.go
- common_ocean_gke.go
- common_ocean_gke_import.go
- common_ocean_gke_launch_spec.go
- common_ocean_gke_launch_spec_import.go
- common_spotinst_resource.go
- common_stateful_node_azure.go
- common_subscription.go
- consts.go