Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AuthorizationClient
- func (c *AuthorizationClient) ClusterPolicies() ClusterPolicyInterface
- func (c *AuthorizationClient) ClusterPolicyBindings() ClusterPolicyBindingInterface
- func (c *AuthorizationClient) ClusterRoleBindings() ClusterRoleBindingInterface
- func (c *AuthorizationClient) ClusterRoles() ClusterRoleInterface
- func (c *AuthorizationClient) Policies(namespace string) PolicyInterface
- func (c *AuthorizationClient) PolicyBindings(namespace string) PolicyBindingInterface
- func (c *AuthorizationClient) RESTClient() rest.Interface
- func (c *AuthorizationClient) RoleBindings(namespace string) RoleBindingInterface
- func (c *AuthorizationClient) Roles(namespace string) RoleInterface
- type AuthorizationInterface
- type ClusterPoliciesGetter
- type ClusterPolicyBindingExpansion
- type ClusterPolicyBindingInterface
- type ClusterPolicyBindingsGetter
- type ClusterPolicyExpansion
- type ClusterPolicyInterface
- type ClusterRoleBindingExpansion
- type ClusterRoleBindingInterface
- type ClusterRoleBindingsGetter
- type ClusterRoleExpansion
- type ClusterRoleInterface
- type ClusterRolesGetter
- type PoliciesGetter
- type PolicyBindingExpansion
- type PolicyBindingInterface
- type PolicyBindingsGetter
- type PolicyExpansion
- type PolicyInterface
- type RoleBindingExpansion
- type RoleBindingInterface
- type RoleBindingsGetter
- type RoleExpansion
- type RoleInterface
- type RolesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationClient ¶
type AuthorizationClient struct {
// contains filtered or unexported fields
}
AuthorizationClient is used to interact with features provided by the authorization.openshift.io group.
func New ¶
func New(c rest.Interface) *AuthorizationClient
New creates a new AuthorizationClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AuthorizationClient, error)
NewForConfig creates a new AuthorizationClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AuthorizationClient
NewForConfigOrDie creates a new AuthorizationClient for the given config and panics if there is an error in the config.
func (*AuthorizationClient) ClusterPolicies ¶
func (c *AuthorizationClient) ClusterPolicies() ClusterPolicyInterface
func (*AuthorizationClient) ClusterPolicyBindings ¶
func (c *AuthorizationClient) ClusterPolicyBindings() ClusterPolicyBindingInterface
func (*AuthorizationClient) ClusterRoleBindings ¶
func (c *AuthorizationClient) ClusterRoleBindings() ClusterRoleBindingInterface
func (*AuthorizationClient) ClusterRoles ¶
func (c *AuthorizationClient) ClusterRoles() ClusterRoleInterface
func (*AuthorizationClient) Policies ¶
func (c *AuthorizationClient) Policies(namespace string) PolicyInterface
func (*AuthorizationClient) PolicyBindings ¶
func (c *AuthorizationClient) PolicyBindings(namespace string) PolicyBindingInterface
func (*AuthorizationClient) RESTClient ¶
func (c *AuthorizationClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AuthorizationClient) RoleBindings ¶
func (c *AuthorizationClient) RoleBindings(namespace string) RoleBindingInterface
func (*AuthorizationClient) Roles ¶
func (c *AuthorizationClient) Roles(namespace string) RoleInterface
type AuthorizationInterface ¶
type AuthorizationInterface interface { RESTClient() rest.Interface ClusterPoliciesGetter ClusterPolicyBindingsGetter ClusterRolesGetter ClusterRoleBindingsGetter PoliciesGetter PolicyBindingsGetter RolesGetter RoleBindingsGetter }
type ClusterPoliciesGetter ¶
type ClusterPoliciesGetter interface {
ClusterPolicies() ClusterPolicyInterface
}
ClusterPoliciesGetter has a method to return a ClusterPolicyInterface. A group's client should implement this interface.
type ClusterPolicyBindingExpansion ¶
type ClusterPolicyBindingExpansion interface{}
type ClusterPolicyBindingInterface ¶
type ClusterPolicyBindingInterface interface { Create(*authorization.ClusterPolicyBinding) (*authorization.ClusterPolicyBinding, error) Update(*authorization.ClusterPolicyBinding) (*authorization.ClusterPolicyBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.ClusterPolicyBinding, error) List(opts v1.ListOptions) (*authorization.ClusterPolicyBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.ClusterPolicyBinding, err error) ClusterPolicyBindingExpansion }
ClusterPolicyBindingInterface has methods to work with ClusterPolicyBinding resources.
type ClusterPolicyBindingsGetter ¶
type ClusterPolicyBindingsGetter interface {
ClusterPolicyBindings() ClusterPolicyBindingInterface
}
ClusterPolicyBindingsGetter has a method to return a ClusterPolicyBindingInterface. A group's client should implement this interface.
type ClusterPolicyExpansion ¶
type ClusterPolicyExpansion interface{}
type ClusterPolicyInterface ¶
type ClusterPolicyInterface interface { Create(*authorization.ClusterPolicy) (*authorization.ClusterPolicy, error) Update(*authorization.ClusterPolicy) (*authorization.ClusterPolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.ClusterPolicy, error) List(opts v1.ListOptions) (*authorization.ClusterPolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.ClusterPolicy, err error) ClusterPolicyExpansion }
ClusterPolicyInterface has methods to work with ClusterPolicy resources.
type ClusterRoleBindingExpansion ¶
type ClusterRoleBindingExpansion interface{}
type ClusterRoleBindingInterface ¶
type ClusterRoleBindingInterface interface { Create(*authorization.ClusterRoleBinding) (*authorization.ClusterRoleBinding, error) Update(*authorization.ClusterRoleBinding) (*authorization.ClusterRoleBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.ClusterRoleBinding, error) List(opts v1.ListOptions) (*authorization.ClusterRoleBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.ClusterRoleBinding, err error) ClusterRoleBindingExpansion }
ClusterRoleBindingInterface has methods to work with ClusterRoleBinding resources.
type ClusterRoleBindingsGetter ¶
type ClusterRoleBindingsGetter interface {
ClusterRoleBindings() ClusterRoleBindingInterface
}
ClusterRoleBindingsGetter has a method to return a ClusterRoleBindingInterface. A group's client should implement this interface.
type ClusterRoleExpansion ¶
type ClusterRoleExpansion interface{}
type ClusterRoleInterface ¶
type ClusterRoleInterface interface { Create(*authorization.ClusterRole) (*authorization.ClusterRole, error) Update(*authorization.ClusterRole) (*authorization.ClusterRole, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.ClusterRole, error) List(opts v1.ListOptions) (*authorization.ClusterRoleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.ClusterRole, err error) ClusterRoleExpansion }
ClusterRoleInterface has methods to work with ClusterRole resources.
type ClusterRolesGetter ¶
type ClusterRolesGetter interface {
ClusterRoles() ClusterRoleInterface
}
ClusterRolesGetter has a method to return a ClusterRoleInterface. 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 PolicyBindingExpansion ¶
type PolicyBindingExpansion interface{}
type PolicyBindingInterface ¶
type PolicyBindingInterface interface { Create(*authorization.PolicyBinding) (*authorization.PolicyBinding, error) Update(*authorization.PolicyBinding) (*authorization.PolicyBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.PolicyBinding, error) List(opts v1.ListOptions) (*authorization.PolicyBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.PolicyBinding, err error) PolicyBindingExpansion }
PolicyBindingInterface has methods to work with PolicyBinding resources.
type PolicyBindingsGetter ¶
type PolicyBindingsGetter interface {
PolicyBindings(namespace string) PolicyBindingInterface
}
PolicyBindingsGetter has a method to return a PolicyBindingInterface. A group's client should implement this interface.
type PolicyExpansion ¶
type PolicyExpansion interface{}
type PolicyInterface ¶
type PolicyInterface interface { Create(*authorization.Policy) (*authorization.Policy, error) Update(*authorization.Policy) (*authorization.Policy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.Policy, error) List(opts v1.ListOptions) (*authorization.PolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy resources.
type RoleBindingExpansion ¶
type RoleBindingExpansion interface{}
type RoleBindingInterface ¶
type RoleBindingInterface interface { Create(*authorization.RoleBinding) (*authorization.RoleBinding, error) Update(*authorization.RoleBinding) (*authorization.RoleBinding, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.RoleBinding, error) List(opts v1.ListOptions) (*authorization.RoleBindingList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.RoleBinding, err error) RoleBindingExpansion }
RoleBindingInterface has methods to work with RoleBinding resources.
type RoleBindingsGetter ¶
type RoleBindingsGetter interface {
RoleBindings(namespace string) RoleBindingInterface
}
RoleBindingsGetter has a method to return a RoleBindingInterface. A group's client should implement this interface.
type RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(*authorization.Role) (*authorization.Role, error) Update(*authorization.Role) (*authorization.Role, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.Role, error) List(opts v1.ListOptions) (*authorization.RoleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.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.