Documentation ¶
Index ¶
- type AppTestOptions
- type Pack
- func (p *Pack) CreateAppSession(t *testing.T, publicAddr, clusterName string) string
- func (p *Pack) LeafAppClusterName() string
- func (p *Pack) LeafAppPublicAddr() string
- func (p *Pack) MakeRequest(sessionCookie string, method string, endpoint string, ...) (int, string, error)
- func (p *Pack) RootAppClusterName() string
- func (p *Pack) RootAppPublicAddr() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppTestOptions ¶
type Pack ¶
type Pack struct {
// contains filtered or unexported fields
}
Pack contains identity as well as initialized Teleport clusters and instances.
func SetupWithOptions ¶
func SetupWithOptions(t *testing.T, opts AppTestOptions) *Pack
SetupWithOptions configures app access test with custom options.
func (*Pack) CreateAppSession ¶
CreateAppSession creates an application session with the root cluster. The application that the user connects to may be running in a leaf cluster.
func (*Pack) LeafAppClusterName ¶
func (*Pack) LeafAppPublicAddr ¶
func (*Pack) MakeRequest ¶
func (p *Pack) MakeRequest(sessionCookie string, method string, endpoint string, headers ...service.Header) (int, string, error)
MakeRequest makes a request to the root cluster with the given session cookie.
func (*Pack) RootAppClusterName ¶
func (*Pack) RootAppPublicAddr ¶
Click to show internal directories.
Click to hide internal directories.