suite

package
v3.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestCA

func NewTestCA(caType services.CertAuthType, clusterName string, privateKeys ...[]byte) *services.CertAuthorityV2

NewTestCA returns new test authority with a test key as a public and signing key

Types

type ServicesTestSuite

type ServicesTestSuite struct {
	Access        services.Access
	CAS           services.Trust
	PresenceS     services.Presence
	ProvisioningS services.Provisioner
	WebS          services.Identity
	ConfigS       services.ClusterConfiguration
	ChangesC      chan interface{}
	Clock         clockwork.FakeClock
}

func (*ServicesTestSuite) AuthPreference

func (s *ServicesTestSuite) AuthPreference(c *C)

AuthPreference tests authentication preference service

func (*ServicesTestSuite) CertAuthCRUD

func (s *ServicesTestSuite) CertAuthCRUD(c *C)

func (*ServicesTestSuite) ClusterConfig

func (s *ServicesTestSuite) ClusterConfig(c *C)

ClusterConfig tests cluster configuration

func (*ServicesTestSuite) GithubConnectorCRUD

func (s *ServicesTestSuite) GithubConnectorCRUD(c *C)

func (*ServicesTestSuite) LoginAttempts

func (s *ServicesTestSuite) LoginAttempts(c *C)

func (*ServicesTestSuite) NamespacesCRUD

func (s *ServicesTestSuite) NamespacesCRUD(c *C)

func (*ServicesTestSuite) PasswordHashCRUD

func (s *ServicesTestSuite) PasswordHashCRUD(c *C)

func (*ServicesTestSuite) RemoteClustersCRUD

func (s *ServicesTestSuite) RemoteClustersCRUD(c *C)

func (*ServicesTestSuite) ReverseTunnelsCRUD

func (s *ServicesTestSuite) ReverseTunnelsCRUD(c *C)

func (*ServicesTestSuite) RolesCRUD

func (s *ServicesTestSuite) RolesCRUD(c *C)

func (*ServicesTestSuite) SAMLCRUD

func (s *ServicesTestSuite) SAMLCRUD(c *C)

func (*ServicesTestSuite) ServerCRUD

func (s *ServicesTestSuite) ServerCRUD(c *C)

func (*ServicesTestSuite) TokenCRUD

func (s *ServicesTestSuite) TokenCRUD(c *C)

func (*ServicesTestSuite) TunnelConnectionsCRUD

func (s *ServicesTestSuite) TunnelConnectionsCRUD(c *C)

func (*ServicesTestSuite) U2FCRUD added in v1.3.0

func (s *ServicesTestSuite) U2FCRUD(c *C)

func (*ServicesTestSuite) UsersCRUD

func (s *ServicesTestSuite) UsersCRUD(c *C)

func (*ServicesTestSuite) WebSessionCRUD

func (s *ServicesTestSuite) WebSessionCRUD(c *C)

Jump to

Keyboard shortcuts

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