Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type APIKeyExpansion
- type APIKeyInterface
- type APIKeysGetter
- type APISigningKeyExpansion
- type APISigningKeyInterface
- type APISigningKeysGetter
- type AuthV1Client
- func (c *AuthV1Client) APIKeys() APIKeyInterface
- func (c *AuthV1Client) APISigningKeys() APISigningKeyInterface
- func (c *AuthV1Client) Categories() CategoryInterface
- func (c *AuthV1Client) Clients() ClientInterface
- func (c *AuthV1Client) ConfigMaps() ConfigMapInterface
- func (c *AuthV1Client) Groups() GroupInterface
- func (c *AuthV1Client) IdentityProviders() IdentityProviderInterface
- func (c *AuthV1Client) LocalGroups() LocalGroupInterface
- func (c *AuthV1Client) LocalIdentities() LocalIdentityInterface
- func (c *AuthV1Client) Policies() PolicyInterface
- func (c *AuthV1Client) ProjectPolicyBindings() ProjectPolicyBindingInterface
- func (c *AuthV1Client) RESTClient() rest.Interface
- func (c *AuthV1Client) Roles() RoleInterface
- func (c *AuthV1Client) Rules() RuleInterface
- func (c *AuthV1Client) Users() UserInterface
- type AuthV1Interface
- type CategoriesGetter
- type CategoryExpansion
- type CategoryInterface
- type ClientExpansion
- type ClientInterface
- type ClientsGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type GroupExpansion
- type GroupInterface
- type GroupsGetter
- type IdentityProviderExpansion
- type IdentityProviderInterface
- type IdentityProvidersGetter
- type LocalGroupExpansion
- type LocalGroupInterface
- type LocalGroupsGetter
- type LocalIdentitiesGetter
- type LocalIdentityExpansion
- type LocalIdentityInterface
- type PoliciesGetter
- type PolicyExpansion
- type PolicyInterface
- type ProjectPolicyBindingExpansion
- type ProjectPolicyBindingInterface
- type ProjectPolicyBindingsGetter
- type RoleExpansion
- type RoleInterface
- type RolesGetter
- type RuleExpansion
- type RuleInterface
- type RulesGetter
- type UserExpansion
- type UserInterface
- type UsersGetter
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 *v1.APIKey, opts metav1.CreateOptions) (*v1.APIKey, error) Update(ctx context.Context, aPIKey *v1.APIKey, opts metav1.UpdateOptions) (*v1.APIKey, error) UpdateStatus(ctx context.Context, aPIKey *v1.APIKey, opts metav1.UpdateOptions) (*v1.APIKey, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.APIKey, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.APIKeyList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.APISigningKey, opts metav1.CreateOptions) (*v1.APISigningKey, error) Update(ctx context.Context, aPISigningKey *v1.APISigningKey, opts metav1.UpdateOptions) (*v1.APISigningKey, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.APISigningKey, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.APISigningKeyList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 AuthV1Client ¶
type AuthV1Client struct {
// contains filtered or unexported fields
}
AuthV1Client is used to interact with features provided by the auth.tkestack.io group.
func New ¶
func New(c rest.Interface) *AuthV1Client
New creates a new AuthV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AuthV1Client, error)
NewForConfig creates a new AuthV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AuthV1Client
NewForConfigOrDie creates a new AuthV1Client for the given config and panics if there is an error in the config.
func (*AuthV1Client) APIKeys ¶
func (c *AuthV1Client) APIKeys() APIKeyInterface
func (*AuthV1Client) APISigningKeys ¶
func (c *AuthV1Client) APISigningKeys() APISigningKeyInterface
func (*AuthV1Client) Categories ¶
func (c *AuthV1Client) Categories() CategoryInterface
func (*AuthV1Client) Clients ¶
func (c *AuthV1Client) Clients() ClientInterface
func (*AuthV1Client) ConfigMaps ¶
func (c *AuthV1Client) ConfigMaps() ConfigMapInterface
func (*AuthV1Client) Groups ¶
func (c *AuthV1Client) Groups() GroupInterface
func (*AuthV1Client) IdentityProviders ¶
func (c *AuthV1Client) IdentityProviders() IdentityProviderInterface
func (*AuthV1Client) LocalGroups ¶
func (c *AuthV1Client) LocalGroups() LocalGroupInterface
func (*AuthV1Client) LocalIdentities ¶
func (c *AuthV1Client) LocalIdentities() LocalIdentityInterface
func (*AuthV1Client) Policies ¶
func (c *AuthV1Client) Policies() PolicyInterface
func (*AuthV1Client) ProjectPolicyBindings ¶ added in v1.3.1
func (c *AuthV1Client) ProjectPolicyBindings() ProjectPolicyBindingInterface
func (*AuthV1Client) RESTClient ¶
func (c *AuthV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AuthV1Client) Roles ¶
func (c *AuthV1Client) Roles() RoleInterface
func (*AuthV1Client) Rules ¶
func (c *AuthV1Client) Rules() RuleInterface
func (*AuthV1Client) Users ¶
func (c *AuthV1Client) Users() UserInterface
type AuthV1Interface ¶
type AuthV1Interface interface { RESTClient() rest.Interface APIKeysGetter APISigningKeysGetter CategoriesGetter ClientsGetter ConfigMapsGetter GroupsGetter IdentityProvidersGetter LocalGroupsGetter LocalIdentitiesGetter PoliciesGetter ProjectPolicyBindingsGetter RolesGetter RulesGetter UsersGetter }
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 *v1.Category, opts metav1.CreateOptions) (*v1.Category, error) Update(ctx context.Context, category *v1.Category, opts metav1.UpdateOptions) (*v1.Category, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Category, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.CategoryList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Client, opts metav1.CreateOptions) (*v1.Client, error) Update(ctx context.Context, client *v1.Client, opts metav1.UpdateOptions) (*v1.Client, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Client, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ClientList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error) Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 GroupExpansion ¶
type GroupExpansion interface{}
type GroupInterface ¶
type GroupInterface interface { Create(ctx context.Context, group *v1.Group, opts metav1.CreateOptions) (*v1.Group, error) Update(ctx context.Context, group *v1.Group, opts metav1.UpdateOptions) (*v1.Group, error) UpdateStatus(ctx context.Context, group *v1.Group, opts metav1.UpdateOptions) (*v1.Group, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Group, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GroupList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.IdentityProvider, opts metav1.CreateOptions) (*v1.IdentityProvider, error) Update(ctx context.Context, identityProvider *v1.IdentityProvider, opts metav1.UpdateOptions) (*v1.IdentityProvider, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.IdentityProvider, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.IdentityProviderList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.LocalGroup, opts metav1.CreateOptions) (*v1.LocalGroup, error) Update(ctx context.Context, localGroup *v1.LocalGroup, opts metav1.UpdateOptions) (*v1.LocalGroup, error) UpdateStatus(ctx context.Context, localGroup *v1.LocalGroup, opts metav1.UpdateOptions) (*v1.LocalGroup, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.LocalGroup, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.LocalGroupList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.LocalIdentity, opts metav1.CreateOptions) (*v1.LocalIdentity, error) Update(ctx context.Context, localIdentity *v1.LocalIdentity, opts metav1.UpdateOptions) (*v1.LocalIdentity, error) UpdateStatus(ctx context.Context, localIdentity *v1.LocalIdentity, opts metav1.UpdateOptions) (*v1.LocalIdentity, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.LocalIdentity, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.LocalIdentityList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Policy, opts metav1.CreateOptions) (*v1.Policy, error) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, error) UpdateStatus(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Policy, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.PolicyList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy 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 *v1.ProjectPolicyBinding, opts metav1.CreateOptions) (*v1.ProjectPolicyBinding, error) Update(ctx context.Context, projectPolicyBinding *v1.ProjectPolicyBinding, opts metav1.UpdateOptions) (*v1.ProjectPolicyBinding, error) UpdateStatus(ctx context.Context, projectPolicyBinding *v1.ProjectPolicyBinding, opts metav1.UpdateOptions) (*v1.ProjectPolicyBinding, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ProjectPolicyBinding, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ProjectPolicyBindingList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(ctx context.Context, role *v1.Role, opts metav1.CreateOptions) (*v1.Role, error) Update(ctx context.Context, role *v1.Role, opts metav1.UpdateOptions) (*v1.Role, error) UpdateStatus(ctx context.Context, role *v1.Role, opts metav1.UpdateOptions) (*v1.Role, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Role, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RoleList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.Rule, opts metav1.CreateOptions) (*v1.Rule, error) Update(ctx context.Context, rule *v1.Rule, opts metav1.UpdateOptions) (*v1.Rule, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Rule, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RuleList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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 *v1.User, opts metav1.CreateOptions) (*v1.User, error) Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.User, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.UserList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.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.