v1

package
v1.9.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 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 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

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 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.

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