Documentation ¶
Index ¶
- type FairSharePolicy
- type FairSharePolicyAttributes
- func (fsp FairSharePolicyAttributes) ComputeReservation() terra.NumberValue
- func (fsp FairSharePolicyAttributes) InternalRef() (terra.Reference, error)
- func (fsp FairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fsp FairSharePolicyAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyAttributes
- func (fsp FairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
- func (fsp FairSharePolicyAttributes) ShareDistribution() terra.SetValue[ShareDistributionAttributes]
- type FairSharePolicyState
- type ShareDistribution
- type ShareDistributionAttributes
- func (sd ShareDistributionAttributes) InternalRef() (terra.Reference, error)
- func (sd ShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd ShareDistributionAttributes) InternalWithRef(ref terra.Reference) ShareDistributionAttributes
- func (sd ShareDistributionAttributes) ShareIdentifier() terra.StringValue
- func (sd ShareDistributionAttributes) WeightFactor() terra.NumberValue
- type ShareDistributionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FairSharePolicy ¶
type FairSharePolicy struct { ShareDistribution `hcl:"share_distribution,block" validate:"min=0"` }ShareDistribution []
type FairSharePolicyAttributes ¶
type FairSharePolicyAttributes struct {
// contains filtered or unexported fields
}
func (FairSharePolicyAttributes) ComputeReservation ¶
func (fsp FairSharePolicyAttributes) ComputeReservation() terra.NumberValue
func (FairSharePolicyAttributes) InternalRef ¶
func (fsp FairSharePolicyAttributes) InternalRef() (terra.Reference, error)
func (FairSharePolicyAttributes) InternalTokens ¶
func (fsp FairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FairSharePolicyAttributes) InternalWithRef ¶
func (fsp FairSharePolicyAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyAttributes
func (FairSharePolicyAttributes) ShareDecaySeconds ¶
func (fsp FairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
func (FairSharePolicyAttributes) ShareDistribution ¶
func (fsp FairSharePolicyAttributes) ShareDistribution() terra.SetValue[ShareDistributionAttributes]
type FairSharePolicyState ¶
type FairSharePolicyState struct {}
type ShareDistribution ¶
type ShareDistribution struct{}
type ShareDistributionAttributes ¶
type ShareDistributionAttributes struct {
// contains filtered or unexported fields
}
func (ShareDistributionAttributes) InternalRef ¶
func (sd ShareDistributionAttributes) InternalRef() (terra.Reference, error)
func (ShareDistributionAttributes) InternalTokens ¶
func (sd ShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShareDistributionAttributes) InternalWithRef ¶
func (sd ShareDistributionAttributes) InternalWithRef(ref terra.Reference) ShareDistributionAttributes
func (ShareDistributionAttributes) ShareIdentifier ¶
func (sd ShareDistributionAttributes) ShareIdentifier() terra.StringValue
func (ShareDistributionAttributes) WeightFactor ¶
func (sd ShareDistributionAttributes) WeightFactor() terra.NumberValue
type ShareDistributionState ¶
type ShareDistributionState struct {}
Click to show internal directories.
Click to hide internal directories.