mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
0edae36e43
* Mini Constellation commands to quickly deploy a local Constellation cluster * Download libvirt container image if not present locally * Fix libvirt KVM permission issues by creating kvm group using host GID inside container * Remove QEMU specific values from state file Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Nils Hanke <nils.hanke@outlook.com>
32 lines
1.4 KiB
Go
32 lines
1.4 KiB
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
package state
|
|
|
|
import (
|
|
"github.com/edgelesssys/constellation/v2/internal/cloud/cloudtypes"
|
|
)
|
|
|
|
// ConstellationState is the state of a Constellation.
|
|
type ConstellationState struct {
|
|
Name string `json:"name,omitempty"`
|
|
UID string `json:"uid,omitempty"`
|
|
CloudProvider string `json:"cloudprovider,omitempty"`
|
|
LoadBalancerIP string `json:"bootstrapperhost,omitempty"`
|
|
|
|
AzureWorkerInstances cloudtypes.Instances `json:"azureworkers,omitempty"`
|
|
AzureControlPlaneInstances cloudtypes.Instances `json:"azurecontrolplanes,omitempty"`
|
|
AzureResourceGroup string `json:"azureresourcegroup,omitempty"`
|
|
AzureLocation string `json:"azurelocation,omitempty"`
|
|
AzureSubscription string `json:"azuresubscription,omitempty"`
|
|
AzureTenant string `json:"azuretenant,omitempty"`
|
|
AzureSubnet string `json:"azuresubnet,omitempty"`
|
|
AzureNetworkSecurityGroup string `json:"azurenetworksecuritygroup,omitempty"`
|
|
AzureWorkerScaleSet string `json:"azureworkersscaleset,omitempty"`
|
|
AzureControlPlaneScaleSet string `json:"azurecontrolplanesscaleset,omitempty"`
|
|
AzureADAppObjectID string `json:"azureadappobjectid,omitempty"`
|
|
}
|