Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
types.StringType, "group_id": types.StringType, "access_level": types.StringType, "subject_name": types.StringType, }"user_id":
Functions ¶
func SuperSchema ¶ added in v0.2.0
func SuperSchema(readOnly bool) map[string]superschema.Attribute
SuperSchema is the superschema for ACL.
If readOnly is false, returns ACL attributes with 3 rights : "ReadOnly", "Change", "FullControl". If readOnly is true, returns ACL attributes with only "ReadOnly".
Types ¶
type SharedWithModel ¶
type SharedWithModel struct {}
func AccessControlListToSharedSet ¶
func AccessControlListToSharedSet(input []*govcdtypes.AccessSetting) ([]SharedWithModel, error)
func SharedSetToAccessControl ¶
func SharedSetToAccessControl(_ *govcd.VCDClient, org *govcd.AdminOrg, input []SharedWithModel) ([]*govcdtypes.AccessSetting, []*SharedWithModel, error)
Click to show internal directories.
Click to hide internal directories.