Documentation ¶
Index ¶
- func FormatDomainNamespace(domainName string) string
- func FormatProjectNamespace(domainName, projectName string) string
- func SanitizeName(name string) string
- type GroupGetter
- type GroupInterface
- type Interface
- type ProjectGetter
- type ProjectInterface
- type RevokedTokenGetter
- type RevokedTokenInterface
- type UserGetter
- type UserInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDomainNamespace ¶
func FormatProjectNamespace ¶
func SanitizeName ¶
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 }
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.