Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ADFSProvider
- type ActiveDirectoryProvider
- type AuthProvider
- type AuthProviderChangeHandlerFunc
- type AuthProviderController
- type AuthProviderHandlerFunc
- type AuthProviderInterface
- type AuthProviderLifecycle
- type AuthProviderList
- type AuthProviderLister
- type AuthProvidersGetter
- type AzureADLogin
- type AzureADProvider
- type BasicLogin
- type Client
- type FreeIpaProvider
- type GenericLogin
- type GithubLogin
- type GithubProvider
- type GoogleOAuthProvider
- type GoogleOauthLogin
- type Interface
- type KeyCloakProvider
- type LocalProvider
- type OKTAProvider
- type OpenLdapProvider
- type PingProvider
- type SamlLoginInput
- type SamlLoginOutput
- type SamlProvider
- type ShibbolethProvider
Constants ¶
const ( GroupName = "management.cattle.io" Version = "v3public" )
Variables ¶
var ( AuthProviderGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "AuthProvider", } AuthProviderResource = metav1.APIResource{ Name: "authproviders", SingularName: "authprovider", Namespaced: false, Kind: AuthProviderGroupVersionKind.Kind, } AuthProviderGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "authproviders", } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ADFSProvider ¶
type ADFSProvider struct {
SamlProvider `json:",inline"`
}
func (*ADFSProvider) DeepCopy ¶
func (in *ADFSProvider) DeepCopy() *ADFSProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ADFSProvider.
func (*ADFSProvider) DeepCopyInto ¶
func (in *ADFSProvider) DeepCopyInto(out *ADFSProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ADFSProvider) DeepCopyObject ¶
func (in *ADFSProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ActiveDirectoryProvider ¶
type ActiveDirectoryProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` DefaultLoginDomain string `json:"defaultLoginDomain,omitempty"` }
func (*ActiveDirectoryProvider) DeepCopy ¶
func (in *ActiveDirectoryProvider) DeepCopy() *ActiveDirectoryProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryProvider.
func (*ActiveDirectoryProvider) DeepCopyInto ¶
func (in *ActiveDirectoryProvider) DeepCopyInto(out *ActiveDirectoryProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ActiveDirectoryProvider) DeepCopyObject ¶
func (in *ActiveDirectoryProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthProvider ¶
type AuthProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Type string `json:"type"` }
func NewAuthProvider ¶
func NewAuthProvider(namespace, name string, obj AuthProvider) *AuthProvider
func (*AuthProvider) DeepCopy ¶
func (in *AuthProvider) DeepCopy() *AuthProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProvider.
func (*AuthProvider) DeepCopyInto ¶
func (in *AuthProvider) DeepCopyInto(out *AuthProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthProvider) DeepCopyObject ¶
func (in *AuthProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthProviderChangeHandlerFunc ¶
type AuthProviderChangeHandlerFunc func(obj *AuthProvider) (runtime.Object, error)
type AuthProviderController ¶
type AuthProviderController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() AuthProviderLister AddHandler(ctx context.Context, name string, handler AuthProviderHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync AuthProviderHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler AuthProviderHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler AuthProviderHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type AuthProviderHandlerFunc ¶
type AuthProviderHandlerFunc func(key string, obj *AuthProvider) (runtime.Object, error)
func NewAuthProviderLifecycleAdapter ¶
func NewAuthProviderLifecycleAdapter(name string, clusterScoped bool, client AuthProviderInterface, l AuthProviderLifecycle) AuthProviderHandlerFunc
type AuthProviderInterface ¶
type AuthProviderInterface interface { ObjectClient() *objectclient.ObjectClient Create(*AuthProvider) (*AuthProvider, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*AuthProvider, error) Get(name string, opts metav1.GetOptions) (*AuthProvider, error) Update(*AuthProvider) (*AuthProvider, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*AuthProviderList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*AuthProviderList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() AuthProviderController AddHandler(ctx context.Context, name string, sync AuthProviderHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync AuthProviderHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle AuthProviderLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle AuthProviderLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync AuthProviderHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync AuthProviderHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle AuthProviderLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle AuthProviderLifecycle) }
type AuthProviderLifecycle ¶
type AuthProviderLifecycle interface { Create(obj *AuthProvider) (runtime.Object, error) Remove(obj *AuthProvider) (runtime.Object, error) Updated(obj *AuthProvider) (runtime.Object, error) }
type AuthProviderList ¶
type AuthProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AuthProvider `json:"items"` }
func (*AuthProviderList) DeepCopy ¶
func (in *AuthProviderList) DeepCopy() *AuthProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderList.
func (*AuthProviderList) DeepCopyInto ¶
func (in *AuthProviderList) DeepCopyInto(out *AuthProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthProviderList) DeepCopyObject ¶
func (in *AuthProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthProviderLister ¶
type AuthProviderLister interface { List(namespace string, selector labels.Selector) (ret []*AuthProvider, err error) Get(namespace, name string) (*AuthProvider, error) }
type AuthProvidersGetter ¶
type AuthProvidersGetter interface {
AuthProviders(namespace string) AuthProviderInterface
}
type AzureADLogin ¶
type AzureADLogin struct { GenericLogin `json:",inline"` Code string `json:"code" norman:"type=string,required"` }
func (*AzureADLogin) DeepCopy ¶
func (in *AzureADLogin) DeepCopy() *AzureADLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADLogin.
func (*AzureADLogin) DeepCopyInto ¶
func (in *AzureADLogin) DeepCopyInto(out *AzureADLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureADProvider ¶
type AzureADProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` RedirectURL string `json:"redirectUrl"` }
func (*AzureADProvider) DeepCopy ¶
func (in *AzureADProvider) DeepCopy() *AzureADProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADProvider.
func (*AzureADProvider) DeepCopyInto ¶
func (in *AzureADProvider) DeepCopyInto(out *AzureADProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureADProvider) DeepCopyObject ¶
func (in *AzureADProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BasicLogin ¶
type BasicLogin struct { GenericLogin `json:",inline"` Username string `json:"username" norman:"type=string,required"` Password string `json:"password" norman:"type=string,required"` }
func (*BasicLogin) DeepCopy ¶
func (in *BasicLogin) DeepCopy() *BasicLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicLogin.
func (*BasicLogin) DeepCopyInto ¶
func (in *BasicLogin) DeepCopyInto(out *BasicLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Client ¶
func (*Client) AuthProviders ¶
func (c *Client) AuthProviders(namespace string) AuthProviderInterface
func (*Client) RESTClient ¶
type FreeIpaProvider ¶
type FreeIpaProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` }
func (*FreeIpaProvider) DeepCopy ¶
func (in *FreeIpaProvider) DeepCopy() *FreeIpaProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FreeIpaProvider.
func (*FreeIpaProvider) DeepCopyInto ¶
func (in *FreeIpaProvider) DeepCopyInto(out *FreeIpaProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FreeIpaProvider) DeepCopyObject ¶
func (in *FreeIpaProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GenericLogin ¶
type GenericLogin struct { TTLMillis int64 `json:"ttl,omitempty"` Description string `json:"description,omitempty" norman:"type=string,required"` ResponseType string `json:"responseType,omitempty" norman:"type=string,required"` //json or cookie }
func (*GenericLogin) DeepCopy ¶
func (in *GenericLogin) DeepCopy() *GenericLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericLogin.
func (*GenericLogin) DeepCopyInto ¶
func (in *GenericLogin) DeepCopyInto(out *GenericLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GithubLogin ¶
type GithubLogin struct { GenericLogin `json:",inline"` Code string `json:"code" norman:"type=string,required"` }
func (*GithubLogin) DeepCopy ¶
func (in *GithubLogin) DeepCopy() *GithubLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubLogin.
func (*GithubLogin) DeepCopyInto ¶
func (in *GithubLogin) DeepCopyInto(out *GithubLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GithubProvider ¶
type GithubProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` RedirectURL string `json:"redirectUrl"` }
func (*GithubProvider) DeepCopy ¶
func (in *GithubProvider) DeepCopy() *GithubProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubProvider.
func (*GithubProvider) DeepCopyInto ¶
func (in *GithubProvider) DeepCopyInto(out *GithubProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GithubProvider) DeepCopyObject ¶
func (in *GithubProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleOAuthProvider ¶
type GoogleOAuthProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` RedirectURL string `json:"redirectUrl"` }
func (*GoogleOAuthProvider) DeepCopy ¶
func (in *GoogleOAuthProvider) DeepCopy() *GoogleOAuthProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOAuthProvider.
func (*GoogleOAuthProvider) DeepCopyInto ¶
func (in *GoogleOAuthProvider) DeepCopyInto(out *GoogleOAuthProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GoogleOAuthProvider) DeepCopyObject ¶
func (in *GoogleOAuthProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GoogleOauthLogin ¶
type GoogleOauthLogin struct { GenericLogin `json:",inline"` Code string `json:"code" norman:"type=string,required"` }
func (*GoogleOauthLogin) DeepCopy ¶
func (in *GoogleOauthLogin) DeepCopy() *GoogleOauthLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOauthLogin.
func (*GoogleOauthLogin) DeepCopyInto ¶
func (in *GoogleOauthLogin) DeepCopyInto(out *GoogleOauthLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter AuthProvidersGetter }
type KeyCloakProvider ¶
type KeyCloakProvider struct {
SamlProvider `json:",inline"`
}
func (*KeyCloakProvider) DeepCopy ¶
func (in *KeyCloakProvider) DeepCopy() *KeyCloakProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyCloakProvider.
func (*KeyCloakProvider) DeepCopyInto ¶
func (in *KeyCloakProvider) DeepCopyInto(out *KeyCloakProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyCloakProvider) DeepCopyObject ¶
func (in *KeyCloakProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LocalProvider ¶
type LocalProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` }
func (*LocalProvider) DeepCopy ¶
func (in *LocalProvider) DeepCopy() *LocalProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalProvider.
func (*LocalProvider) DeepCopyInto ¶
func (in *LocalProvider) DeepCopyInto(out *LocalProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LocalProvider) DeepCopyObject ¶
func (in *LocalProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OKTAProvider ¶
type OKTAProvider struct {
SamlProvider `json:",inline"`
}
func (*OKTAProvider) DeepCopy ¶
func (in *OKTAProvider) DeepCopy() *OKTAProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKTAProvider.
func (*OKTAProvider) DeepCopyInto ¶
func (in *OKTAProvider) DeepCopyInto(out *OKTAProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OKTAProvider) DeepCopyObject ¶
func (in *OKTAProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenLdapProvider ¶
type OpenLdapProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` }
func (*OpenLdapProvider) DeepCopy ¶
func (in *OpenLdapProvider) DeepCopy() *OpenLdapProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLdapProvider.
func (*OpenLdapProvider) DeepCopyInto ¶
func (in *OpenLdapProvider) DeepCopyInto(out *OpenLdapProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLdapProvider) DeepCopyObject ¶
func (in *OpenLdapProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PingProvider ¶
type PingProvider struct {
SamlProvider `json:",inline"`
}
func (*PingProvider) DeepCopy ¶
func (in *PingProvider) DeepCopy() *PingProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingProvider.
func (*PingProvider) DeepCopyInto ¶
func (in *PingProvider) DeepCopyInto(out *PingProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PingProvider) DeepCopyObject ¶
func (in *PingProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SamlLoginInput ¶
type SamlLoginInput struct {
FinalRedirectURL string `json:"finalRedirectUrl"`
}
func (*SamlLoginInput) DeepCopy ¶
func (in *SamlLoginInput) DeepCopy() *SamlLoginInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamlLoginInput.
func (*SamlLoginInput) DeepCopyInto ¶
func (in *SamlLoginInput) DeepCopyInto(out *SamlLoginInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SamlLoginOutput ¶
type SamlLoginOutput struct {
IdpRedirectURL string `json:"idpRedirectUrl"`
}
func (*SamlLoginOutput) DeepCopy ¶
func (in *SamlLoginOutput) DeepCopy() *SamlLoginOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamlLoginOutput.
func (*SamlLoginOutput) DeepCopyInto ¶
func (in *SamlLoginOutput) DeepCopyInto(out *SamlLoginOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SamlProvider ¶
type SamlProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AuthProvider `json:",inline"` RedirectURL string `json:"redirectUrl"` }
func (*SamlProvider) DeepCopy ¶
func (in *SamlProvider) DeepCopy() *SamlProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SamlProvider.
func (*SamlProvider) DeepCopyInto ¶
func (in *SamlProvider) DeepCopyInto(out *SamlProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SamlProvider) DeepCopyObject ¶
func (in *SamlProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShibbolethProvider ¶
type ShibbolethProvider struct {
SamlProvider `json:",inline"`
}
func (*ShibbolethProvider) DeepCopy ¶
func (in *ShibbolethProvider) DeepCopy() *ShibbolethProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShibbolethProvider.
func (*ShibbolethProvider) DeepCopyInto ¶
func (in *ShibbolethProvider) DeepCopyInto(out *ShibbolethProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShibbolethProvider) DeepCopyObject ¶
func (in *ShibbolethProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.