writemodel

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package writemodel contains integration tests for the WriteAuthorizationModel API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAllTests added in v0.4.0

func RunAllTests(t *testing.T, client ClientInterface)

RunAllTests will run all write model tests.

Types

type ClientInterface

type ClientInterface interface {
	CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
	WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)
}

ClientInterface defines interface for running WriteAuthorizationModel tests.

Jump to

Keyboard shortcuts

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