Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AKSClusterModel ¶
type AKSClusterModel struct { ID uint `gorm:"primary_key"` ResourceGroup string KubernetesVersion string NodePools []*AKSNodePoolModel `gorm:"foreignkey:ClusterID"` }
AKSClusterModel describes the aks cluster model
func (AKSClusterModel) TableName ¶
func (AKSClusterModel) TableName() string
TableName sets AzureClusterModel's table name
type AKSNodePoolModel ¶
type AKSNodePoolModel struct { ID uint `gorm:"primary_key"` CreatedAt time.Time CreatedBy uint ClusterID uint `gorm:"unique_index:idx_aks_node_pools_cluster_id_name"` Name string `gorm:"unique_index:idx_aks_node_pools_cluster_id_name"` Autoscaling bool NodeMinCount int NodeMaxCount int Count int NodeInstanceType string VNetSubnetID string Labels map[string]string `gorm:"-"` }
AKSNodePoolModel describes AKS node pools model of a cluster
func (AKSNodePoolModel) TableName ¶
func (AKSNodePoolModel) TableName() string
TableName sets AzureNodePoolModel's table name
Click to show internal directories.
Click to hide internal directories.