workload

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerExecModel

type ContainerExecModel struct {
	Command types.Set `tfsdk:"command"`
}

func (ContainerExecModel) AttributeTypes added in v1.2.6

func (c ContainerExecModel) AttributeTypes() attr.Type

type ContainerGpuCustomModel

type ContainerGpuCustomModel struct {
	Resource     types.String `tfsdk:"resource"`
	RuntimeClass types.String `tfsdk:"runtime_class"`
	Quantity     types.Int32  `tfsdk:"quantity"`
}

func (ContainerGpuCustomModel) AttributeTypes added in v1.2.6

func (c ContainerGpuCustomModel) AttributeTypes() attr.Type

type ContainerGpuNvidiaModel

type ContainerGpuNvidiaModel struct {
	Model    types.String `tfsdk:"model"`
	Quantity types.Int32  `tfsdk:"quantity"`
}

func (ContainerGpuNvidiaModel) AttributeTypes added in v1.2.6

func (c ContainerGpuNvidiaModel) AttributeTypes() attr.Type

type ContainerHealthCheckGrpcModel

type ContainerHealthCheckGrpcModel struct {
	Port types.Int32 `tfsdk:"port"`
}

func (ContainerHealthCheckGrpcModel) AttributeTypes added in v1.2.6

func (c ContainerHealthCheckGrpcModel) AttributeTypes() attr.Type

type ContainerHealthCheckHttpGetModel

type ContainerHealthCheckHttpGetModel struct {
	Path        types.String `tfsdk:"path"`
	Port        types.Int32  `tfsdk:"port"`
	HttpHeaders types.Map    `tfsdk:"http_headers"`
	Scheme      types.String `tfsdk:"scheme"`
}

func (ContainerHealthCheckHttpGetModel) AttributeTypes added in v1.2.6

func (c ContainerHealthCheckHttpGetModel) AttributeTypes() attr.Type

type ContainerHealthCheckModel

type ContainerHealthCheckModel struct {
	Exec                types.List  `tfsdk:"exec"`
	Grpc                types.List  `tfsdk:"grpc"`
	TcpSocket           types.List  `tfsdk:"tcp_socket"`
	HttpGet             types.List  `tfsdk:"http_get"`
	InitialDelaySeconds types.Int32 `tfsdk:"initial_delay_seconds"`
	PeriodSeconds       types.Int32 `tfsdk:"period_seconds"`
	TimeoutSeconds      types.Int32 `tfsdk:"timeout_seconds"`
	SuccessThreshold    types.Int32 `tfsdk:"success_threshold"`
	FailureThreshold    types.Int32 `tfsdk:"failure_threshold"`
}

func (ContainerHealthCheckModel) AttributeTypes added in v1.2.6

func (c ContainerHealthCheckModel) AttributeTypes() attr.Type

type ContainerHealthCheckTcpSocketModel

type ContainerHealthCheckTcpSocketModel struct {
	Port types.Int32 `tfsdk:"port"`
}

func (ContainerHealthCheckTcpSocketModel) AttributeTypes added in v1.2.6

func (c ContainerHealthCheckTcpSocketModel) AttributeTypes() attr.Type

type ContainerLifecycleModel

type ContainerLifecycleModel struct {
	PostStart types.List `tfsdk:"post_start"`
	PreStop   types.List `tfsdk:"pre_stop"`
}

func (ContainerLifecycleModel) AttributeTypes added in v1.2.6

func (c ContainerLifecycleModel) AttributeTypes() attr.Type

type ContainerLifecycleSpecModel

type ContainerLifecycleSpecModel struct {
	Exec types.List `tfsdk:"exec"`
}

func (ContainerLifecycleSpecModel) AttributeTypes added in v1.2.6

func (c ContainerLifecycleSpecModel) AttributeTypes() attr.Type

type ContainerMetricsModel

type ContainerMetricsModel struct {
	Port types.Int32  `tfsdk:"port"`
	Path types.String `tfsdk:"path"`
}

func (ContainerMetricsModel) AttributeTypes added in v1.2.6

func (c ContainerMetricsModel) AttributeTypes() attr.Type

type ContainerModel

type ContainerModel struct {
	Name             types.String `tfsdk:"name"`
	Image            types.String `tfsdk:"image"`
	WorkingDirectory types.String `tfsdk:"working_directory"`
	Metrics          types.List   `tfsdk:"metrics"`
	Port             types.Int32  `tfsdk:"port"`
	Ports            types.Set    `tfsdk:"ports"`
	Memory           types.String `tfsdk:"memory"`
	ReadinessProbe   types.List   `tfsdk:"readiness_probe"`
	LivenessProbe    types.List   `tfsdk:"liveness_probe"`
	Cpu              types.String `tfsdk:"cpu"`
	MinCpu           types.String `tfsdk:"min_cpu"`
	MinMemory        types.String `tfsdk:"min_memory"`
	Env              types.Map    `tfsdk:"env"`
	GpuNvidia        types.List   `tfsdk:"gpu_nvidia"`
	GpuCustom        types.List   `tfsdk:"gpu_custom"`
	InheritEnv       types.Bool   `tfsdk:"inherit_env"`
	Command          types.String `tfsdk:"command"`
	Args             types.List   `tfsdk:"args"`
	Lifecycle        types.List   `tfsdk:"lifecycle"`
	Volumes          types.Set    `tfsdk:"volume"`
}

func (ContainerModel) AttributeTypes added in v1.2.6

func (c ContainerModel) AttributeTypes() attr.Type

type ContainerPortModel

type ContainerPortModel struct {
	Protocol types.String `tfsdk:"protocol"`
	Number   types.Int32  `tfsdk:"number"`
}

func (ContainerPortModel) AttributeTypes added in v1.2.6

func (c ContainerPortModel) AttributeTypes() attr.Type

type ContainerVolumeModel

type ContainerVolumeModel struct {
	Uri            types.String `tfsdk:"uri"`
	RecoveryPolicy types.String `tfsdk:"recovery_policy"`
	Path           types.String `tfsdk:"path"`
}

func (ContainerVolumeModel) AttributeTypes added in v1.2.6

func (c ContainerVolumeModel) AttributeTypes() attr.Type

type FirewallExternalHttpHeaderFilterModel

type FirewallExternalHttpHeaderFilterModel struct {
	Key           types.String `tfsdk:"key"`
	AllowedValues types.Set    `tfsdk:"allowed_values"`
	BlockedValues types.Set    `tfsdk:"blocked_values"`
}

func (FirewallExternalHttpHeaderFilterModel) AttributeTypes added in v1.2.6

func (f FirewallExternalHttpHeaderFilterModel) AttributeTypes() attr.Type

type FirewallExternalHttpModel

type FirewallExternalHttpModel struct {
	InboundHeaderFilter types.Set `tfsdk:"inbound_header_filter"`
}

func (FirewallExternalHttpModel) AttributeTypes added in v1.2.6

func (f FirewallExternalHttpModel) AttributeTypes() attr.Type

type FirewallExternalModel

type FirewallExternalModel struct {
	InboundAllowCidr      types.Set  `tfsdk:"inbound_allow_cidr"`
	InboundBlockedCidr    types.Set  `tfsdk:"inbound_blocked_cidr"`
	OutboundAllowHostname types.Set  `tfsdk:"outbound_allow_hostname"`
	OutboundAllowPort     types.Set  `tfsdk:"outbound_allow_port"`
	OutboundAllowCidr     types.Set  `tfsdk:"outbound_allow_cidr"`
	OutboundBlockedCidr   types.Set  `tfsdk:"outbound_blocked_cidr"`
	Http                  types.List `tfsdk:"http"`
}

func (FirewallExternalModel) AttributeTypes added in v1.2.6

func (f FirewallExternalModel) AttributeTypes() attr.Type

type FirewallExternalOutboundAllowPortModel

type FirewallExternalOutboundAllowPortModel struct {
	Protocol types.String `tfsdk:"protocol"`
	Number   types.Int32  `tfsdk:"number"`
}

func (FirewallExternalOutboundAllowPortModel) AttributeTypes added in v1.2.6

type FirewallInternalModel

type FirewallInternalModel struct {
	InboundAllowType     types.String `tfsdk:"inbound_allow_type"`
	InboundAllowWorkload types.Set    `tfsdk:"inbound_allow_workload"`
}

func (FirewallInternalModel) AttributeTypes added in v1.2.6

func (f FirewallInternalModel) AttributeTypes() attr.Type

type FirewallModel

type FirewallModel struct {
	External types.List `tfsdk:"external"`
	Internal types.List `tfsdk:"internal"`
}

func (FirewallModel) AttributeTypes added in v1.2.6

func (f FirewallModel) AttributeTypes() attr.Type

type JobModel

type JobModel struct {
	Schedule              types.String `tfsdk:"schedule"`
	ConcurrencyPolicy     types.String `tfsdk:"concurrency_policy"`
	HistoryLimit          types.Int32  `tfsdk:"history_limit"`
	RestartPolicy         types.String `tfsdk:"restart_policy"`
	ActiveDeadlineSeconds types.Int32  `tfsdk:"active_deadline_seconds"`
}

func (JobModel) AttributeTypes added in v1.2.6

func (j JobModel) AttributeTypes() attr.Type

type LoadBalancerDirectModel

type LoadBalancerDirectModel struct {
	Enabled types.Bool   `tfsdk:"enabled"`
	Ports   types.Set    `tfsdk:"port"`
	IpSet   types.String `tfsdk:"ipset"`
}

func (LoadBalancerDirectModel) AttributeTypes added in v1.2.6

func (l LoadBalancerDirectModel) AttributeTypes() attr.Type

type LoadBalancerDirectPortModel

type LoadBalancerDirectPortModel struct {
	ExternalPort  types.Int32  `tfsdk:"external_port"`
	Protocol      types.String `tfsdk:"protocol"`
	Scheme        types.String `tfsdk:"scheme"`
	ContainerPort types.Int32  `tfsdk:"container_port"`
}

func (LoadBalancerDirectPortModel) AttributeTypes added in v1.2.6

func (l LoadBalancerDirectPortModel) AttributeTypes() attr.Type

type LoadBalancerGeoLocationHeadersModel

type LoadBalancerGeoLocationHeadersModel struct {
	Asn     types.String `tfsdk:"asn"`
	City    types.String `tfsdk:"city"`
	Country types.String `tfsdk:"country"`
	Region  types.String `tfsdk:"region"`
}

func (LoadBalancerGeoLocationHeadersModel) AttributeTypes added in v1.2.6

func (l LoadBalancerGeoLocationHeadersModel) AttributeTypes() attr.Type

type LoadBalancerGeoLocationModel

type LoadBalancerGeoLocationModel struct {
	Enabled types.Bool `tfsdk:"enabled"`
	Headers types.List `tfsdk:"headers"`
}

func (LoadBalancerGeoLocationModel) AttributeTypes added in v1.2.6

func (l LoadBalancerGeoLocationModel) AttributeTypes() attr.Type

type LoadBalancerModel

type LoadBalancerModel struct {
	Direct        types.List `tfsdk:"direct"`
	GeoLocation   types.List `tfsdk:"geo_location"`
	ReplicaDirect types.Bool `tfsdk:"replica_direct"`
}

func (LoadBalancerModel) AttributeTypes added in v1.2.6

func (l LoadBalancerModel) AttributeTypes() attr.Type

type LocalOptionsModel

type LocalOptionsModel struct {
	OptionsModel
	Location types.String `tfsdk:"location"`
}

func (LocalOptionsModel) AttributeTypes added in v1.2.6

func (o LocalOptionsModel) AttributeTypes() attr.Type

type OptionsAutoscalingKedaAdvancedModel added in v1.2.6

type OptionsAutoscalingKedaAdvancedModel struct {
	ScalingModifiers types.List `tfsdk:"scaling_modifiers"`
}

func (OptionsAutoscalingKedaAdvancedModel) AttributeTypes added in v1.2.6

func (o OptionsAutoscalingKedaAdvancedModel) AttributeTypes() attr.Type

type OptionsAutoscalingKedaAdvancedScalingModifiersModel added in v1.2.6

type OptionsAutoscalingKedaAdvancedScalingModifiersModel struct {
	Target           types.String `tfsdk:"target"`
	ActivationTarget types.String `tfsdk:"activation_target"`
	MetricType       types.String `tfsdk:"metric_type"`
	Formula          types.String `tfsdk:"formula"`
}

func (OptionsAutoscalingKedaAdvancedScalingModifiersModel) AttributeTypes added in v1.2.6

type OptionsAutoscalingKedaModel added in v1.2.6

type OptionsAutoscalingKedaModel struct {
	PollingInterval       types.Int32 `tfsdk:"polling_interval"`
	CooldownPeriod        types.Int32 `tfsdk:"cooldown_period"`
	InitialCooldownPeriod types.Int32 `tfsdk:"initial_cooldown_period"`
	Triggers              types.List  `tfsdk:"trigger"`
	Advanced              types.List  `tfsdk:"advanced"`
}

func (OptionsAutoscalingKedaModel) AttributeTypes added in v1.2.6

func (o OptionsAutoscalingKedaModel) AttributeTypes() attr.Type

type OptionsAutoscalingKedaTriggerAuthenticationRefModel added in v1.2.10

type OptionsAutoscalingKedaTriggerAuthenticationRefModel struct {
	Name types.String `tfsdk:"name"`
}

func (OptionsAutoscalingKedaTriggerAuthenticationRefModel) AttributeTypes added in v1.2.10

type OptionsAutoscalingKedaTriggerModel added in v1.2.6

type OptionsAutoscalingKedaTriggerModel struct {
	Type              types.String `tfsdk:"type"`
	Metadata          types.Map    `tfsdk:"metadata"`
	Name              types.String `tfsdk:"name"`
	UseCachedMetrics  types.Bool   `tfsdk:"use_cached_metrics"`
	MetricType        types.String `tfsdk:"metric_type"`
	AuthenticationRef types.List   `tfsdk:"authentication_ref"`
}

func (OptionsAutoscalingKedaTriggerModel) AttributeTypes added in v1.2.6

func (o OptionsAutoscalingKedaTriggerModel) AttributeTypes() attr.Type

type OptionsAutoscalingModel

type OptionsAutoscalingModel struct {
	Metric           types.String `tfsdk:"metric"`
	Multi            types.List   `tfsdk:"multi"`
	MetricPercentile types.String `tfsdk:"metric_percentile"`
	Target           types.Int32  `tfsdk:"target"`
	MinScale         types.Int32  `tfsdk:"min_scale"`
	MaxScale         types.Int32  `tfsdk:"max_scale"`
	ScaleToZeroDelay types.Int32  `tfsdk:"scale_to_zero_delay"`
	MaxConcurrency   types.Int32  `tfsdk:"max_concurrency"`
	Keda             types.List   `tfsdk:"keda"`
}

func (OptionsAutoscalingModel) AttributeTypes added in v1.2.6

func (o OptionsAutoscalingModel) AttributeTypes() attr.Type

type OptionsAutoscalingMultiModel

type OptionsAutoscalingMultiModel struct {
	Metric types.String `tfsdk:"metric"`
	Target types.Int32  `tfsdk:"target"`
}

func (OptionsAutoscalingMultiModel) AttributeTypes added in v1.2.6

func (o OptionsAutoscalingMultiModel) AttributeTypes() attr.Type

type OptionsModel

type OptionsModel struct {
	Autoscaling    types.List  `tfsdk:"autoscaling"`
	TimeoutSeconds types.Int32 `tfsdk:"timeout_seconds"`
	CapacityAI     types.Bool  `tfsdk:"capacity_ai"`
	Debug          types.Bool  `tfsdk:"debug"`
	Suspend        types.Bool  `tfsdk:"suspend"`
	MultiZone      types.List  `tfsdk:"multi_zone"`
}

func (OptionsModel) AttributeTypes added in v1.2.6

func (o OptionsModel) AttributeTypes() attr.Type

type OptionsMultiZoneModel

type OptionsMultiZoneModel struct {
	Enabled types.Bool `tfsdk:"enabled"`
}

func (OptionsMultiZoneModel) AttributeTypes added in v1.2.6

func (o OptionsMultiZoneModel) AttributeTypes() attr.Type

type RequestRetryPolicyModel

type RequestRetryPolicyModel struct {
	Attempts types.Int32 `tfsdk:"attempts"`
	RetryOn  types.Set   `tfsdk:"retry_on"`
}

func (RequestRetryPolicyModel) AttributeTypes added in v1.2.6

func (r RequestRetryPolicyModel) AttributeTypes() attr.Type

type RolloutOptionsModel

type RolloutOptionsModel struct {
	MinReadySeconds               types.Int32  `tfsdk:"min_ready_seconds"`
	MaxUnavailableReplicas        types.String `tfsdk:"max_unavailable_replicas"`
	MaxSurgeReplicas              types.String `tfsdk:"max_surge_replicas"`
	ScalingPolicy                 types.String `tfsdk:"scaling_policy"`
	TerminationGracePeriodSeconds types.Int32  `tfsdk:"termination_grace_period_seconds"`
}

func (RolloutOptionsModel) AttributeTypes added in v1.2.6

func (r RolloutOptionsModel) AttributeTypes() attr.Type

type SecurityOptionsModel

type SecurityOptionsModel struct {
	FileSystemGroupId types.Int32 `tfsdk:"file_system_group_id"`
}

func (SecurityOptionsModel) AttributeTypes added in v1.2.6

func (s SecurityOptionsModel) AttributeTypes() attr.Type

type SidecarModel

type SidecarModel struct {
	Envoy types.String `tfsdk:"envoy"`
}

func (SidecarModel) AttributeTypes added in v1.2.6

func (s SidecarModel) AttributeTypes() attr.Type

type StatusHealthCheckModel

type StatusHealthCheckModel struct {
	Active      types.Bool   `tfsdk:"active"`
	Success     types.Bool   `tfsdk:"success"`
	Code        types.Int32  `tfsdk:"code"`
	Message     types.String `tfsdk:"message"`
	Failures    types.Int32  `tfsdk:"failures"`
	Successes   types.Int32  `tfsdk:"successes"`
	LastChecked types.String `tfsdk:"last_checked"`
}

func (StatusHealthCheckModel) AttributeTypes

func (s StatusHealthCheckModel) AttributeTypes() attr.Type

type StatusLoadBalancerModel

type StatusLoadBalancerModel struct {
	Origin types.String `tfsdk:"origin"`
	Url    types.String `tfsdk:"url"`
}

func (StatusLoadBalancerModel) AttributeTypes

func (s StatusLoadBalancerModel) AttributeTypes() attr.Type

type StatusModel

type StatusModel struct {
	ParentId            types.String `tfsdk:"parent_id"`
	CanonicalEndpoint   types.String `tfsdk:"canonical_endpoint"`
	Endpoint            types.String `tfsdk:"endpoint"`
	InternalName        types.String `tfsdk:"internal_name"`
	HealthCheck         types.List   `tfsdk:"health_check"`
	CurrentReplicaCount types.Int32  `tfsdk:"current_replica_count"`
	ResolvedImages      types.List   `tfsdk:"resolved_images"`
	LoadBalancer        types.List   `tfsdk:"load_balancer"`
}

func (StatusModel) AttributeTypes

func (s StatusModel) AttributeTypes() attr.Type

type StatusResolvedImageManifestModel

type StatusResolvedImageManifestModel struct {
	Image     types.String `tfsdk:"image"`
	MediaType types.String `tfsdk:"media_type"`
	Digest    types.String `tfsdk:"digest"`
	Platform  types.Map    `tfsdk:"platform"`
}

func (StatusResolvedImageManifestModel) AttributeTypes

func (s StatusResolvedImageManifestModel) AttributeTypes() attr.Type

type StatusResolvedImageModel

type StatusResolvedImageModel struct {
	Digest    types.String `tfsdk:"digest"`
	Manifests types.List   `tfsdk:"manifests"`
}

func (StatusResolvedImageModel) AttributeTypes

func (s StatusResolvedImageModel) AttributeTypes() attr.Type

type StatusResolvedImagesModel

type StatusResolvedImagesModel struct {
	ResolvedForVersion types.Int32  `tfsdk:"resolved_for_version"`
	ResolvedAt         types.String `tfsdk:"resolved_at"`
	ErrorMessages      types.Set    `tfsdk:"error_messages"`
	Images             types.List   `tfsdk:"images"`
}

func (StatusResolvedImagesModel) AttributeTypes

func (s StatusResolvedImagesModel) AttributeTypes() attr.Type

Jump to

Keyboard shortcuts

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