flows

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintErrorConnectingSuggestion

func PrintErrorConnectingSuggestion(cmd *cobra.Command, sessionID string) error

func RunUseSessionInteractiveFlow

func RunUseSessionInteractiveFlow(cmd *cobra.Command, client *aponoapi.AponoClient, requestIDFilter string) error

func StartBundleRequestBuilderInteractiveMode

func StartBundleRequestBuilderInteractiveMode(
	cmd *cobra.Command,
	client *aponoapi.AponoClient,
	bundleID string,
	justification string,
	accessDuration *time.Duration,
) (*clientapi.CreateAccessRequestClientModel, error)

func StartIntegrationRequestBuilderInteractiveMode

func StartIntegrationRequestBuilderInteractiveMode(
	cmd *cobra.Command,
	client *aponoapi.AponoClient,
	integrationID string,
	resourceTypeID string,
	resourceIDs []string,
	permissionIDs []string,
	justification string,
	accessDuration *time.Duration,
) (*clientapi.CreateAccessRequestClientModel, error)

func StartRequestBuilderInteractiveMode

func StartRequestBuilderInteractiveMode(cmd *cobra.Command, client *aponoapi.AponoClient) (*clientapi.CreateAccessRequestClientModel, error)

Types

type CreateAccessRequestWithFullModels

type CreateAccessRequestWithFullModels struct {
	Bundles      []clientapi.BundleClientModel
	Integrations []clientapi.IntegrationClientModel
	Resources    []clientapi.ResourceClientModel
	Duration     *time.Duration
}

Jump to

Keyboard shortcuts

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