cascadeauth

package
v0.9.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHostAction

func IsHostAction(action Action) bool

func ValidateScope

func ValidateScope(resourceType string, action Action) error

Types

type Action

type Action string
const (
	ActionRelayRetire               Action = "retire_relay"
	ActionRelayRemove               Action = "remove_relay"
	ActionNATDisable                Action = "disable_nat"
	ActionNATReconcile              Action = "reconcile_nat"
	ActionGuestRemove               Action = "remove_guest"
	ActionGuestReleaseResources     Action = "release_guest_resources"
	ActionGuestDeleteExact          Action = "delete_isolated_vm"
	ActionAdapterMetadataReconcile  Action = "reconcile_adapter_metadata"
	ActionAdapterRemove             Action = "remove_nic"
	ActionPrivateSwitchDelete       Action = "delete_private_switch"
	ActionNetworkRemove             Action = "remove_network"
	ActionNetworkMetadataCleanup    Action = "cleanup_network_metadata"
	ActionOrchestratorMetadataClean Action = "cleanup_orchestrator_metadata"
	ActionOrchestratorVMDelete      Action = "delete_orchestrator_vm"
)

func Parse

func Parse(value string) (Action, error)

func PrimaryAction

func PrimaryAction(resourceType string) (Action, error)

type Operation

type Operation struct {
	ResourceType string
	Action       Action
}

func OperationsForResource

func OperationsForResource(resourceType string) ([]Operation, error)

func OrchestratorOperations

func OrchestratorOperations() []Operation

Jump to

Keyboard shortcuts

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