Documentation ¶
Index ¶
- func NewTestCA(caType services.CertAuthType, clusterName string, privateKeys ...[]byte) *services.CertAuthorityV2
- type ServicesTestSuite
- func (s *ServicesTestSuite) AuthPreference(c *check.C)
- func (s *ServicesTestSuite) CertAuthCRUD(c *check.C)
- func (s *ServicesTestSuite) ClusterConfig(c *check.C)
- func (s *ServicesTestSuite) Events(c *check.C)
- func (s *ServicesTestSuite) GithubConnectorCRUD(c *check.C)
- func (s *ServicesTestSuite) LoginAttempts(c *check.C)
- func (s *ServicesTestSuite) NamespacesCRUD(c *check.C)
- func (s *ServicesTestSuite) PasswordHashCRUD(c *check.C)
- func (s *ServicesTestSuite) RemoteClustersCRUD(c *check.C)
- func (s *ServicesTestSuite) ReverseTunnelsCRUD(c *check.C)
- func (s *ServicesTestSuite) RolesCRUD(c *check.C)
- func (s *ServicesTestSuite) SAMLCRUD(c *check.C)
- func (s *ServicesTestSuite) ServerCRUD(c *check.C)
- func (s *ServicesTestSuite) TokenCRUD(c *check.C)
- func (s *ServicesTestSuite) TunnelConnectionsCRUD(c *check.C)
- func (s *ServicesTestSuite) U2FCRUD(c *check.C)
- func (s *ServicesTestSuite) UsersCRUD(c *check.C)
- func (s *ServicesTestSuite) WebSessionCRUD(c *check.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 EventsS services.Events ChangesC chan interface{} }
func (*ServicesTestSuite) AuthPreference ¶
func (s *ServicesTestSuite) AuthPreference(c *check.C)
AuthPreference tests authentication preference service
func (*ServicesTestSuite) CertAuthCRUD ¶
func (s *ServicesTestSuite) CertAuthCRUD(c *check.C)
func (*ServicesTestSuite) ClusterConfig ¶
func (s *ServicesTestSuite) ClusterConfig(c *check.C)
ClusterConfig tests cluster configuration
func (*ServicesTestSuite) Events ¶
func (s *ServicesTestSuite) Events(c *check.C)
Events tests various events variations
func (*ServicesTestSuite) GithubConnectorCRUD ¶
func (s *ServicesTestSuite) GithubConnectorCRUD(c *check.C)
func (*ServicesTestSuite) LoginAttempts ¶
func (s *ServicesTestSuite) LoginAttempts(c *check.C)
func (*ServicesTestSuite) NamespacesCRUD ¶
func (s *ServicesTestSuite) NamespacesCRUD(c *check.C)
func (*ServicesTestSuite) PasswordHashCRUD ¶
func (s *ServicesTestSuite) PasswordHashCRUD(c *check.C)
func (*ServicesTestSuite) RemoteClustersCRUD ¶
func (s *ServicesTestSuite) RemoteClustersCRUD(c *check.C)
func (*ServicesTestSuite) ReverseTunnelsCRUD ¶
func (s *ServicesTestSuite) ReverseTunnelsCRUD(c *check.C)
func (*ServicesTestSuite) RolesCRUD ¶
func (s *ServicesTestSuite) RolesCRUD(c *check.C)
func (*ServicesTestSuite) SAMLCRUD ¶
func (s *ServicesTestSuite) SAMLCRUD(c *check.C)
func (*ServicesTestSuite) ServerCRUD ¶
func (s *ServicesTestSuite) ServerCRUD(c *check.C)
func (*ServicesTestSuite) TokenCRUD ¶
func (s *ServicesTestSuite) TokenCRUD(c *check.C)
func (*ServicesTestSuite) TunnelConnectionsCRUD ¶
func (s *ServicesTestSuite) TunnelConnectionsCRUD(c *check.C)
func (*ServicesTestSuite) U2FCRUD ¶
func (s *ServicesTestSuite) U2FCRUD(c *check.C)
func (*ServicesTestSuite) UsersCRUD ¶
func (s *ServicesTestSuite) UsersCRUD(c *check.C)
func (*ServicesTestSuite) WebSessionCRUD ¶
func (s *ServicesTestSuite) WebSessionCRUD(c *check.C)
Click to show internal directories.
Click to hide internal directories.