functions

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package functions implements the third-party functions for OPA.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationClient

func AuthorizationClient(ctx context.Context) (*authorization.Client, error)

AuthorizationClient creates IndyKite Authorization client based on defined plugin or environment variables.

func IdentityClient

func IdentityClient(ctx context.Context) (*identity.Client, error)

IdentityClient creates IndyKite Identity client based on defined plugin or environment variables.

func OverrideAuthorizationClient

func OverrideAuthorizationClient(conn *authorization.Client) *authorization.Client

OverrideAuthorizationClient set and override AuthorizationClient Connection for OPA and return previously set connection.

func OverrideIdentityClient

func OverrideIdentityClient(conn *identity.Client) *identity.Client

OverrideIdentityClient set and override IdentityClient Connection for OPA and return previously set connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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