args

package
v0.0.0-...-bed1efa Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Level string
}

func (*Log) Flags

func (arg *Log) Flags() []cli.Flag

func (*Log) Logger

func (arg *Log) Logger() log.Logger

type Memory

type Memory struct {
	MemoryDB bool
}

func (*Memory) Flags

func (arg *Memory) Flags() []cli.Flag

type Mongo

type Mongo struct {
	Host           string
	Port           int
	Username       string
	Password       string
	Database       string
	Options        string
	MetadataFolder string
}

func (*Mongo) Connect

func (arg *Mongo) Connect() (*mongo.Client, error)

func (*Mongo) Flags

func (arg *Mongo) Flags() []cli.Flag

func (*Mongo) ReadMetadataBytes

func (arg *Mongo) ReadMetadataBytes() ([][]byte, error)

func (*Mongo) Url

func (arg *Mongo) Url() string

type Rabbit

type Rabbit struct {
	Username string
	Password string
	Host     string
	Port     int
	VHost    string
	Options  string
}

func (*Rabbit) Connect

func (arg *Rabbit) Connect() (*amqp.Channel, error)

func (*Rabbit) Flags

func (arg *Rabbit) Flags() []cli.Flag

func (*Rabbit) Url

func (arg *Rabbit) Url() string

type Scim

type Scim struct {
	// Path to the service provider config JSON file
	ServiceProviderConfigPath string
	// Path to the user resource type JSON file
	UserResourceTypePath string
	// Path to the group resource type JSON file
	GroupResourceTypePath string
	// Path to the folder containing all schema JSON file
	SchemasFolderPath string
}

func (*Scim) Flags

func (arg *Scim) Flags() []cli.Flag

func (*Scim) ParseGroupResourceType

func (arg *Scim) ParseGroupResourceType() (*spec.ResourceType, error)

func (*Scim) ParseSchemas

func (arg *Scim) ParseSchemas() ([]*spec.Schema, error)

func (*Scim) ParseServiceProviderConfig

func (arg *Scim) ParseServiceProviderConfig() (*spec.ServiceProviderConfig, error)

func (*Scim) ParseUserResourceType

func (arg *Scim) ParseUserResourceType() (*spec.ResourceType, error)

Jump to

Keyboard shortcuts

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