Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { // ResourceHeader is embedded to implement types.Resource types.ResourceHeader // Spec is the login rule specification Spec spec `json:"spec"` }
Resource is a type to represent on Okta assignment that implements types.Resource and custom YAML marshaling. This is entirely to present a version of the Okta assignment with human readable statuses.
func ToResource ¶
func ToResource(assignment types.OktaAssignment) *Resource
ToResource converts an OktaAssignment into a *Resource which implements types.Resource and can be marshaled to YAML or JSON in a human-friendly format.
Click to show internal directories.
Click to hide internal directories.