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) LocalResourceAccessReviews(namespace string) LocalResourceAccessReviewInterface
- func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
- func (c *AuthorizationClient) Policies(namespace string) PolicyInterface
- func (c *AuthorizationClient) PolicyBindings(namespace string) PolicyBindingInterface
- func (c *AuthorizationClient) RESTClient() rest.Interface
- func (c *AuthorizationClient) ResourceAccessReviews() ResourceAccessReviewInterface
- func (c *AuthorizationClient) RoleBindingRestrictions(namespace string) RoleBindingRestrictionInterface
- func (c *AuthorizationClient) RoleBindings(namespace string) RoleBindingInterface
- func (c *AuthorizationClient) Roles(namespace string) RoleInterface
- func (c *AuthorizationClient) SelfSubjectRulesReviews(namespace string) SelfSubjectRulesReviewInterface
- func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface
- func (c *AuthorizationClient) SubjectRulesReviews(namespace string) SubjectRulesReviewInterface
- 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 LocalResourceAccessReviewExpansion
- type LocalResourceAccessReviewInterface
- type LocalResourceAccessReviewsGetter
- type LocalSubjectAccessReviewExpansion
- type LocalSubjectAccessReviewInterface
- type LocalSubjectAccessReviewsGetter
- type PoliciesGetter
- type PolicyBindingExpansion
- type PolicyBindingInterface
- type PolicyBindingsGetter
- type PolicyExpansion
- type PolicyInterface
- type ResourceAccessReviewExpansion
- type ResourceAccessReviewInterface
- type ResourceAccessReviewsGetter
- type RoleBindingExpansion
- type RoleBindingInterface
- type RoleBindingRestrictionExpansion
- type RoleBindingRestrictionInterface
- type RoleBindingRestrictionsGetter
- type RoleBindingsGetter
- type RoleExpansion
- type RoleInterface
- type RolesGetter
- type SelfSubjectRulesReviewExpansion
- type SelfSubjectRulesReviewInterface
- type SelfSubjectRulesReviewsGetter
- type SubjectAccessReviewExpansion
- type SubjectAccessReviewInterface
- type SubjectAccessReviewsGetter
- type SubjectRulesReviewExpansion
- type SubjectRulesReviewInterface
- type SubjectRulesReviewsGetter
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) LocalResourceAccessReviews ¶
func (c *AuthorizationClient) LocalResourceAccessReviews(namespace string) LocalResourceAccessReviewInterface
func (*AuthorizationClient) LocalSubjectAccessReviews ¶
func (c *AuthorizationClient) LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
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) ResourceAccessReviews ¶
func (c *AuthorizationClient) ResourceAccessReviews() ResourceAccessReviewInterface
func (*AuthorizationClient) RoleBindingRestrictions ¶
func (c *AuthorizationClient) RoleBindingRestrictions(namespace string) RoleBindingRestrictionInterface
func (*AuthorizationClient) RoleBindings ¶
func (c *AuthorizationClient) RoleBindings(namespace string) RoleBindingInterface
func (*AuthorizationClient) Roles ¶
func (c *AuthorizationClient) Roles(namespace string) RoleInterface
func (*AuthorizationClient) SelfSubjectRulesReviews ¶
func (c *AuthorizationClient) SelfSubjectRulesReviews(namespace string) SelfSubjectRulesReviewInterface
func (*AuthorizationClient) SubjectAccessReviews ¶
func (c *AuthorizationClient) SubjectAccessReviews() SubjectAccessReviewInterface
func (*AuthorizationClient) SubjectRulesReviews ¶
func (c *AuthorizationClient) SubjectRulesReviews(namespace string) SubjectRulesReviewInterface
type AuthorizationInterface ¶
type AuthorizationInterface interface { RESTClient() rest.Interface ClusterPoliciesGetter ClusterPolicyBindingsGetter ClusterRolesGetter ClusterRoleBindingsGetter LocalResourceAccessReviewsGetter LocalSubjectAccessReviewsGetter PoliciesGetter PolicyBindingsGetter ResourceAccessReviewsGetter RolesGetter RoleBindingsGetter RoleBindingRestrictionsGetter SelfSubjectRulesReviewsGetter SubjectAccessReviewsGetter SubjectRulesReviewsGetter }
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 LocalResourceAccessReviewExpansion ¶
type LocalResourceAccessReviewExpansion interface{}
type LocalResourceAccessReviewInterface ¶
type LocalResourceAccessReviewInterface interface { Create(*authorization.LocalResourceAccessReview) (*authorization.ResourceAccessReviewResponse, error) LocalResourceAccessReviewExpansion }
LocalResourceAccessReviewInterface has methods to work with LocalResourceAccessReview resources.
type LocalResourceAccessReviewsGetter ¶
type LocalResourceAccessReviewsGetter interface {
LocalResourceAccessReviews(namespace string) LocalResourceAccessReviewInterface
}
LocalResourceAccessReviewsGetter has a method to return a LocalResourceAccessReviewInterface. A group's client should implement this interface.
type LocalSubjectAccessReviewExpansion ¶
type LocalSubjectAccessReviewExpansion interface{}
type LocalSubjectAccessReviewInterface ¶
type LocalSubjectAccessReviewInterface interface { Create(*authorization.LocalSubjectAccessReview) (*authorization.SubjectAccessReviewResponse, error) LocalSubjectAccessReviewExpansion }
LocalSubjectAccessReviewInterface has methods to work with LocalSubjectAccessReview resources.
type LocalSubjectAccessReviewsGetter ¶
type LocalSubjectAccessReviewsGetter interface {
LocalSubjectAccessReviews(namespace string) LocalSubjectAccessReviewInterface
}
LocalSubjectAccessReviewsGetter has a method to return a LocalSubjectAccessReviewInterface. 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 ResourceAccessReviewExpansion ¶
type ResourceAccessReviewExpansion interface{}
type ResourceAccessReviewInterface ¶
type ResourceAccessReviewInterface interface { Create(*authorization.ResourceAccessReview) (*authorization.ResourceAccessReviewResponse, error) ResourceAccessReviewExpansion }
ResourceAccessReviewInterface has methods to work with ResourceAccessReview resources.
type ResourceAccessReviewsGetter ¶
type ResourceAccessReviewsGetter interface {
ResourceAccessReviews() ResourceAccessReviewInterface
}
ResourceAccessReviewsGetter has a method to return a ResourceAccessReviewInterface. A group's client should implement this interface.
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 RoleBindingRestrictionExpansion ¶
type RoleBindingRestrictionExpansion interface{}
type RoleBindingRestrictionInterface ¶
type RoleBindingRestrictionInterface interface { Create(*authorization.RoleBindingRestriction) (*authorization.RoleBindingRestriction, error) Update(*authorization.RoleBindingRestriction) (*authorization.RoleBindingRestriction, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*authorization.RoleBindingRestriction, error) List(opts v1.ListOptions) (*authorization.RoleBindingRestrictionList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authorization.RoleBindingRestriction, err error) RoleBindingRestrictionExpansion }
RoleBindingRestrictionInterface has methods to work with RoleBindingRestriction resources.
type RoleBindingRestrictionsGetter ¶
type RoleBindingRestrictionsGetter interface {
RoleBindingRestrictions(namespace string) RoleBindingRestrictionInterface
}
RoleBindingRestrictionsGetter has a method to return a RoleBindingRestrictionInterface. A group's client should implement this interface.
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.
type SelfSubjectRulesReviewExpansion ¶
type SelfSubjectRulesReviewExpansion interface{}
type SelfSubjectRulesReviewInterface ¶
type SelfSubjectRulesReviewInterface interface { Create(*authorization.SelfSubjectRulesReview) (*authorization.SelfSubjectRulesReview, error) SelfSubjectRulesReviewExpansion }
SelfSubjectRulesReviewInterface has methods to work with SelfSubjectRulesReview resources.
type SelfSubjectRulesReviewsGetter ¶
type SelfSubjectRulesReviewsGetter interface {
SelfSubjectRulesReviews(namespace string) SelfSubjectRulesReviewInterface
}
SelfSubjectRulesReviewsGetter has a method to return a SelfSubjectRulesReviewInterface. A group's client should implement this interface.
type SubjectAccessReviewExpansion ¶
type SubjectAccessReviewExpansion interface{}
type SubjectAccessReviewInterface ¶
type SubjectAccessReviewInterface interface { Create(*authorization.SubjectAccessReview) (*authorization.SubjectAccessReviewResponse, error) SubjectAccessReviewExpansion }
SubjectAccessReviewInterface has methods to work with SubjectAccessReview resources.
type SubjectAccessReviewsGetter ¶
type SubjectAccessReviewsGetter interface {
SubjectAccessReviews() SubjectAccessReviewInterface
}
SubjectAccessReviewsGetter has a method to return a SubjectAccessReviewInterface. A group's client should implement this interface.
type SubjectRulesReviewExpansion ¶
type SubjectRulesReviewExpansion interface{}
type SubjectRulesReviewInterface ¶
type SubjectRulesReviewInterface interface { Create(*authorization.SubjectRulesReview) (*authorization.SubjectRulesReview, error) SubjectRulesReviewExpansion }
SubjectRulesReviewInterface has methods to work with SubjectRulesReview resources.
type SubjectRulesReviewsGetter ¶
type SubjectRulesReviewsGetter interface {
SubjectRulesReviews(namespace string) SubjectRulesReviewInterface
}
SubjectRulesReviewsGetter has a method to return a SubjectRulesReviewInterface. A group's client should implement this interface.
Source Files ¶
- authorization_client.go
- clusterpolicy.go
- clusterpolicybinding.go
- clusterrole.go
- clusterrolebinding.go
- doc.go
- generated_expansion.go
- localresourceaccessreview.go
- localsubjectaccessreview.go
- policy.go
- policybinding.go
- resourceaccessreview.go
- role.go
- rolebinding.go
- rolebindingrestriction.go
- selfsubjectrulesreview.go
- subjectaccessreview.go
- subjectrulesreview.go