v1

package
v0.0.0-...-29a704b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 641

Documentation

Overview

+kubebuilder:validation:Optional +groupName=authorization.openshift.io Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	// GroupKind is string representation of kind used in role binding subjects that represents the "group".
	GroupKind = "Group"
	// UserKind is string representation of kind used in role binding subjects that represents the "user".
	UserKind = "User"

	ScopesKey = "scopes.authorization.openshift.io"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	GroupName    = "authorization.openshift.io"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var (
	DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type Action

type Action struct {
	// Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
	Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
	// Verb is one of: get, list, watch, create, update, delete
	Verb string `json:"verb" protobuf:"bytes,2,opt,name=verb"`
	// Group is the API group of the resource
	// Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined
	Group string `json:"resourceAPIGroup" protobuf:"bytes,3,opt,name=resourceAPIGroup"`
	// Version is the API version of the resource
	// Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined
	Version string `json:"resourceAPIVersion" protobuf:"bytes,4,opt,name=resourceAPIVersion"`
	// Resource is one of the existing resource types
	Resource string `json:"resource" protobuf:"bytes,5,opt,name=resource"`
	// ResourceName is the name of the resource being requested for a "get" or deleted for a "delete"
	ResourceName string `json:"resourceName" protobuf:"bytes,6,opt,name=resourceName"`
	// Path is the path of a non resource URL
	Path string `json:"path" protobuf:"bytes,8,opt,name=path"`
	// IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hierarchy)
	IsNonResourceURL bool `json:"isNonResourceURL" protobuf:"varint,9,opt,name=isNonResourceURL"`
	// Content is the actual content of the request for create and update
	// +kubebuilder:pruning:PreserveUnknownFields
	Content kruntime.RawExtension `json:"content,omitempty" protobuf:"bytes,7,opt,name=content"`
}

Action describes a request to the API server

func (*Action) DeepCopy

func (in *Action) DeepCopy() *Action

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.

func (*Action) DeepCopyInto

func (in *Action) DeepCopyInto(out *Action)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Action) Descriptor

func (*Action) Descriptor() ([]byte, []int)

func (*Action) Marshal

func (m *Action) Marshal() (dAtA []byte, err error)

func (*Action) MarshalTo

func (m *Action) MarshalTo(dAtA []byte) (int, error)

func (*Action) MarshalToSizedBuffer

func (m *Action) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) Size

func (m *Action) Size() (n int)

func (*Action) String

func (this *Action) String() string

func (Action) SwaggerDoc

func (Action) SwaggerDoc() map[string]string

func (*Action) Unmarshal

func (m *Action) Unmarshal(dAtA []byte) error

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action) XXX_Merge

func (m *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

func (m *Action) XXX_Unmarshal(b []byte) error

type ClusterRole

type ClusterRole struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`

	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
	// If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be
	// stomped by the controller.
	AggregationRule *rbacv1.AggregationRule `json:"aggregationRule,omitempty" protobuf:"bytes,3,opt,name=aggregationRule"`
}

ClusterRole is a logical grouping of PolicyRules that can be referenced as a unit by ClusterRoleBindings.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ClusterRole) DecodeNestedObjects

func (c *ClusterRole) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterRole) DeepCopy

func (in *ClusterRole) DeepCopy() *ClusterRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.

func (*ClusterRole) DeepCopyInto

func (in *ClusterRole) DeepCopyInto(out *ClusterRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterRole) DeepCopyObject

func (in *ClusterRole) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterRole) Descriptor

func (*ClusterRole) Descriptor() ([]byte, []int)

func (*ClusterRole) EncodeNestedObjects

func (c *ClusterRole) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterRole) Marshal

func (m *ClusterRole) Marshal() (dAtA []byte, err error)

func (*ClusterRole) MarshalTo

func (m *ClusterRole) MarshalTo(dAtA []byte) (int, error)

func (*ClusterRole) MarshalToSizedBuffer

func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterRole) ProtoMessage

func (*ClusterRole) ProtoMessage()

func (*ClusterRole) Reset

func (m *ClusterRole) Reset()

func (*ClusterRole) Size

func (m *ClusterRole) Size() (n int)

func (*ClusterRole) String

func (this *ClusterRole) String() string

func (ClusterRole) SwaggerDoc

func (ClusterRole) SwaggerDoc() map[string]string

func (*ClusterRole) Unmarshal

func (m *ClusterRole) Unmarshal(dAtA []byte) error

func (*ClusterRole) XXX_DiscardUnknown

func (m *ClusterRole) XXX_DiscardUnknown()

func (*ClusterRole) XXX_Marshal

func (m *ClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterRole) XXX_Merge

func (m *ClusterRole) XXX_Merge(src proto.Message)

func (*ClusterRole) XXX_Size

func (m *ClusterRole) XXX_Size() int

func (*ClusterRole) XXX_Unmarshal

func (m *ClusterRole) XXX_Unmarshal(b []byte) error

type ClusterRoleBinding

type ClusterRoleBinding struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// UserNames holds all the usernames directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	// +optional
	UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"`
	// GroupNames holds all the groups directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	// +optional
	GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"`
	// Subjects hold object references to authorize with this rule.
	// This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers.
	// Thus newer clients that do not need to support backwards compatibility should send
	// only fully qualified Subjects and should omit the UserNames and GroupNames fields.
	// Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.
	Subjects []corev1.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"`

	// RoleRef can only reference the current namespace and the global namespace.
	// If the ClusterRoleRef cannot be resolved, the Authorizer must return an error.
	// Since Policy is a singleton, this is sufficient knowledge to locate a role.
	RoleRef corev1.ObjectReference `json:"roleRef" protobuf:"bytes,5,opt,name=roleRef"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference any ClusterRole in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. ClusterRoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ClusterRoleBinding) DeepCopy

func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.

func (*ClusterRoleBinding) DeepCopyInto

func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterRoleBinding) DeepCopyObject

func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterRoleBinding) Descriptor

func (*ClusterRoleBinding) Descriptor() ([]byte, []int)

func (*ClusterRoleBinding) Marshal

func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error)

func (*ClusterRoleBinding) MarshalTo

func (m *ClusterRoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*ClusterRoleBinding) MarshalToSizedBuffer

func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterRoleBinding) ProtoMessage

func (*ClusterRoleBinding) ProtoMessage()

func (*ClusterRoleBinding) Reset

func (m *ClusterRoleBinding) Reset()

func (*ClusterRoleBinding) Size

func (m *ClusterRoleBinding) Size() (n int)

func (*ClusterRoleBinding) String

func (this *ClusterRoleBinding) String() string

func (ClusterRoleBinding) SwaggerDoc

func (ClusterRoleBinding) SwaggerDoc() map[string]string

func (*ClusterRoleBinding) Unmarshal

func (m *ClusterRoleBinding) Unmarshal(dAtA []byte) error

func (*ClusterRoleBinding) XXX_DiscardUnknown

func (m *ClusterRoleBinding) XXX_DiscardUnknown()

func (*ClusterRoleBinding) XXX_Marshal

func (m *ClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterRoleBinding) XXX_Merge

func (m *ClusterRoleBinding) XXX_Merge(src proto.Message)

func (*ClusterRoleBinding) XXX_Size

func (m *ClusterRoleBinding) XXX_Size() int

func (*ClusterRoleBinding) XXX_Unmarshal

func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error

type ClusterRoleBindingList

type ClusterRoleBindingList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterRoleBindings
	Items []ClusterRoleBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterRoleBindingList is a collection of ClusterRoleBindings

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ClusterRoleBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.

func (*ClusterRoleBindingList) DeepCopyInto

func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterRoleBindingList) DeepCopyObject

func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterRoleBindingList) Descriptor

func (*ClusterRoleBindingList) Descriptor() ([]byte, []int)

func (*ClusterRoleBindingList) Marshal

func (m *ClusterRoleBindingList) Marshal() (dAtA []byte, err error)

func (*ClusterRoleBindingList) MarshalTo

func (m *ClusterRoleBindingList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterRoleBindingList) MarshalToSizedBuffer

func (m *ClusterRoleBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterRoleBindingList) ProtoMessage

func (*ClusterRoleBindingList) ProtoMessage()

func (*ClusterRoleBindingList) Reset

func (m *ClusterRoleBindingList) Reset()

func (*ClusterRoleBindingList) Size

func (m *ClusterRoleBindingList) Size() (n int)

func (*ClusterRoleBindingList) String

func (this *ClusterRoleBindingList) String() string

func (ClusterRoleBindingList) SwaggerDoc

func (ClusterRoleBindingList) SwaggerDoc() map[string]string

func (*ClusterRoleBindingList) Unmarshal

func (m *ClusterRoleBindingList) Unmarshal(dAtA []byte) error

func (*ClusterRoleBindingList) XXX_DiscardUnknown

func (m *ClusterRoleBindingList) XXX_DiscardUnknown()

func (*ClusterRoleBindingList) XXX_Marshal

func (m *ClusterRoleBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterRoleBindingList) XXX_Merge

func (m *ClusterRoleBindingList) XXX_Merge(src proto.Message)

func (*ClusterRoleBindingList) XXX_Size

func (m *ClusterRoleBindingList) XXX_Size() int

func (*ClusterRoleBindingList) XXX_Unmarshal

func (m *ClusterRoleBindingList) XXX_Unmarshal(b []byte) error

type ClusterRoleList

type ClusterRoleList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterRoles
	Items []ClusterRole `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterRoleList is a collection of ClusterRoles

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ClusterRoleList) DecodeNestedObjects

func (c *ClusterRoleList) DecodeNestedObjects(d runtime.Decoder) error

func (*ClusterRoleList) DeepCopy

func (in *ClusterRoleList) DeepCopy() *ClusterRoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.

func (*ClusterRoleList) DeepCopyInto

func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterRoleList) DeepCopyObject

func (in *ClusterRoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterRoleList) Descriptor

func (*ClusterRoleList) Descriptor() ([]byte, []int)

func (*ClusterRoleList) EncodeNestedObjects

func (c *ClusterRoleList) EncodeNestedObjects(e runtime.Encoder) error

func (*ClusterRoleList) Marshal

func (m *ClusterRoleList) Marshal() (dAtA []byte, err error)

func (*ClusterRoleList) MarshalTo

func (m *ClusterRoleList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterRoleList) MarshalToSizedBuffer

func (m *ClusterRoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterRoleList) ProtoMessage

func (*ClusterRoleList) ProtoMessage()

func (*ClusterRoleList) Reset

func (m *ClusterRoleList) Reset()

func (*ClusterRoleList) Size

func (m *ClusterRoleList) Size() (n int)

func (*ClusterRoleList) String

func (this *ClusterRoleList) String() string

func (ClusterRoleList) SwaggerDoc

func (ClusterRoleList) SwaggerDoc() map[string]string

func (*ClusterRoleList) Unmarshal

func (m *ClusterRoleList) Unmarshal(dAtA []byte) error

func (*ClusterRoleList) XXX_DiscardUnknown

func (m *ClusterRoleList) XXX_DiscardUnknown()

func (*ClusterRoleList) XXX_Marshal

func (m *ClusterRoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterRoleList) XXX_Merge

func (m *ClusterRoleList) XXX_Merge(src proto.Message)

func (*ClusterRoleList) XXX_Size

func (m *ClusterRoleList) XXX_Size() int

func (*ClusterRoleList) XXX_Unmarshal

func (m *ClusterRoleList) XXX_Unmarshal(b []byte) error

type GroupRestriction

type GroupRestriction struct {
	// Groups is a list of groups used to match against an individual user's
	// groups. If the user is a member of one of the whitelisted groups, the user
	// is allowed to be bound to a role.
	// +nullable
	Groups []string `json:"groups" protobuf:"bytes,1,rep,name=groups"`

	// Selectors specifies a list of label selectors over group labels.
	// +nullable
	Selectors []metav1.LabelSelector `json:"labels" protobuf:"bytes,2,rep,name=labels"`
}

GroupRestriction matches a group either by a string match on the group name or a label selector applied to group labels.

func (*GroupRestriction) DeepCopy

func (in *GroupRestriction) DeepCopy() *GroupRestriction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupRestriction.

func (*GroupRestriction) DeepCopyInto

func (in *GroupRestriction) DeepCopyInto(out *GroupRestriction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GroupRestriction) Descriptor

func (*GroupRestriction) Descriptor() ([]byte, []int)

func (*GroupRestriction) Marshal

func (m *GroupRestriction) Marshal() (dAtA []byte, err error)

func (*GroupRestriction) MarshalTo

func (m *GroupRestriction) MarshalTo(dAtA []byte) (int, error)

func (*GroupRestriction) MarshalToSizedBuffer

func (m *GroupRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupRestriction) ProtoMessage

func (*GroupRestriction) ProtoMessage()

func (*GroupRestriction) Reset

func (m *GroupRestriction) Reset()

func (*GroupRestriction) Size

func (m *GroupRestriction) Size() (n int)

func (*GroupRestriction) String

func (this *GroupRestriction) String() string

func (GroupRestriction) SwaggerDoc

func (GroupRestriction) SwaggerDoc() map[string]string

func (*GroupRestriction) Unmarshal

func (m *GroupRestriction) Unmarshal(dAtA []byte) error

func (*GroupRestriction) XXX_DiscardUnknown

func (m *GroupRestriction) XXX_DiscardUnknown()

func (*GroupRestriction) XXX_Marshal

func (m *GroupRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupRestriction) XXX_Merge

func (m *GroupRestriction) XXX_Merge(src proto.Message)

func (*GroupRestriction) XXX_Size

func (m *GroupRestriction) XXX_Size() int

func (*GroupRestriction) XXX_Unmarshal

func (m *GroupRestriction) XXX_Unmarshal(b []byte) error

type IsPersonalSubjectAccessReview

type IsPersonalSubjectAccessReview struct {
	metav1.TypeMeta `json:",inline"`
}

IsPersonalSubjectAccessReview is a marker for PolicyRule.AttributeRestrictions that denotes that subjectaccessreviews on self should be allowed

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*IsPersonalSubjectAccessReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsPersonalSubjectAccessReview.

func (*IsPersonalSubjectAccessReview) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IsPersonalSubjectAccessReview) DeepCopyObject

func (in *IsPersonalSubjectAccessReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*IsPersonalSubjectAccessReview) Descriptor

func (*IsPersonalSubjectAccessReview) Descriptor() ([]byte, []int)

func (*IsPersonalSubjectAccessReview) Marshal

func (m *IsPersonalSubjectAccessReview) Marshal() (dAtA []byte, err error)

func (*IsPersonalSubjectAccessReview) MarshalTo

func (m *IsPersonalSubjectAccessReview) MarshalTo(dAtA []byte) (int, error)

func (*IsPersonalSubjectAccessReview) MarshalToSizedBuffer

func (m *IsPersonalSubjectAccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsPersonalSubjectAccessReview) ProtoMessage

func (*IsPersonalSubjectAccessReview) ProtoMessage()

func (*IsPersonalSubjectAccessReview) Reset

func (m *IsPersonalSubjectAccessReview) Reset()

func (*IsPersonalSubjectAccessReview) Size

func (m *IsPersonalSubjectAccessReview) Size() (n int)

func (*IsPersonalSubjectAccessReview) String

func (this *IsPersonalSubjectAccessReview) String() string

func (IsPersonalSubjectAccessReview) SwaggerDoc

func (IsPersonalSubjectAccessReview) SwaggerDoc() map[string]string

func (*IsPersonalSubjectAccessReview) Unmarshal

func (m *IsPersonalSubjectAccessReview) Unmarshal(dAtA []byte) error

func (*IsPersonalSubjectAccessReview) XXX_DiscardUnknown

func (m *IsPersonalSubjectAccessReview) XXX_DiscardUnknown()

func (*IsPersonalSubjectAccessReview) XXX_Marshal

func (m *IsPersonalSubjectAccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsPersonalSubjectAccessReview) XXX_Merge

func (m *IsPersonalSubjectAccessReview) XXX_Merge(src proto.Message)

func (*IsPersonalSubjectAccessReview) XXX_Size

func (m *IsPersonalSubjectAccessReview) XXX_Size() int

func (*IsPersonalSubjectAccessReview) XXX_Unmarshal

func (m *IsPersonalSubjectAccessReview) XXX_Unmarshal(b []byte) error

type LocalResourceAccessReview

type LocalResourceAccessReview struct {
	metav1.TypeMeta `json:",inline"`

	// Action describes the action being tested.  The Namespace element is FORCED to the current namespace.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
}

LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*LocalResourceAccessReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalResourceAccessReview.

func (*LocalResourceAccessReview) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LocalResourceAccessReview) DeepCopyObject

func (in *LocalResourceAccessReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LocalResourceAccessReview) Descriptor

func (*LocalResourceAccessReview) Descriptor() ([]byte, []int)

func (*LocalResourceAccessReview) Marshal

func (m *LocalResourceAccessReview) Marshal() (dAtA []byte, err error)

func (*LocalResourceAccessReview) MarshalTo

func (m *LocalResourceAccessReview) MarshalTo(dAtA []byte) (int, error)

func (*LocalResourceAccessReview) MarshalToSizedBuffer

func (m *LocalResourceAccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LocalResourceAccessReview) ProtoMessage

func (*LocalResourceAccessReview) ProtoMessage()

func (*LocalResourceAccessReview) Reset

func (m *LocalResourceAccessReview) Reset()

func (*LocalResourceAccessReview) Size

func (m *LocalResourceAccessReview) Size() (n int)

func (*LocalResourceAccessReview) String

func (this *LocalResourceAccessReview) String() string

func (LocalResourceAccessReview) SwaggerDoc

func (LocalResourceAccessReview) SwaggerDoc() map[string]string

func (*LocalResourceAccessReview) Unmarshal

func (m *LocalResourceAccessReview) Unmarshal(dAtA []byte) error

func (*LocalResourceAccessReview) XXX_DiscardUnknown

func (m *LocalResourceAccessReview) XXX_DiscardUnknown()

func (*LocalResourceAccessReview) XXX_Marshal

func (m *LocalResourceAccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalResourceAccessReview) XXX_Merge

func (m *LocalResourceAccessReview) XXX_Merge(src proto.Message)

func (*LocalResourceAccessReview) XXX_Size

func (m *LocalResourceAccessReview) XXX_Size() int

func (*LocalResourceAccessReview) XXX_Unmarshal

func (m *LocalResourceAccessReview) XXX_Unmarshal(b []byte) error

type LocalSubjectAccessReview

type LocalSubjectAccessReview struct {
	metav1.TypeMeta `json:",inline"`

	// Action describes the action being tested.  The Namespace element is FORCED to the current namespace.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
	// User is optional.  If both User and Groups are empty, the current authenticated user is used.
	User string `json:"user" protobuf:"bytes,2,opt,name=user"`
	// Groups is optional.  Groups is the list of groups to which the User belongs.
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil for a self-SAR, means "use the scopes on this request".
	// Nil for a regular SAR, means the same as empty.
	// +k8s:conversion-gen=false
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,4,rep,name=scopes"`
}

LocalSubjectAccessReview is an object for requesting information about whether a user or group can perform an action in a particular namespace

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*LocalSubjectAccessReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.

func (*LocalSubjectAccessReview) DeepCopyInto

func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LocalSubjectAccessReview) DeepCopyObject

func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LocalSubjectAccessReview) Descriptor

func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int)

func (*LocalSubjectAccessReview) Marshal

func (m *LocalSubjectAccessReview) Marshal() (dAtA []byte, err error)

func (*LocalSubjectAccessReview) MarshalTo

func (m *LocalSubjectAccessReview) MarshalTo(dAtA []byte) (int, error)

func (*LocalSubjectAccessReview) MarshalToSizedBuffer

func (m *LocalSubjectAccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LocalSubjectAccessReview) ProtoMessage

func (*LocalSubjectAccessReview) ProtoMessage()

func (*LocalSubjectAccessReview) Reset

func (m *LocalSubjectAccessReview) Reset()

func (*LocalSubjectAccessReview) Size

func (m *LocalSubjectAccessReview) Size() (n int)

func (*LocalSubjectAccessReview) String

func (this *LocalSubjectAccessReview) String() string

func (LocalSubjectAccessReview) SwaggerDoc

func (LocalSubjectAccessReview) SwaggerDoc() map[string]string

func (*LocalSubjectAccessReview) Unmarshal

func (m *LocalSubjectAccessReview) Unmarshal(dAtA []byte) error

func (*LocalSubjectAccessReview) XXX_DiscardUnknown

func (m *LocalSubjectAccessReview) XXX_DiscardUnknown()

func (*LocalSubjectAccessReview) XXX_Marshal

func (m *LocalSubjectAccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalSubjectAccessReview) XXX_Merge

func (m *LocalSubjectAccessReview) XXX_Merge(src proto.Message)

func (*LocalSubjectAccessReview) XXX_Size

func (m *LocalSubjectAccessReview) XXX_Size() int

func (*LocalSubjectAccessReview) XXX_Unmarshal

func (m *LocalSubjectAccessReview) XXX_Unmarshal(b []byte) error

type NamedClusterRole

type NamedClusterRole struct {
	// Name is the name of the cluster role
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Role is the cluster role being named
	Role ClusterRole `json:"role" protobuf:"bytes,2,opt,name=role"`
}

NamedClusterRole relates a name with a cluster role

func (*NamedClusterRole) DeepCopy

func (in *NamedClusterRole) DeepCopy() *NamedClusterRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedClusterRole.

func (*NamedClusterRole) DeepCopyInto

func (in *NamedClusterRole) DeepCopyInto(out *NamedClusterRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamedClusterRole) Descriptor

func (*NamedClusterRole) Descriptor() ([]byte, []int)

func (*NamedClusterRole) Marshal

func (m *NamedClusterRole) Marshal() (dAtA []byte, err error)

func (*NamedClusterRole) MarshalTo

func (m *NamedClusterRole) MarshalTo(dAtA []byte) (int, error)

func (*NamedClusterRole) MarshalToSizedBuffer

func (m *NamedClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedClusterRole) ProtoMessage

func (*NamedClusterRole) ProtoMessage()

func (*NamedClusterRole) Reset

func (m *NamedClusterRole) Reset()

func (*NamedClusterRole) Size

func (m *NamedClusterRole) Size() (n int)

func (*NamedClusterRole) String

func (this *NamedClusterRole) String() string

func (NamedClusterRole) SwaggerDoc

func (NamedClusterRole) SwaggerDoc() map[string]string

func (*NamedClusterRole) Unmarshal

func (m *NamedClusterRole) Unmarshal(dAtA []byte) error

func (*NamedClusterRole) XXX_DiscardUnknown

func (m *NamedClusterRole) XXX_DiscardUnknown()

func (*NamedClusterRole) XXX_Marshal

func (m *NamedClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedClusterRole) XXX_Merge

func (m *NamedClusterRole) XXX_Merge(src proto.Message)

func (*NamedClusterRole) XXX_Size

func (m *NamedClusterRole) XXX_Size() int

func (*NamedClusterRole) XXX_Unmarshal

func (m *NamedClusterRole) XXX_Unmarshal(b []byte) error

type NamedClusterRoleBinding

type NamedClusterRoleBinding struct {
	// Name is the name of the cluster role binding
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// RoleBinding is the cluster role binding being named
	RoleBinding ClusterRoleBinding `json:"roleBinding" protobuf:"bytes,2,opt,name=roleBinding"`
}

NamedClusterRoleBinding relates a name with a cluster role binding

func (*NamedClusterRoleBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedClusterRoleBinding.

func (*NamedClusterRoleBinding) DeepCopyInto

func (in *NamedClusterRoleBinding) DeepCopyInto(out *NamedClusterRoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamedClusterRoleBinding) Descriptor

func (*NamedClusterRoleBinding) Descriptor() ([]byte, []int)

func (*NamedClusterRoleBinding) Marshal

func (m *NamedClusterRoleBinding) Marshal() (dAtA []byte, err error)

func (*NamedClusterRoleBinding) MarshalTo

func (m *NamedClusterRoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*NamedClusterRoleBinding) MarshalToSizedBuffer

func (m *NamedClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedClusterRoleBinding) ProtoMessage

func (*NamedClusterRoleBinding) ProtoMessage()

func (*NamedClusterRoleBinding) Reset

func (m *NamedClusterRoleBinding) Reset()

func (*NamedClusterRoleBinding) Size

func (m *NamedClusterRoleBinding) Size() (n int)

func (*NamedClusterRoleBinding) String

func (this *NamedClusterRoleBinding) String() string

func (NamedClusterRoleBinding) SwaggerDoc

func (NamedClusterRoleBinding) SwaggerDoc() map[string]string

func (*NamedClusterRoleBinding) Unmarshal

func (m *NamedClusterRoleBinding) Unmarshal(dAtA []byte) error

func (*NamedClusterRoleBinding) XXX_DiscardUnknown

func (m *NamedClusterRoleBinding) XXX_DiscardUnknown()

func (*NamedClusterRoleBinding) XXX_Marshal

func (m *NamedClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedClusterRoleBinding) XXX_Merge

func (m *NamedClusterRoleBinding) XXX_Merge(src proto.Message)

func (*NamedClusterRoleBinding) XXX_Size

func (m *NamedClusterRoleBinding) XXX_Size() int

func (*NamedClusterRoleBinding) XXX_Unmarshal

func (m *NamedClusterRoleBinding) XXX_Unmarshal(b []byte) error

type NamedRole

type NamedRole struct {
	// Name is the name of the role
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Role is the role being named
	Role Role `json:"role" protobuf:"bytes,2,opt,name=role"`
}

NamedRole relates a Role with a name

func (*NamedRole) DeepCopy

func (in *NamedRole) DeepCopy() *NamedRole

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedRole.

func (*NamedRole) DeepCopyInto

func (in *NamedRole) DeepCopyInto(out *NamedRole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamedRole) Descriptor

func (*NamedRole) Descriptor() ([]byte, []int)

func (*NamedRole) Marshal

func (m *NamedRole) Marshal() (dAtA []byte, err error)

func (*NamedRole) MarshalTo

func (m *NamedRole) MarshalTo(dAtA []byte) (int, error)

func (*NamedRole) MarshalToSizedBuffer

func (m *NamedRole) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedRole) ProtoMessage

func (*NamedRole) ProtoMessage()

func (*NamedRole) Reset

func (m *NamedRole) Reset()

func (*NamedRole) Size

func (m *NamedRole) Size() (n int)

func (*NamedRole) String

func (this *NamedRole) String() string

func (NamedRole) SwaggerDoc

func (NamedRole) SwaggerDoc() map[string]string

func (*NamedRole) Unmarshal

func (m *NamedRole) Unmarshal(dAtA []byte) error

func (*NamedRole) XXX_DiscardUnknown

func (m *NamedRole) XXX_DiscardUnknown()

func (*NamedRole) XXX_Marshal

func (m *NamedRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedRole) XXX_Merge

func (m *NamedRole) XXX_Merge(src proto.Message)

func (*NamedRole) XXX_Size

func (m *NamedRole) XXX_Size() int

func (*NamedRole) XXX_Unmarshal

func (m *NamedRole) XXX_Unmarshal(b []byte) error

type NamedRoleBinding

type NamedRoleBinding struct {
	// Name is the name of the role binding
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// RoleBinding is the role binding being named
	RoleBinding RoleBinding `json:"roleBinding" protobuf:"bytes,2,opt,name=roleBinding"`
}

NamedRoleBinding relates a role binding with a name

func (*NamedRoleBinding) DeepCopy

func (in *NamedRoleBinding) DeepCopy() *NamedRoleBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedRoleBinding.

func (*NamedRoleBinding) DeepCopyInto

func (in *NamedRoleBinding) DeepCopyInto(out *NamedRoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NamedRoleBinding) Descriptor

func (*NamedRoleBinding) Descriptor() ([]byte, []int)

func (*NamedRoleBinding) Marshal

func (m *NamedRoleBinding) Marshal() (dAtA []byte, err error)

func (*NamedRoleBinding) MarshalTo

func (m *NamedRoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*NamedRoleBinding) MarshalToSizedBuffer

func (m *NamedRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedRoleBinding) ProtoMessage

func (*NamedRoleBinding) ProtoMessage()

func (*NamedRoleBinding) Reset

func (m *NamedRoleBinding) Reset()

func (*NamedRoleBinding) Size

func (m *NamedRoleBinding) Size() (n int)

func (*NamedRoleBinding) String

func (this *NamedRoleBinding) String() string

func (NamedRoleBinding) SwaggerDoc

func (NamedRoleBinding) SwaggerDoc() map[string]string

func (*NamedRoleBinding) Unmarshal

func (m *NamedRoleBinding) Unmarshal(dAtA []byte) error

func (*NamedRoleBinding) XXX_DiscardUnknown

func (m *NamedRoleBinding) XXX_DiscardUnknown()

func (*NamedRoleBinding) XXX_Marshal

func (m *NamedRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedRoleBinding) XXX_Merge

func (m *NamedRoleBinding) XXX_Merge(src proto.Message)

func (*NamedRoleBinding) XXX_Size

func (m *NamedRoleBinding) XXX_Size() int

func (*NamedRoleBinding) XXX_Unmarshal

func (m *NamedRoleBinding) XXX_Unmarshal(b []byte) error

type OptionalNames

type OptionalNames []string

OptionalNames is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (OptionalNames) DeepCopy

func (in OptionalNames) DeepCopy() OptionalNames

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalNames.

func (OptionalNames) DeepCopyInto

func (in OptionalNames) DeepCopyInto(out *OptionalNames)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OptionalNames) Descriptor

func (*OptionalNames) Descriptor() ([]byte, []int)

func (OptionalNames) Marshal

func (m OptionalNames) Marshal() (dAtA []byte, err error)

func (OptionalNames) MarshalTo

func (m OptionalNames) MarshalTo(dAtA []byte) (int, error)

func (OptionalNames) MarshalToSizedBuffer

func (m OptionalNames) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OptionalNames) ProtoMessage

func (*OptionalNames) ProtoMessage()

func (*OptionalNames) Reset

func (m *OptionalNames) Reset()

func (OptionalNames) Size

func (m OptionalNames) Size() (n int)

func (OptionalNames) String

func (t OptionalNames) String() string

func (*OptionalNames) Unmarshal

func (m *OptionalNames) Unmarshal(dAtA []byte) error

func (*OptionalNames) XXX_DiscardUnknown

func (m *OptionalNames) XXX_DiscardUnknown()

func (*OptionalNames) XXX_Marshal

func (m *OptionalNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OptionalNames) XXX_Merge

func (m *OptionalNames) XXX_Merge(src proto.Message)

func (*OptionalNames) XXX_Size

func (m *OptionalNames) XXX_Size() int

func (*OptionalNames) XXX_Unmarshal

func (m *OptionalNames) XXX_Unmarshal(b []byte) error

type OptionalScopes

type OptionalScopes []string

OptionalScopes is an array that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (OptionalScopes) DeepCopy

func (in OptionalScopes) DeepCopy() OptionalScopes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalScopes.

func (OptionalScopes) DeepCopyInto

func (in OptionalScopes) DeepCopyInto(out *OptionalScopes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OptionalScopes) Descriptor

func (*OptionalScopes) Descriptor() ([]byte, []int)

func (OptionalScopes) Marshal

func (m OptionalScopes) Marshal() (dAtA []byte, err error)

func (OptionalScopes) MarshalTo

func (m OptionalScopes) MarshalTo(dAtA []byte) (int, error)

func (OptionalScopes) MarshalToSizedBuffer

func (m OptionalScopes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OptionalScopes) ProtoMessage

func (*OptionalScopes) ProtoMessage()

func (*OptionalScopes) Reset

func (m *OptionalScopes) Reset()

func (OptionalScopes) Size

func (m OptionalScopes) Size() (n int)

func (OptionalScopes) String

func (t OptionalScopes) String() string

func (*OptionalScopes) Unmarshal

func (m *OptionalScopes) Unmarshal(dAtA []byte) error

func (*OptionalScopes) XXX_DiscardUnknown

func (m *OptionalScopes) XXX_DiscardUnknown()

func (*OptionalScopes) XXX_Marshal

func (m *OptionalScopes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OptionalScopes) XXX_Merge

func (m *OptionalScopes) XXX_Merge(src proto.Message)

func (*OptionalScopes) XXX_Size

func (m *OptionalScopes) XXX_Size() int

func (*OptionalScopes) XXX_Unmarshal

func (m *OptionalScopes) XXX_Unmarshal(b []byte) error

type PolicyRule

type PolicyRule struct {
	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
	// AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports.
	// If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.
	// +kubebuilder:pruning:PreserveUnknownFields
	AttributeRestrictions kruntime.RawExtension `json:"attributeRestrictions,omitempty" protobuf:"bytes,2,opt,name=attributeRestrictions"`
	// APIGroups is the name of the APIGroup that contains the resources.  If this field is empty, then both kubernetes and origin API groups are assumed.
	// That means that if an action is requested against one of the enumerated resources in either the kubernetes or the origin API group, the request
	// will be allowed
	// +optional
	// +nullable
	APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,3,rep,name=apiGroups"`
	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources []string `json:"resources" protobuf:"bytes,4,rep,name=resources"`
	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,5,rep,name=resourceNames"`
	// NonResourceURLsSlice is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path
	// This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different.
	NonResourceURLsSlice []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,6,rep,name=nonResourceURLs"`
}

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

func (*PolicyRule) DecodeNestedObjects

func (c *PolicyRule) DecodeNestedObjects(d runtime.Decoder) error

func (*PolicyRule) DeepCopy

func (in *PolicyRule) DeepCopy() *PolicyRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.

func (*PolicyRule) DeepCopyInto

func (in *PolicyRule) DeepCopyInto(out *PolicyRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicyRule) Descriptor

func (*PolicyRule) Descriptor() ([]byte, []int)

func (*PolicyRule) EncodeNestedObjects

func (c *PolicyRule) EncodeNestedObjects(e runtime.Encoder) error

func (*PolicyRule) Marshal

func (m *PolicyRule) Marshal() (dAtA []byte, err error)

func (*PolicyRule) MarshalTo

func (m *PolicyRule) MarshalTo(dAtA []byte) (int, error)

func (*PolicyRule) MarshalToSizedBuffer

func (m *PolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PolicyRule) ProtoMessage

func (*PolicyRule) ProtoMessage()

func (*PolicyRule) Reset

func (m *PolicyRule) Reset()

func (*PolicyRule) Size

func (m *PolicyRule) Size() (n int)

func (*PolicyRule) String

func (this *PolicyRule) String() string

func (PolicyRule) SwaggerDoc

func (PolicyRule) SwaggerDoc() map[string]string

func (*PolicyRule) Unmarshal

func (m *PolicyRule) Unmarshal(dAtA []byte) error

func (*PolicyRule) XXX_DiscardUnknown

func (m *PolicyRule) XXX_DiscardUnknown()

func (*PolicyRule) XXX_Marshal

func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyRule) XXX_Merge

func (m *PolicyRule) XXX_Merge(src proto.Message)

func (*PolicyRule) XXX_Size

func (m *PolicyRule) XXX_Size() int

func (*PolicyRule) XXX_Unmarshal

func (m *PolicyRule) XXX_Unmarshal(b []byte) error

type ResourceAccessReview

type ResourceAccessReview struct {
	metav1.TypeMeta `json:",inline"`

	// Action describes the action being tested.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
}

ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ResourceAccessReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessReview.

func (*ResourceAccessReview) DeepCopyInto

func (in *ResourceAccessReview) DeepCopyInto(out *ResourceAccessReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceAccessReview) DeepCopyObject

func (in *ResourceAccessReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourceAccessReview) Descriptor

func (*ResourceAccessReview) Descriptor() ([]byte, []int)

func (*ResourceAccessReview) Marshal

func (m *ResourceAccessReview) Marshal() (dAtA []byte, err error)

func (*ResourceAccessReview) MarshalTo

func (m *ResourceAccessReview) MarshalTo(dAtA []byte) (int, error)

func (*ResourceAccessReview) MarshalToSizedBuffer

func (m *ResourceAccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceAccessReview) ProtoMessage

func (*ResourceAccessReview) ProtoMessage()

func (*ResourceAccessReview) Reset

func (m *ResourceAccessReview) Reset()

func (*ResourceAccessReview) Size

func (m *ResourceAccessReview) Size() (n int)

func (*ResourceAccessReview) String

func (this *ResourceAccessReview) String() string

func (ResourceAccessReview) SwaggerDoc

func (ResourceAccessReview) SwaggerDoc() map[string]string

func (*ResourceAccessReview) Unmarshal

func (m *ResourceAccessReview) Unmarshal(dAtA []byte) error

func (*ResourceAccessReview) XXX_DiscardUnknown

func (m *ResourceAccessReview) XXX_DiscardUnknown()

func (*ResourceAccessReview) XXX_Marshal

func (m *ResourceAccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceAccessReview) XXX_Merge

func (m *ResourceAccessReview) XXX_Merge(src proto.Message)

func (*ResourceAccessReview) XXX_Size

func (m *ResourceAccessReview) XXX_Size() int

func (*ResourceAccessReview) XXX_Unmarshal

func (m *ResourceAccessReview) XXX_Unmarshal(b []byte) error

type ResourceAccessReviewResponse

type ResourceAccessReviewResponse struct {
	metav1.TypeMeta `json:",inline"`

	// Namespace is the namespace used for the access review
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// UsersSlice is the list of users who can perform the action
	// +k8s:conversion-gen=false
	UsersSlice []string `json:"users" protobuf:"bytes,2,rep,name=users"`
	// GroupsSlice is the list of groups who can perform the action
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`

	// EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned.
	// It is entirely possible to get an error and be able to continue determine authorization status in spite of it.  This is
	// most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
	EvaluationError string `json:"evalutionError" protobuf:"bytes,4,opt,name=evalutionError"`
}

ResourceAccessReviewResponse describes who can perform the action

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ResourceAccessReviewResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAccessReviewResponse.

func (*ResourceAccessReviewResponse) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceAccessReviewResponse) DeepCopyObject

func (in *ResourceAccessReviewResponse) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourceAccessReviewResponse) Descriptor

func (*ResourceAccessReviewResponse) Descriptor() ([]byte, []int)

func (*ResourceAccessReviewResponse) Marshal

func (m *ResourceAccessReviewResponse) Marshal() (dAtA []byte, err error)

func (*ResourceAccessReviewResponse) MarshalTo

func (m *ResourceAccessReviewResponse) MarshalTo(dAtA []byte) (int, error)

func (*ResourceAccessReviewResponse) MarshalToSizedBuffer

func (m *ResourceAccessReviewResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceAccessReviewResponse) ProtoMessage

func (*ResourceAccessReviewResponse) ProtoMessage()

func (*ResourceAccessReviewResponse) Reset

func (m *ResourceAccessReviewResponse) Reset()

func (*ResourceAccessReviewResponse) Size

func (m *ResourceAccessReviewResponse) Size() (n int)

func (*ResourceAccessReviewResponse) String

func (this *ResourceAccessReviewResponse) String() string

func (ResourceAccessReviewResponse) SwaggerDoc

func (ResourceAccessReviewResponse) SwaggerDoc() map[string]string

func (*ResourceAccessReviewResponse) Unmarshal

func (m *ResourceAccessReviewResponse) Unmarshal(dAtA []byte) error

func (*ResourceAccessReviewResponse) XXX_DiscardUnknown

func (m *ResourceAccessReviewResponse) XXX_DiscardUnknown()

func (*ResourceAccessReviewResponse) XXX_Marshal

func (m *ResourceAccessReviewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceAccessReviewResponse) XXX_Merge

func (m *ResourceAccessReviewResponse) XXX_Merge(src proto.Message)

func (*ResourceAccessReviewResponse) XXX_Size

func (m *ResourceAccessReviewResponse) XXX_Size() int

func (*ResourceAccessReviewResponse) XXX_Unmarshal

func (m *ResourceAccessReviewResponse) XXX_Unmarshal(b []byte) error

type Role

type Role struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Rules holds all the PolicyRules for this Role
	Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}

Role is a logical grouping of PolicyRules that can be referenced as a unit by RoleBindings.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*Role) DecodeNestedObjects

func (c *Role) DecodeNestedObjects(d runtime.Decoder) error

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Role) DeepCopyObject

func (in *Role) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Role) Descriptor

func (*Role) Descriptor() ([]byte, []int)

func (*Role) EncodeNestedObjects

func (c *Role) EncodeNestedObjects(e runtime.Encoder) error

func (*Role) Marshal

func (m *Role) Marshal() (dAtA []byte, err error)

func (*Role) MarshalTo

func (m *Role) MarshalTo(dAtA []byte) (int, error)

func (*Role) MarshalToSizedBuffer

func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) Size

func (m *Role) Size() (n int)

func (*Role) String

func (this *Role) String() string

func (Role) SwaggerDoc

func (Role) SwaggerDoc() map[string]string

func (*Role) Unmarshal

func (m *Role) Unmarshal(dAtA []byte) error

func (*Role) XXX_DiscardUnknown

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal

func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Role) XXX_Merge

func (m *Role) XXX_Merge(src proto.Message)

func (*Role) XXX_Size

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal

func (m *Role) XXX_Unmarshal(b []byte) error

type RoleBinding

type RoleBinding struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// UserNames holds all the usernames directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	// +optional
	UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"`
	// GroupNames holds all the groups directly bound to the role.
	// This field should only be specified when supporting legacy clients and servers.
	// See Subjects for further details.
	// +k8s:conversion-gen=false
	// +optional
	GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"`
	// Subjects hold object references to authorize with this rule.
	// This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers.
	// Thus newer clients that do not need to support backwards compatibility should send
	// only fully qualified Subjects and should omit the UserNames and GroupNames fields.
	// Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.
	Subjects []corev1.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"`

	// RoleRef can only reference the current namespace and the global namespace.
	// If the RoleRef cannot be resolved, the Authorizer must return an error.
	// Since Policy is a singleton, this is sufficient knowledge to locate a role.
	RoleRef corev1.ObjectReference `json:"roleRef" protobuf:"bytes,5,opt,name=roleRef"`
}

RoleBinding references a Role, but not contain it. It can reference any Role in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleBinding) DeepCopyObject

func (in *RoleBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleBinding) Descriptor

func (*RoleBinding) Descriptor() ([]byte, []int)

func (*RoleBinding) Marshal

func (m *RoleBinding) Marshal() (dAtA []byte, err error)

func (*RoleBinding) MarshalTo

func (m *RoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*RoleBinding) MarshalToSizedBuffer

func (m *RoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleBinding) ProtoMessage

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) Reset

func (m *RoleBinding) Reset()

func (*RoleBinding) Size

func (m *RoleBinding) Size() (n int)

func (*RoleBinding) String

func (this *RoleBinding) String() string

func (RoleBinding) SwaggerDoc

func (RoleBinding) SwaggerDoc() map[string]string

func (*RoleBinding) Unmarshal

func (m *RoleBinding) Unmarshal(dAtA []byte) error

func (*RoleBinding) XXX_DiscardUnknown

func (m *RoleBinding) XXX_DiscardUnknown()

func (*RoleBinding) XXX_Marshal

func (m *RoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleBinding) XXX_Merge

func (m *RoleBinding) XXX_Merge(src proto.Message)

func (*RoleBinding) XXX_Size

func (m *RoleBinding) XXX_Size() int

func (*RoleBinding) XXX_Unmarshal

func (m *RoleBinding) XXX_Unmarshal(b []byte) error

type RoleBindingList

type RoleBindingList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of RoleBindings
	Items []RoleBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleBindingList is a collection of RoleBindings

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*RoleBindingList) DeepCopy

func (in *RoleBindingList) DeepCopy() *RoleBindingList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.

func (*RoleBindingList) DeepCopyInto

func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleBindingList) DeepCopyObject

func (in *RoleBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleBindingList) Descriptor

func (*RoleBindingList) Descriptor() ([]byte, []int)

func (*RoleBindingList) Marshal

func (m *RoleBindingList) Marshal() (dAtA []byte, err error)

func (*RoleBindingList) MarshalTo

func (m *RoleBindingList) MarshalTo(dAtA []byte) (int, error)

func (*RoleBindingList) MarshalToSizedBuffer

func (m *RoleBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleBindingList) ProtoMessage

func (*RoleBindingList) ProtoMessage()

func (*RoleBindingList) Reset

func (m *RoleBindingList) Reset()

func (*RoleBindingList) Size

func (m *RoleBindingList) Size() (n int)

func (*RoleBindingList) String

func (this *RoleBindingList) String() string

func (RoleBindingList) SwaggerDoc

func (RoleBindingList) SwaggerDoc() map[string]string

func (*RoleBindingList) Unmarshal

func (m *RoleBindingList) Unmarshal(dAtA []byte) error

func (*RoleBindingList) XXX_DiscardUnknown

func (m *RoleBindingList) XXX_DiscardUnknown()

func (*RoleBindingList) XXX_Marshal

func (m *RoleBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleBindingList) XXX_Merge

func (m *RoleBindingList) XXX_Merge(src proto.Message)

func (*RoleBindingList) XXX_Size

func (m *RoleBindingList) XXX_Size() int

func (*RoleBindingList) XXX_Unmarshal

func (m *RoleBindingList) XXX_Unmarshal(b []byte) error

type RoleBindingRestriction

type RoleBindingRestriction struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the matcher.
	Spec RoleBindingRestrictionSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

RoleBindingRestriction is an object that can be matched against a subject (user, group, or service account) to determine whether rolebindings on that subject are allowed in the namespace to which the RoleBindingRestriction belongs. If any one of those RoleBindingRestriction objects matches a subject, rolebindings on that subject in the namespace are allowed.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=rolebindingrestrictions,scope=Namespaced +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/470 +openshift:file-pattern=cvoRunLevel=0000_03,operatorName=config-operator,operatorOrdering=01 +openshift:compatibility-gen:level=1

func (*RoleBindingRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingRestriction.

func (*RoleBindingRestriction) DeepCopyInto

func (in *RoleBindingRestriction) DeepCopyInto(out *RoleBindingRestriction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleBindingRestriction) DeepCopyObject

func (in *RoleBindingRestriction) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleBindingRestriction) Descriptor

func (*RoleBindingRestriction) Descriptor() ([]byte, []int)

func (*RoleBindingRestriction) Marshal

func (m *RoleBindingRestriction) Marshal() (dAtA []byte, err error)

func (*RoleBindingRestriction) MarshalTo

func (m *RoleBindingRestriction) MarshalTo(dAtA []byte) (int, error)

func (*RoleBindingRestriction) MarshalToSizedBuffer

func (m *RoleBindingRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleBindingRestriction) ProtoMessage

func (*RoleBindingRestriction) ProtoMessage()

func (*RoleBindingRestriction) Reset

func (m *RoleBindingRestriction) Reset()

func (*RoleBindingRestriction) Size

func (m *RoleBindingRestriction) Size() (n int)

func (*RoleBindingRestriction) String

func (this *RoleBindingRestriction) String() string

func (RoleBindingRestriction) SwaggerDoc

func (RoleBindingRestriction) SwaggerDoc() map[string]string

func (*RoleBindingRestriction) Unmarshal

func (m *RoleBindingRestriction) Unmarshal(dAtA []byte) error

func (*RoleBindingRestriction) XXX_DiscardUnknown

func (m *RoleBindingRestriction) XXX_DiscardUnknown()

func (*RoleBindingRestriction) XXX_Marshal

func (m *RoleBindingRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleBindingRestriction) XXX_Merge

func (m *RoleBindingRestriction) XXX_Merge(src proto.Message)

func (*RoleBindingRestriction) XXX_Size

func (m *RoleBindingRestriction) XXX_Size() int

func (*RoleBindingRestriction) XXX_Unmarshal

func (m *RoleBindingRestriction) XXX_Unmarshal(b []byte) error

type RoleBindingRestrictionList

type RoleBindingRestrictionList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of RoleBindingRestriction objects.
	Items []RoleBindingRestriction `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleBindingRestrictionList is a collection of RoleBindingRestriction objects.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*RoleBindingRestrictionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingRestrictionList.

func (*RoleBindingRestrictionList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleBindingRestrictionList) DeepCopyObject

func (in *RoleBindingRestrictionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleBindingRestrictionList) Descriptor

func (*RoleBindingRestrictionList) Descriptor() ([]byte, []int)

func (*RoleBindingRestrictionList) Marshal

func (m *RoleBindingRestrictionList) Marshal() (dAtA []byte, err error)

func (*RoleBindingRestrictionList) MarshalTo

func (m *RoleBindingRestrictionList) MarshalTo(dAtA []byte) (int, error)

func (*RoleBindingRestrictionList) MarshalToSizedBuffer

func (m *RoleBindingRestrictionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleBindingRestrictionList) ProtoMessage

func (*RoleBindingRestrictionList) ProtoMessage()

func (*RoleBindingRestrictionList) Reset

func (m *RoleBindingRestrictionList) Reset()

func (*RoleBindingRestrictionList) Size

func (m *RoleBindingRestrictionList) Size() (n int)

func (*RoleBindingRestrictionList) String

func (this *RoleBindingRestrictionList) String() string

func (RoleBindingRestrictionList) SwaggerDoc

func (RoleBindingRestrictionList) SwaggerDoc() map[string]string

func (*RoleBindingRestrictionList) Unmarshal

func (m *RoleBindingRestrictionList) Unmarshal(dAtA []byte) error

func (*RoleBindingRestrictionList) XXX_DiscardUnknown

func (m *RoleBindingRestrictionList) XXX_DiscardUnknown()

func (*RoleBindingRestrictionList) XXX_Marshal

func (m *RoleBindingRestrictionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleBindingRestrictionList) XXX_Merge

func (m *RoleBindingRestrictionList) XXX_Merge(src proto.Message)

func (*RoleBindingRestrictionList) XXX_Size

func (m *RoleBindingRestrictionList) XXX_Size() int

func (*RoleBindingRestrictionList) XXX_Unmarshal

func (m *RoleBindingRestrictionList) XXX_Unmarshal(b []byte) error

type RoleBindingRestrictionSpec

type RoleBindingRestrictionSpec struct {
	// UserRestriction matches against user subjects.
	// +nullable
	UserRestriction *UserRestriction `json:"userrestriction" protobuf:"bytes,1,opt,name=userrestriction"`

	// GroupRestriction matches against group subjects.
	// +nullable
	GroupRestriction *GroupRestriction `json:"grouprestriction" protobuf:"bytes,2,opt,name=grouprestriction"`

	// ServiceAccountRestriction matches against service-account subjects.
	// +nullable
	ServiceAccountRestriction *ServiceAccountRestriction `json:"serviceaccountrestriction" protobuf:"bytes,3,opt,name=serviceaccountrestriction"`
}

RoleBindingRestrictionSpec defines a rolebinding restriction. Exactly one field must be non-nil.

func (*RoleBindingRestrictionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingRestrictionSpec.

func (*RoleBindingRestrictionSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleBindingRestrictionSpec) Descriptor

func (*RoleBindingRestrictionSpec) Descriptor() ([]byte, []int)

func (*RoleBindingRestrictionSpec) Marshal

func (m *RoleBindingRestrictionSpec) Marshal() (dAtA []byte, err error)

func (*RoleBindingRestrictionSpec) MarshalTo

func (m *RoleBindingRestrictionSpec) MarshalTo(dAtA []byte) (int, error)

func (*RoleBindingRestrictionSpec) MarshalToSizedBuffer

func (m *RoleBindingRestrictionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleBindingRestrictionSpec) ProtoMessage

func (*RoleBindingRestrictionSpec) ProtoMessage()

func (*RoleBindingRestrictionSpec) Reset

func (m *RoleBindingRestrictionSpec) Reset()

func (*RoleBindingRestrictionSpec) Size

func (m *RoleBindingRestrictionSpec) Size() (n int)

func (*RoleBindingRestrictionSpec) String

func (this *RoleBindingRestrictionSpec) String() string

func (RoleBindingRestrictionSpec) SwaggerDoc

func (RoleBindingRestrictionSpec) SwaggerDoc() map[string]string

func (*RoleBindingRestrictionSpec) Unmarshal

func (m *RoleBindingRestrictionSpec) Unmarshal(dAtA []byte) error

func (*RoleBindingRestrictionSpec) XXX_DiscardUnknown

func (m *RoleBindingRestrictionSpec) XXX_DiscardUnknown()

func (*RoleBindingRestrictionSpec) XXX_Marshal

func (m *RoleBindingRestrictionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleBindingRestrictionSpec) XXX_Merge

func (m *RoleBindingRestrictionSpec) XXX_Merge(src proto.Message)

func (*RoleBindingRestrictionSpec) XXX_Size

func (m *RoleBindingRestrictionSpec) XXX_Size() int

func (*RoleBindingRestrictionSpec) XXX_Unmarshal

func (m *RoleBindingRestrictionSpec) XXX_Unmarshal(b []byte) error

type RoleList

type RoleList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of Roles
	Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleList is a collection of Roles

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*RoleList) DecodeNestedObjects

func (c *RoleList) DecodeNestedObjects(d runtime.Decoder) error

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleList) DeepCopyObject

func (in *RoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleList) Descriptor

func (*RoleList) Descriptor() ([]byte, []int)

func (*RoleList) EncodeNestedObjects

func (c *RoleList) EncodeNestedObjects(e runtime.Encoder) error

func (*RoleList) Marshal

func (m *RoleList) Marshal() (dAtA []byte, err error)

func (*RoleList) MarshalTo

func (m *RoleList) MarshalTo(dAtA []byte) (int, error)

func (*RoleList) MarshalToSizedBuffer

func (m *RoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleList) ProtoMessage

func (*RoleList) ProtoMessage()

func (*RoleList) Reset

func (m *RoleList) Reset()

func (*RoleList) Size

func (m *RoleList) Size() (n int)

func (*RoleList) String

func (this *RoleList) String() string

func (RoleList) SwaggerDoc

func (RoleList) SwaggerDoc() map[string]string

func (*RoleList) Unmarshal

func (m *RoleList) Unmarshal(dAtA []byte) error

func (*RoleList) XXX_DiscardUnknown

func (m *RoleList) XXX_DiscardUnknown()

func (*RoleList) XXX_Marshal

func (m *RoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleList) XXX_Merge

func (m *RoleList) XXX_Merge(src proto.Message)

func (*RoleList) XXX_Size

func (m *RoleList) XXX_Size() int

func (*RoleList) XXX_Unmarshal

func (m *RoleList) XXX_Unmarshal(b []byte) error

type SelfSubjectRulesReview

type SelfSubjectRulesReview struct {
	metav1.TypeMeta `json:",inline"`

	// Spec adds information about how to conduct the check
	Spec SelfSubjectRulesReviewSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`

	// Status is completed by the server to tell which permissions you have
	Status SubjectRulesReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

SelfSubjectRulesReview is a resource you can create to determine which actions you can perform in a namespace

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*SelfSubjectRulesReview) DecodeNestedObjects

func (c *SelfSubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error

func (*SelfSubjectRulesReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReview.

func (*SelfSubjectRulesReview) DeepCopyInto

func (in *SelfSubjectRulesReview) DeepCopyInto(out *SelfSubjectRulesReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SelfSubjectRulesReview) DeepCopyObject

func (in *SelfSubjectRulesReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SelfSubjectRulesReview) Descriptor

func (*SelfSubjectRulesReview) Descriptor() ([]byte, []int)

func (*SelfSubjectRulesReview) EncodeNestedObjects

func (c *SelfSubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error

func (*SelfSubjectRulesReview) Marshal

func (m *SelfSubjectRulesReview) Marshal() (dAtA []byte, err error)

func (*SelfSubjectRulesReview) MarshalTo

func (m *SelfSubjectRulesReview) MarshalTo(dAtA []byte) (int, error)

func (*SelfSubjectRulesReview) MarshalToSizedBuffer

func (m *SelfSubjectRulesReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelfSubjectRulesReview) ProtoMessage

func (*SelfSubjectRulesReview) ProtoMessage()

func (*SelfSubjectRulesReview) Reset

func (m *SelfSubjectRulesReview) Reset()

func (*SelfSubjectRulesReview) Size

func (m *SelfSubjectRulesReview) Size() (n int)

func (*SelfSubjectRulesReview) String

func (this *SelfSubjectRulesReview) String() string

func (SelfSubjectRulesReview) SwaggerDoc

func (SelfSubjectRulesReview) SwaggerDoc() map[string]string

func (*SelfSubjectRulesReview) Unmarshal

func (m *SelfSubjectRulesReview) Unmarshal(dAtA []byte) error

func (*SelfSubjectRulesReview) XXX_DiscardUnknown

func (m *SelfSubjectRulesReview) XXX_DiscardUnknown()

func (*SelfSubjectRulesReview) XXX_Marshal

func (m *SelfSubjectRulesReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfSubjectRulesReview) XXX_Merge

func (m *SelfSubjectRulesReview) XXX_Merge(src proto.Message)

func (*SelfSubjectRulesReview) XXX_Size

func (m *SelfSubjectRulesReview) XXX_Size() int

func (*SelfSubjectRulesReview) XXX_Unmarshal

func (m *SelfSubjectRulesReview) XXX_Unmarshal(b []byte) error

type SelfSubjectRulesReviewSpec

type SelfSubjectRulesReviewSpec struct {
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil means "use the scopes on this request".
	// +k8s:conversion-gen=false
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,1,rep,name=scopes"`
}

SelfSubjectRulesReviewSpec adds information about how to conduct the check

func (*SelfSubjectRulesReviewSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReviewSpec.

func (*SelfSubjectRulesReviewSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SelfSubjectRulesReviewSpec) Descriptor

func (*SelfSubjectRulesReviewSpec) Descriptor() ([]byte, []int)

func (*SelfSubjectRulesReviewSpec) Marshal

func (m *SelfSubjectRulesReviewSpec) Marshal() (dAtA []byte, err error)

func (*SelfSubjectRulesReviewSpec) MarshalTo

func (m *SelfSubjectRulesReviewSpec) MarshalTo(dAtA []byte) (int, error)

func (*SelfSubjectRulesReviewSpec) MarshalToSizedBuffer

func (m *SelfSubjectRulesReviewSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelfSubjectRulesReviewSpec) ProtoMessage

func (*SelfSubjectRulesReviewSpec) ProtoMessage()

func (*SelfSubjectRulesReviewSpec) Reset

func (m *SelfSubjectRulesReviewSpec) Reset()

func (*SelfSubjectRulesReviewSpec) Size

func (m *SelfSubjectRulesReviewSpec) Size() (n int)

func (*SelfSubjectRulesReviewSpec) String

func (this *SelfSubjectRulesReviewSpec) String() string

func (SelfSubjectRulesReviewSpec) SwaggerDoc

func (SelfSubjectRulesReviewSpec) SwaggerDoc() map[string]string

func (*SelfSubjectRulesReviewSpec) Unmarshal

func (m *SelfSubjectRulesReviewSpec) Unmarshal(dAtA []byte) error

func (*SelfSubjectRulesReviewSpec) XXX_DiscardUnknown

func (m *SelfSubjectRulesReviewSpec) XXX_DiscardUnknown()

func (*SelfSubjectRulesReviewSpec) XXX_Marshal

func (m *SelfSubjectRulesReviewSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfSubjectRulesReviewSpec) XXX_Merge

func (m *SelfSubjectRulesReviewSpec) XXX_Merge(src proto.Message)

func (*SelfSubjectRulesReviewSpec) XXX_Size

func (m *SelfSubjectRulesReviewSpec) XXX_Size() int

func (*SelfSubjectRulesReviewSpec) XXX_Unmarshal

func (m *SelfSubjectRulesReviewSpec) XXX_Unmarshal(b []byte) error

type ServiceAccountReference

type ServiceAccountReference struct {
	// Name is the name of the service account.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Namespace is the namespace of the service account.  Service accounts from
	// inside the whitelisted namespaces are allowed to be bound to roles.  If
	// Namespace is empty, then the namespace of the RoleBindingRestriction in
	// which the ServiceAccountReference is embedded is used.
	Namespace string `json:"namespace" protobuf:"bytes,2,opt,name=namespace"`
}

ServiceAccountReference specifies a service account and namespace by their names.

func (*ServiceAccountReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountReference.

func (*ServiceAccountReference) DeepCopyInto

func (in *ServiceAccountReference) DeepCopyInto(out *ServiceAccountReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceAccountReference) Descriptor

func (*ServiceAccountReference) Descriptor() ([]byte, []int)

func (*ServiceAccountReference) Marshal

func (m *ServiceAccountReference) Marshal() (dAtA []byte, err error)

func (*ServiceAccountReference) MarshalTo

func (m *ServiceAccountReference) MarshalTo(dAtA []byte) (int, error)

func (*ServiceAccountReference) MarshalToSizedBuffer

func (m *ServiceAccountReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceAccountReference) ProtoMessage

func (*ServiceAccountReference) ProtoMessage()

func (*ServiceAccountReference) Reset

func (m *ServiceAccountReference) Reset()

func (*ServiceAccountReference) Size

func (m *ServiceAccountReference) Size() (n int)

func (*ServiceAccountReference) String

func (this *ServiceAccountReference) String() string

func (ServiceAccountReference) SwaggerDoc

func (ServiceAccountReference) SwaggerDoc() map[string]string

func (*ServiceAccountReference) Unmarshal

func (m *ServiceAccountReference) Unmarshal(dAtA []byte) error

func (*ServiceAccountReference) XXX_DiscardUnknown

func (m *ServiceAccountReference) XXX_DiscardUnknown()

func (*ServiceAccountReference) XXX_Marshal

func (m *ServiceAccountReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccountReference) XXX_Merge

func (m *ServiceAccountReference) XXX_Merge(src proto.Message)

func (*ServiceAccountReference) XXX_Size

func (m *ServiceAccountReference) XXX_Size() int

func (*ServiceAccountReference) XXX_Unmarshal

func (m *ServiceAccountReference) XXX_Unmarshal(b []byte) error

type ServiceAccountRestriction

type ServiceAccountRestriction struct {
	// ServiceAccounts specifies a list of literal service-account names.
	ServiceAccounts []ServiceAccountReference `json:"serviceaccounts" protobuf:"bytes,1,rep,name=serviceaccounts"`

	// Namespaces specifies a list of literal namespace names.
	Namespaces []string `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"`
}

ServiceAccountRestriction matches a service account by a string match on either the service-account name or the name of the service account's namespace.

func (*ServiceAccountRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountRestriction.

func (*ServiceAccountRestriction) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceAccountRestriction) Descriptor

func (*ServiceAccountRestriction) Descriptor() ([]byte, []int)

func (*ServiceAccountRestriction) Marshal

func (m *ServiceAccountRestriction) Marshal() (dAtA []byte, err error)

func (*ServiceAccountRestriction) MarshalTo

func (m *ServiceAccountRestriction) MarshalTo(dAtA []byte) (int, error)

func (*ServiceAccountRestriction) MarshalToSizedBuffer

func (m *ServiceAccountRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceAccountRestriction) ProtoMessage

func (*ServiceAccountRestriction) ProtoMessage()

func (*ServiceAccountRestriction) Reset

func (m *ServiceAccountRestriction) Reset()

func (*ServiceAccountRestriction) Size

func (m *ServiceAccountRestriction) Size() (n int)

func (*ServiceAccountRestriction) String

func (this *ServiceAccountRestriction) String() string

func (ServiceAccountRestriction) SwaggerDoc

func (ServiceAccountRestriction) SwaggerDoc() map[string]string

func (*ServiceAccountRestriction) Unmarshal

func (m *ServiceAccountRestriction) Unmarshal(dAtA []byte) error

func (*ServiceAccountRestriction) XXX_DiscardUnknown

func (m *ServiceAccountRestriction) XXX_DiscardUnknown()

func (*ServiceAccountRestriction) XXX_Marshal

func (m *ServiceAccountRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccountRestriction) XXX_Merge

func (m *ServiceAccountRestriction) XXX_Merge(src proto.Message)

func (*ServiceAccountRestriction) XXX_Size

func (m *ServiceAccountRestriction) XXX_Size() int

func (*ServiceAccountRestriction) XXX_Unmarshal

func (m *ServiceAccountRestriction) XXX_Unmarshal(b []byte) error

type SubjectAccessReview

type SubjectAccessReview struct {
	metav1.TypeMeta `json:",inline"`

	// Action describes the action being tested.
	Action `json:",inline" protobuf:"bytes,1,opt,name=Action"`
	// User is optional. If both User and Groups are empty, the current authenticated user is used.
	User string `json:"user" protobuf:"bytes,2,opt,name=user"`
	// GroupsSlice is optional. Groups is the list of groups to which the User belongs.
	// +k8s:conversion-gen=false
	GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	// Nil for a self-SAR, means "use the scopes on this request".
	// Nil for a regular SAR, means the same as empty.
	// +k8s:conversion-gen=false
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,4,rep,name=scopes"`
}

SubjectAccessReview is an object for requesting information about whether a user or group can perform an action

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*SubjectAccessReview) DeepCopy

func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.

func (*SubjectAccessReview) DeepCopyInto

func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubjectAccessReview) DeepCopyObject

func (in *SubjectAccessReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SubjectAccessReview) Descriptor

func (*SubjectAccessReview) Descriptor() ([]byte, []int)

func (*SubjectAccessReview) Marshal

func (m *SubjectAccessReview) Marshal() (dAtA []byte, err error)

func (*SubjectAccessReview) MarshalTo

func (m *SubjectAccessReview) MarshalTo(dAtA []byte) (int, error)

func (*SubjectAccessReview) MarshalToSizedBuffer

func (m *SubjectAccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubjectAccessReview) ProtoMessage

func (*SubjectAccessReview) ProtoMessage()

func (*SubjectAccessReview) Reset

func (m *SubjectAccessReview) Reset()

func (*SubjectAccessReview) Size

func (m *SubjectAccessReview) Size() (n int)

func (*SubjectAccessReview) String

func (this *SubjectAccessReview) String() string

func (SubjectAccessReview) SwaggerDoc

func (SubjectAccessReview) SwaggerDoc() map[string]string

func (*SubjectAccessReview) Unmarshal

func (m *SubjectAccessReview) Unmarshal(dAtA []byte) error

func (*SubjectAccessReview) XXX_DiscardUnknown

func (m *SubjectAccessReview) XXX_DiscardUnknown()

func (*SubjectAccessReview) XXX_Marshal

func (m *SubjectAccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubjectAccessReview) XXX_Merge

func (m *SubjectAccessReview) XXX_Merge(src proto.Message)

func (*SubjectAccessReview) XXX_Size

func (m *SubjectAccessReview) XXX_Size() int

func (*SubjectAccessReview) XXX_Unmarshal

func (m *SubjectAccessReview) XXX_Unmarshal(b []byte) error

type SubjectAccessReviewResponse

type SubjectAccessReviewResponse struct {
	metav1.TypeMeta `json:",inline"`

	// Namespace is the namespace used for the access review
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// Allowed is required.  True if the action would be allowed, false otherwise.
	Allowed bool `json:"allowed" protobuf:"varint,2,opt,name=allowed"`
	// Reason is optional.  It indicates why a request was allowed or denied.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// EvaluationError is an indication that some error occurred during the authorization check.
	// It is entirely possible to get an error and be able to continue determine authorization status in spite of it.  This is
	// most common when a bound role is missing, but enough roles are still present and bound to reason about the request.
	EvaluationError string `json:"evaluationError,omitempty" protobuf:"bytes,4,opt,name=evaluationError"`
}

SubjectAccessReviewResponse describes whether or not a user or group can perform an action

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*SubjectAccessReviewResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewResponse.

func (*SubjectAccessReviewResponse) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubjectAccessReviewResponse) DeepCopyObject

func (in *SubjectAccessReviewResponse) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SubjectAccessReviewResponse) Descriptor

func (*SubjectAccessReviewResponse) Descriptor() ([]byte, []int)

func (*SubjectAccessReviewResponse) Marshal

func (m *SubjectAccessReviewResponse) Marshal() (dAtA []byte, err error)

func (*SubjectAccessReviewResponse) MarshalTo

func (m *SubjectAccessReviewResponse) MarshalTo(dAtA []byte) (int, error)

func (*SubjectAccessReviewResponse) MarshalToSizedBuffer

func (m *SubjectAccessReviewResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubjectAccessReviewResponse) ProtoMessage

func (*SubjectAccessReviewResponse) ProtoMessage()

func (*SubjectAccessReviewResponse) Reset

func (m *SubjectAccessReviewResponse) Reset()

func (*SubjectAccessReviewResponse) Size

func (m *SubjectAccessReviewResponse) Size() (n int)

func (*SubjectAccessReviewResponse) String

func (this *SubjectAccessReviewResponse) String() string

func (SubjectAccessReviewResponse) SwaggerDoc

func (SubjectAccessReviewResponse) SwaggerDoc() map[string]string

func (*SubjectAccessReviewResponse) Unmarshal

func (m *SubjectAccessReviewResponse) Unmarshal(dAtA []byte) error

func (*SubjectAccessReviewResponse) XXX_DiscardUnknown

func (m *SubjectAccessReviewResponse) XXX_DiscardUnknown()

func (*SubjectAccessReviewResponse) XXX_Marshal

func (m *SubjectAccessReviewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubjectAccessReviewResponse) XXX_Merge

func (m *SubjectAccessReviewResponse) XXX_Merge(src proto.Message)

func (*SubjectAccessReviewResponse) XXX_Size

func (m *SubjectAccessReviewResponse) XXX_Size() int

func (*SubjectAccessReviewResponse) XXX_Unmarshal

func (m *SubjectAccessReviewResponse) XXX_Unmarshal(b []byte) error

type SubjectRulesReview

type SubjectRulesReview struct {
	metav1.TypeMeta `json:",inline"`

	// Spec adds information about how to conduct the check
	Spec SubjectRulesReviewSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`

	// Status is completed by the server to tell which permissions you have
	Status SubjectRulesReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*SubjectRulesReview) DecodeNestedObjects

func (c *SubjectRulesReview) DecodeNestedObjects(d runtime.Decoder) error

func (*SubjectRulesReview) DeepCopy

func (in *SubjectRulesReview) DeepCopy() *SubjectRulesReview

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRulesReview.

func (*SubjectRulesReview) DeepCopyInto

func (in *SubjectRulesReview) DeepCopyInto(out *SubjectRulesReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubjectRulesReview) DeepCopyObject

func (in *SubjectRulesReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SubjectRulesReview) Descriptor

func (*SubjectRulesReview) Descriptor() ([]byte, []int)

func (*SubjectRulesReview) EncodeNestedObjects

func (c *SubjectRulesReview) EncodeNestedObjects(e runtime.Encoder) error

func (*SubjectRulesReview) Marshal

func (m *SubjectRulesReview) Marshal() (dAtA []byte, err error)

func (*SubjectRulesReview) MarshalTo

func (m *SubjectRulesReview) MarshalTo(dAtA []byte) (int, error)

func (*SubjectRulesReview) MarshalToSizedBuffer

func (m *SubjectRulesReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubjectRulesReview) ProtoMessage

func (*SubjectRulesReview) ProtoMessage()

func (*SubjectRulesReview) Reset

func (m *SubjectRulesReview) Reset()

func (*SubjectRulesReview) Size

func (m *SubjectRulesReview) Size() (n int)

func (*SubjectRulesReview) String

func (this *SubjectRulesReview) String() string

func (SubjectRulesReview) SwaggerDoc

func (SubjectRulesReview) SwaggerDoc() map[string]string

func (*SubjectRulesReview) Unmarshal

func (m *SubjectRulesReview) Unmarshal(dAtA []byte) error

func (*SubjectRulesReview) XXX_DiscardUnknown

func (m *SubjectRulesReview) XXX_DiscardUnknown()

func (*SubjectRulesReview) XXX_Marshal

func (m *SubjectRulesReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubjectRulesReview) XXX_Merge

func (m *SubjectRulesReview) XXX_Merge(src proto.Message)

func (*SubjectRulesReview) XXX_Size

func (m *SubjectRulesReview) XXX_Size() int

func (*SubjectRulesReview) XXX_Unmarshal

func (m *SubjectRulesReview) XXX_Unmarshal(b []byte) error

type SubjectRulesReviewSpec

type SubjectRulesReviewSpec struct {
	// User is optional.  At least one of User and Groups must be specified.
	User string `json:"user" protobuf:"bytes,1,opt,name=user"`
	// Groups is optional.  Groups is the list of groups to which the User belongs.  At least one of User and Groups must be specified.
	Groups []string `json:"groups" protobuf:"bytes,2,rep,name=groups"`
	// Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
	Scopes OptionalScopes `json:"scopes" protobuf:"bytes,3,opt,name=scopes"`
}

SubjectRulesReviewSpec adds information about how to conduct the check

func (*SubjectRulesReviewSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRulesReviewSpec.

func (*SubjectRulesReviewSpec) DeepCopyInto

func (in *SubjectRulesReviewSpec) DeepCopyInto(out *SubjectRulesReviewSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubjectRulesReviewSpec) Descriptor

func (*SubjectRulesReviewSpec) Descriptor() ([]byte, []int)

func (*SubjectRulesReviewSpec) Marshal

func (m *SubjectRulesReviewSpec) Marshal() (dAtA []byte, err error)

func (*SubjectRulesReviewSpec) MarshalTo

func (m *SubjectRulesReviewSpec) MarshalTo(dAtA []byte) (int, error)

func (*SubjectRulesReviewSpec) MarshalToSizedBuffer

func (m *SubjectRulesReviewSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubjectRulesReviewSpec) ProtoMessage

func (*SubjectRulesReviewSpec) ProtoMessage()

func (*SubjectRulesReviewSpec) Reset

func (m *SubjectRulesReviewSpec) Reset()

func (*SubjectRulesReviewSpec) Size

func (m *SubjectRulesReviewSpec) Size() (n int)

func (*SubjectRulesReviewSpec) String

func (this *SubjectRulesReviewSpec) String() string

func (SubjectRulesReviewSpec) SwaggerDoc

func (SubjectRulesReviewSpec) SwaggerDoc() map[string]string

func (*SubjectRulesReviewSpec) Unmarshal

func (m *SubjectRulesReviewSpec) Unmarshal(dAtA []byte) error

func (*SubjectRulesReviewSpec) XXX_DiscardUnknown

func (m *SubjectRulesReviewSpec) XXX_DiscardUnknown()

func (*SubjectRulesReviewSpec) XXX_Marshal

func (m *SubjectRulesReviewSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubjectRulesReviewSpec) XXX_Merge

func (m *SubjectRulesReviewSpec) XXX_Merge(src proto.Message)

func (*SubjectRulesReviewSpec) XXX_Size

func (m *SubjectRulesReviewSpec) XXX_Size() int

func (*SubjectRulesReviewSpec) XXX_Unmarshal

func (m *SubjectRulesReviewSpec) XXX_Unmarshal(b []byte) error

type SubjectRulesReviewStatus

type SubjectRulesReviewStatus struct {
	// Rules is the list of rules (no particular sort) that are allowed for the subject
	Rules []PolicyRule `json:"rules" protobuf:"bytes,1,rep,name=rules"`
	// EvaluationError can appear in combination with Rules.  It means some error happened during evaluation
	// that may have prevented additional rules from being populated.
	EvaluationError string `json:"evaluationError,omitempty" protobuf:"bytes,2,opt,name=evaluationError"`
}

SubjectRulesReviewStatus is contains the result of a rules check

func (*SubjectRulesReviewStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRulesReviewStatus.

func (*SubjectRulesReviewStatus) DeepCopyInto

func (in *SubjectRulesReviewStatus) DeepCopyInto(out *SubjectRulesReviewStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubjectRulesReviewStatus) Descriptor

func (*SubjectRulesReviewStatus) Descriptor() ([]byte, []int)

func (*SubjectRulesReviewStatus) Marshal

func (m *SubjectRulesReviewStatus) Marshal() (dAtA []byte, err error)

func (*SubjectRulesReviewStatus) MarshalTo

func (m *SubjectRulesReviewStatus) MarshalTo(dAtA []byte) (int, error)

func (*SubjectRulesReviewStatus) MarshalToSizedBuffer

func (m *SubjectRulesReviewStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubjectRulesReviewStatus) ProtoMessage

func (*SubjectRulesReviewStatus) ProtoMessage()

func (*SubjectRulesReviewStatus) Reset

func (m *SubjectRulesReviewStatus) Reset()

func (*SubjectRulesReviewStatus) Size

func (m *SubjectRulesReviewStatus) Size() (n int)

func (*SubjectRulesReviewStatus) String

func (this *SubjectRulesReviewStatus) String() string

func (SubjectRulesReviewStatus) SwaggerDoc

func (SubjectRulesReviewStatus) SwaggerDoc() map[string]string

func (*SubjectRulesReviewStatus) Unmarshal

func (m *SubjectRulesReviewStatus) Unmarshal(dAtA []byte) error

func (*SubjectRulesReviewStatus) XXX_DiscardUnknown

func (m *SubjectRulesReviewStatus) XXX_DiscardUnknown()

func (*SubjectRulesReviewStatus) XXX_Marshal

func (m *SubjectRulesReviewStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubjectRulesReviewStatus) XXX_Merge

func (m *SubjectRulesReviewStatus) XXX_Merge(src proto.Message)

func (*SubjectRulesReviewStatus) XXX_Size

func (m *SubjectRulesReviewStatus) XXX_Size() int

func (*SubjectRulesReviewStatus) XXX_Unmarshal

func (m *SubjectRulesReviewStatus) XXX_Unmarshal(b []byte) error

type UserRestriction

type UserRestriction struct {
	// Users specifies a list of literal user names.
	Users []string `json:"users" protobuf:"bytes,1,rep,name=users"`

	// Groups specifies a list of literal group names.
	// +nullable
	Groups []string `json:"groups" protobuf:"bytes,2,rep,name=groups"`

	// Selectors specifies a list of label selectors over user labels.
	// +nullable
	Selectors []metav1.LabelSelector `json:"labels" protobuf:"bytes,3,rep,name=labels"`
}

UserRestriction matches a user either by a string match on the user name, a string match on the name of a group to which the user belongs, or a label selector applied to the user labels.

func (*UserRestriction) DeepCopy

func (in *UserRestriction) DeepCopy() *UserRestriction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserRestriction.

func (*UserRestriction) DeepCopyInto

func (in *UserRestriction) DeepCopyInto(out *UserRestriction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserRestriction) Descriptor

func (*UserRestriction) Descriptor() ([]byte, []int)

func (*UserRestriction) Marshal

func (m *UserRestriction) Marshal() (dAtA []byte, err error)

func (*UserRestriction) MarshalTo

func (m *UserRestriction) MarshalTo(dAtA []byte) (int, error)

func (*UserRestriction) MarshalToSizedBuffer

func (m *UserRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserRestriction) ProtoMessage

func (*UserRestriction) ProtoMessage()

func (*UserRestriction) Reset

func (m *UserRestriction) Reset()

func (*UserRestriction) Size

func (m *UserRestriction) Size() (n int)

func (*UserRestriction) String

func (this *UserRestriction) String() string

func (UserRestriction) SwaggerDoc

func (UserRestriction) SwaggerDoc() map[string]string

func (*UserRestriction) Unmarshal

func (m *UserRestriction) Unmarshal(dAtA []byte) error

func (*UserRestriction) XXX_DiscardUnknown

func (m *UserRestriction) XXX_DiscardUnknown()

func (*UserRestriction) XXX_Marshal

func (m *UserRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserRestriction) XXX_Merge

func (m *UserRestriction) XXX_Merge(src proto.Message)

func (*UserRestriction) XXX_Size

func (m *UserRestriction) XXX_Size() int

func (*UserRestriction) XXX_Unmarshal

func (m *UserRestriction) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL