type BSLAuth struct { APIEndpoint string // contains filtered or unexported fields }
func FromContext(ctx fctx.Context) (*BSLAuth, error)
func FromContextT(ctx fctx.Context, t *testing.T) *BSLAuth
func New() *BSLAuth
func (b *BSLAuth) BindFlags(fs *flag.FlagSet)
BindFlags registers test flags for the framework extension.
func (b *BSLAuth) IntoContext(ctx fctx.Context) fctx.Context
IntoContext stores the framework extension in the test context.
func (b *BSLAuth) RegisterFns(f f2.Framework)
func (b *BSLAuth) User(id Identifier) User
Finds the User login details in the current env given an identifier
Identifier is a consistent way of referring to users across multiple edge environments. A user with a given Identifier will have the same roles across multiple environments, even if the login details change.
type Identifier string
All currently configured users
const ( BannerAdmin Identifier = "banner-admin" // Identifies an user with the banner admin role )
User holds the Edge Login details for an user in the given environment
type User struct { Username string Password string Org string `json:"organization"` }