Documentation ¶
Index ¶
- type Container
- type ContainerAttributes
- func (c ContainerAttributes) Commands() terra.ListValue[terra.StringValue]
- func (c ContainerAttributes) Cpu() terra.NumberValue
- func (c ContainerAttributes) CpuLimit() terra.NumberValue
- func (c ContainerAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (c ContainerAttributes) Gpu() terra.ListValue[GpuAttributes]
- func (c ContainerAttributes) GpuLimit() terra.ListValue[GpuLimitAttributes]
- func (c ContainerAttributes) Image() terra.StringValue
- func (c ContainerAttributes) InternalRef() (terra.Reference, error)
- func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes
- func (c ContainerAttributes) LivenessProbe() terra.ListValue[LivenessProbeAttributes]
- func (c ContainerAttributes) Memory() terra.NumberValue
- func (c ContainerAttributes) MemoryLimit() terra.NumberValue
- func (c ContainerAttributes) Name() terra.StringValue
- func (c ContainerAttributes) Ports() terra.SetValue[PortsAttributes]
- func (c ContainerAttributes) ReadinessProbe() terra.ListValue[ReadinessProbeAttributes]
- func (c ContainerAttributes) SecureEnvironmentVariables() terra.MapValue[terra.StringValue]
- func (c ContainerAttributes) Volume() terra.ListValue[ContainerVolumeAttributes]
- type ContainerState
- type ContainerVolume
- type ContainerVolumeAttributes
- func (v ContainerVolumeAttributes) EmptyDir() terra.BoolValue
- func (v ContainerVolumeAttributes) GitRepo() terra.ListValue[ContainerVolumeGitRepoAttributes]
- func (v ContainerVolumeAttributes) InternalRef() (terra.Reference, error)
- func (v ContainerVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v ContainerVolumeAttributes) InternalWithRef(ref terra.Reference) ContainerVolumeAttributes
- func (v ContainerVolumeAttributes) MountPath() terra.StringValue
- func (v ContainerVolumeAttributes) Name() terra.StringValue
- func (v ContainerVolumeAttributes) ReadOnly() terra.BoolValue
- func (v ContainerVolumeAttributes) Secret() terra.MapValue[terra.StringValue]
- func (v ContainerVolumeAttributes) ShareName() terra.StringValue
- func (v ContainerVolumeAttributes) StorageAccountKey() terra.StringValue
- func (v ContainerVolumeAttributes) StorageAccountName() terra.StringValue
- type ContainerVolumeGitRepo
- type ContainerVolumeGitRepoAttributes
- func (gr ContainerVolumeGitRepoAttributes) Directory() terra.StringValue
- func (gr ContainerVolumeGitRepoAttributes) InternalRef() (terra.Reference, error)
- func (gr ContainerVolumeGitRepoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gr ContainerVolumeGitRepoAttributes) InternalWithRef(ref terra.Reference) ContainerVolumeGitRepoAttributes
- func (gr ContainerVolumeGitRepoAttributes) Revision() terra.StringValue
- func (gr ContainerVolumeGitRepoAttributes) Url() terra.StringValue
- type ContainerVolumeGitRepoState
- type ContainerVolumeState
- type Diagnostics
- type DiagnosticsAttributes
- func (d DiagnosticsAttributes) InternalRef() (terra.Reference, error)
- func (d DiagnosticsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DiagnosticsAttributes) InternalWithRef(ref terra.Reference) DiagnosticsAttributes
- func (d DiagnosticsAttributes) LogAnalytics() terra.ListValue[LogAnalyticsAttributes]
- type DiagnosticsState
- type DnsConfig
- type DnsConfigAttributes
- func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
- func (dc DnsConfigAttributes) Nameservers() terra.ListValue[terra.StringValue]
- func (dc DnsConfigAttributes) Options() terra.SetValue[terra.StringValue]
- func (dc DnsConfigAttributes) SearchDomains() terra.SetValue[terra.StringValue]
- type DnsConfigState
- type ExposedPort
- type ExposedPortAttributes
- func (ep ExposedPortAttributes) InternalRef() (terra.Reference, error)
- func (ep ExposedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ep ExposedPortAttributes) InternalWithRef(ref terra.Reference) ExposedPortAttributes
- func (ep ExposedPortAttributes) Port() terra.NumberValue
- func (ep ExposedPortAttributes) Protocol() terra.StringValue
- type ExposedPortState
- type Gpu
- type GpuAttributes
- type GpuLimit
- type GpuLimitAttributes
- func (gl GpuLimitAttributes) Count() terra.NumberValue
- func (gl GpuLimitAttributes) InternalRef() (terra.Reference, error)
- func (gl GpuLimitAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gl GpuLimitAttributes) InternalWithRef(ref terra.Reference) GpuLimitAttributes
- func (gl GpuLimitAttributes) Sku() terra.StringValue
- type GpuLimitState
- type GpuState
- type Identity
- type IdentityAttributes
- func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
- func (i IdentityAttributes) InternalRef() (terra.Reference, error)
- func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
- func (i IdentityAttributes) PrincipalId() terra.StringValue
- func (i IdentityAttributes) TenantId() terra.StringValue
- func (i IdentityAttributes) Type() terra.StringValue
- type IdentityState
- type ImageRegistryCredential
- type ImageRegistryCredentialAttributes
- func (irc ImageRegistryCredentialAttributes) InternalRef() (terra.Reference, error)
- func (irc ImageRegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (irc ImageRegistryCredentialAttributes) InternalWithRef(ref terra.Reference) ImageRegistryCredentialAttributes
- func (irc ImageRegistryCredentialAttributes) Password() terra.StringValue
- func (irc ImageRegistryCredentialAttributes) Server() terra.StringValue
- func (irc ImageRegistryCredentialAttributes) UserAssignedIdentityId() terra.StringValue
- func (irc ImageRegistryCredentialAttributes) Username() terra.StringValue
- type ImageRegistryCredentialState
- type InitContainer
- type InitContainerAttributes
- func (ic InitContainerAttributes) Commands() terra.ListValue[terra.StringValue]
- func (ic InitContainerAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (ic InitContainerAttributes) Image() terra.StringValue
- func (ic InitContainerAttributes) InternalRef() (terra.Reference, error)
- func (ic InitContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic InitContainerAttributes) InternalWithRef(ref terra.Reference) InitContainerAttributes
- func (ic InitContainerAttributes) Name() terra.StringValue
- func (ic InitContainerAttributes) SecureEnvironmentVariables() terra.MapValue[terra.StringValue]
- func (ic InitContainerAttributes) Volume() terra.ListValue[InitContainerVolumeAttributes]
- type InitContainerState
- type InitContainerVolume
- type InitContainerVolumeAttributes
- func (v InitContainerVolumeAttributes) EmptyDir() terra.BoolValue
- func (v InitContainerVolumeAttributes) GitRepo() terra.ListValue[InitContainerVolumeGitRepoAttributes]
- func (v InitContainerVolumeAttributes) InternalRef() (terra.Reference, error)
- func (v InitContainerVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v InitContainerVolumeAttributes) InternalWithRef(ref terra.Reference) InitContainerVolumeAttributes
- func (v InitContainerVolumeAttributes) MountPath() terra.StringValue
- func (v InitContainerVolumeAttributes) Name() terra.StringValue
- func (v InitContainerVolumeAttributes) ReadOnly() terra.BoolValue
- func (v InitContainerVolumeAttributes) Secret() terra.MapValue[terra.StringValue]
- func (v InitContainerVolumeAttributes) ShareName() terra.StringValue
- func (v InitContainerVolumeAttributes) StorageAccountKey() terra.StringValue
- func (v InitContainerVolumeAttributes) StorageAccountName() terra.StringValue
- type InitContainerVolumeGitRepo
- type InitContainerVolumeGitRepoAttributes
- func (gr InitContainerVolumeGitRepoAttributes) Directory() terra.StringValue
- func (gr InitContainerVolumeGitRepoAttributes) InternalRef() (terra.Reference, error)
- func (gr InitContainerVolumeGitRepoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gr InitContainerVolumeGitRepoAttributes) InternalWithRef(ref terra.Reference) InitContainerVolumeGitRepoAttributes
- func (gr InitContainerVolumeGitRepoAttributes) Revision() terra.StringValue
- func (gr InitContainerVolumeGitRepoAttributes) Url() terra.StringValue
- type InitContainerVolumeGitRepoState
- type InitContainerVolumeState
- type LivenessProbe
- type LivenessProbeAttributes
- func (lp LivenessProbeAttributes) Exec() terra.ListValue[terra.StringValue]
- func (lp LivenessProbeAttributes) FailureThreshold() terra.NumberValue
- func (lp LivenessProbeAttributes) HttpGet() terra.ListValue[LivenessProbeHttpGetAttributes]
- func (lp LivenessProbeAttributes) InitialDelaySeconds() terra.NumberValue
- func (lp LivenessProbeAttributes) InternalRef() (terra.Reference, error)
- func (lp LivenessProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp LivenessProbeAttributes) InternalWithRef(ref terra.Reference) LivenessProbeAttributes
- func (lp LivenessProbeAttributes) PeriodSeconds() terra.NumberValue
- func (lp LivenessProbeAttributes) SuccessThreshold() terra.NumberValue
- func (lp LivenessProbeAttributes) TimeoutSeconds() terra.NumberValue
- type LivenessProbeHttpGet
- type LivenessProbeHttpGetAttributes
- func (hg LivenessProbeHttpGetAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
- func (hg LivenessProbeHttpGetAttributes) InternalRef() (terra.Reference, error)
- func (hg LivenessProbeHttpGetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hg LivenessProbeHttpGetAttributes) InternalWithRef(ref terra.Reference) LivenessProbeHttpGetAttributes
- func (hg LivenessProbeHttpGetAttributes) Path() terra.StringValue
- func (hg LivenessProbeHttpGetAttributes) Port() terra.NumberValue
- func (hg LivenessProbeHttpGetAttributes) Scheme() terra.StringValue
- type LivenessProbeHttpGetState
- type LivenessProbeState
- type LogAnalytics
- type LogAnalyticsAttributes
- func (la LogAnalyticsAttributes) InternalRef() (terra.Reference, error)
- func (la LogAnalyticsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (la LogAnalyticsAttributes) InternalWithRef(ref terra.Reference) LogAnalyticsAttributes
- func (la LogAnalyticsAttributes) LogType() terra.StringValue
- func (la LogAnalyticsAttributes) Metadata() terra.MapValue[terra.StringValue]
- func (la LogAnalyticsAttributes) WorkspaceId() terra.StringValue
- func (la LogAnalyticsAttributes) WorkspaceKey() terra.StringValue
- type LogAnalyticsState
- type Ports
- type PortsAttributes
- func (p PortsAttributes) InternalRef() (terra.Reference, error)
- func (p PortsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PortsAttributes) InternalWithRef(ref terra.Reference) PortsAttributes
- func (p PortsAttributes) Port() terra.NumberValue
- func (p PortsAttributes) Protocol() terra.StringValue
- type PortsState
- type ReadinessProbe
- type ReadinessProbeAttributes
- func (rp ReadinessProbeAttributes) Exec() terra.ListValue[terra.StringValue]
- func (rp ReadinessProbeAttributes) FailureThreshold() terra.NumberValue
- func (rp ReadinessProbeAttributes) HttpGet() terra.ListValue[ReadinessProbeHttpGetAttributes]
- func (rp ReadinessProbeAttributes) InitialDelaySeconds() terra.NumberValue
- func (rp ReadinessProbeAttributes) InternalRef() (terra.Reference, error)
- func (rp ReadinessProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp ReadinessProbeAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeAttributes
- func (rp ReadinessProbeAttributes) PeriodSeconds() terra.NumberValue
- func (rp ReadinessProbeAttributes) SuccessThreshold() terra.NumberValue
- func (rp ReadinessProbeAttributes) TimeoutSeconds() terra.NumberValue
- type ReadinessProbeHttpGet
- type ReadinessProbeHttpGetAttributes
- func (hg ReadinessProbeHttpGetAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
- func (hg ReadinessProbeHttpGetAttributes) InternalRef() (terra.Reference, error)
- func (hg ReadinessProbeHttpGetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hg ReadinessProbeHttpGetAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeHttpGetAttributes
- func (hg ReadinessProbeHttpGetAttributes) Path() terra.StringValue
- func (hg ReadinessProbeHttpGetAttributes) Port() terra.NumberValue
- func (hg ReadinessProbeHttpGetAttributes) Scheme() terra.StringValue
- type ReadinessProbeHttpGetState
- type ReadinessProbeState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { // Commands: list of string, optional Commands terra.ListValue[terra.StringValue] `hcl:"commands,attr"` // Cpu: number, required Cpu terra.NumberValue `hcl:"cpu,attr" validate:"required"` // CpuLimit: number, optional CpuLimit terra.NumberValue `hcl:"cpu_limit,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // Image: string, required Image terra.StringValue `hcl:"image,attr" validate:"required"` // Memory: number, required Memory terra.NumberValue `hcl:"memory,attr" validate:"required"` // MemoryLimit: number, optional MemoryLimit terra.NumberValue `hcl:"memory_limit,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SecureEnvironmentVariables: map of string, optional SecureEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"secure_environment_variables,attr"` // Gpu: optional Gpu *Gpu `hcl:"gpu,block"` // GpuLimit: optional GpuLimit *GpuLimit `hcl:"gpu_limit,block"` // LivenessProbe: optional LivenessProbe *LivenessProbe `hcl:"liveness_probe,block"` // Ports: min=0 Ports []Ports `hcl:"ports,block" validate:"min=0"` // ReadinessProbe: optional ReadinessProbe *ReadinessProbe `hcl:"readiness_probe,block"` // ContainerVolume: min=0 Volume []ContainerVolume `hcl:"volume,block" validate:"min=0"` }
type ContainerAttributes ¶
type ContainerAttributes struct {
// contains filtered or unexported fields
}
func (ContainerAttributes) Commands ¶
func (c ContainerAttributes) Commands() terra.ListValue[terra.StringValue]
func (ContainerAttributes) Cpu ¶
func (c ContainerAttributes) Cpu() terra.NumberValue
func (ContainerAttributes) CpuLimit ¶
func (c ContainerAttributes) CpuLimit() terra.NumberValue
func (ContainerAttributes) EnvironmentVariables ¶
func (c ContainerAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (ContainerAttributes) Gpu ¶
func (c ContainerAttributes) Gpu() terra.ListValue[GpuAttributes]
func (ContainerAttributes) GpuLimit ¶
func (c ContainerAttributes) GpuLimit() terra.ListValue[GpuLimitAttributes]
func (ContainerAttributes) Image ¶
func (c ContainerAttributes) Image() terra.StringValue
func (ContainerAttributes) InternalRef ¶
func (c ContainerAttributes) InternalRef() (terra.Reference, error)
func (ContainerAttributes) InternalTokens ¶
func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerAttributes) InternalWithRef ¶
func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes
func (ContainerAttributes) LivenessProbe ¶
func (c ContainerAttributes) LivenessProbe() terra.ListValue[LivenessProbeAttributes]
func (ContainerAttributes) Memory ¶
func (c ContainerAttributes) Memory() terra.NumberValue
func (ContainerAttributes) MemoryLimit ¶
func (c ContainerAttributes) MemoryLimit() terra.NumberValue
func (ContainerAttributes) Name ¶
func (c ContainerAttributes) Name() terra.StringValue
func (ContainerAttributes) Ports ¶
func (c ContainerAttributes) Ports() terra.SetValue[PortsAttributes]
func (ContainerAttributes) ReadinessProbe ¶
func (c ContainerAttributes) ReadinessProbe() terra.ListValue[ReadinessProbeAttributes]
func (ContainerAttributes) SecureEnvironmentVariables ¶
func (c ContainerAttributes) SecureEnvironmentVariables() terra.MapValue[terra.StringValue]
func (ContainerAttributes) Volume ¶
func (c ContainerAttributes) Volume() terra.ListValue[ContainerVolumeAttributes]
type ContainerState ¶
type ContainerState struct { Commands []string `json:"commands"` Cpu float64 `json:"cpu"` CpuLimit float64 `json:"cpu_limit"` EnvironmentVariables map[string]string `json:"environment_variables"` Image string `json:"image"` Memory float64 `json:"memory"` MemoryLimit float64 `json:"memory_limit"` Name string `json:"name"` SecureEnvironmentVariables map[string]string `json:"secure_environment_variables"` Gpu []GpuState `json:"gpu"` GpuLimit []GpuLimitState `json:"gpu_limit"` LivenessProbe []LivenessProbeState `json:"liveness_probe"` Ports []PortsState `json:"ports"` ReadinessProbe []ReadinessProbeState `json:"readiness_probe"` Volume []ContainerVolumeState `json:"volume"` }
type ContainerVolume ¶
type ContainerVolume struct { // EmptyDir: bool, optional EmptyDir terra.BoolValue `hcl:"empty_dir,attr"` // MountPath: string, required MountPath terra.StringValue `hcl:"mount_path,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ReadOnly: bool, optional ReadOnly terra.BoolValue `hcl:"read_only,attr"` // Secret: map of string, optional Secret terra.MapValue[terra.StringValue] `hcl:"secret,attr"` ShareName terra.StringValue `hcl:"share_name,attr"` // StorageAccountKey: string, optional StorageAccountKey terra.StringValue `hcl:"storage_account_key,attr"` // StorageAccountName: string, optional StorageAccountName terra.StringValue `hcl:"storage_account_name,attr"` // ContainerVolumeGitRepo: optional GitRepo *ContainerVolumeGitRepo `hcl:"git_repo,block"` }
type ContainerVolumeAttributes ¶
type ContainerVolumeAttributes struct {
// contains filtered or unexported fields
}
func (ContainerVolumeAttributes) EmptyDir ¶
func (v ContainerVolumeAttributes) EmptyDir() terra.BoolValue
func (ContainerVolumeAttributes) GitRepo ¶
func (v ContainerVolumeAttributes) GitRepo() terra.ListValue[ContainerVolumeGitRepoAttributes]
func (ContainerVolumeAttributes) InternalRef ¶
func (v ContainerVolumeAttributes) InternalRef() (terra.Reference, error)
func (ContainerVolumeAttributes) InternalTokens ¶
func (v ContainerVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerVolumeAttributes) InternalWithRef ¶
func (v ContainerVolumeAttributes) InternalWithRef(ref terra.Reference) ContainerVolumeAttributes
func (ContainerVolumeAttributes) MountPath ¶
func (v ContainerVolumeAttributes) MountPath() terra.StringValue
func (ContainerVolumeAttributes) Name ¶
func (v ContainerVolumeAttributes) Name() terra.StringValue
func (ContainerVolumeAttributes) ReadOnly ¶
func (v ContainerVolumeAttributes) ReadOnly() terra.BoolValue
func (ContainerVolumeAttributes) Secret ¶
func (v ContainerVolumeAttributes) Secret() terra.MapValue[terra.StringValue]
func (ContainerVolumeAttributes) ShareName ¶
func (v ContainerVolumeAttributes) ShareName() terra.StringValue
func (ContainerVolumeAttributes) StorageAccountKey ¶
func (v ContainerVolumeAttributes) StorageAccountKey() terra.StringValue
func (ContainerVolumeAttributes) StorageAccountName ¶
func (v ContainerVolumeAttributes) StorageAccountName() terra.StringValue
type ContainerVolumeGitRepo ¶
type ContainerVolumeGitRepo struct { // Directory: string, optional Directory terra.StringValue `hcl:"directory,attr"` // Revision: string, optional Revision terra.StringValue `hcl:"revision,attr"` // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type ContainerVolumeGitRepoAttributes ¶
type ContainerVolumeGitRepoAttributes struct {
// contains filtered or unexported fields
}
func (ContainerVolumeGitRepoAttributes) Directory ¶
func (gr ContainerVolumeGitRepoAttributes) Directory() terra.StringValue
func (ContainerVolumeGitRepoAttributes) InternalRef ¶
func (gr ContainerVolumeGitRepoAttributes) InternalRef() (terra.Reference, error)
func (ContainerVolumeGitRepoAttributes) InternalTokens ¶
func (gr ContainerVolumeGitRepoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerVolumeGitRepoAttributes) InternalWithRef ¶
func (gr ContainerVolumeGitRepoAttributes) InternalWithRef(ref terra.Reference) ContainerVolumeGitRepoAttributes
func (ContainerVolumeGitRepoAttributes) Revision ¶
func (gr ContainerVolumeGitRepoAttributes) Revision() terra.StringValue
func (ContainerVolumeGitRepoAttributes) Url ¶
func (gr ContainerVolumeGitRepoAttributes) Url() terra.StringValue
type ContainerVolumeState ¶
type ContainerVolumeState struct { EmptyDir bool `json:"empty_dir"` MountPath string `json:"mount_path"` Name string `json:"name"` ReadOnly bool `json:"read_only"` Secret map[string]string `json:"secret"` StorageAccountKey string `json:"storage_account_key"` StorageAccountName string `json:"storage_account_name"` GitRepo []ContainerVolumeGitRepoState `json:"git_repo"` }
type Diagnostics ¶
type Diagnostics struct { // LogAnalytics: required LogAnalytics *LogAnalytics `hcl:"log_analytics,block" validate:"required"` }
type DiagnosticsAttributes ¶
type DiagnosticsAttributes struct {
// contains filtered or unexported fields
}
func (DiagnosticsAttributes) InternalRef ¶
func (d DiagnosticsAttributes) InternalRef() (terra.Reference, error)
func (DiagnosticsAttributes) InternalTokens ¶
func (d DiagnosticsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiagnosticsAttributes) InternalWithRef ¶
func (d DiagnosticsAttributes) InternalWithRef(ref terra.Reference) DiagnosticsAttributes
func (DiagnosticsAttributes) LogAnalytics ¶
func (d DiagnosticsAttributes) LogAnalytics() terra.ListValue[LogAnalyticsAttributes]
type DiagnosticsState ¶
type DiagnosticsState struct {
LogAnalytics []LogAnalyticsState `json:"log_analytics"`
}
type DnsConfig ¶
type DnsConfig struct { // Nameservers: list of string, required Nameservers terra.ListValue[terra.StringValue] `hcl:"nameservers,attr" validate:"required"` // Options: set of string, optional Options terra.SetValue[terra.StringValue] `hcl:"options,attr"` // SearchDomains: set of string, optional SearchDomains terra.SetValue[terra.StringValue] `hcl:"search_domains,attr"` }
type DnsConfigAttributes ¶
type DnsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DnsConfigAttributes) InternalRef ¶
func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
func (DnsConfigAttributes) InternalTokens ¶
func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DnsConfigAttributes) InternalWithRef ¶
func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
func (DnsConfigAttributes) Nameservers ¶
func (dc DnsConfigAttributes) Nameservers() terra.ListValue[terra.StringValue]
func (DnsConfigAttributes) Options ¶
func (dc DnsConfigAttributes) Options() terra.SetValue[terra.StringValue]
func (DnsConfigAttributes) SearchDomains ¶
func (dc DnsConfigAttributes) SearchDomains() terra.SetValue[terra.StringValue]
type DnsConfigState ¶
type ExposedPort ¶
type ExposedPort struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` }
type ExposedPortAttributes ¶
type ExposedPortAttributes struct {
// contains filtered or unexported fields
}
func (ExposedPortAttributes) InternalRef ¶
func (ep ExposedPortAttributes) InternalRef() (terra.Reference, error)
func (ExposedPortAttributes) InternalTokens ¶
func (ep ExposedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExposedPortAttributes) InternalWithRef ¶
func (ep ExposedPortAttributes) InternalWithRef(ref terra.Reference) ExposedPortAttributes
func (ExposedPortAttributes) Port ¶
func (ep ExposedPortAttributes) Port() terra.NumberValue
func (ExposedPortAttributes) Protocol ¶
func (ep ExposedPortAttributes) Protocol() terra.StringValue
type ExposedPortState ¶
type Gpu ¶
type Gpu struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Sku: string, optional Sku terra.StringValue `hcl:"sku,attr"` }
type GpuAttributes ¶
type GpuAttributes struct {
// contains filtered or unexported fields
}
func (GpuAttributes) Count ¶
func (g GpuAttributes) Count() terra.NumberValue
func (GpuAttributes) InternalRef ¶
func (g GpuAttributes) InternalRef() (terra.Reference, error)
func (GpuAttributes) InternalTokens ¶
func (g GpuAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GpuAttributes) InternalWithRef ¶
func (g GpuAttributes) InternalWithRef(ref terra.Reference) GpuAttributes
func (GpuAttributes) Sku ¶
func (g GpuAttributes) Sku() terra.StringValue
type GpuLimit ¶
type GpuLimit struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Sku: string, optional Sku terra.StringValue `hcl:"sku,attr"` }
type GpuLimitAttributes ¶
type GpuLimitAttributes struct {
// contains filtered or unexported fields
}
func (GpuLimitAttributes) Count ¶
func (gl GpuLimitAttributes) Count() terra.NumberValue
func (GpuLimitAttributes) InternalRef ¶
func (gl GpuLimitAttributes) InternalRef() (terra.Reference, error)
func (GpuLimitAttributes) InternalTokens ¶
func (gl GpuLimitAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GpuLimitAttributes) InternalWithRef ¶
func (gl GpuLimitAttributes) InternalWithRef(ref terra.Reference) GpuLimitAttributes
func (GpuLimitAttributes) Sku ¶
func (gl GpuLimitAttributes) Sku() terra.StringValue
type GpuLimitState ¶
type Identity ¶
type Identity struct { // IdentityIds: set of string, optional IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type IdentityAttributes ¶
type IdentityAttributes struct {
// contains filtered or unexported fields
}
func (IdentityAttributes) IdentityIds ¶
func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
func (IdentityAttributes) InternalRef ¶
func (i IdentityAttributes) InternalRef() (terra.Reference, error)
func (IdentityAttributes) InternalTokens ¶
func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IdentityAttributes) InternalWithRef ¶
func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
func (IdentityAttributes) PrincipalId ¶
func (i IdentityAttributes) PrincipalId() terra.StringValue
func (IdentityAttributes) TenantId ¶
func (i IdentityAttributes) TenantId() terra.StringValue
func (IdentityAttributes) Type ¶
func (i IdentityAttributes) Type() terra.StringValue
type IdentityState ¶
type ImageRegistryCredential ¶
type ImageRegistryCredential struct { // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // Server: string, required Server terra.StringValue `hcl:"server,attr" validate:"required"` // UserAssignedIdentityId: string, optional UserAssignedIdentityId terra.StringValue `hcl:"user_assigned_identity_id,attr"` // Username: string, optional Username terra.StringValue `hcl:"username,attr"` }
type ImageRegistryCredentialAttributes ¶
type ImageRegistryCredentialAttributes struct {
// contains filtered or unexported fields
}
func (ImageRegistryCredentialAttributes) InternalRef ¶
func (irc ImageRegistryCredentialAttributes) InternalRef() (terra.Reference, error)
func (ImageRegistryCredentialAttributes) InternalTokens ¶
func (irc ImageRegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImageRegistryCredentialAttributes) InternalWithRef ¶
func (irc ImageRegistryCredentialAttributes) InternalWithRef(ref terra.Reference) ImageRegistryCredentialAttributes
func (ImageRegistryCredentialAttributes) Password ¶
func (irc ImageRegistryCredentialAttributes) Password() terra.StringValue
func (ImageRegistryCredentialAttributes) Server ¶
func (irc ImageRegistryCredentialAttributes) Server() terra.StringValue
func (ImageRegistryCredentialAttributes) UserAssignedIdentityId ¶
func (irc ImageRegistryCredentialAttributes) UserAssignedIdentityId() terra.StringValue
func (ImageRegistryCredentialAttributes) Username ¶
func (irc ImageRegistryCredentialAttributes) Username() terra.StringValue
type InitContainer ¶
type InitContainer struct { // Commands: list of string, optional Commands terra.ListValue[terra.StringValue] `hcl:"commands,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // Image: string, required Image terra.StringValue `hcl:"image,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SecureEnvironmentVariables: map of string, optional SecureEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"secure_environment_variables,attr"` // InitContainerVolume: min=0 Volume []InitContainerVolume `hcl:"volume,block" validate:"min=0"` }
type InitContainerAttributes ¶
type InitContainerAttributes struct {
// contains filtered or unexported fields
}
func (InitContainerAttributes) Commands ¶
func (ic InitContainerAttributes) Commands() terra.ListValue[terra.StringValue]
func (InitContainerAttributes) EnvironmentVariables ¶
func (ic InitContainerAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (InitContainerAttributes) Image ¶
func (ic InitContainerAttributes) Image() terra.StringValue
func (InitContainerAttributes) InternalRef ¶
func (ic InitContainerAttributes) InternalRef() (terra.Reference, error)
func (InitContainerAttributes) InternalTokens ¶
func (ic InitContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitContainerAttributes) InternalWithRef ¶
func (ic InitContainerAttributes) InternalWithRef(ref terra.Reference) InitContainerAttributes
func (InitContainerAttributes) Name ¶
func (ic InitContainerAttributes) Name() terra.StringValue
func (InitContainerAttributes) SecureEnvironmentVariables ¶
func (ic InitContainerAttributes) SecureEnvironmentVariables() terra.MapValue[terra.StringValue]
func (InitContainerAttributes) Volume ¶
func (ic InitContainerAttributes) Volume() terra.ListValue[InitContainerVolumeAttributes]
type InitContainerState ¶
type InitContainerState struct { Commands []string `json:"commands"` EnvironmentVariables map[string]string `json:"environment_variables"` Image string `json:"image"` Name string `json:"name"` SecureEnvironmentVariables map[string]string `json:"secure_environment_variables"` Volume []InitContainerVolumeState `json:"volume"` }
type InitContainerVolume ¶
type InitContainerVolume struct { // EmptyDir: bool, optional EmptyDir terra.BoolValue `hcl:"empty_dir,attr"` // MountPath: string, required MountPath terra.StringValue `hcl:"mount_path,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ReadOnly: bool, optional ReadOnly terra.BoolValue `hcl:"read_only,attr"` // Secret: map of string, optional Secret terra.MapValue[terra.StringValue] `hcl:"secret,attr"` ShareName terra.StringValue `hcl:"share_name,attr"` // StorageAccountKey: string, optional StorageAccountKey terra.StringValue `hcl:"storage_account_key,attr"` // StorageAccountName: string, optional StorageAccountName terra.StringValue `hcl:"storage_account_name,attr"` // InitContainerVolumeGitRepo: optional GitRepo *InitContainerVolumeGitRepo `hcl:"git_repo,block"` }
type InitContainerVolumeAttributes ¶
type InitContainerVolumeAttributes struct {
// contains filtered or unexported fields
}
func (InitContainerVolumeAttributes) EmptyDir ¶
func (v InitContainerVolumeAttributes) EmptyDir() terra.BoolValue
func (InitContainerVolumeAttributes) GitRepo ¶
func (v InitContainerVolumeAttributes) GitRepo() terra.ListValue[InitContainerVolumeGitRepoAttributes]
func (InitContainerVolumeAttributes) InternalRef ¶
func (v InitContainerVolumeAttributes) InternalRef() (terra.Reference, error)
func (InitContainerVolumeAttributes) InternalTokens ¶
func (v InitContainerVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitContainerVolumeAttributes) InternalWithRef ¶
func (v InitContainerVolumeAttributes) InternalWithRef(ref terra.Reference) InitContainerVolumeAttributes
func (InitContainerVolumeAttributes) MountPath ¶
func (v InitContainerVolumeAttributes) MountPath() terra.StringValue
func (InitContainerVolumeAttributes) Name ¶
func (v InitContainerVolumeAttributes) Name() terra.StringValue
func (InitContainerVolumeAttributes) ReadOnly ¶
func (v InitContainerVolumeAttributes) ReadOnly() terra.BoolValue
func (InitContainerVolumeAttributes) Secret ¶
func (v InitContainerVolumeAttributes) Secret() terra.MapValue[terra.StringValue]
func (InitContainerVolumeAttributes) ShareName ¶
func (v InitContainerVolumeAttributes) ShareName() terra.StringValue
func (InitContainerVolumeAttributes) StorageAccountKey ¶
func (v InitContainerVolumeAttributes) StorageAccountKey() terra.StringValue
func (InitContainerVolumeAttributes) StorageAccountName ¶
func (v InitContainerVolumeAttributes) StorageAccountName() terra.StringValue
type InitContainerVolumeGitRepo ¶
type InitContainerVolumeGitRepo struct { // Directory: string, optional Directory terra.StringValue `hcl:"directory,attr"` // Revision: string, optional Revision terra.StringValue `hcl:"revision,attr"` // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type InitContainerVolumeGitRepoAttributes ¶
type InitContainerVolumeGitRepoAttributes struct {
// contains filtered or unexported fields
}
func (InitContainerVolumeGitRepoAttributes) Directory ¶
func (gr InitContainerVolumeGitRepoAttributes) Directory() terra.StringValue
func (InitContainerVolumeGitRepoAttributes) InternalRef ¶
func (gr InitContainerVolumeGitRepoAttributes) InternalRef() (terra.Reference, error)
func (InitContainerVolumeGitRepoAttributes) InternalTokens ¶
func (gr InitContainerVolumeGitRepoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitContainerVolumeGitRepoAttributes) InternalWithRef ¶
func (gr InitContainerVolumeGitRepoAttributes) InternalWithRef(ref terra.Reference) InitContainerVolumeGitRepoAttributes
func (InitContainerVolumeGitRepoAttributes) Revision ¶
func (gr InitContainerVolumeGitRepoAttributes) Revision() terra.StringValue
func (InitContainerVolumeGitRepoAttributes) Url ¶
func (gr InitContainerVolumeGitRepoAttributes) Url() terra.StringValue
type InitContainerVolumeState ¶
type InitContainerVolumeState struct { EmptyDir bool `json:"empty_dir"` MountPath string `json:"mount_path"` Name string `json:"name"` ReadOnly bool `json:"read_only"` Secret map[string]string `json:"secret"` StorageAccountKey string `json:"storage_account_key"` StorageAccountName string `json:"storage_account_name"` GitRepo []InitContainerVolumeGitRepoState `json:"git_repo"` }
type LivenessProbe ¶
type LivenessProbe struct { // Exec: list of string, optional Exec terra.ListValue[terra.StringValue] `hcl:"exec,attr"` // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` // InitialDelaySeconds: number, optional InitialDelaySeconds terra.NumberValue `hcl:"initial_delay_seconds,attr"` // PeriodSeconds: number, optional PeriodSeconds terra.NumberValue `hcl:"period_seconds,attr"` // SuccessThreshold: number, optional SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"` // TimeoutSeconds: number, optional TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"` // LivenessProbeHttpGet: min=0 HttpGet []LivenessProbeHttpGet `hcl:"http_get,block" validate:"min=0"` }
type LivenessProbeAttributes ¶
type LivenessProbeAttributes struct {
// contains filtered or unexported fields
}
func (LivenessProbeAttributes) Exec ¶
func (lp LivenessProbeAttributes) Exec() terra.ListValue[terra.StringValue]
func (LivenessProbeAttributes) FailureThreshold ¶
func (lp LivenessProbeAttributes) FailureThreshold() terra.NumberValue
func (LivenessProbeAttributes) HttpGet ¶
func (lp LivenessProbeAttributes) HttpGet() terra.ListValue[LivenessProbeHttpGetAttributes]
func (LivenessProbeAttributes) InitialDelaySeconds ¶
func (lp LivenessProbeAttributes) InitialDelaySeconds() terra.NumberValue
func (LivenessProbeAttributes) InternalRef ¶
func (lp LivenessProbeAttributes) InternalRef() (terra.Reference, error)
func (LivenessProbeAttributes) InternalTokens ¶
func (lp LivenessProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LivenessProbeAttributes) InternalWithRef ¶
func (lp LivenessProbeAttributes) InternalWithRef(ref terra.Reference) LivenessProbeAttributes
func (LivenessProbeAttributes) PeriodSeconds ¶
func (lp LivenessProbeAttributes) PeriodSeconds() terra.NumberValue
func (LivenessProbeAttributes) SuccessThreshold ¶
func (lp LivenessProbeAttributes) SuccessThreshold() terra.NumberValue
func (LivenessProbeAttributes) TimeoutSeconds ¶
func (lp LivenessProbeAttributes) TimeoutSeconds() terra.NumberValue
type LivenessProbeHttpGet ¶
type LivenessProbeHttpGet struct { // HttpHeaders: map of string, optional HttpHeaders terra.MapValue[terra.StringValue] `hcl:"http_headers,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Scheme: string, optional Scheme terra.StringValue `hcl:"scheme,attr"` }
type LivenessProbeHttpGetAttributes ¶
type LivenessProbeHttpGetAttributes struct {
// contains filtered or unexported fields
}
func (LivenessProbeHttpGetAttributes) HttpHeaders ¶
func (hg LivenessProbeHttpGetAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
func (LivenessProbeHttpGetAttributes) InternalRef ¶
func (hg LivenessProbeHttpGetAttributes) InternalRef() (terra.Reference, error)
func (LivenessProbeHttpGetAttributes) InternalTokens ¶
func (hg LivenessProbeHttpGetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LivenessProbeHttpGetAttributes) InternalWithRef ¶
func (hg LivenessProbeHttpGetAttributes) InternalWithRef(ref terra.Reference) LivenessProbeHttpGetAttributes
func (LivenessProbeHttpGetAttributes) Path ¶
func (hg LivenessProbeHttpGetAttributes) Path() terra.StringValue
func (LivenessProbeHttpGetAttributes) Port ¶
func (hg LivenessProbeHttpGetAttributes) Port() terra.NumberValue
func (LivenessProbeHttpGetAttributes) Scheme ¶
func (hg LivenessProbeHttpGetAttributes) Scheme() terra.StringValue
type LivenessProbeState ¶
type LivenessProbeState struct { Exec []string `json:"exec"` FailureThreshold float64 `json:"failure_threshold"` InitialDelaySeconds float64 `json:"initial_delay_seconds"` PeriodSeconds float64 `json:"period_seconds"` SuccessThreshold float64 `json:"success_threshold"` TimeoutSeconds float64 `json:"timeout_seconds"` HttpGet []LivenessProbeHttpGetState `json:"http_get"` }
type LogAnalytics ¶
type LogAnalytics struct { // LogType: string, optional LogType terra.StringValue `hcl:"log_type,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // WorkspaceId: string, required WorkspaceId terra.StringValue `hcl:"workspace_id,attr" validate:"required"` // WorkspaceKey: string, required WorkspaceKey terra.StringValue `hcl:"workspace_key,attr" validate:"required"` }
type LogAnalyticsAttributes ¶
type LogAnalyticsAttributes struct {
// contains filtered or unexported fields
}
func (LogAnalyticsAttributes) InternalRef ¶
func (la LogAnalyticsAttributes) InternalRef() (terra.Reference, error)
func (LogAnalyticsAttributes) InternalTokens ¶
func (la LogAnalyticsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogAnalyticsAttributes) InternalWithRef ¶
func (la LogAnalyticsAttributes) InternalWithRef(ref terra.Reference) LogAnalyticsAttributes
func (LogAnalyticsAttributes) LogType ¶
func (la LogAnalyticsAttributes) LogType() terra.StringValue
func (LogAnalyticsAttributes) Metadata ¶
func (la LogAnalyticsAttributes) Metadata() terra.MapValue[terra.StringValue]
func (LogAnalyticsAttributes) WorkspaceId ¶
func (la LogAnalyticsAttributes) WorkspaceId() terra.StringValue
func (LogAnalyticsAttributes) WorkspaceKey ¶
func (la LogAnalyticsAttributes) WorkspaceKey() terra.StringValue
type LogAnalyticsState ¶
type Ports ¶
type Ports struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` }
type PortsAttributes ¶
type PortsAttributes struct {
// contains filtered or unexported fields
}
func (PortsAttributes) InternalRef ¶
func (p PortsAttributes) InternalRef() (terra.Reference, error)
func (PortsAttributes) InternalTokens ¶
func (p PortsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PortsAttributes) InternalWithRef ¶
func (p PortsAttributes) InternalWithRef(ref terra.Reference) PortsAttributes
func (PortsAttributes) Port ¶
func (p PortsAttributes) Port() terra.NumberValue
func (PortsAttributes) Protocol ¶
func (p PortsAttributes) Protocol() terra.StringValue
type PortsState ¶
type ReadinessProbe ¶
type ReadinessProbe struct { // Exec: list of string, optional Exec terra.ListValue[terra.StringValue] `hcl:"exec,attr"` // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` // InitialDelaySeconds: number, optional InitialDelaySeconds terra.NumberValue `hcl:"initial_delay_seconds,attr"` // PeriodSeconds: number, optional PeriodSeconds terra.NumberValue `hcl:"period_seconds,attr"` // SuccessThreshold: number, optional SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"` // TimeoutSeconds: number, optional TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"` // ReadinessProbeHttpGet: min=0 HttpGet []ReadinessProbeHttpGet `hcl:"http_get,block" validate:"min=0"` }
type ReadinessProbeAttributes ¶
type ReadinessProbeAttributes struct {
// contains filtered or unexported fields
}
func (ReadinessProbeAttributes) Exec ¶
func (rp ReadinessProbeAttributes) Exec() terra.ListValue[terra.StringValue]
func (ReadinessProbeAttributes) FailureThreshold ¶
func (rp ReadinessProbeAttributes) FailureThreshold() terra.NumberValue
func (ReadinessProbeAttributes) HttpGet ¶
func (rp ReadinessProbeAttributes) HttpGet() terra.ListValue[ReadinessProbeHttpGetAttributes]
func (ReadinessProbeAttributes) InitialDelaySeconds ¶
func (rp ReadinessProbeAttributes) InitialDelaySeconds() terra.NumberValue
func (ReadinessProbeAttributes) InternalRef ¶
func (rp ReadinessProbeAttributes) InternalRef() (terra.Reference, error)
func (ReadinessProbeAttributes) InternalTokens ¶
func (rp ReadinessProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadinessProbeAttributes) InternalWithRef ¶
func (rp ReadinessProbeAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeAttributes
func (ReadinessProbeAttributes) PeriodSeconds ¶
func (rp ReadinessProbeAttributes) PeriodSeconds() terra.NumberValue
func (ReadinessProbeAttributes) SuccessThreshold ¶
func (rp ReadinessProbeAttributes) SuccessThreshold() terra.NumberValue
func (ReadinessProbeAttributes) TimeoutSeconds ¶
func (rp ReadinessProbeAttributes) TimeoutSeconds() terra.NumberValue
type ReadinessProbeHttpGet ¶
type ReadinessProbeHttpGet struct { // HttpHeaders: map of string, optional HttpHeaders terra.MapValue[terra.StringValue] `hcl:"http_headers,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Scheme: string, optional Scheme terra.StringValue `hcl:"scheme,attr"` }
type ReadinessProbeHttpGetAttributes ¶
type ReadinessProbeHttpGetAttributes struct {
// contains filtered or unexported fields
}
func (ReadinessProbeHttpGetAttributes) HttpHeaders ¶
func (hg ReadinessProbeHttpGetAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
func (ReadinessProbeHttpGetAttributes) InternalRef ¶
func (hg ReadinessProbeHttpGetAttributes) InternalRef() (terra.Reference, error)
func (ReadinessProbeHttpGetAttributes) InternalTokens ¶
func (hg ReadinessProbeHttpGetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadinessProbeHttpGetAttributes) InternalWithRef ¶
func (hg ReadinessProbeHttpGetAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeHttpGetAttributes
func (ReadinessProbeHttpGetAttributes) Path ¶
func (hg ReadinessProbeHttpGetAttributes) Path() terra.StringValue
func (ReadinessProbeHttpGetAttributes) Port ¶
func (hg ReadinessProbeHttpGetAttributes) Port() terra.NumberValue
func (ReadinessProbeHttpGetAttributes) Scheme ¶
func (hg ReadinessProbeHttpGetAttributes) Scheme() terra.StringValue
type ReadinessProbeState ¶
type ReadinessProbeState struct { Exec []string `json:"exec"` FailureThreshold float64 `json:"failure_threshold"` InitialDelaySeconds float64 `json:"initial_delay_seconds"` PeriodSeconds float64 `json:"period_seconds"` SuccessThreshold float64 `json:"success_threshold"` TimeoutSeconds float64 `json:"timeout_seconds"` HttpGet []ReadinessProbeHttpGetState `json:"http_get"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.