github.com/gophercloud/gophercloud@v1.11.0/openstack/networking/v2/extensions/trunk_details/doc.go (about)

     1  /*
     2  Package trunk_details provides the ability to extend a ports result with
     3  additional information about any trunk and subports associated with the port.
     4  
     5  Example:
     6  
     7  	type portExt struct {
     8  	  ports.Port
     9  	  trunk_details.TrunkDetailsExt
    10  	}
    11  	var portExt portExt
    12  
    13  	err := ports.Get(networkClient, "2ba3a709-e40e-462c-a541-85e99de589bf").ExtractInto(&portExt)
    14  	if err != nil {
    15  	  panic(err)
    16  	}
    17  
    18  	fmt.Printf("%+v\n", portExt)
    19  */
    20  package trunk_details