services

package
v0.0.0-...-29e664c Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialCedar

func DialCedar(ctx context.Context, client *http.Client, opts *DialCedarOptions) (*grpc.ClientConn, error)

DialCedar is a convenience function for creating a RPC client connection with cedar via gRPC.

Types

type DialCedarOptions

type DialCedarOptions struct {
	BaseAddress string
	RPCPort     string
	Username    string
	Password    string
	Retries     int
}

DialCedarOptions describes the options for the DialCedar function. The base address defaults to `cedar.deciduosity.com` and the RPC port to 7070. If a base address is provided the RPC port must also be provided. The LDAP credentials username and password must always be provided.

Jump to

Keyboard shortcuts

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