mock

package
v0.0.0-...-21df278 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrgProvisioner

type OrgProvisioner struct {
	AddSupportOrganizationFn      func(ctx context.Context, userContext am.UserContext, orgData *am.Organization, roles map[string]string, password string) (string, string, error)
	AddSupportOrganizationInvoked bool

	AddFn      func(ctx context.Context, userContext am.UserContext, orgData *am.Organization, roles map[string]string) (string, error)
	AddInvoked bool

	DeleteSupportOrganizationFn      func(ctx context.Context, userContext am.UserContext, orgName string) (string, string, error)
	DeleteSupportOrganizationInvoked bool

	DeleteFn      func(ctx context.Context, orgData *am.Organization) error
	DeleteInvoked bool
}

func (*OrgProvisioner) Add

func (o *OrgProvisioner) Add(ctx context.Context, userContext am.UserContext, orgData *am.Organization, roles map[string]string) (string, error)

func (*OrgProvisioner) AddSupportOrganization

func (o *OrgProvisioner) AddSupportOrganization(ctx context.Context, userContext am.UserContext, orgData *am.Organization, roles map[string]string, password string) (string, string, error)

func (*OrgProvisioner) Delete

func (o *OrgProvisioner) Delete(ctx context.Context, orgData *am.Organization) error

func (*OrgProvisioner) DeleteSupportOrganization

func (o *OrgProvisioner) DeleteSupportOrganization(ctx context.Context, userContext am.UserContext, orgName string) (string, string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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