Documentation ¶
Index ¶
- func CreateExternalAuthConfig(args *ExternalAuthProvidersArgs) (*cmv1.ExternalAuth, error)
- func IsExternalAuthProviderSetViaCLI(cmd *pflag.FlagSet, prefix string) bool
- func ValidateHCPCluster(cluster *cmv1.Cluster) error
- type ExternalAuthProvidersArgs
- type ExternalAuthService
- type ExternalAuthServiceImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExternalAuthConfig ¶
func CreateExternalAuthConfig(args *ExternalAuthProvidersArgs) (*cmv1.ExternalAuth, error)
func ValidateHCPCluster ¶
Types ¶
type ExternalAuthProvidersArgs ¶
type ExternalAuthProvidersArgs struct {
// contains filtered or unexported fields
}
func AddExternalAuthProvidersFlags ¶
func AddExternalAuthProvidersFlags(cmd *cobra.Command, prefix string) *ExternalAuthProvidersArgs
func GetExternalAuthOptions ¶
func GetExternalAuthOptions( cmd *pflag.FlagSet, prefix string, confirmBeforeAllArgs bool, externalAuthProvidersArgs *ExternalAuthProvidersArgs, ) (*ExternalAuthProvidersArgs, error)
type ExternalAuthService ¶
type ExternalAuthServiceImpl ¶
type ExternalAuthServiceImpl struct {
// contains filtered or unexported fields
}
func NewExternalAuthService ¶
func NewExternalAuthService(ocm *ocm.Client) *ExternalAuthServiceImpl
func (*ExternalAuthServiceImpl) CreateExternalAuthProvider ¶
func (e *ExternalAuthServiceImpl) CreateExternalAuthProvider(cluster *cmv1.Cluster, clusterKey string, args *ExternalAuthProvidersArgs, r *rosa.Runtime) error
func (*ExternalAuthServiceImpl) IsExternalAuthProviderSupported ¶
func (e *ExternalAuthServiceImpl) IsExternalAuthProviderSupported(cluster *cmv1.Cluster, clusterKey string) error
Click to show internal directories.
Click to hide internal directories.