tenant

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedConfigType = errors.New("found unsupported type")
	ErrUnknownConfigOption   = errors.New("unknown config option")
	ErrInvalidProviderKind   = errors.New("invalid provider kind")
)

Functions

func ProviderKind added in v0.8.0

func ProviderKind(kind string) api.ProviderKind

Types

type GetAccountCmd

type GetAccountCmd struct{}

func (GetAccountCmd) Run

func (cmd GetAccountCmd) Run(c *cc.CommonCtx) error

type GetConnectionCmd

type GetConnectionCmd struct {
	ID string `arg:"" required:"" help:"connection id"`
}

func (GetConnectionCmd) Run

func (cmd GetConnectionCmd) Run(c *cc.CommonCtx) error

type GetProviderCmd

type GetProviderCmd struct {
	ID string `arg:"" required:"" help:"provider id"`
}

func (GetProviderCmd) Run

func (cmd GetProviderCmd) Run(c *cc.CommonCtx) error

type ListConnectionsCmd

type ListConnectionsCmd struct {
	Kind string `help:"provider kind"`
}

func (ListConnectionsCmd) Run

func (cmd ListConnectionsCmd) Run(c *cc.CommonCtx) error

type ListPolicyReferencesCmd

type ListPolicyReferencesCmd struct{}

func (ListPolicyReferencesCmd) Run

type ListProviderKindsCmd

type ListProviderKindsCmd struct{}

func (ListProviderKindsCmd) Run

func (cmd ListProviderKindsCmd) Run(c *cc.CommonCtx) error

type ListProvidersCmd

type ListProvidersCmd struct {
	Kind string `help:"provider kind"`
}

func (ListProvidersCmd) Run

func (cmd ListProvidersCmd) Run(c *cc.CommonCtx) error

type SyncConnectionCmd added in v0.1.14

type SyncConnectionCmd struct {
	ID string `arg:"" required:"" help:"connection id"`
}

func (SyncConnectionCmd) Run added in v0.1.14

func (cmd SyncConnectionCmd) Run(c *cc.CommonCtx) error

type UpdateConnectionCmd added in v0.8.0

type UpdateConnectionCmd struct {
	ID string `arg:"" required:"" help:"connection id"`

	Name        string            `optional:"" help:"connection name"`
	Description string            `optional:"" help:"connection description"`
	Kind        string            `optional:"" help:"connection kind: use 'tenant list-provider-kinds' for list of allowed values"`
	ProviderID  string            `optional:"" help:"id of the provider used by the connection"`
	Config      map[string]string `optional:"" help:"connection config values (--config key1=val1 --config key2=val2 ...)"`
}

func (*UpdateConnectionCmd) Run added in v0.8.0

func (cmd *UpdateConnectionCmd) Run(c *cc.CommonCtx) error

type VerifyConnectionCmd

type VerifyConnectionCmd struct {
	ID string `arg:"" required:"" help:"connection id"`
}

func (VerifyConnectionCmd) Run

func (cmd VerifyConnectionCmd) Run(c *cc.CommonCtx) error

Jump to

Keyboard shortcuts

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