Documentation ¶
Index ¶
- func NewTestCA(caType services.CertAuthType, clusterName string, privateKeys ...[]byte) *services.CertAuthorityV2
- type ServicesTestSuite
- func (s *ServicesTestSuite) AuthPreference(c *C)
- func (s *ServicesTestSuite) CertAuthCRUD(c *C)
- func (s *ServicesTestSuite) ClusterConfig(c *C)
- func (s *ServicesTestSuite) GithubConnectorCRUD(c *C)
- func (s *ServicesTestSuite) LoginAttempts(c *C)
- func (s *ServicesTestSuite) NamespacesCRUD(c *C)
- func (s *ServicesTestSuite) PasswordHashCRUD(c *C)
- func (s *ServicesTestSuite) RemoteClustersCRUD(c *C)
- func (s *ServicesTestSuite) ReverseTunnelsCRUD(c *C)
- func (s *ServicesTestSuite) RolesCRUD(c *C)
- func (s *ServicesTestSuite) SAMLCRUD(c *C)
- func (s *ServicesTestSuite) ServerCRUD(c *C)
- func (s *ServicesTestSuite) TokenCRUD(c *C)
- func (s *ServicesTestSuite) TunnelConnectionsCRUD(c *C)
- func (s *ServicesTestSuite) U2FCRUD(c *C)
- func (s *ServicesTestSuite) UsersCRUD(c *C)
- func (s *ServicesTestSuite) WebSessionCRUD(c *C)
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)
Click to show internal directories.
Click to hide internal directories.