Documentation
¶
Index ¶
- type Container
- type ContainerAttributes
- func (c ContainerAttributes) Args() terra.ListValue[terra.StringValue]
- func (c ContainerAttributes) Command() terra.ListValue[terra.StringValue]
- func (c ContainerAttributes) Cpu() terra.NumberValue
- func (c ContainerAttributes) Env() terra.ListValue[EnvAttributes]
- func (c ContainerAttributes) EphemeralStorage() terra.StringValue
- 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.StringValue
- func (c ContainerAttributes) Name() terra.StringValue
- func (c ContainerAttributes) ReadinessProbe() terra.ListValue[ReadinessProbeAttributes]
- func (c ContainerAttributes) StartupProbe() terra.ListValue[StartupProbeAttributes]
- func (c ContainerAttributes) VolumeMounts() terra.ListValue[VolumeMountsAttributes]
- type ContainerState
- type CustomDomain
- type CustomDomainAttributes
- func (cd CustomDomainAttributes) CertificateBindingType() terra.StringValue
- func (cd CustomDomainAttributes) CertificateId() terra.StringValue
- func (cd CustomDomainAttributes) InternalRef() (terra.Reference, error)
- func (cd CustomDomainAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cd CustomDomainAttributes) InternalWithRef(ref terra.Reference) CustomDomainAttributes
- func (cd CustomDomainAttributes) Name() terra.StringValue
- type CustomDomainState
- type Dapr
- type DaprAttributes
- func (d DaprAttributes) AppId() terra.StringValue
- func (d DaprAttributes) AppPort() terra.NumberValue
- func (d DaprAttributes) AppProtocol() terra.StringValue
- func (d DaprAttributes) InternalRef() (terra.Reference, error)
- func (d DaprAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DaprAttributes) InternalWithRef(ref terra.Reference) DaprAttributes
- type DaprState
- type Env
- type EnvAttributes
- func (e EnvAttributes) InternalRef() (terra.Reference, error)
- func (e EnvAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EnvAttributes) InternalWithRef(ref terra.Reference) EnvAttributes
- func (e EnvAttributes) Name() terra.StringValue
- func (e EnvAttributes) SecretName() terra.StringValue
- func (e EnvAttributes) Value() terra.StringValue
- type EnvState
- 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 Ingress
- type IngressAttributes
- func (i IngressAttributes) AllowInsecureConnections() terra.BoolValue
- func (i IngressAttributes) CustomDomain() terra.ListValue[CustomDomainAttributes]
- func (i IngressAttributes) ExternalEnabled() terra.BoolValue
- func (i IngressAttributes) Fqdn() terra.StringValue
- func (i IngressAttributes) InternalRef() (terra.Reference, error)
- func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes
- func (i IngressAttributes) TargetPort() terra.NumberValue
- func (i IngressAttributes) TrafficWeight() terra.ListValue[TrafficWeightAttributes]
- func (i IngressAttributes) Transport() terra.StringValue
- type IngressState
- type LivenessProbe
- type LivenessProbeAttributes
- func (lp LivenessProbeAttributes) FailureCountThreshold() terra.NumberValue
- func (lp LivenessProbeAttributes) Header() terra.ListValue[LivenessProbeHeaderAttributes]
- func (lp LivenessProbeAttributes) Host() terra.StringValue
- func (lp LivenessProbeAttributes) InitialDelay() 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) IntervalSeconds() terra.NumberValue
- func (lp LivenessProbeAttributes) Path() terra.StringValue
- func (lp LivenessProbeAttributes) Port() terra.NumberValue
- func (lp LivenessProbeAttributes) TerminationGracePeriodSeconds() terra.NumberValue
- func (lp LivenessProbeAttributes) Timeout() terra.NumberValue
- func (lp LivenessProbeAttributes) Transport() terra.StringValue
- type LivenessProbeHeader
- type LivenessProbeHeaderAttributes
- func (h LivenessProbeHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h LivenessProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h LivenessProbeHeaderAttributes) InternalWithRef(ref terra.Reference) LivenessProbeHeaderAttributes
- func (h LivenessProbeHeaderAttributes) Name() terra.StringValue
- func (h LivenessProbeHeaderAttributes) Value() terra.StringValue
- type LivenessProbeHeaderState
- type LivenessProbeState
- type ReadinessProbe
- type ReadinessProbeAttributes
- func (rp ReadinessProbeAttributes) FailureCountThreshold() terra.NumberValue
- func (rp ReadinessProbeAttributes) Header() terra.ListValue[ReadinessProbeHeaderAttributes]
- func (rp ReadinessProbeAttributes) Host() terra.StringValue
- 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) IntervalSeconds() terra.NumberValue
- func (rp ReadinessProbeAttributes) Path() terra.StringValue
- func (rp ReadinessProbeAttributes) Port() terra.NumberValue
- func (rp ReadinessProbeAttributes) SuccessCountThreshold() terra.NumberValue
- func (rp ReadinessProbeAttributes) Timeout() terra.NumberValue
- func (rp ReadinessProbeAttributes) Transport() terra.StringValue
- type ReadinessProbeHeader
- type ReadinessProbeHeaderAttributes
- func (h ReadinessProbeHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h ReadinessProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h ReadinessProbeHeaderAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeHeaderAttributes
- func (h ReadinessProbeHeaderAttributes) Name() terra.StringValue
- func (h ReadinessProbeHeaderAttributes) Value() terra.StringValue
- type ReadinessProbeHeaderState
- type ReadinessProbeState
- type Registry
- type RegistryAttributes
- func (r RegistryAttributes) Identity() terra.StringValue
- func (r RegistryAttributes) InternalRef() (terra.Reference, error)
- func (r RegistryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RegistryAttributes) InternalWithRef(ref terra.Reference) RegistryAttributes
- func (r RegistryAttributes) PasswordSecretName() terra.StringValue
- func (r RegistryAttributes) Server() terra.StringValue
- func (r RegistryAttributes) Username() terra.StringValue
- type RegistryState
- type Secret
- type SecretAttributes
- func (s SecretAttributes) InternalRef() (terra.Reference, error)
- func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes
- func (s SecretAttributes) Name() terra.StringValue
- func (s SecretAttributes) Value() terra.StringValue
- type SecretState
- type StartupProbe
- type StartupProbeAttributes
- func (sp StartupProbeAttributes) FailureCountThreshold() terra.NumberValue
- func (sp StartupProbeAttributes) Header() terra.ListValue[StartupProbeHeaderAttributes]
- func (sp StartupProbeAttributes) Host() terra.StringValue
- func (sp StartupProbeAttributes) InternalRef() (terra.Reference, error)
- func (sp StartupProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp StartupProbeAttributes) InternalWithRef(ref terra.Reference) StartupProbeAttributes
- func (sp StartupProbeAttributes) IntervalSeconds() terra.NumberValue
- func (sp StartupProbeAttributes) Path() terra.StringValue
- func (sp StartupProbeAttributes) Port() terra.NumberValue
- func (sp StartupProbeAttributes) TerminationGracePeriodSeconds() terra.NumberValue
- func (sp StartupProbeAttributes) Timeout() terra.NumberValue
- func (sp StartupProbeAttributes) Transport() terra.StringValue
- type StartupProbeHeader
- type StartupProbeHeaderAttributes
- func (h StartupProbeHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h StartupProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h StartupProbeHeaderAttributes) InternalWithRef(ref terra.Reference) StartupProbeHeaderAttributes
- func (h StartupProbeHeaderAttributes) Name() terra.StringValue
- func (h StartupProbeHeaderAttributes) Value() terra.StringValue
- type StartupProbeHeaderState
- type StartupProbeState
- type Template
- type TemplateAttributes
- func (t TemplateAttributes) Container() terra.ListValue[ContainerAttributes]
- func (t TemplateAttributes) InternalRef() (terra.Reference, error)
- func (t TemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TemplateAttributes) InternalWithRef(ref terra.Reference) TemplateAttributes
- func (t TemplateAttributes) MaxReplicas() terra.NumberValue
- func (t TemplateAttributes) MinReplicas() terra.NumberValue
- func (t TemplateAttributes) RevisionSuffix() terra.StringValue
- func (t TemplateAttributes) Volume() terra.ListValue[VolumeAttributes]
- type TemplateState
- 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
- type TrafficWeight
- type TrafficWeightAttributes
- func (tw TrafficWeightAttributes) InternalRef() (terra.Reference, error)
- func (tw TrafficWeightAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tw TrafficWeightAttributes) InternalWithRef(ref terra.Reference) TrafficWeightAttributes
- func (tw TrafficWeightAttributes) Label() terra.StringValue
- func (tw TrafficWeightAttributes) LatestRevision() terra.BoolValue
- func (tw TrafficWeightAttributes) Percentage() terra.NumberValue
- func (tw TrafficWeightAttributes) RevisionSuffix() terra.StringValue
- type TrafficWeightState
- type Volume
- type VolumeAttributes
- func (v VolumeAttributes) InternalRef() (terra.Reference, error)
- func (v VolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v VolumeAttributes) InternalWithRef(ref terra.Reference) VolumeAttributes
- func (v VolumeAttributes) Name() terra.StringValue
- func (v VolumeAttributes) StorageName() terra.StringValue
- func (v VolumeAttributes) StorageType() terra.StringValue
- type VolumeMounts
- type VolumeMountsAttributes
- func (vm VolumeMountsAttributes) InternalRef() (terra.Reference, error)
- func (vm VolumeMountsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vm VolumeMountsAttributes) InternalWithRef(ref terra.Reference) VolumeMountsAttributes
- func (vm VolumeMountsAttributes) Name() terra.StringValue
- func (vm VolumeMountsAttributes) Path() terra.StringValue
- type VolumeMountsState
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { // Args: list of string, optional Args terra.ListValue[terra.StringValue] `hcl:"args,attr"` // Command: list of string, optional Command terra.ListValue[terra.StringValue] `hcl:"command,attr"` // Cpu: number, required Cpu terra.NumberValue `hcl:"cpu,attr" validate:"required"` // Image: string, required Image terra.StringValue `hcl:"image,attr" validate:"required"` // Memory: string, required Memory terra.StringValue `hcl:"memory,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Env: min=0 Env []Env `hcl:"env,block" validate:"min=0"` // LivenessProbe: min=0 LivenessProbe []LivenessProbe `hcl:"liveness_probe,block" validate:"min=0"` // ReadinessProbe: min=0 ReadinessProbe []ReadinessProbe `hcl:"readiness_probe,block" validate:"min=0"` // StartupProbe: min=0 StartupProbe []StartupProbe `hcl:"startup_probe,block" validate:"min=0"` // VolumeMounts: min=0 VolumeMounts []VolumeMounts `hcl:"volume_mounts,block" validate:"min=0"` }
type ContainerAttributes ¶
type ContainerAttributes struct {
// contains filtered or unexported fields
}
func (ContainerAttributes) Args ¶
func (c ContainerAttributes) Args() terra.ListValue[terra.StringValue]
func (ContainerAttributes) Command ¶
func (c ContainerAttributes) Command() terra.ListValue[terra.StringValue]
func (ContainerAttributes) Cpu ¶
func (c ContainerAttributes) Cpu() terra.NumberValue
func (ContainerAttributes) Env ¶
func (c ContainerAttributes) Env() terra.ListValue[EnvAttributes]
func (ContainerAttributes) EphemeralStorage ¶
func (c ContainerAttributes) EphemeralStorage() terra.StringValue
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.StringValue
func (ContainerAttributes) Name ¶
func (c ContainerAttributes) Name() terra.StringValue
func (ContainerAttributes) ReadinessProbe ¶
func (c ContainerAttributes) ReadinessProbe() terra.ListValue[ReadinessProbeAttributes]
func (ContainerAttributes) StartupProbe ¶
func (c ContainerAttributes) StartupProbe() terra.ListValue[StartupProbeAttributes]
func (ContainerAttributes) VolumeMounts ¶
func (c ContainerAttributes) VolumeMounts() terra.ListValue[VolumeMountsAttributes]
type ContainerState ¶
type ContainerState struct { Args []string `json:"args"` Command []string `json:"command"` Cpu float64 `json:"cpu"` EphemeralStorage string `json:"ephemeral_storage"` Image string `json:"image"` Memory string `json:"memory"` Name string `json:"name"` Env []EnvState `json:"env"` LivenessProbe []LivenessProbeState `json:"liveness_probe"` ReadinessProbe []ReadinessProbeState `json:"readiness_probe"` StartupProbe []StartupProbeState `json:"startup_probe"` VolumeMounts []VolumeMountsState `json:"volume_mounts"` }
type CustomDomain ¶
type CustomDomain struct { // CertificateBindingType: string, optional CertificateBindingType terra.StringValue `hcl:"certificate_binding_type,attr"` // CertificateId: string, required CertificateId terra.StringValue `hcl:"certificate_id,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type CustomDomainAttributes ¶
type CustomDomainAttributes struct {
// contains filtered or unexported fields
}
func (CustomDomainAttributes) CertificateBindingType ¶
func (cd CustomDomainAttributes) CertificateBindingType() terra.StringValue
func (CustomDomainAttributes) CertificateId ¶
func (cd CustomDomainAttributes) CertificateId() terra.StringValue
func (CustomDomainAttributes) InternalRef ¶
func (cd CustomDomainAttributes) InternalRef() (terra.Reference, error)
func (CustomDomainAttributes) InternalTokens ¶
func (cd CustomDomainAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomDomainAttributes) InternalWithRef ¶
func (cd CustomDomainAttributes) InternalWithRef(ref terra.Reference) CustomDomainAttributes
func (CustomDomainAttributes) Name ¶
func (cd CustomDomainAttributes) Name() terra.StringValue
type CustomDomainState ¶
type Dapr ¶
type Dapr struct { // AppId: string, required AppId terra.StringValue `hcl:"app_id,attr" validate:"required"` // AppPort: number, required AppPort terra.NumberValue `hcl:"app_port,attr" validate:"required"` // AppProtocol: string, optional AppProtocol terra.StringValue `hcl:"app_protocol,attr"` }
type DaprAttributes ¶
type DaprAttributes struct {
// contains filtered or unexported fields
}
func (DaprAttributes) AppId ¶
func (d DaprAttributes) AppId() terra.StringValue
func (DaprAttributes) AppPort ¶
func (d DaprAttributes) AppPort() terra.NumberValue
func (DaprAttributes) AppProtocol ¶
func (d DaprAttributes) AppProtocol() terra.StringValue
func (DaprAttributes) InternalRef ¶
func (d DaprAttributes) InternalRef() (terra.Reference, error)
func (DaprAttributes) InternalTokens ¶
func (d DaprAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DaprAttributes) InternalWithRef ¶
func (d DaprAttributes) InternalWithRef(ref terra.Reference) DaprAttributes
type Env ¶
type Env struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SecretName: string, optional SecretName terra.StringValue `hcl:"secret_name,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type EnvAttributes ¶
type EnvAttributes struct {
// contains filtered or unexported fields
}
func (EnvAttributes) InternalRef ¶
func (e EnvAttributes) InternalRef() (terra.Reference, error)
func (EnvAttributes) InternalTokens ¶
func (e EnvAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EnvAttributes) InternalWithRef ¶
func (e EnvAttributes) InternalWithRef(ref terra.Reference) EnvAttributes
func (EnvAttributes) Name ¶
func (e EnvAttributes) Name() terra.StringValue
func (EnvAttributes) SecretName ¶
func (e EnvAttributes) SecretName() terra.StringValue
func (EnvAttributes) Value ¶
func (e EnvAttributes) Value() terra.StringValue
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 Ingress ¶
type Ingress struct { // AllowInsecureConnections: bool, optional AllowInsecureConnections terra.BoolValue `hcl:"allow_insecure_connections,attr"` // ExternalEnabled: bool, optional ExternalEnabled terra.BoolValue `hcl:"external_enabled,attr"` // TargetPort: number, required TargetPort terra.NumberValue `hcl:"target_port,attr" validate:"required"` // Transport: string, optional Transport terra.StringValue `hcl:"transport,attr"` // CustomDomain: optional CustomDomain *CustomDomain `hcl:"custom_domain,block"` // TrafficWeight: min=1 TrafficWeight []TrafficWeight `hcl:"traffic_weight,block" validate:"min=1"` }
type IngressAttributes ¶
type IngressAttributes struct {
// contains filtered or unexported fields
}
func (IngressAttributes) AllowInsecureConnections ¶
func (i IngressAttributes) AllowInsecureConnections() terra.BoolValue
func (IngressAttributes) CustomDomain ¶
func (i IngressAttributes) CustomDomain() terra.ListValue[CustomDomainAttributes]
func (IngressAttributes) ExternalEnabled ¶
func (i IngressAttributes) ExternalEnabled() terra.BoolValue
func (IngressAttributes) Fqdn ¶
func (i IngressAttributes) Fqdn() terra.StringValue
func (IngressAttributes) InternalRef ¶
func (i IngressAttributes) InternalRef() (terra.Reference, error)
func (IngressAttributes) InternalTokens ¶
func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IngressAttributes) InternalWithRef ¶
func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes
func (IngressAttributes) TargetPort ¶
func (i IngressAttributes) TargetPort() terra.NumberValue
func (IngressAttributes) TrafficWeight ¶
func (i IngressAttributes) TrafficWeight() terra.ListValue[TrafficWeightAttributes]
func (IngressAttributes) Transport ¶
func (i IngressAttributes) Transport() terra.StringValue
type IngressState ¶
type IngressState struct { AllowInsecureConnections bool `json:"allow_insecure_connections"` ExternalEnabled bool `json:"external_enabled"` Fqdn string `json:"fqdn"` TargetPort float64 `json:"target_port"` Transport string `json:"transport"` CustomDomain []CustomDomainState `json:"custom_domain"` TrafficWeight []TrafficWeightState `json:"traffic_weight"` }
type LivenessProbe ¶
type LivenessProbe struct { // FailureCountThreshold: number, optional FailureCountThreshold terra.NumberValue `hcl:"failure_count_threshold,attr"` // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // InitialDelay: number, optional InitialDelay terra.NumberValue `hcl:"initial_delay,attr"` // IntervalSeconds: number, optional IntervalSeconds terra.NumberValue `hcl:"interval_seconds,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // Transport: string, required Transport terra.StringValue `hcl:"transport,attr" validate:"required"` // LivenessProbeHeader: min=0 Header []LivenessProbeHeader `hcl:"header,block" validate:"min=0"` }
type LivenessProbeAttributes ¶
type LivenessProbeAttributes struct {
// contains filtered or unexported fields
}
func (LivenessProbeAttributes) FailureCountThreshold ¶
func (lp LivenessProbeAttributes) FailureCountThreshold() terra.NumberValue
func (LivenessProbeAttributes) Header ¶
func (lp LivenessProbeAttributes) Header() terra.ListValue[LivenessProbeHeaderAttributes]
func (LivenessProbeAttributes) Host ¶
func (lp LivenessProbeAttributes) Host() terra.StringValue
func (LivenessProbeAttributes) InitialDelay ¶
func (lp LivenessProbeAttributes) InitialDelay() 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) IntervalSeconds ¶
func (lp LivenessProbeAttributes) IntervalSeconds() terra.NumberValue
func (LivenessProbeAttributes) Path ¶
func (lp LivenessProbeAttributes) Path() terra.StringValue
func (LivenessProbeAttributes) Port ¶
func (lp LivenessProbeAttributes) Port() terra.NumberValue
func (LivenessProbeAttributes) TerminationGracePeriodSeconds ¶
func (lp LivenessProbeAttributes) TerminationGracePeriodSeconds() terra.NumberValue
func (LivenessProbeAttributes) Timeout ¶
func (lp LivenessProbeAttributes) Timeout() terra.NumberValue
func (LivenessProbeAttributes) Transport ¶
func (lp LivenessProbeAttributes) Transport() terra.StringValue
type LivenessProbeHeader ¶
type LivenessProbeHeader struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type LivenessProbeHeaderAttributes ¶
type LivenessProbeHeaderAttributes struct {
// contains filtered or unexported fields
}
func (LivenessProbeHeaderAttributes) InternalRef ¶
func (h LivenessProbeHeaderAttributes) InternalRef() (terra.Reference, error)
func (LivenessProbeHeaderAttributes) InternalTokens ¶
func (h LivenessProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LivenessProbeHeaderAttributes) InternalWithRef ¶
func (h LivenessProbeHeaderAttributes) InternalWithRef(ref terra.Reference) LivenessProbeHeaderAttributes
func (LivenessProbeHeaderAttributes) Name ¶
func (h LivenessProbeHeaderAttributes) Name() terra.StringValue
func (LivenessProbeHeaderAttributes) Value ¶
func (h LivenessProbeHeaderAttributes) Value() terra.StringValue
type LivenessProbeState ¶
type LivenessProbeState struct { FailureCountThreshold float64 `json:"failure_count_threshold"` Host string `json:"host"` InitialDelay float64 `json:"initial_delay"` IntervalSeconds float64 `json:"interval_seconds"` Path string `json:"path"` Port float64 `json:"port"` TerminationGracePeriodSeconds float64 `json:"termination_grace_period_seconds"` Timeout float64 `json:"timeout"` Transport string `json:"transport"` Header []LivenessProbeHeaderState `json:"header"` }
type ReadinessProbe ¶
type ReadinessProbe struct { // FailureCountThreshold: number, optional FailureCountThreshold terra.NumberValue `hcl:"failure_count_threshold,attr"` // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // IntervalSeconds: number, optional IntervalSeconds terra.NumberValue `hcl:"interval_seconds,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // SuccessCountThreshold: number, optional SuccessCountThreshold terra.NumberValue `hcl:"success_count_threshold,attr"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // Transport: string, required Transport terra.StringValue `hcl:"transport,attr" validate:"required"` // ReadinessProbeHeader: min=0 Header []ReadinessProbeHeader `hcl:"header,block" validate:"min=0"` }
type ReadinessProbeAttributes ¶
type ReadinessProbeAttributes struct {
// contains filtered or unexported fields
}
func (ReadinessProbeAttributes) FailureCountThreshold ¶
func (rp ReadinessProbeAttributes) FailureCountThreshold() terra.NumberValue
func (ReadinessProbeAttributes) Header ¶
func (rp ReadinessProbeAttributes) Header() terra.ListValue[ReadinessProbeHeaderAttributes]
func (ReadinessProbeAttributes) Host ¶
func (rp ReadinessProbeAttributes) Host() terra.StringValue
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) IntervalSeconds ¶
func (rp ReadinessProbeAttributes) IntervalSeconds() terra.NumberValue
func (ReadinessProbeAttributes) Path ¶
func (rp ReadinessProbeAttributes) Path() terra.StringValue
func (ReadinessProbeAttributes) Port ¶
func (rp ReadinessProbeAttributes) Port() terra.NumberValue
func (ReadinessProbeAttributes) SuccessCountThreshold ¶
func (rp ReadinessProbeAttributes) SuccessCountThreshold() terra.NumberValue
func (ReadinessProbeAttributes) Timeout ¶
func (rp ReadinessProbeAttributes) Timeout() terra.NumberValue
func (ReadinessProbeAttributes) Transport ¶
func (rp ReadinessProbeAttributes) Transport() terra.StringValue
type ReadinessProbeHeader ¶
type ReadinessProbeHeader struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ReadinessProbeHeaderAttributes ¶
type ReadinessProbeHeaderAttributes struct {
// contains filtered or unexported fields
}
func (ReadinessProbeHeaderAttributes) InternalRef ¶
func (h ReadinessProbeHeaderAttributes) InternalRef() (terra.Reference, error)
func (ReadinessProbeHeaderAttributes) InternalTokens ¶
func (h ReadinessProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReadinessProbeHeaderAttributes) InternalWithRef ¶
func (h ReadinessProbeHeaderAttributes) InternalWithRef(ref terra.Reference) ReadinessProbeHeaderAttributes
func (ReadinessProbeHeaderAttributes) Name ¶
func (h ReadinessProbeHeaderAttributes) Name() terra.StringValue
func (ReadinessProbeHeaderAttributes) Value ¶
func (h ReadinessProbeHeaderAttributes) Value() terra.StringValue
type ReadinessProbeState ¶
type ReadinessProbeState struct { FailureCountThreshold float64 `json:"failure_count_threshold"` Host string `json:"host"` IntervalSeconds float64 `json:"interval_seconds"` Path string `json:"path"` Port float64 `json:"port"` SuccessCountThreshold float64 `json:"success_count_threshold"` Timeout float64 `json:"timeout"` Transport string `json:"transport"` Header []ReadinessProbeHeaderState `json:"header"` }
type Registry ¶
type Registry struct { // Identity: string, optional Identity terra.StringValue `hcl:"identity,attr"` // PasswordSecretName: string, optional PasswordSecretName terra.StringValue `hcl:"password_secret_name,attr"` // Server: string, required Server terra.StringValue `hcl:"server,attr" validate:"required"` // Username: string, optional Username terra.StringValue `hcl:"username,attr"` }
type RegistryAttributes ¶
type RegistryAttributes struct {
// contains filtered or unexported fields
}
func (RegistryAttributes) Identity ¶
func (r RegistryAttributes) Identity() terra.StringValue
func (RegistryAttributes) InternalRef ¶
func (r RegistryAttributes) InternalRef() (terra.Reference, error)
func (RegistryAttributes) InternalTokens ¶
func (r RegistryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegistryAttributes) InternalWithRef ¶
func (r RegistryAttributes) InternalWithRef(ref terra.Reference) RegistryAttributes
func (RegistryAttributes) PasswordSecretName ¶
func (r RegistryAttributes) PasswordSecretName() terra.StringValue
func (RegistryAttributes) Server ¶
func (r RegistryAttributes) Server() terra.StringValue
func (RegistryAttributes) Username ¶
func (r RegistryAttributes) Username() terra.StringValue
type RegistryState ¶
type Secret ¶
type Secret struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type SecretAttributes ¶
type SecretAttributes struct {
// contains filtered or unexported fields
}
func (SecretAttributes) InternalRef ¶
func (s SecretAttributes) InternalRef() (terra.Reference, error)
func (SecretAttributes) InternalTokens ¶
func (s SecretAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecretAttributes) InternalWithRef ¶
func (s SecretAttributes) InternalWithRef(ref terra.Reference) SecretAttributes
func (SecretAttributes) Name ¶
func (s SecretAttributes) Name() terra.StringValue
func (SecretAttributes) Value ¶
func (s SecretAttributes) Value() terra.StringValue
type SecretState ¶
type StartupProbe ¶
type StartupProbe struct { // FailureCountThreshold: number, optional FailureCountThreshold terra.NumberValue `hcl:"failure_count_threshold,attr"` // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // IntervalSeconds: number, optional IntervalSeconds terra.NumberValue `hcl:"interval_seconds,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // Transport: string, required Transport terra.StringValue `hcl:"transport,attr" validate:"required"` // StartupProbeHeader: min=0 Header []StartupProbeHeader `hcl:"header,block" validate:"min=0"` }
type StartupProbeAttributes ¶
type StartupProbeAttributes struct {
// contains filtered or unexported fields
}
func (StartupProbeAttributes) FailureCountThreshold ¶
func (sp StartupProbeAttributes) FailureCountThreshold() terra.NumberValue
func (StartupProbeAttributes) Header ¶
func (sp StartupProbeAttributes) Header() terra.ListValue[StartupProbeHeaderAttributes]
func (StartupProbeAttributes) Host ¶
func (sp StartupProbeAttributes) Host() terra.StringValue
func (StartupProbeAttributes) InternalRef ¶
func (sp StartupProbeAttributes) InternalRef() (terra.Reference, error)
func (StartupProbeAttributes) InternalTokens ¶
func (sp StartupProbeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StartupProbeAttributes) InternalWithRef ¶
func (sp StartupProbeAttributes) InternalWithRef(ref terra.Reference) StartupProbeAttributes
func (StartupProbeAttributes) IntervalSeconds ¶
func (sp StartupProbeAttributes) IntervalSeconds() terra.NumberValue
func (StartupProbeAttributes) Path ¶
func (sp StartupProbeAttributes) Path() terra.StringValue
func (StartupProbeAttributes) Port ¶
func (sp StartupProbeAttributes) Port() terra.NumberValue
func (StartupProbeAttributes) TerminationGracePeriodSeconds ¶
func (sp StartupProbeAttributes) TerminationGracePeriodSeconds() terra.NumberValue
func (StartupProbeAttributes) Timeout ¶
func (sp StartupProbeAttributes) Timeout() terra.NumberValue
func (StartupProbeAttributes) Transport ¶
func (sp StartupProbeAttributes) Transport() terra.StringValue
type StartupProbeHeader ¶
type StartupProbeHeader struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type StartupProbeHeaderAttributes ¶
type StartupProbeHeaderAttributes struct {
// contains filtered or unexported fields
}
func (StartupProbeHeaderAttributes) InternalRef ¶
func (h StartupProbeHeaderAttributes) InternalRef() (terra.Reference, error)
func (StartupProbeHeaderAttributes) InternalTokens ¶
func (h StartupProbeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StartupProbeHeaderAttributes) InternalWithRef ¶
func (h StartupProbeHeaderAttributes) InternalWithRef(ref terra.Reference) StartupProbeHeaderAttributes
func (StartupProbeHeaderAttributes) Name ¶
func (h StartupProbeHeaderAttributes) Name() terra.StringValue
func (StartupProbeHeaderAttributes) Value ¶
func (h StartupProbeHeaderAttributes) Value() terra.StringValue
type StartupProbeHeaderState ¶
type StartupProbeState ¶
type StartupProbeState struct { FailureCountThreshold float64 `json:"failure_count_threshold"` Host string `json:"host"` IntervalSeconds float64 `json:"interval_seconds"` Path string `json:"path"` Port float64 `json:"port"` TerminationGracePeriodSeconds float64 `json:"termination_grace_period_seconds"` Timeout float64 `json:"timeout"` Transport string `json:"transport"` Header []StartupProbeHeaderState `json:"header"` }
type Template ¶
type Template struct { // MaxReplicas: number, optional MaxReplicas terra.NumberValue `hcl:"max_replicas,attr"` // MinReplicas: number, optional MinReplicas terra.NumberValue `hcl:"min_replicas,attr"` // RevisionSuffix: string, optional RevisionSuffix terra.StringValue `hcl:"revision_suffix,attr"` // Container: min=1 Container []Container `hcl:"container,block" validate:"min=1"` // Volume: min=0 Volume []Volume `hcl:"volume,block" validate:"min=0"` }
type TemplateAttributes ¶
type TemplateAttributes struct {
// contains filtered or unexported fields
}
func (TemplateAttributes) Container ¶
func (t TemplateAttributes) Container() terra.ListValue[ContainerAttributes]
func (TemplateAttributes) InternalRef ¶
func (t TemplateAttributes) InternalRef() (terra.Reference, error)
func (TemplateAttributes) InternalTokens ¶
func (t TemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TemplateAttributes) InternalWithRef ¶
func (t TemplateAttributes) InternalWithRef(ref terra.Reference) TemplateAttributes
func (TemplateAttributes) MaxReplicas ¶
func (t TemplateAttributes) MaxReplicas() terra.NumberValue
func (TemplateAttributes) MinReplicas ¶
func (t TemplateAttributes) MinReplicas() terra.NumberValue
func (TemplateAttributes) RevisionSuffix ¶
func (t TemplateAttributes) RevisionSuffix() terra.StringValue
func (TemplateAttributes) Volume ¶
func (t TemplateAttributes) Volume() terra.ListValue[VolumeAttributes]
type TemplateState ¶
type TemplateState struct { MaxReplicas float64 `json:"max_replicas"` MinReplicas float64 `json:"min_replicas"` RevisionSuffix string `json:"revision_suffix"` Container []ContainerState `json:"container"` Volume []VolumeState `json:"volume"` }
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
type TimeoutsState ¶
type TrafficWeight ¶
type TrafficWeight struct { // Label: string, optional Label terra.StringValue `hcl:"label,attr"` // LatestRevision: bool, optional LatestRevision terra.BoolValue `hcl:"latest_revision,attr"` // Percentage: number, required Percentage terra.NumberValue `hcl:"percentage,attr" validate:"required"` // RevisionSuffix: string, optional RevisionSuffix terra.StringValue `hcl:"revision_suffix,attr"` }
type TrafficWeightAttributes ¶
type TrafficWeightAttributes struct {
// contains filtered or unexported fields
}
func (TrafficWeightAttributes) InternalRef ¶
func (tw TrafficWeightAttributes) InternalRef() (terra.Reference, error)
func (TrafficWeightAttributes) InternalTokens ¶
func (tw TrafficWeightAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TrafficWeightAttributes) InternalWithRef ¶
func (tw TrafficWeightAttributes) InternalWithRef(ref terra.Reference) TrafficWeightAttributes
func (TrafficWeightAttributes) Label ¶
func (tw TrafficWeightAttributes) Label() terra.StringValue
func (TrafficWeightAttributes) LatestRevision ¶
func (tw TrafficWeightAttributes) LatestRevision() terra.BoolValue
func (TrafficWeightAttributes) Percentage ¶
func (tw TrafficWeightAttributes) Percentage() terra.NumberValue
func (TrafficWeightAttributes) RevisionSuffix ¶
func (tw TrafficWeightAttributes) RevisionSuffix() terra.StringValue
type TrafficWeightState ¶
type Volume ¶
type Volume struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StorageName: string, optional StorageName terra.StringValue `hcl:"storage_name,attr"` // StorageType: string, optional StorageType terra.StringValue `hcl:"storage_type,attr"` }
type VolumeAttributes ¶
type VolumeAttributes struct {
// contains filtered or unexported fields
}
func (VolumeAttributes) InternalRef ¶
func (v VolumeAttributes) InternalRef() (terra.Reference, error)
func (VolumeAttributes) InternalTokens ¶
func (v VolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VolumeAttributes) InternalWithRef ¶
func (v VolumeAttributes) InternalWithRef(ref terra.Reference) VolumeAttributes
func (VolumeAttributes) Name ¶
func (v VolumeAttributes) Name() terra.StringValue
func (VolumeAttributes) StorageName ¶
func (v VolumeAttributes) StorageName() terra.StringValue
func (VolumeAttributes) StorageType ¶
func (v VolumeAttributes) StorageType() terra.StringValue
type VolumeMounts ¶
type VolumeMounts struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type VolumeMountsAttributes ¶
type VolumeMountsAttributes struct {
// contains filtered or unexported fields
}
func (VolumeMountsAttributes) InternalRef ¶
func (vm VolumeMountsAttributes) InternalRef() (terra.Reference, error)
func (VolumeMountsAttributes) InternalTokens ¶
func (vm VolumeMountsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VolumeMountsAttributes) InternalWithRef ¶
func (vm VolumeMountsAttributes) InternalWithRef(ref terra.Reference) VolumeMountsAttributes
func (VolumeMountsAttributes) Name ¶
func (vm VolumeMountsAttributes) Name() terra.StringValue
func (VolumeMountsAttributes) Path ¶
func (vm VolumeMountsAttributes) Path() terra.StringValue
type VolumeMountsState ¶
type VolumeState ¶
Click to show internal directories.
Click to hide internal directories.