Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthMethod ¶ added in v0.8.1
type AuthMethod int
const ( // AuthDisabled indicates that authentication is not enabled for the deployment AuthDisabled AuthMethod = iota // AuthToken indicates authentication using an OpenShift token. AuthToken // AuthUsernamePassword indicates authentication using a username and password. AuthUsernamePassword )
func LoginToAPIWithToken ¶
func LoginToAPIWithToken(harness *e2e.Harness) AuthMethod
LoginToAPIWithToken attempts to log in to the flightctl API via different methods depending on what is available. If auth is disabled then this is largely a noop. This method panics if login fails
func WithK8Token ¶ added in v1.0.0
func WithK8Token(harness *e2e.Harness) AuthMethod
WithK8Token attempts to log in to the flightctl API with only the user/password flow. If auth is disabled then this is largely a noop. This method panics if login fails
Click to show internal directories.
Click to hide internal directories.