# Packages
No description provided by the author
# Functions
AddRule accepts a CreateSecurityGroupRuleOpts struct and add rule to existed group.
Create accepts a CreateOpts struct and creates a new security group using the values provided.
DeepCopy accepts a DeepCopyOpts struct and create a deep copy of security group.
Delete accepts a unique ID and deletes the security group associated with it.
ExtractMetadata accepts a Page struct, specifically a MetadataPage struct, and extracts the elements into a slice of securitygroups metadata structs.
No description provided by the author
ExtractSecurityGroupInstances accepts a Page struct, specifically a SecurityGroupInstancesPage struct, and extracts the elements into a slice of Instance structs.
No description provided by the author
ExtractSecurityGroup accepts a Page struct, specifically a SecurityGroupPage struct, and extracts the elements into a slice of SecurityGroup structs.
No description provided by the author
Get retrieves a specific security group based on its unique ID.
IDFromName is a convenience function that returns a security group's ID, given its name.
No description provided by the author
ListAll returns all SGs.
ListAllInstances returns all instances for SG.
ListInstances returns page of instances for SG.
MetadataCreateOrUpdate creates or update a metadata for an security group.
MetadataDelete deletes defined metadata key for a security group.
MetadataGet gets defined metadata key for a security group.
No description provided by the author
No description provided by the author
MetadataReplace replace a metadata for an security group.
Update accepts a UpdateOpts struct and updates an existing security group using the values provided.
# Structs
CreateOpts represents options used to create a security group.
CreateResult represents the result of a create operation.
CreateRuleResult represents the result of a create operation.
No description provided by the author
CreateSecurityGroupRuleOpts represents options used to create a security group rule.
DeepCopyOpts represents options used to deep copy a security group.
DeepCopyResult represents the result of a deep copy operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
No description provided by the author
MetadataActionResult represents the result of a create, delete or update operation(no content).
MetadataPage is the page returned by a pager when traversing over a collection of instance metadata objects.
MetadataResult represents the result of a get operation.
SecurityGroup represents a security group.
SecurityGroupInstancesPage is the page returned by a pager when traversing over a collection of security group instances.
SecurityGroupPage is the page returned by a pager when traversing over a collection of security groups.
SecurityGroupRule represents a security group rule.
UpdateOpts represents options used to update a security group.
UpdateResult represents the result of an update operation.
UpdateSecurityGroupRuleOpts represents options used to change a security group rule.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the request.
CreateRuleOptsBuilder allows extensions to add additional parameters to the request.
DeepCopyOptsBuilder allows extensions to add additional parameters to the request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.