Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AuthzV1Client
- func (c *AuthzV1Client) ConfigMaps() ConfigMapInterface
- func (c *AuthzV1Client) MultiClusterRoleBindings(namespace string) MultiClusterRoleBindingInterface
- func (c *AuthzV1Client) Policies(namespace string) PolicyInterface
- func (c *AuthzV1Client) RESTClient() rest.Interface
- func (c *AuthzV1Client) Roles(namespace string) RoleInterface
- type AuthzV1Interface
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type MultiClusterRoleBindingExpansion
- type MultiClusterRoleBindingInterface
- type MultiClusterRoleBindingsGetter
- type PoliciesGetter
- type PolicyExpansion
- type PolicyInterface
- type RoleExpansion
- type RoleInterface
- type RolesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthzV1Client ¶
type AuthzV1Client struct {
// contains filtered or unexported fields
}
AuthzV1Client is used to interact with features provided by the authz.tkestack.io group.
func New ¶
func New(c rest.Interface) *AuthzV1Client
New creates a new AuthzV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AuthzV1Client, error)
NewForConfig creates a new AuthzV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AuthzV1Client
NewForConfigOrDie creates a new AuthzV1Client for the given config and panics if there is an error in the config.
func (*AuthzV1Client) ConfigMaps ¶
func (c *AuthzV1Client) ConfigMaps() ConfigMapInterface
func (*AuthzV1Client) MultiClusterRoleBindings ¶
func (c *AuthzV1Client) MultiClusterRoleBindings(namespace string) MultiClusterRoleBindingInterface
func (*AuthzV1Client) Policies ¶
func (c *AuthzV1Client) Policies(namespace string) PolicyInterface
func (*AuthzV1Client) RESTClient ¶
func (c *AuthzV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AuthzV1Client) Roles ¶
func (c *AuthzV1Client) Roles(namespace string) RoleInterface
type AuthzV1Interface ¶
type AuthzV1Interface interface { RESTClient() rest.Interface ConfigMapsGetter MultiClusterRoleBindingsGetter PoliciesGetter RolesGetter }
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 MultiClusterRoleBindingExpansion ¶
type MultiClusterRoleBindingExpansion interface{}
type MultiClusterRoleBindingInterface ¶
type MultiClusterRoleBindingInterface interface { Create(ctx context.Context, multiClusterRoleBinding *v1.MultiClusterRoleBinding, opts metav1.CreateOptions) (*v1.MultiClusterRoleBinding, error) Update(ctx context.Context, multiClusterRoleBinding *v1.MultiClusterRoleBinding, opts metav1.UpdateOptions) (*v1.MultiClusterRoleBinding, error) UpdateStatus(ctx context.Context, multiClusterRoleBinding *v1.MultiClusterRoleBinding, opts metav1.UpdateOptions) (*v1.MultiClusterRoleBinding, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MultiClusterRoleBinding, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.MultiClusterRoleBindingList, 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.MultiClusterRoleBinding, err error) MultiClusterRoleBindingExpansion }
MultiClusterRoleBindingInterface has methods to work with MultiClusterRoleBinding resources.
type MultiClusterRoleBindingsGetter ¶
type MultiClusterRoleBindingsGetter interface {
MultiClusterRoleBindings(namespace string) MultiClusterRoleBindingInterface
}
MultiClusterRoleBindingsGetter has a method to return a MultiClusterRoleBindingInterface. A group's client should implement this interface.
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies(namespace string) 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) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) 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 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) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) 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(namespace string) RoleInterface
}
RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.