Documentation ¶
Index ¶
- Constants
- func CreateKubernetesCluster(cluster *KubernetesCluster, resourceId string, ...) error
- func CreateObjectStorage(r *ObjectStorage, resourceId string, args *resourcespb.ObjectStorageArgs, ...) error
- func CreateVault(r *Vault, resourceId string, args *resourcespb.VaultArgs, ...) error
- func GetResourceGroupName(name string) string
- func ImportResourceGroup(rg *ResourceGroup, args *resourcespb.ResourceGroupArgs) error
- func NewDatabase(r *Database, resourceId string, db *resourcespb.DatabaseArgs, ...) error
- func NewKubernetesCluster(cluster *KubernetesCluster, resourceId string, ...) error
- func NewKubernetesNodePool(r *KubernetesNodePool, resourceId string, ...) error
- func NewNetworkInterface(r *NetworkInterface, resourceId string, args *resourcespb.NetworkInterfaceArgs, ...) error
- func NewNetworkInterfaceSecurityGroupAssociation(r *NetworkInterfaceSecurityGroupAssociation, resourceId string, ...) error
- func NewNetworkSecurityGroup(nsg *NetworkSecurityGroup, resourceId string, ...) error
- func NewObjectStorage(r *ObjectStorage, resourceId string, db *resourcespb.ObjectStorageArgs, ...) error
- func NewObjectStorageObject(r *ObjectStorageObject, resourceId string, ...) error
- func NewPublicIp(r *PublicIp, resourceId string, args *resourcespb.PublicIpArgs) error
- func NewRg(resourceType string, r *resources.Resources, location commonpb.Location, ...) (string, error)
- func NewRgFromParent(resourceType string, parentResourceGroupId string, r *resources.Resources, ...) (string, error)
- func NewRouteTable(rt *RouteTable, resourceId string, args *resourcespb.RouteTableArgs, ...) error
- func NewRouteTableAssociation(rta *RouteTableAssociation, resourceId string, ...) error
- func NewSubnet(s *Subnet, resourceId string, subnet *resourcespb.SubnetArgs, ...) error
- func NewVault(r *Vault, resourceId string, args *resourcespb.VaultArgs, ...) error
- func NewVaultAccessPolicy(vap *VaultAccessPolicy, resourceId string, ...) error
- func NewVaultSecret(vs *VaultSecret, resourceId string, args *resourcespb.VaultSecretArgs, ...) error
- func NewVirtualMachine(vm *VirtualMachine, resourceId string, args *resourcespb.VirtualMachineArgs, ...) error
- func NewVirtualNetwork(r *VirtualNetwork, resourceId string, vn *resourcespb.VirtualNetworkArgs) error
- type AzureResourceGroup
- type Database
- func (r *Database) Create(resourceId string, args *resourcespb.DatabaseArgs, others *resources.Resources) error
- func (r *Database) Export(_ *resources.Resources) (*resourcespb.DatabaseArgs, bool, error)
- func (r *Database) Import(resourceId string, args *resourcespb.DatabaseArgs, others *resources.Resources) error
- func (r *Database) Update(args *resourcespb.DatabaseArgs, others *resources.Resources) error
- func (r *Database) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type KubernetesCluster
- func (r *KubernetesCluster) Create(resourceId string, args *resourcespb.KubernetesClusterArgs, ...) error
- func (r *KubernetesCluster) Export(_ *resources.Resources) (*resourcespb.KubernetesClusterArgs, bool, error)
- func (r *KubernetesCluster) Import(resourceId string, args *resourcespb.KubernetesClusterArgs, ...) error
- func (r *KubernetesCluster) Update(args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
- func (r *KubernetesCluster) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type KubernetesNodePool
- func (r *KubernetesNodePool) Create(resourceId string, args *resourcespb.KubernetesNodePoolArgs, ...) error
- func (r *KubernetesNodePool) Export(_ *resources.Resources) (*resourcespb.KubernetesNodePoolArgs, bool, error)
- func (r *KubernetesNodePool) Import(resourceId string, args *resourcespb.KubernetesNodePoolArgs, ...) error
- func (r *KubernetesNodePool) Update(args *resourcespb.KubernetesNodePoolArgs, others *resources.Resources) error
- func (r *KubernetesNodePool) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type NetworkInterface
- func (r *NetworkInterface) Create(resourceId string, args *resourcespb.NetworkInterfaceArgs, ...) error
- func (r *NetworkInterface) Export(_ *resources.Resources) (*resourcespb.NetworkInterfaceArgs, bool, error)
- func (r *NetworkInterface) Import(resourceId string, args *resourcespb.NetworkInterfaceArgs, ...) error
- func (r *NetworkInterface) Update(args *resourcespb.NetworkInterfaceArgs, others *resources.Resources) error
- func (r *NetworkInterface) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type NetworkInterfaceSecurityGroupAssociation
- func (r *NetworkInterfaceSecurityGroupAssociation) Create(resourceId string, ...) error
- func (r *NetworkInterfaceSecurityGroupAssociation) Export(_ *resources.Resources) (*resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, bool, error)
- func (r *NetworkInterfaceSecurityGroupAssociation) Import(resourceId string, ...) error
- func (r *NetworkInterfaceSecurityGroupAssociation) Update(args *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, ...) error
- func (r *NetworkInterfaceSecurityGroupAssociation) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type NetworkSecurityGroup
- func (r *NetworkSecurityGroup) Create(resourceId string, args *resourcespb.NetworkSecurityGroupArgs, ...) error
- func (r *NetworkSecurityGroup) Export(_ *resources.Resources) (*resourcespb.NetworkSecurityGroupArgs, bool, error)
- func (r *NetworkSecurityGroup) Import(resourceId string, args *resourcespb.NetworkSecurityGroupArgs, ...) error
- func (r *NetworkSecurityGroup) Update(args *resourcespb.NetworkSecurityGroupArgs, others *resources.Resources) error
- func (r *NetworkSecurityGroup) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type ObjectStorage
- func (r *ObjectStorage) Create(resourceId string, args *resourcespb.ObjectStorageArgs, ...) error
- func (r *ObjectStorage) Export(_ *resources.Resources) (*resourcespb.ObjectStorageArgs, bool, error)
- func (r *ObjectStorage) Import(resourceId string, args *resourcespb.ObjectStorageArgs, ...) error
- func (r *ObjectStorage) Update(args *resourcespb.ObjectStorageArgs, others *resources.Resources) error
- func (r *ObjectStorage) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type ObjectStorageObject
- func (r *ObjectStorageObject) Create(resourceId string, args *resourcespb.ObjectStorageObjectArgs, ...) error
- func (r *ObjectStorageObject) Export(_ *resources.Resources) (*resourcespb.ObjectStorageObjectArgs, bool, error)
- func (r *ObjectStorageObject) Import(resourceId string, args *resourcespb.ObjectStorageObjectArgs, ...) error
- func (r *ObjectStorageObject) Update(args *resourcespb.ObjectStorageObjectArgs, others *resources.Resources) error
- func (r *ObjectStorageObject) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type Provider
- type PublicIp
- func (r *PublicIp) Create(resourceId string, args *resourcespb.PublicIpArgs, others *resources.Resources) error
- func (r *PublicIp) Export(_ *resources.Resources) (*resourcespb.PublicIpArgs, bool, error)
- func (r *PublicIp) Import(resourceId string, args *resourcespb.PublicIpArgs, _ *resources.Resources) error
- func (r *PublicIp) Update(args *resourcespb.PublicIpArgs, _ *resources.Resources) error
- func (r *PublicIp) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type ResourceGroup
- func (r *ResourceGroup) Create(_ string, args *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
- func (r *ResourceGroup) Export(others *resources.Resources) (*resourcespb.ResourceGroupArgs, bool, error)
- func (r *ResourceGroup) GetAllDependentResources(others *resources.Resources) (res []string)
- func (r *ResourceGroup) Import(_ string, args *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
- func (r *ResourceGroup) Update(_ *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
- func (rg *ResourceGroup) Validate(ctx resources.MultyContext) []validate.ValidationError
- type RouteTable
- func (r *RouteTable) Create(resourceId string, args *resourcespb.RouteTableArgs, ...) error
- func (r *RouteTable) Export(_ *resources.Resources) (*resourcespb.RouteTableArgs, bool, error)
- func (r *RouteTable) Import(resourceId string, args *resourcespb.RouteTableArgs, ...) error
- func (r *RouteTable) Update(args *resourcespb.RouteTableArgs, others *resources.Resources) error
- func (r *RouteTable) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type RouteTableAssociation
- func (r *RouteTableAssociation) Create(resourceId string, args *resourcespb.RouteTableAssociationArgs, ...) error
- func (r *RouteTableAssociation) Export(_ *resources.Resources) (*resourcespb.RouteTableAssociationArgs, bool, error)
- func (r *RouteTableAssociation) Import(resourceId string, args *resourcespb.RouteTableAssociationArgs, ...) error
- func (r *RouteTableAssociation) Update(args *resourcespb.RouteTableAssociationArgs, others *resources.Resources) error
- func (r *RouteTableAssociation) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type RuleType
- type Subnet
- func (r *Subnet) Create(resourceId string, args *resourcespb.SubnetArgs, others *resources.Resources) error
- func (r *Subnet) Export(_ *resources.Resources) (*resourcespb.SubnetArgs, bool, error)
- func (r *Subnet) Import(resourceId string, args *resourcespb.SubnetArgs, others *resources.Resources) error
- func (r *Subnet) Update(args *resourcespb.SubnetArgs, others *resources.Resources) error
- func (r *Subnet) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type Vault
- func (r *Vault) Create(resourceId string, args *resourcespb.VaultArgs, others *resources.Resources) error
- func (r *Vault) Export(_ *resources.Resources) (*resourcespb.VaultArgs, bool, error)
- func (r *Vault) Import(resourceId string, args *resourcespb.VaultArgs, others *resources.Resources) error
- func (r *Vault) Update(args *resourcespb.VaultArgs, others *resources.Resources) error
- func (r *Vault) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type VaultAccessPolicy
- func (r *VaultAccessPolicy) Create(resourceId string, args *resourcespb.VaultAccessPolicyArgs, ...) error
- func (r *VaultAccessPolicy) Export(_ *resources.Resources) (*resourcespb.VaultAccessPolicyArgs, bool, error)
- func (r *VaultAccessPolicy) Import(resourceId string, args *resourcespb.VaultAccessPolicyArgs, ...) error
- func (r *VaultAccessPolicy) Update(args *resourcespb.VaultAccessPolicyArgs, others *resources.Resources) error
- func (r *VaultAccessPolicy) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type VaultSecret
- func (r *VaultSecret) Create(resourceId string, args *resourcespb.VaultSecretArgs, ...) error
- func (r *VaultSecret) Export(_ *resources.Resources) (*resourcespb.VaultSecretArgs, bool, error)
- func (r *VaultSecret) Import(resourceId string, args *resourcespb.VaultSecretArgs, ...) error
- func (r *VaultSecret) Update(args *resourcespb.VaultSecretArgs, others *resources.Resources) error
- func (r *VaultSecret) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type VirtualMachine
- func (r *VirtualMachine) Create(resourceId string, args *resourcespb.VirtualMachineArgs, ...) error
- func (r *VirtualMachine) Export(_ *resources.Resources) (*resourcespb.VirtualMachineArgs, bool, error)
- func (r *VirtualMachine) GetAwsIdentity() string
- func (r *VirtualMachine) Import(resourceId string, args *resourcespb.VirtualMachineArgs, ...) error
- func (r *VirtualMachine) Update(args *resourcespb.VirtualMachineArgs, others *resources.Resources) error
- func (r *VirtualMachine) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
- type VirtualNetwork
- func (r *VirtualNetwork) Create(resourceId string, args *resourcespb.VirtualNetworkArgs, ...) error
- func (r *VirtualNetwork) Export(_ *resources.Resources) (*resourcespb.VirtualNetworkArgs, bool, error)
- func (r *VirtualNetwork) Import(resourceId string, args *resourcespb.VirtualNetworkArgs, ...) error
- func (r *VirtualNetwork) Update(args *resourcespb.VirtualNetworkArgs, _ *resources.Resources) error
- func (r *VirtualNetwork) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
Constants ¶
View Source
const AzureResourceName = "azurerm_resource_group"
Variables ¶
This section is empty.
Functions ¶
func CreateKubernetesCluster ¶ added in v0.1.36
func CreateKubernetesCluster(cluster *KubernetesCluster, resourceId string, args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
func CreateObjectStorage ¶ added in v0.1.36
func CreateObjectStorage(r *ObjectStorage, resourceId string, args *resourcespb.ObjectStorageArgs, others *resources.Resources) error
func CreateVault ¶ added in v0.1.36
func GetResourceGroupName ¶ added in v0.1.36
func ImportResourceGroup ¶ added in v0.1.36
func ImportResourceGroup(rg *ResourceGroup, args *resourcespb.ResourceGroupArgs) error
func NewDatabase ¶ added in v0.1.15
func NewDatabase(r *Database, resourceId string, db *resourcespb.DatabaseArgs, others *resources.Resources) error
func NewKubernetesCluster ¶ added in v0.1.15
func NewKubernetesCluster(cluster *KubernetesCluster, resourceId string, args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
func NewKubernetesNodePool ¶ added in v0.1.15
func NewKubernetesNodePool(r *KubernetesNodePool, resourceId string, args *resourcespb.KubernetesNodePoolArgs, others *resources.Resources) error
func NewNetworkInterface ¶ added in v0.1.15
func NewNetworkInterface(r *NetworkInterface, resourceId string, args *resourcespb.NetworkInterfaceArgs, others *resources.Resources) error
func NewNetworkInterfaceSecurityGroupAssociation ¶ added in v0.1.44
func NewNetworkInterfaceSecurityGroupAssociation(r *NetworkInterfaceSecurityGroupAssociation, resourceId string, args *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, others *resources.Resources) error
func NewNetworkSecurityGroup ¶ added in v0.1.15
func NewNetworkSecurityGroup(nsg *NetworkSecurityGroup, resourceId string, args *resourcespb.NetworkSecurityGroupArgs, others *resources.Resources) error
func NewObjectStorage ¶ added in v0.1.15
func NewObjectStorage(r *ObjectStorage, resourceId string, db *resourcespb.ObjectStorageArgs, _ *resources.Resources) error
func NewObjectStorageObject ¶ added in v0.1.15
func NewObjectStorageObject(r *ObjectStorageObject, resourceId string, args *resourcespb.ObjectStorageObjectArgs, others *resources.Resources) error
func NewPublicIp ¶ added in v0.1.15
func NewPublicIp(r *PublicIp, resourceId string, args *resourcespb.PublicIpArgs) error
func NewRgFromParent ¶ added in v0.1.36
func NewRouteTable ¶ added in v0.1.15
func NewRouteTable(rt *RouteTable, resourceId string, args *resourcespb.RouteTableArgs, others *resources.Resources) error
func NewRouteTableAssociation ¶ added in v0.1.15
func NewRouteTableAssociation(rta *RouteTableAssociation, resourceId string, args *resourcespb.RouteTableAssociationArgs, others *resources.Resources) error
func NewSubnet ¶ added in v0.1.15
func NewSubnet(s *Subnet, resourceId string, subnet *resourcespb.SubnetArgs, others *resources.Resources) error
func NewVaultAccessPolicy ¶ added in v0.1.15
func NewVaultAccessPolicy(vap *VaultAccessPolicy, resourceId string, args *resourcespb.VaultAccessPolicyArgs, others *resources.Resources) error
func NewVaultSecret ¶ added in v0.1.15
func NewVaultSecret(vs *VaultSecret, resourceId string, args *resourcespb.VaultSecretArgs, others *resources.Resources) error
func NewVirtualMachine ¶ added in v0.1.15
func NewVirtualMachine(vm *VirtualMachine, resourceId string, args *resourcespb.VirtualMachineArgs, others *resources.Resources) error
func NewVirtualNetwork ¶ added in v0.1.15
func NewVirtualNetwork(r *VirtualNetwork, resourceId string, vn *resourcespb.VirtualNetworkArgs) error
Types ¶
type AzureResourceGroup ¶ added in v0.1.36
type AzureResourceGroup struct { *common.AzResource `hcl:",squash" default:"name=azurerm_resource_group"` Location string `hcl:"location"` }
type Database ¶
type Database struct { resources.ResourceWithId[*resourcespb.DatabaseArgs] Subnets []*Subnet }
func (*Database) Create ¶ added in v0.1.44
func (r *Database) Create(resourceId string, args *resourcespb.DatabaseArgs, others *resources.Resources) error
func (*Database) Export ¶ added in v0.1.44
func (r *Database) Export(_ *resources.Resources) (*resourcespb.DatabaseArgs, bool, error)
func (*Database) Import ¶ added in v0.1.44
func (r *Database) Import(resourceId string, args *resourcespb.DatabaseArgs, others *resources.Resources) error
func (*Database) Update ¶ added in v0.1.44
func (r *Database) Update(args *resourcespb.DatabaseArgs, others *resources.Resources) error
func (*Database) Validate ¶
func (r *Database) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type KubernetesCluster ¶ added in v0.1.15
type KubernetesCluster struct { resources.ResourceWithId[*resourcespb.KubernetesClusterArgs] VirtualNetwork *VirtualNetwork DefaultNodePool *KubernetesNodePool }
func (*KubernetesCluster) Create ¶ added in v0.1.44
func (r *KubernetesCluster) Create(resourceId string, args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
func (*KubernetesCluster) Export ¶ added in v0.1.44
func (r *KubernetesCluster) Export(_ *resources.Resources) (*resourcespb.KubernetesClusterArgs, bool, error)
func (*KubernetesCluster) Import ¶ added in v0.1.44
func (r *KubernetesCluster) Import(resourceId string, args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
func (*KubernetesCluster) Update ¶ added in v0.1.44
func (r *KubernetesCluster) Update(args *resourcespb.KubernetesClusterArgs, others *resources.Resources) error
func (*KubernetesCluster) Validate ¶ added in v0.1.15
func (r *KubernetesCluster) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type KubernetesNodePool ¶ added in v0.1.15
type KubernetesNodePool struct { resources.ChildResourceWithId[*KubernetesCluster, *resourcespb.KubernetesNodePoolArgs] KubernetesCluster *KubernetesCluster Subnet *Subnet }
func (*KubernetesNodePool) Create ¶ added in v0.1.44
func (r *KubernetesNodePool) Create(resourceId string, args *resourcespb.KubernetesNodePoolArgs, others *resources.Resources) error
func (*KubernetesNodePool) Export ¶ added in v0.1.44
func (r *KubernetesNodePool) Export(_ *resources.Resources) (*resourcespb.KubernetesNodePoolArgs, bool, error)
func (*KubernetesNodePool) Import ¶ added in v0.1.44
func (r *KubernetesNodePool) Import(resourceId string, args *resourcespb.KubernetesNodePoolArgs, others *resources.Resources) error
func (*KubernetesNodePool) Update ¶ added in v0.1.44
func (r *KubernetesNodePool) Update(args *resourcespb.KubernetesNodePoolArgs, others *resources.Resources) error
func (*KubernetesNodePool) Validate ¶ added in v0.1.15
func (r *KubernetesNodePool) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type NetworkInterface ¶
type NetworkInterface struct { resources.ResourceWithId[*resourcespb.NetworkInterfaceArgs] Subnet *Subnet PublicIp *PublicIp }
func (*NetworkInterface) Create ¶ added in v0.1.44
func (r *NetworkInterface) Create(resourceId string, args *resourcespb.NetworkInterfaceArgs, others *resources.Resources) error
func (*NetworkInterface) Export ¶ added in v0.1.44
func (r *NetworkInterface) Export(_ *resources.Resources) (*resourcespb.NetworkInterfaceArgs, bool, error)
func (*NetworkInterface) Import ¶ added in v0.1.44
func (r *NetworkInterface) Import(resourceId string, args *resourcespb.NetworkInterfaceArgs, others *resources.Resources) error
func (*NetworkInterface) Update ¶ added in v0.1.44
func (r *NetworkInterface) Update(args *resourcespb.NetworkInterfaceArgs, others *resources.Resources) error
func (*NetworkInterface) Validate ¶
func (r *NetworkInterface) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type NetworkInterfaceSecurityGroupAssociation ¶ added in v0.1.44
type NetworkInterfaceSecurityGroupAssociation struct { resources.ChildResourceWithId[*NetworkInterface, *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs] NetworkInterface *NetworkInterface NetworkSecurityGroup *NetworkSecurityGroup }
func (*NetworkInterfaceSecurityGroupAssociation) Create ¶ added in v0.1.44
func (r *NetworkInterfaceSecurityGroupAssociation) Create(resourceId string, args *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, others *resources.Resources) error
func (*NetworkInterfaceSecurityGroupAssociation) Export ¶ added in v0.1.44
func (r *NetworkInterfaceSecurityGroupAssociation) Export(_ *resources.Resources) (*resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, bool, error)
func (*NetworkInterfaceSecurityGroupAssociation) Import ¶ added in v0.1.44
func (r *NetworkInterfaceSecurityGroupAssociation) Import(resourceId string, args *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, others *resources.Resources) error
func (*NetworkInterfaceSecurityGroupAssociation) Update ¶ added in v0.1.44
func (r *NetworkInterfaceSecurityGroupAssociation) Update(args *resourcespb.NetworkInterfaceSecurityGroupAssociationArgs, others *resources.Resources) error
func (*NetworkInterfaceSecurityGroupAssociation) Validate ¶ added in v0.1.44
func (r *NetworkInterfaceSecurityGroupAssociation) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type NetworkSecurityGroup ¶
type NetworkSecurityGroup struct { resources.ResourceWithId[*resourcespb.NetworkSecurityGroupArgs] VirtualNetwork *VirtualNetwork }
func (*NetworkSecurityGroup) Create ¶ added in v0.1.44
func (r *NetworkSecurityGroup) Create(resourceId string, args *resourcespb.NetworkSecurityGroupArgs, others *resources.Resources) error
func (*NetworkSecurityGroup) Export ¶ added in v0.1.44
func (r *NetworkSecurityGroup) Export(_ *resources.Resources) (*resourcespb.NetworkSecurityGroupArgs, bool, error)
func (*NetworkSecurityGroup) Import ¶ added in v0.1.44
func (r *NetworkSecurityGroup) Import(resourceId string, args *resourcespb.NetworkSecurityGroupArgs, others *resources.Resources) error
func (*NetworkSecurityGroup) Update ¶ added in v0.1.44
func (r *NetworkSecurityGroup) Update(args *resourcespb.NetworkSecurityGroupArgs, others *resources.Resources) error
func (*NetworkSecurityGroup) Validate ¶
func (r *NetworkSecurityGroup) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type ObjectStorage ¶
type ObjectStorage struct { resources.ResourceWithId[*resourcespb.ObjectStorageArgs] }
func (*ObjectStorage) Create ¶ added in v0.1.44
func (r *ObjectStorage) Create(resourceId string, args *resourcespb.ObjectStorageArgs, others *resources.Resources) error
func (*ObjectStorage) Export ¶ added in v0.1.44
func (r *ObjectStorage) Export(_ *resources.Resources) (*resourcespb.ObjectStorageArgs, bool, error)
func (*ObjectStorage) Import ¶ added in v0.1.44
func (r *ObjectStorage) Import(resourceId string, args *resourcespb.ObjectStorageArgs, others *resources.Resources) error
func (*ObjectStorage) Update ¶ added in v0.1.44
func (r *ObjectStorage) Update(args *resourcespb.ObjectStorageArgs, others *resources.Resources) error
func (*ObjectStorage) Validate ¶
func (r *ObjectStorage) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type ObjectStorageObject ¶
type ObjectStorageObject struct { resources.ChildResourceWithId[*ObjectStorage, *resourcespb.ObjectStorageObjectArgs] ObjectStorage *ObjectStorage `mhcl:"ref=object_storage"` }
func (*ObjectStorageObject) Create ¶ added in v0.1.44
func (r *ObjectStorageObject) Create(resourceId string, args *resourcespb.ObjectStorageObjectArgs, others *resources.Resources) error
func (*ObjectStorageObject) Export ¶ added in v0.1.44
func (r *ObjectStorageObject) Export(_ *resources.Resources) (*resourcespb.ObjectStorageObjectArgs, bool, error)
func (*ObjectStorageObject) Import ¶ added in v0.1.44
func (r *ObjectStorageObject) Import(resourceId string, args *resourcespb.ObjectStorageObjectArgs, others *resources.Resources) error
func (*ObjectStorageObject) Update ¶ added in v0.1.44
func (r *ObjectStorageObject) Update(args *resourcespb.ObjectStorageObjectArgs, others *resources.Resources) error
func (*ObjectStorageObject) Validate ¶
func (r *ObjectStorageObject) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type Provider ¶
type Provider struct { Cloud commonpb.CloudProvider Location string IsDefaultProvider bool NumResources int Credentials *credspb.CloudCredentials GcpProject string }
func (*Provider) GetResourceId ¶
type PublicIp ¶
type PublicIp struct { resources.ResourceWithId[*resourcespb.PublicIpArgs] }
func (*PublicIp) Create ¶ added in v0.1.44
func (r *PublicIp) Create(resourceId string, args *resourcespb.PublicIpArgs, others *resources.Resources) error
func (*PublicIp) Export ¶ added in v0.1.44
func (r *PublicIp) Export(_ *resources.Resources) (*resourcespb.PublicIpArgs, bool, error)
func (*PublicIp) Import ¶ added in v0.1.44
func (r *PublicIp) Import(resourceId string, args *resourcespb.PublicIpArgs, _ *resources.Resources) error
func (*PublicIp) Update ¶ added in v0.1.44
func (r *PublicIp) Update(args *resourcespb.PublicIpArgs, _ *resources.Resources) error
func (*PublicIp) Validate ¶
func (r *PublicIp) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type ResourceGroup ¶ added in v0.1.36
type ResourceGroup struct { resources.ResourceWithId[*resourcespb.ResourceGroupArgs] ImplictlyCreated bool }
func NewResourceGroup ¶ added in v0.1.36
func NewResourceGroup(name string, location commonpb.Location, cloud commonpb.CloudProvider) *ResourceGroup
func (*ResourceGroup) Create ¶ added in v0.1.44
func (r *ResourceGroup) Create(_ string, args *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
func (*ResourceGroup) Export ¶ added in v0.1.44
func (r *ResourceGroup) Export(others *resources.Resources) (*resourcespb.ResourceGroupArgs, bool, error)
func (*ResourceGroup) GetAllDependentResources ¶ added in v0.1.44
func (r *ResourceGroup) GetAllDependentResources(others *resources.Resources) (res []string)
func (*ResourceGroup) Import ¶ added in v0.1.44
func (r *ResourceGroup) Import(_ string, args *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
func (*ResourceGroup) Update ¶ added in v0.1.44
func (r *ResourceGroup) Update(_ *resourcespb.ResourceGroupArgs, _ *resources.Resources) error
func (*ResourceGroup) Validate ¶ added in v0.1.36
func (rg *ResourceGroup) Validate(ctx resources.MultyContext) []validate.ValidationError
type RouteTable ¶
type RouteTable struct { resources.ChildResourceWithId[*VirtualNetwork, *resourcespb.RouteTableArgs] VirtualNetwork *VirtualNetwork `mhcl:"ref=virtual_network"` }
func (*RouteTable) Create ¶ added in v0.1.44
func (r *RouteTable) Create(resourceId string, args *resourcespb.RouteTableArgs, others *resources.Resources) error
func (*RouteTable) Export ¶ added in v0.1.44
func (r *RouteTable) Export(_ *resources.Resources) (*resourcespb.RouteTableArgs, bool, error)
func (*RouteTable) Import ¶ added in v0.1.44
func (r *RouteTable) Import(resourceId string, args *resourcespb.RouteTableArgs, others *resources.Resources) error
func (*RouteTable) Update ¶ added in v0.1.44
func (r *RouteTable) Update(args *resourcespb.RouteTableArgs, others *resources.Resources) error
func (*RouteTable) Validate ¶
func (r *RouteTable) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type RouteTableAssociation ¶
type RouteTableAssociation struct { resources.ChildResourceWithId[*RouteTable, *resourcespb.RouteTableAssociationArgs] RouteTable *RouteTable Subnet *Subnet }
func (*RouteTableAssociation) Create ¶ added in v0.1.44
func (r *RouteTableAssociation) Create(resourceId string, args *resourcespb.RouteTableAssociationArgs, others *resources.Resources) error
func (*RouteTableAssociation) Export ¶ added in v0.1.44
func (r *RouteTableAssociation) Export(_ *resources.Resources) (*resourcespb.RouteTableAssociationArgs, bool, error)
func (*RouteTableAssociation) Import ¶ added in v0.1.44
func (r *RouteTableAssociation) Import(resourceId string, args *resourcespb.RouteTableAssociationArgs, others *resources.Resources) error
func (*RouteTableAssociation) Update ¶ added in v0.1.44
func (r *RouteTableAssociation) Update(args *resourcespb.RouteTableAssociationArgs, others *resources.Resources) error
func (*RouteTableAssociation) Validate ¶
func (r *RouteTableAssociation) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type Subnet ¶
type Subnet struct { resources.ChildResourceWithId[*VirtualNetwork, *resourcespb.SubnetArgs] VirtualNetwork *VirtualNetwork }
func (*Subnet) Create ¶ added in v0.1.44
func (r *Subnet) Create(resourceId string, args *resourcespb.SubnetArgs, others *resources.Resources) error
func (*Subnet) Export ¶ added in v0.1.44
func (r *Subnet) Export(_ *resources.Resources) (*resourcespb.SubnetArgs, bool, error)
func (*Subnet) Import ¶ added in v0.1.44
func (r *Subnet) Import(resourceId string, args *resourcespb.SubnetArgs, others *resources.Resources) error
func (*Subnet) Update ¶ added in v0.1.44
func (r *Subnet) Update(args *resourcespb.SubnetArgs, others *resources.Resources) error
func (*Subnet) Validate ¶
func (r *Subnet) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type Vault ¶
type Vault struct { resources.ResourceWithId[*resourcespb.VaultArgs] }
func (*Vault) Validate ¶
func (r *Vault) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type VaultAccessPolicy ¶
type VaultAccessPolicy struct { resources.ChildResourceWithId[*Vault, *resourcespb.VaultAccessPolicyArgs] Vault *Vault }
func (*VaultAccessPolicy) Create ¶ added in v0.1.44
func (r *VaultAccessPolicy) Create(resourceId string, args *resourcespb.VaultAccessPolicyArgs, others *resources.Resources) error
func (*VaultAccessPolicy) Export ¶ added in v0.1.44
func (r *VaultAccessPolicy) Export(_ *resources.Resources) (*resourcespb.VaultAccessPolicyArgs, bool, error)
func (*VaultAccessPolicy) Import ¶ added in v0.1.44
func (r *VaultAccessPolicy) Import(resourceId string, args *resourcespb.VaultAccessPolicyArgs, others *resources.Resources) error
func (*VaultAccessPolicy) Update ¶ added in v0.1.44
func (r *VaultAccessPolicy) Update(args *resourcespb.VaultAccessPolicyArgs, others *resources.Resources) error
func (*VaultAccessPolicy) Validate ¶
func (r *VaultAccessPolicy) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type VaultSecret ¶
type VaultSecret struct { resources.ChildResourceWithId[*Vault, *resourcespb.VaultSecretArgs] Vault *Vault }
func (*VaultSecret) Create ¶ added in v0.1.44
func (r *VaultSecret) Create(resourceId string, args *resourcespb.VaultSecretArgs, others *resources.Resources) error
func (*VaultSecret) Export ¶ added in v0.1.44
func (r *VaultSecret) Export(_ *resources.Resources) (*resourcespb.VaultSecretArgs, bool, error)
func (*VaultSecret) Import ¶ added in v0.1.44
func (r *VaultSecret) Import(resourceId string, args *resourcespb.VaultSecretArgs, others *resources.Resources) error
func (*VaultSecret) Update ¶ added in v0.1.44
func (r *VaultSecret) Update(args *resourcespb.VaultSecretArgs, others *resources.Resources) error
func (*VaultSecret) Validate ¶
func (r *VaultSecret) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type VirtualMachine ¶
type VirtualMachine struct { resources.ResourceWithId[*resourcespb.VirtualMachineArgs] NetworkInterface []*NetworkInterface NetworkSecurityGroups []*NetworkSecurityGroup Subnet *Subnet PublicIp *PublicIp }
func (*VirtualMachine) Create ¶ added in v0.1.44
func (r *VirtualMachine) Create(resourceId string, args *resourcespb.VirtualMachineArgs, others *resources.Resources) error
func (*VirtualMachine) Export ¶ added in v0.1.44
func (r *VirtualMachine) Export(_ *resources.Resources) (*resourcespb.VirtualMachineArgs, bool, error)
func (*VirtualMachine) GetAwsIdentity ¶ added in v0.1.18
func (r *VirtualMachine) GetAwsIdentity() string
func (*VirtualMachine) Import ¶ added in v0.1.44
func (r *VirtualMachine) Import(resourceId string, args *resourcespb.VirtualMachineArgs, others *resources.Resources) error
func (*VirtualMachine) Update ¶ added in v0.1.44
func (r *VirtualMachine) Update(args *resourcespb.VirtualMachineArgs, others *resources.Resources) error
func (*VirtualMachine) Validate ¶
func (r *VirtualMachine) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
type VirtualNetwork ¶
type VirtualNetwork struct { resources.ResourceWithId[*resourcespb.VirtualNetworkArgs] }
func (*VirtualNetwork) Create ¶ added in v0.1.44
func (r *VirtualNetwork) Create(resourceId string, args *resourcespb.VirtualNetworkArgs, others *resources.Resources) error
func (*VirtualNetwork) Export ¶ added in v0.1.44
func (r *VirtualNetwork) Export(_ *resources.Resources) (*resourcespb.VirtualNetworkArgs, bool, error)
func (*VirtualNetwork) Import ¶ added in v0.1.44
func (r *VirtualNetwork) Import(resourceId string, args *resourcespb.VirtualNetworkArgs, _ *resources.Resources) error
func (*VirtualNetwork) Update ¶ added in v0.1.44
func (r *VirtualNetwork) Update(args *resourcespb.VirtualNetworkArgs, _ *resources.Resources) error
func (*VirtualNetwork) Validate ¶
func (r *VirtualNetwork) Validate(ctx resources.MultyContext) (errs []validate.ValidationError)
TODO validate commonparams
Source Files ¶
- database.go
- kubernetes_node_pool.go
- kubernetes_service.go
- network_interface.go
- network_interface_security_group_association.go
- network_security_group.go
- object_storage.go
- object_storage_object.go
- provider.go
- public_ip.go
- resource_group.go
- route_table.go
- route_table_association.go
- subnet.go
- vault.go
- vault_access_policy.go
- vault_secret.go
- virtual_machine.go
- virtual_network.go
Click to show internal directories.
Click to hide internal directories.