github.com/cilium/cilium@v1.16.2/pkg/alibabacloud/types/types.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package types
     5  
     6  import (
     7  	ipamTypes "github.com/cilium/cilium/pkg/ipam/types"
     8  )
     9  
    10  // SecurityGroup is the representation of an AlibabaCloud Security Group
    11  //
    12  // +k8s:deepcopy-gen=true
    13  type SecurityGroup struct {
    14  	// ID is the SecurityGroup ID
    15  	ID string
    16  
    17  	// VPCID is the VPC ID in which the security group resides
    18  	VPCID string
    19  
    20  	// Tags are the tags of the security group
    21  	Tags ipamTypes.Tags
    22  }
    23  
    24  // SecurityGroupMap indexes Security Groups by security group ID
    25  type SecurityGroupMap map[string]*SecurityGroup