rbac

package
v0.10.26 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	// contains filtered or unexported fields
}

TestSuite is the onos-config HA test suite

func (*TestSuite) SetupTestSuite

func (s *TestSuite) SetupTestSuite(c *input.Context) error

SetupTestSuite sets up the onos-config RBAC test suite

func (*TestSuite) TestBadTokens

func (s *TestSuite) TestBadTokens(t *testing.T)

TestBadTokens tests access to a protected API with no access token supplied

func (*TestSuite) TestGetOperations added in v0.10.11

func (s *TestSuite) TestGetOperations(t *testing.T)

TestGetOperations tests get operations to a protected API with various users

func (*TestSuite) TestNoToken

func (s *TestSuite) TestNoToken(t *testing.T)

TestNoToken tests access to a protected API with no access token supplied

func (*TestSuite) TestSetOperations

func (s *TestSuite) TestSetOperations(t *testing.T)

TestSetOperations tests set operations to a protected API with various users

Jump to

Keyboard shortcuts

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