dockerhub

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PasswordIdentityDef

func PasswordIdentityDef() *eventline.IdentityDef

func TokenIdentityDef

func TokenIdentityDef() *eventline.IdentityDef

Types

type Connector

type Connector struct {
	Def *eventline.ConnectorDef
	Cfg *ConnectorCfg
	Log *log.Logger
}

func NewConnector

func NewConnector() *Connector

func (*Connector) DefaultCfg

func (c *Connector) DefaultCfg() eventline.ConnectorCfg

func (*Connector) Definition

func (c *Connector) Definition() *eventline.ConnectorDef

func (*Connector) Init

func (*Connector) Name

func (c *Connector) Name() string

func (*Connector) Terminate

func (c *Connector) Terminate()

type ConnectorCfg

type ConnectorCfg struct {
}

func (*ConnectorCfg) ValidateJSON added in v1.1.0

func (cfg *ConnectorCfg) ValidateJSON(v *ejson.Validator)

type PasswordIdentity

type PasswordIdentity struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (*PasswordIdentity) Def

func (*PasswordIdentity) Environment

func (i *PasswordIdentity) Environment() map[string]string

func (*PasswordIdentity) ValidateJSON added in v1.1.0

func (i *PasswordIdentity) ValidateJSON(v *ejson.Validator)

type TokenIdentity

type TokenIdentity struct {
	Username string `json:"username"`
	Token    string `json:"token"`
}

func (*TokenIdentity) Def

func (*TokenIdentity) Environment

func (i *TokenIdentity) Environment() map[string]string

func (*TokenIdentity) ValidateJSON added in v1.1.0

func (i *TokenIdentity) ValidateJSON(v *ejson.Validator)

Jump to

Keyboard shortcuts

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