v3public

package
v0.0.0-...-aea36de Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 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,
	}

	AuthProviderGroupVersionResource = schema.GroupVersionResource{
		Group:    GroupName,
		Version:  Version,
		Resource: "authproviders",
	}
)
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 Factory

func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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

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

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 Clients

type Clients struct {
	Interface Interface

	AuthProvider AuthProviderClient
}

func ClientsFrom

func ClientsFrom(ctx context.Context) *Clients

func NewClients

func NewClients(config rest.Config) (*Clients, error)

func NewClientsFromInterface

func NewClientsFromInterface(iface Interface) *Clients

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
}

func From

func From(ctx context.Context) Interface

func NewForConfig

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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