Documentation ¶
Index ¶
- type ACLPolicy
- type ACLResult
- func APIACLPolicyGet(client *golangsdk.ServiceClient, domainID string) (r ACLResult)
- func APIACLPolicyUpdate(client *golangsdk.ServiceClient, opts APIACLPolicyBuilder, domainID string) (r ACLResult)
- func ConsoleACLPolicyGet(client *golangsdk.ServiceClient, domainID string) (r ACLResult)
- func ConsoleACLPolicyUpdate(client *golangsdk.ServiceClient, opts ConsoleACLPolicyBuilder, domainID string) (r ACLResult)
- type APIACLPolicyBuilder
- type AllowAddressNetmasks
- type AllowIPRanges
- type ConsoleACLPolicyBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLPolicy ¶
type ACLPolicy struct { AllowAddressNetmasks []AllowAddressNetmasks `json:"allow_address_netmasks,omitempty"` AllowIPRanges []AllowIPRanges `json:"allow_ip_ranges,omitempty"` }
ACLPolicy provides options used to create, update or get a identity acl.
func (ACLPolicy) ToAPIACLPolicyMap ¶
ToAPIACLPolicyMap formats a create or update opts into a modify request for api access.
func (ACLPolicy) ToConsoleACLPolicyMap ¶
ToConsoleACLPolicyMap formats a create or update opts into a modify request for console access.
type ACLResult ¶
ACLResult is response of the ACL policy for consloe or api access.
func APIACLPolicyGet ¶
func APIACLPolicyGet(client *golangsdk.ServiceClient, domainID string) (r ACLResult)
APIACLPolicyGet retrieves details on iam identity acl for api access, by domain ID.
func APIACLPolicyUpdate ¶
func APIACLPolicyUpdate(client *golangsdk.ServiceClient, opts APIACLPolicyBuilder, domainID string) (r ACLResult)
APIACLPolicyUpdate can creates a new acl or updates a exist acl for api access.
func ConsoleACLPolicyGet ¶
func ConsoleACLPolicyGet(client *golangsdk.ServiceClient, domainID string) (r ACLResult)
ConsoleACLPolicyGet retrieves details on iam identity acl for console access, by domain ID.
func ConsoleACLPolicyUpdate ¶
func ConsoleACLPolicyUpdate(client *golangsdk.ServiceClient, opts ConsoleACLPolicyBuilder, domainID string) (r ACLResult)
ConsoleACLPolicyUpdate can creates a new acl or updates a exist acl for console access.
func (ACLResult) APIExtract ¶
APIExtract interprets any acl results as a acl policy for api access.
func (ACLResult) ConsoleExtract ¶
ConsoleExtract interprets any acl results as a acl policy for console access.
type APIACLPolicyBuilder ¶
APIACLPolicyBuilder allows extensions to add additional parameters to the modify request.
type AllowAddressNetmasks ¶
type AllowAddressNetmasks struct { AddressNetmask string `json:"address_netmask" required:"true"` Description string `json:"description,omitempty"` }
AllowAddressNetmasks provides options for creating, updating or getting a IPv4 CIDR blocks.
type AllowIPRanges ¶
type AllowIPRanges struct { IPRange string `json:"ip_range" required:"true"` Description string `json:"description,omitempty"` }
AllowIPRanges provides options for creating, updating or getting a IP address ranges.
type ConsoleACLPolicyBuilder ¶
ConsoleACLPolicyBuilder allows extensions to add additional parameters to the modify request.