Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func Resource(resource string) schema.GroupResource
- type ActiveDirectoryProvider
- type AuthProvider
- type AuthProviderController
- type AuthProviderHandlerFunc
- type AuthProviderInterface
- type AuthProviderLifecycle
- type AuthProviderList
- type AuthProviderLister
- type AuthProvidersGetter
- type BasicLogin
- type Client
- type GenericLogin
- type GithubLogin
- type GithubProvider
- type Interface
- type LocalProvider
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 RegisterDeepCopies
deprecated
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
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 (*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 AuthProviderController ¶
type AuthProviderController interface { Informer() cache.SharedIndexInformer Lister() AuthProviderLister AddHandler(name string, handler AuthProviderHandlerFunc) AddClusterScopedHandler(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) 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) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() AuthProviderController AddHandler(name string, sync AuthProviderHandlerFunc) AddLifecycle(name string, lifecycle AuthProviderLifecycle) AddClusterScopedHandler(name, clusterName string, sync AuthProviderHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle AuthProviderLifecycle) }
type AuthProviderLifecycle ¶
type AuthProviderLifecycle interface { Create(obj *AuthProvider) (*AuthProvider, error) Remove(obj *AuthProvider) (*AuthProvider, error) Updated(obj *AuthProvider) (*AuthProvider, error) }
type AuthProviderList ¶
type AuthProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AuthProvider }
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 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 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 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.