oktaassignment

package
v0.0.0-...-5c79d48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL