Documentation
¶
Index ¶
- func GetOAuthConfig(rc *rest.Config, name string) (*oauthv1alpha1.OAuthConfig, error)
- func LDAPConfigGet(rc *rest.Config, name string) (*ldapv1alpha1.LDAPConfig, error)
- func LDAPConfigList(rc *rest.Config) (*ldapv1alpha1.LDAPConfigList, error)
- func OIDCConfigGet(rc *rest.Config, name string) (*oidcv1alpha1.OIDCConfig, error)
- func OIDCConfigList(rc *rest.Config) (*oidcv1alpha1.OIDCConfigList, error)
- func UserGet(rc *rest.Config, name string) (*basicv1alpha1.User, error)
- func UserList(rc *rest.Config) ([]*basicv1alpha1.UserSpec, error)
- type ConfigSpec
- type DiscoveryEndpointResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOAuthConfig ¶
func GetOAuthConfig(rc *rest.Config, name string) (*oauthv1alpha1.OAuthConfig, error)
func LDAPConfigGet ¶
func LDAPConfigGet(rc *rest.Config, name string) (*ldapv1alpha1.LDAPConfig, error)
func LDAPConfigList ¶
func LDAPConfigList(rc *rest.Config) (*ldapv1alpha1.LDAPConfigList, error)
func OIDCConfigGet ¶
func OIDCConfigGet(rc *rest.Config, name string) (*oidcv1alpha1.OIDCConfig, error)
func OIDCConfigList ¶
func OIDCConfigList(rc *rest.Config) (*oidcv1alpha1.OIDCConfigList, error)
Types ¶
type ConfigSpec ¶
type ConfigSpec struct { // Kind of CRD Kind string `json:"kind"` // Name of the CRD instance with all the specs Name string `json:"name"` // AuthCodeURL: oauth2 provider authorization code URL AuthCodeURL string `json:"authCodeURL"` // RedirectURL is the URL to redirect users going through // the OAuth flow, after the resource owner's URLs. RedirectURL string `json:"redirectURL"` // LoginRoute path of the login handler LoginRoute string `json:"loginRoute"` // Graphics frontend options Graphics *core.Graphics `json:"graphics"` }
func ListOAuthConfigs ¶
func ListOAuthConfigs(dyn dynamic.Interface) ([]*ConfigSpec, error)
Click to show internal directories.
Click to hide internal directories.