Documentation ¶
Index ¶
- type ApiServerProfile
- type ApiServerProfileAttributes
- func (asp ApiServerProfileAttributes) InternalRef() (terra.Reference, error)
- func (asp ApiServerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asp ApiServerProfileAttributes) InternalWithRef(ref terra.Reference) ApiServerProfileAttributes
- func (asp ApiServerProfileAttributes) IpAddress() terra.StringValue
- func (asp ApiServerProfileAttributes) Url() terra.StringValue
- func (asp ApiServerProfileAttributes) Visibility() terra.StringValue
- type ApiServerProfileState
- type Args
- type ClusterProfile
- type ClusterProfileAttributes
- func (cp ClusterProfileAttributes) Domain() terra.StringValue
- func (cp ClusterProfileAttributes) FipsEnabled() terra.BoolValue
- func (cp ClusterProfileAttributes) InternalRef() (terra.Reference, error)
- func (cp ClusterProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp ClusterProfileAttributes) InternalWithRef(ref terra.Reference) ClusterProfileAttributes
- func (cp ClusterProfileAttributes) PullSecret() terra.StringValue
- func (cp ClusterProfileAttributes) ResourceGroupId() terra.StringValue
- func (cp ClusterProfileAttributes) Version() terra.StringValue
- type ClusterProfileState
- type IngressProfile
- type IngressProfileAttributes
- func (ip IngressProfileAttributes) InternalRef() (terra.Reference, error)
- func (ip IngressProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ip IngressProfileAttributes) InternalWithRef(ref terra.Reference) IngressProfileAttributes
- func (ip IngressProfileAttributes) IpAddress() terra.StringValue
- func (ip IngressProfileAttributes) Name() terra.StringValue
- func (ip IngressProfileAttributes) Visibility() terra.StringValue
- type IngressProfileState
- type MainProfile
- type MainProfileAttributes
- func (mp MainProfileAttributes) DiskEncryptionSetId() terra.StringValue
- func (mp MainProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue
- func (mp MainProfileAttributes) InternalRef() (terra.Reference, error)
- func (mp MainProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mp MainProfileAttributes) InternalWithRef(ref terra.Reference) MainProfileAttributes
- func (mp MainProfileAttributes) SubnetId() terra.StringValue
- func (mp MainProfileAttributes) VmSize() terra.StringValue
- type MainProfileState
- type NetworkProfile
- type NetworkProfileAttributes
- func (np NetworkProfileAttributes) InternalRef() (terra.Reference, error)
- func (np NetworkProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np NetworkProfileAttributes) InternalWithRef(ref terra.Reference) NetworkProfileAttributes
- func (np NetworkProfileAttributes) OutboundType() terra.StringValue
- func (np NetworkProfileAttributes) PodCidr() terra.StringValue
- func (np NetworkProfileAttributes) ServiceCidr() terra.StringValue
- type NetworkProfileState
- type Resource
- func (aroc *Resource) Attributes() azurermRedhatOpenshiftClusterAttributes
- func (aroc *Resource) Configuration() interface{}
- func (aroc *Resource) DependOn() terra.Reference
- func (aroc *Resource) Dependencies() terra.Dependencies
- func (aroc *Resource) ImportState(state io.Reader) error
- func (aroc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aroc *Resource) LocalName() string
- func (aroc *Resource) State() (*azurermRedhatOpenshiftClusterState, bool)
- func (aroc *Resource) StateMust() *azurermRedhatOpenshiftClusterState
- func (aroc *Resource) Type() string
- type ServicePrincipal
- type ServicePrincipalAttributes
- func (sp ServicePrincipalAttributes) ClientId() terra.StringValue
- func (sp ServicePrincipalAttributes) ClientSecret() terra.StringValue
- func (sp ServicePrincipalAttributes) InternalRef() (terra.Reference, error)
- func (sp ServicePrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp ServicePrincipalAttributes) InternalWithRef(ref terra.Reference) ServicePrincipalAttributes
- type ServicePrincipalState
- 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 WorkerProfile
- type WorkerProfileAttributes
- func (wp WorkerProfileAttributes) DiskEncryptionSetId() terra.StringValue
- func (wp WorkerProfileAttributes) DiskSizeGb() terra.NumberValue
- func (wp WorkerProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue
- func (wp WorkerProfileAttributes) InternalRef() (terra.Reference, error)
- func (wp WorkerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wp WorkerProfileAttributes) InternalWithRef(ref terra.Reference) WorkerProfileAttributes
- func (wp WorkerProfileAttributes) NodeCount() terra.NumberValue
- func (wp WorkerProfileAttributes) SubnetId() terra.StringValue
- func (wp WorkerProfileAttributes) VmSize() terra.StringValue
- type WorkerProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServerProfile ¶
type ApiServerProfile struct { // Visibility: string, required Visibility terra.StringValue `hcl:"visibility,attr" validate:"required"` }
type ApiServerProfileAttributes ¶
type ApiServerProfileAttributes struct {
// contains filtered or unexported fields
}
func (ApiServerProfileAttributes) InternalRef ¶
func (asp ApiServerProfileAttributes) InternalRef() (terra.Reference, error)
func (ApiServerProfileAttributes) InternalTokens ¶
func (asp ApiServerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApiServerProfileAttributes) InternalWithRef ¶
func (asp ApiServerProfileAttributes) InternalWithRef(ref terra.Reference) ApiServerProfileAttributes
func (ApiServerProfileAttributes) IpAddress ¶
func (asp ApiServerProfileAttributes) IpAddress() terra.StringValue
func (ApiServerProfileAttributes) Url ¶
func (asp ApiServerProfileAttributes) Url() terra.StringValue
func (ApiServerProfileAttributes) Visibility ¶
func (asp ApiServerProfileAttributes) Visibility() terra.StringValue
type ApiServerProfileState ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ApiServerProfile: required ApiServerProfile *ApiServerProfile `hcl:"api_server_profile,block" validate:"required"` // ClusterProfile: required ClusterProfile *ClusterProfile `hcl:"cluster_profile,block" validate:"required"` // IngressProfile: required IngressProfile *IngressProfile `hcl:"ingress_profile,block" validate:"required"` // MainProfile: required MainProfile *MainProfile `hcl:"main_profile,block" validate:"required"` // NetworkProfile: required NetworkProfile *NetworkProfile `hcl:"network_profile,block" validate:"required"` // ServicePrincipal: required ServicePrincipal *ServicePrincipal `hcl:"service_principal,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // WorkerProfile: required WorkerProfile *WorkerProfile `hcl:"worker_profile,block" validate:"required"` }
Args contains the configurations for azurerm_redhat_openshift_cluster.
type ClusterProfile ¶
type ClusterProfile struct { // Domain: string, required Domain terra.StringValue `hcl:"domain,attr" validate:"required"` // FipsEnabled: bool, optional FipsEnabled terra.BoolValue `hcl:"fips_enabled,attr"` // PullSecret: string, optional PullSecret terra.StringValue `hcl:"pull_secret,attr"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type ClusterProfileAttributes ¶
type ClusterProfileAttributes struct {
// contains filtered or unexported fields
}
func (ClusterProfileAttributes) Domain ¶
func (cp ClusterProfileAttributes) Domain() terra.StringValue
func (ClusterProfileAttributes) FipsEnabled ¶
func (cp ClusterProfileAttributes) FipsEnabled() terra.BoolValue
func (ClusterProfileAttributes) InternalRef ¶
func (cp ClusterProfileAttributes) InternalRef() (terra.Reference, error)
func (ClusterProfileAttributes) InternalTokens ¶
func (cp ClusterProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterProfileAttributes) InternalWithRef ¶
func (cp ClusterProfileAttributes) InternalWithRef(ref terra.Reference) ClusterProfileAttributes
func (ClusterProfileAttributes) PullSecret ¶
func (cp ClusterProfileAttributes) PullSecret() terra.StringValue
func (ClusterProfileAttributes) ResourceGroupId ¶
func (cp ClusterProfileAttributes) ResourceGroupId() terra.StringValue
func (ClusterProfileAttributes) Version ¶
func (cp ClusterProfileAttributes) Version() terra.StringValue
type ClusterProfileState ¶
type IngressProfile ¶
type IngressProfile struct { // Visibility: string, required Visibility terra.StringValue `hcl:"visibility,attr" validate:"required"` }
type IngressProfileAttributes ¶
type IngressProfileAttributes struct {
// contains filtered or unexported fields
}
func (IngressProfileAttributes) InternalRef ¶
func (ip IngressProfileAttributes) InternalRef() (terra.Reference, error)
func (IngressProfileAttributes) InternalTokens ¶
func (ip IngressProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IngressProfileAttributes) InternalWithRef ¶
func (ip IngressProfileAttributes) InternalWithRef(ref terra.Reference) IngressProfileAttributes
func (IngressProfileAttributes) IpAddress ¶
func (ip IngressProfileAttributes) IpAddress() terra.StringValue
func (IngressProfileAttributes) Name ¶
func (ip IngressProfileAttributes) Name() terra.StringValue
func (IngressProfileAttributes) Visibility ¶
func (ip IngressProfileAttributes) Visibility() terra.StringValue
type IngressProfileState ¶
type MainProfile ¶
type MainProfile struct { // DiskEncryptionSetId: string, optional DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"` // EncryptionAtHostEnabled: bool, optional EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` // VmSize: string, required VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"` }
type MainProfileAttributes ¶
type MainProfileAttributes struct {
// contains filtered or unexported fields
}
func (MainProfileAttributes) DiskEncryptionSetId ¶
func (mp MainProfileAttributes) DiskEncryptionSetId() terra.StringValue
func (MainProfileAttributes) EncryptionAtHostEnabled ¶
func (mp MainProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue
func (MainProfileAttributes) InternalRef ¶
func (mp MainProfileAttributes) InternalRef() (terra.Reference, error)
func (MainProfileAttributes) InternalTokens ¶
func (mp MainProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MainProfileAttributes) InternalWithRef ¶
func (mp MainProfileAttributes) InternalWithRef(ref terra.Reference) MainProfileAttributes
func (MainProfileAttributes) SubnetId ¶
func (mp MainProfileAttributes) SubnetId() terra.StringValue
func (MainProfileAttributes) VmSize ¶
func (mp MainProfileAttributes) VmSize() terra.StringValue
type MainProfileState ¶
type NetworkProfile ¶
type NetworkProfile struct { // OutboundType: string, optional OutboundType terra.StringValue `hcl:"outbound_type,attr"` // PodCidr: string, required PodCidr terra.StringValue `hcl:"pod_cidr,attr" validate:"required"` // ServiceCidr: string, required ServiceCidr terra.StringValue `hcl:"service_cidr,attr" validate:"required"` }
type NetworkProfileAttributes ¶
type NetworkProfileAttributes struct {
// contains filtered or unexported fields
}
func (NetworkProfileAttributes) InternalRef ¶
func (np NetworkProfileAttributes) InternalRef() (terra.Reference, error)
func (NetworkProfileAttributes) InternalTokens ¶
func (np NetworkProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkProfileAttributes) InternalWithRef ¶
func (np NetworkProfileAttributes) InternalWithRef(ref terra.Reference) NetworkProfileAttributes
func (NetworkProfileAttributes) OutboundType ¶
func (np NetworkProfileAttributes) OutboundType() terra.StringValue
func (NetworkProfileAttributes) PodCidr ¶
func (np NetworkProfileAttributes) PodCidr() terra.StringValue
func (NetworkProfileAttributes) ServiceCidr ¶
func (np NetworkProfileAttributes) ServiceCidr() terra.StringValue
type NetworkProfileState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_redhat_openshift_cluster.
func (*Resource) Attributes ¶
func (aroc *Resource) Attributes() azurermRedhatOpenshiftClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aroc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aroc *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type ServicePrincipal ¶
type ServicePrincipal struct { // ClientId: string, required ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"` // ClientSecret: string, required ClientSecret terra.StringValue `hcl:"client_secret,attr" validate:"required"` }
type ServicePrincipalAttributes ¶
type ServicePrincipalAttributes struct {
// contains filtered or unexported fields
}
func (ServicePrincipalAttributes) ClientId ¶
func (sp ServicePrincipalAttributes) ClientId() terra.StringValue
func (ServicePrincipalAttributes) ClientSecret ¶
func (sp ServicePrincipalAttributes) ClientSecret() terra.StringValue
func (ServicePrincipalAttributes) InternalRef ¶
func (sp ServicePrincipalAttributes) InternalRef() (terra.Reference, error)
func (ServicePrincipalAttributes) InternalTokens ¶
func (sp ServicePrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServicePrincipalAttributes) InternalWithRef ¶
func (sp ServicePrincipalAttributes) InternalWithRef(ref terra.Reference) ServicePrincipalAttributes
type ServicePrincipalState ¶
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 WorkerProfile ¶
type WorkerProfile struct { // DiskEncryptionSetId: string, optional DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"` // DiskSizeGb: number, required DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr" validate:"required"` // EncryptionAtHostEnabled: bool, optional EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"` // NodeCount: number, required NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` // VmSize: string, required VmSize terra.StringValue `hcl:"vm_size,attr" validate:"required"` }
type WorkerProfileAttributes ¶
type WorkerProfileAttributes struct {
// contains filtered or unexported fields
}
func (WorkerProfileAttributes) DiskEncryptionSetId ¶
func (wp WorkerProfileAttributes) DiskEncryptionSetId() terra.StringValue
func (WorkerProfileAttributes) DiskSizeGb ¶
func (wp WorkerProfileAttributes) DiskSizeGb() terra.NumberValue
func (WorkerProfileAttributes) EncryptionAtHostEnabled ¶
func (wp WorkerProfileAttributes) EncryptionAtHostEnabled() terra.BoolValue
func (WorkerProfileAttributes) InternalRef ¶
func (wp WorkerProfileAttributes) InternalRef() (terra.Reference, error)
func (WorkerProfileAttributes) InternalTokens ¶
func (wp WorkerProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WorkerProfileAttributes) InternalWithRef ¶
func (wp WorkerProfileAttributes) InternalWithRef(ref terra.Reference) WorkerProfileAttributes
func (WorkerProfileAttributes) NodeCount ¶
func (wp WorkerProfileAttributes) NodeCount() terra.NumberValue
func (WorkerProfileAttributes) SubnetId ¶
func (wp WorkerProfileAttributes) SubnetId() terra.StringValue
func (WorkerProfileAttributes) VmSize ¶
func (wp WorkerProfileAttributes) VmSize() terra.StringValue
type WorkerProfileState ¶
type WorkerProfileState struct { DiskEncryptionSetId string `json:"disk_encryption_set_id"` DiskSizeGb float64 `json:"disk_size_gb"` EncryptionAtHostEnabled bool `json:"encryption_at_host_enabled"` NodeCount float64 `json:"node_count"` SubnetId string `json:"subnet_id"` VmSize string `json:"vm_size"` }
Click to show internal directories.
Click to hide internal directories.