Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssetResponsibility ¶
type AssetResponsibility struct {
RoleName string `json:"roleName" jsonschema:"the name of the resource role (e.g., Owner, Business Steward)"`
UserName string `json:"userName,omitempty" jsonschema:"the username of the assigned user, if the owner is a user"`
GroupName string `json:"groupName,omitempty" jsonschema:"the name of the assigned group, if the owner is a user group"`
Inherited bool `` /* 156-byte string literal not displayed */
}
AssetResponsibility represents a role assignment (e.g., Owner, Steward) for an asset.
type AssignableAttribute ¶ added in v0.0.38
type AssignableAttribute struct {
Name string `json:"name" jsonschema:"the attribute type name, e.g. Definition"`
Required bool `json:"required" jsonschema:"whether the assignment requires this attribute to have a value"`
IsSet bool `json:"isSet" jsonschema:"true if the asset currently has a value for this attribute, false if it is empty but settable"`
}
AssignableAttribute is one attribute type the asset's assignment allows. It lets the caller tell an empty attribute apart from one that isn't valid at all — the GraphQL attribute lists only include attributes that have a value.
type Output ¶
type Output struct {
Asset *clients.Asset `json:"asset,omitempty" jsonschema:"the detailed asset information if found"`
AssignableAttributes []AssignableAttribute `` /* 313-byte string literal not displayed */
Responsibilities []AssetResponsibility `json:"responsibilities,omitempty" jsonschema:"the responsibilities assigned to this asset, including inherited ones"`
ResponsibilitiesStatus string `json:"responsibilitiesStatus,omitempty" jsonschema:"status message for responsibilities, e.g. No responsibilities assigned"`
Link string `json:"link,omitempty" jsonschema:"the link you can navigate to in Collibra to view the asset"`
Error string `json:"error,omitempty" jsonschema:"error message if asset not found or other error occurred"`
Found bool `json:"found" jsonschema:"whether the asset was found"`
}
Click to show internal directories.
Click to hide internal directories.