Documentation ¶
Index ¶
- Constants
- Variables
- func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ADFSProvider
- type ActiveDirectoryProvider
- type AuthProvider
- type AuthProviderChangeHandlerFunc
- type AuthProviderClient
- type AuthProviderClientCache
- type AuthProviderController
- type AuthProviderHandlerFunc
- type AuthProviderIndexer
- type AuthProviderInterface
- type AuthProviderLifecycle
- type AuthProviderList
- type AuthProviderLister
- type AuthProvidersGetter
- type AzureADLogin
- type AzureADProvider
- type BasicLogin
- type Client
- type Clients
- type FreeIpaProvider
- type GenericLogin
- type GithubLogin
- type GithubProvider
- type Interface
- type KeyCloakProvider
- type LocalProvider
- type OKTAProvider
- type OpenLdapProvider
- type PingProvider
- type SamlLoginInput
- type SamlLoginOutput
- type SamlProvider
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, } )
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 AuthProviderClient ¶
type AuthProviderClient interface { Create(*AuthProvider) (*AuthProvider, error) Get(namespace, name string, opts metav1.GetOptions) (*AuthProvider, error) Update(*AuthProvider) (*AuthProvider, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*AuthProviderList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() AuthProviderClientCache OnCreate(ctx context.Context, name string, sync AuthProviderChangeHandlerFunc) OnChange(ctx context.Context, name string, sync AuthProviderChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync AuthProviderChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() AuthProviderInterface }
type AuthProviderClientCache ¶
type AuthProviderClientCache interface { Get(namespace, name string) (*AuthProvider, error) List(namespace string, selector labels.Selector) ([]*AuthProvider, error) Index(name string, indexer AuthProviderIndexer) GetIndexed(name, key string) ([]*AuthProvider, error) }
type AuthProviderController ¶
type AuthProviderController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() AuthProviderLister AddHandler(ctx context.Context, name string, handler AuthProviderHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler AuthProviderHandlerFunc) Enqueue(namespace, name string) 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 AuthProviderIndexer ¶
type AuthProviderIndexer func(obj *AuthProvider) ([]string, error)
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) 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) AddLifecycle(ctx context.Context, name string, lifecycle AuthProviderLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync AuthProviderHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, 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 Clients ¶
type Clients struct { Interface Interface AuthProvider AuthProviderClient }
func ClientsFrom ¶
func NewClientsFromInterface ¶
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 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.