v3public

package
v0.0.0-...-a9d03a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "management.cattle.io"
	Version   = "v3public"
)

Variables

View Source
var (
	AuthProviderGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "AuthProvider",
	}
	AuthProviderResource = metav1.APIResource{
		Name:         "authproviders",
		SingularName: "authprovider",
		Namespaced:   false,
		Kind:         AuthProviderGroupVersionKind.Kind,
	}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

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

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

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) AuthProviders

func (c *Client) AuthProviders(namespace string) AuthProviderInterface

func (*Client) RESTClient

func (c *Client) RESTClient() rest.Interface

func (*Client) Start

func (c *Client) Start(ctx context.Context, threadiness int) error

func (*Client) Sync

func (c *Client) Sync(ctx context.Context) error

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
}

func NewForConfig

func NewForConfig(config rest.Config) (Interface, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL