Documentation ¶
Index ¶
Constants ¶
View Source
const (
SpicedbSchemaBootstrapFile = "../internal/data/spicedb-test-data/basic_schema.zed"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalKesselContainer ¶
type LocalKesselContainer struct { Name string HTTPport string // contains filtered or unexported fields }
LocalKesselContainer struct that holds pointers to the localKesselContainer, dockertest pool and exposes the port
func CreateKesselAPIContainer ¶
func CreateKesselAPIContainer(logger log.Logger) (*LocalKesselContainer, error)
func (*LocalKesselContainer) Close ¶
func (l *LocalKesselContainer) Close()
type TokenResponse ¶
type TokenResponse struct { AccessToken string `json:"access_token"` ExpiresIn int `json:"expires_in"` RefreshToken string `json:"refresh_token"` }
func GetJWTToken ¶
func GetJWTToken(baseURL, username, password string) (*TokenResponse, error)
Click to show internal directories.
Click to hide internal directories.