internalversion

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyExpansion

type APIKeyExpansion interface{}

type APIKeyInterface

type APIKeyInterface interface {
	Create(ctx context.Context, aPIKey *auth.APIKey, opts v1.CreateOptions) (*auth.APIKey, error)
	Update(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (*auth.APIKey, error)
	UpdateStatus(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (*auth.APIKey, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.APIKey, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.APIKeyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.APIKey, err error)
	APIKeyExpansion
}

APIKeyInterface has methods to work with APIKey resources.

type APIKeysGetter

type APIKeysGetter interface {
	APIKeys() APIKeyInterface
}

APIKeysGetter has a method to return a APIKeyInterface. A group's client should implement this interface.

type APISigningKeyExpansion

type APISigningKeyExpansion interface{}

type APISigningKeyInterface

type APISigningKeyInterface interface {
	Create(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.CreateOptions) (*auth.APISigningKey, error)
	Update(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.UpdateOptions) (*auth.APISigningKey, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.APISigningKey, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.APISigningKeyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.APISigningKey, err error)
	APISigningKeyExpansion
}

APISigningKeyInterface has methods to work with APISigningKey resources.

type APISigningKeysGetter

type APISigningKeysGetter interface {
	APISigningKeys() APISigningKeyInterface
}

APISigningKeysGetter has a method to return a APISigningKeyInterface. A group's client should implement this interface.

type AuthClient

type AuthClient struct {
	// contains filtered or unexported fields
}

AuthClient is used to interact with features provided by the auth.tkestack.io group.

func New

func New(c rest.Interface) *AuthClient

New creates a new AuthClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*AuthClient, error)

NewForConfig creates a new AuthClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AuthClient

NewForConfigOrDie creates a new AuthClient for the given config and panics if there is an error in the config.

func (*AuthClient) APIKeys

func (c *AuthClient) APIKeys() APIKeyInterface

func (*AuthClient) APISigningKeys

func (c *AuthClient) APISigningKeys() APISigningKeyInterface

func (*AuthClient) Categories

func (c *AuthClient) Categories() CategoryInterface

func (*AuthClient) Clients

func (c *AuthClient) Clients() ClientInterface

func (*AuthClient) ConfigMaps

func (c *AuthClient) ConfigMaps() ConfigMapInterface

func (*AuthClient) CustomPolicyBindings added in v1.4.0

func (c *AuthClient) CustomPolicyBindings(namespace string) CustomPolicyBindingInterface

func (*AuthClient) Groups

func (c *AuthClient) Groups() GroupInterface

func (*AuthClient) IdentityProviders

func (c *AuthClient) IdentityProviders() IdentityProviderInterface

func (*AuthClient) LocalGroups

func (c *AuthClient) LocalGroups() LocalGroupInterface

func (*AuthClient) LocalIdentities

func (c *AuthClient) LocalIdentities() LocalIdentityInterface

func (*AuthClient) Policies

func (c *AuthClient) Policies() PolicyInterface

func (*AuthClient) ProjectPolicyBindings added in v1.3.1

func (c *AuthClient) ProjectPolicyBindings() ProjectPolicyBindingInterface

func (*AuthClient) Projects added in v1.3.1

func (c *AuthClient) Projects() ProjectInterface

func (*AuthClient) RESTClient

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

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*AuthClient) Roles

func (c *AuthClient) Roles() RoleInterface

func (*AuthClient) Rules

func (c *AuthClient) Rules() RuleInterface

func (*AuthClient) Users

func (c *AuthClient) Users() UserInterface

type CategoriesGetter

type CategoriesGetter interface {
	Categories() CategoryInterface
}

CategoriesGetter has a method to return a CategoryInterface. A group's client should implement this interface.

type CategoryExpansion

type CategoryExpansion interface{}

type CategoryInterface

type CategoryInterface interface {
	Create(ctx context.Context, category *auth.Category, opts v1.CreateOptions) (*auth.Category, error)
	Update(ctx context.Context, category *auth.Category, opts v1.UpdateOptions) (*auth.Category, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Category, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.CategoryList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Category, err error)
	CategoryExpansion
}

CategoryInterface has methods to work with Category resources.

type ClientExpansion

type ClientExpansion interface{}

type ClientInterface

type ClientInterface interface {
	Create(ctx context.Context, client *auth.Client, opts v1.CreateOptions) (*auth.Client, error)
	Update(ctx context.Context, client *auth.Client, opts v1.UpdateOptions) (*auth.Client, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Client, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.ClientList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Client, err error)
	ClientExpansion
}

ClientInterface has methods to work with Client resources.

type ClientsGetter

type ClientsGetter interface {
	Clients() ClientInterface
}

ClientsGetter has a method to return a ClientInterface. A group's client should implement this interface.

type ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(ctx context.Context, configMap *auth.ConfigMap, opts v1.CreateOptions) (*auth.ConfigMap, error)
	Update(ctx context.Context, configMap *auth.ConfigMap, opts v1.UpdateOptions) (*auth.ConfigMap, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.ConfigMap, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.ConfigMapList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.ConfigMap, err error)
	ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter

type ConfigMapsGetter interface {
	ConfigMaps() ConfigMapInterface
}

ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.

type CustomPolicyBindingExpansion added in v1.4.0

type CustomPolicyBindingExpansion interface{}

type CustomPolicyBindingInterface added in v1.4.0

type CustomPolicyBindingInterface interface {
	Create(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.CreateOptions) (*auth.CustomPolicyBinding, error)
	Update(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.UpdateOptions) (*auth.CustomPolicyBinding, error)
	UpdateStatus(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.UpdateOptions) (*auth.CustomPolicyBinding, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.CustomPolicyBinding, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.CustomPolicyBindingList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.CustomPolicyBinding, err error)
	CustomPolicyBindingExpansion
}

CustomPolicyBindingInterface has methods to work with CustomPolicyBinding resources.

type CustomPolicyBindingsGetter added in v1.4.0

type CustomPolicyBindingsGetter interface {
	CustomPolicyBindings(namespace string) CustomPolicyBindingInterface
}

CustomPolicyBindingsGetter has a method to return a CustomPolicyBindingInterface. A group's client should implement this interface.

type GroupExpansion

type GroupExpansion interface{}

type GroupInterface

type GroupInterface interface {
	Create(ctx context.Context, group *auth.Group, opts v1.CreateOptions) (*auth.Group, error)
	Update(ctx context.Context, group *auth.Group, opts v1.UpdateOptions) (*auth.Group, error)
	UpdateStatus(ctx context.Context, group *auth.Group, opts v1.UpdateOptions) (*auth.Group, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Group, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.GroupList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Group, err error)
	GroupExpansion
}

GroupInterface has methods to work with Group resources.

type GroupsGetter

type GroupsGetter interface {
	Groups() GroupInterface
}

GroupsGetter has a method to return a GroupInterface. A group's client should implement this interface.

type IdentityProviderExpansion

type IdentityProviderExpansion interface{}

type IdentityProviderInterface

type IdentityProviderInterface interface {
	Create(ctx context.Context, identityProvider *auth.IdentityProvider, opts v1.CreateOptions) (*auth.IdentityProvider, error)
	Update(ctx context.Context, identityProvider *auth.IdentityProvider, opts v1.UpdateOptions) (*auth.IdentityProvider, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.IdentityProvider, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.IdentityProviderList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.IdentityProvider, err error)
	IdentityProviderExpansion
}

IdentityProviderInterface has methods to work with IdentityProvider resources.

type IdentityProvidersGetter

type IdentityProvidersGetter interface {
	IdentityProviders() IdentityProviderInterface
}

IdentityProvidersGetter has a method to return a IdentityProviderInterface. A group's client should implement this interface.

type LocalGroupExpansion

type LocalGroupExpansion interface{}

type LocalGroupInterface

type LocalGroupInterface interface {
	Create(ctx context.Context, localGroup *auth.LocalGroup, opts v1.CreateOptions) (*auth.LocalGroup, error)
	Update(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (*auth.LocalGroup, error)
	UpdateStatus(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (*auth.LocalGroup, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.LocalGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.LocalGroupList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.LocalGroup, err error)
	LocalGroupExpansion
}

LocalGroupInterface has methods to work with LocalGroup resources.

type LocalGroupsGetter

type LocalGroupsGetter interface {
	LocalGroups() LocalGroupInterface
}

LocalGroupsGetter has a method to return a LocalGroupInterface. A group's client should implement this interface.

type LocalIdentitiesGetter

type LocalIdentitiesGetter interface {
	LocalIdentities() LocalIdentityInterface
}

LocalIdentitiesGetter has a method to return a LocalIdentityInterface. A group's client should implement this interface.

type LocalIdentityExpansion

type LocalIdentityExpansion interface{}

type LocalIdentityInterface

type LocalIdentityInterface interface {
	Create(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.CreateOptions) (*auth.LocalIdentity, error)
	Update(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (*auth.LocalIdentity, error)
	UpdateStatus(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (*auth.LocalIdentity, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.LocalIdentity, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.LocalIdentityList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.LocalIdentity, err error)
	LocalIdentityExpansion
}

LocalIdentityInterface has methods to work with LocalIdentity resources.

type PoliciesGetter

type PoliciesGetter interface {
	Policies() PolicyInterface
}

PoliciesGetter has a method to return a PolicyInterface. A group's client should implement this interface.

type PolicyExpansion

type PolicyExpansion interface{}

type PolicyInterface

type PolicyInterface interface {
	Create(ctx context.Context, policy *auth.Policy, opts v1.CreateOptions) (*auth.Policy, error)
	Update(ctx context.Context, policy *auth.Policy, opts v1.UpdateOptions) (*auth.Policy, error)
	UpdateStatus(ctx context.Context, policy *auth.Policy, opts v1.UpdateOptions) (*auth.Policy, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Policy, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.PolicyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Policy, err error)
	PolicyExpansion
}

PolicyInterface has methods to work with Policy resources.

type ProjectExpansion added in v1.3.1

type ProjectExpansion interface{}

type ProjectInterface added in v1.3.1

type ProjectInterface interface {
	Create(ctx context.Context, project *auth.Project, opts v1.CreateOptions) (*auth.Project, error)
	Update(ctx context.Context, project *auth.Project, opts v1.UpdateOptions) (*auth.Project, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Project, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.ProjectList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectPolicyBindingExpansion added in v1.3.1

type ProjectPolicyBindingExpansion interface{}

type ProjectPolicyBindingInterface added in v1.3.1

type ProjectPolicyBindingInterface interface {
	Create(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.CreateOptions) (*auth.ProjectPolicyBinding, error)
	Update(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.UpdateOptions) (*auth.ProjectPolicyBinding, error)
	UpdateStatus(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.UpdateOptions) (*auth.ProjectPolicyBinding, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.ProjectPolicyBinding, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.ProjectPolicyBindingList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.ProjectPolicyBinding, err error)
	ProjectPolicyBindingExpansion
}

ProjectPolicyBindingInterface has methods to work with ProjectPolicyBinding resources.

type ProjectPolicyBindingsGetter added in v1.3.1

type ProjectPolicyBindingsGetter interface {
	ProjectPolicyBindings() ProjectPolicyBindingInterface
}

ProjectPolicyBindingsGetter has a method to return a ProjectPolicyBindingInterface. A group's client should implement this interface.

type ProjectsGetter added in v1.3.1

type ProjectsGetter interface {
	Projects() ProjectInterface
}

ProjectsGetter has a method to return a ProjectInterface. A group's client should implement this interface.

type RoleExpansion

type RoleExpansion interface{}

type RoleInterface

type RoleInterface interface {
	Create(ctx context.Context, role *auth.Role, opts v1.CreateOptions) (*auth.Role, error)
	Update(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (*auth.Role, error)
	UpdateStatus(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (*auth.Role, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Role, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.RoleList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Role, err error)
	RoleExpansion
}

RoleInterface has methods to work with Role resources.

type RolesGetter

type RolesGetter interface {
	Roles() RoleInterface
}

RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.

type RuleExpansion

type RuleExpansion interface{}

type RuleInterface

type RuleInterface interface {
	Create(ctx context.Context, rule *auth.Rule, opts v1.CreateOptions) (*auth.Rule, error)
	Update(ctx context.Context, rule *auth.Rule, opts v1.UpdateOptions) (*auth.Rule, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.Rule, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.RuleList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Rule, err error)
	RuleExpansion
}

RuleInterface has methods to work with Rule resources.

type RulesGetter

type RulesGetter interface {
	Rules() RuleInterface
}

RulesGetter has a method to return a RuleInterface. A group's client should implement this interface.

type UserExpansion

type UserExpansion interface{}

type UserInterface

type UserInterface interface {
	Create(ctx context.Context, user *auth.User, opts v1.CreateOptions) (*auth.User, error)
	Update(ctx context.Context, user *auth.User, opts v1.UpdateOptions) (*auth.User, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*auth.User, error)
	List(ctx context.Context, opts v1.ListOptions) (*auth.UserList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users() UserInterface
}

UsersGetter has a method to return a UserInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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