identity

package
v0.0.0-...-f4df827 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDomainNamespace

func FormatDomainNamespace(domainName string) string

func FormatProjectNamespace

func FormatProjectNamespace(domainName, projectName string) string

func SanitizeName

func SanitizeName(name string) string

Types

type GroupGetter

type GroupGetter interface {
	Groups(namespace string) GroupInterface
}

type GroupInterface

type GroupInterface interface {
	Create(obj *v1.Group) (*v1.Group, error)
	Update(obj *v1.Group) (*v1.Group, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	Get(name string) (*v1.Group, error)
	GetByUID(id string) (*v1.Group, error)
	Exists(name string) (bool, error)
	List() (*v1.GroupList, error)
	NewListWatch() *cache.ListWatch
}

func NewGroupClient

func NewGroupClient(cl rest.Interface, namespace string) GroupInterface

type Interface

type Interface interface {
	RESTClient() rest.Interface
	GroupGetter
	ProjectGetter
	RevokedTokenGetter
	UserGetter
}

func New

func New(c *rest.Config) (Interface, error)

type ProjectGetter

type ProjectGetter interface {
	Projects(namespace string) ProjectInterface
}

type ProjectInterface

type ProjectInterface interface {
	Create(obj *v1.Project) (*v1.Project, error)
	Update(obj *v1.Project) (*v1.Project, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	Get(name string) (*v1.Project, error)
	GetByUID(id string) (*v1.Project, error)
	Exists(name string) (bool, error)
	List() (*v1.ProjectList, error)
	NewListWatch() *cache.ListWatch
}

func NewProjectClient

func NewProjectClient(cl rest.Interface, namespace string) ProjectInterface

type RevokedTokenGetter

type RevokedTokenGetter interface {
	RevokedTokens(namespace string) RevokedTokenInterface
}

type RevokedTokenInterface

type RevokedTokenInterface interface {
	Create(obj *v1.RevokedToken) (*v1.RevokedToken, error)
	Update(obj *v1.RevokedToken) (*v1.RevokedToken, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	Get(name string) (*v1.RevokedToken, error)
	GetByUID(id string) (*v1.RevokedToken, error)
	Exists(name string) (bool, error)
	List() (*v1.RevokedTokenList, error)
	NewListWatch() *cache.ListWatch
}

func NewRevokedTokenClient

func NewRevokedTokenClient(cl rest.Interface, namespace string) RevokedTokenInterface

type UserGetter

type UserGetter interface {
	Users(namespace string) UserInterface
}

type UserInterface

type UserInterface interface {
	Create(obj *v1.User) (*v1.User, error)
	Update(obj *v1.User) (*v1.User, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	Get(name string) (*v1.User, error)
	GetByUID(id string) (*v1.User, error)
	Exists(name string) (bool, error)
	List() (*v1.UserList, error)
	NewListWatch() *cache.ListWatch
}

func NewUserClient

func NewUserClient(cl rest.Interface, namespace string) UserInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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