api: k8s.io/api/rbac/v1beta1 Index | Files

package v1beta1

import "k8s.io/api/rbac/v1beta1"

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1beta1/generated.proto

It has these top-level messages:

AggregationRule
ClusterRole
ClusterRoleBinding
ClusterRoleBindingList
ClusterRoleList
PolicyRule
Role
RoleBinding
RoleBindingList
RoleList
RoleRef
Subject

Index

Package Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go

Constants

const (
    APIGroupAll    = "*"
    ResourceAll    = "*"
    VerbAll        = "*"
    NonResourceAll = "*"

    GroupKind          = "Group"
    ServiceAccountKind = "ServiceAccount"
    UserKind           = "User"

    // AutoUpdateAnnotationKey is the name of an annotation which prevents reconciliation if set to "false"
    AutoUpdateAnnotationKey = "rbac.authorization.kubernetes.io/autoupdate"
)
const GroupName = "rbac.authorization.k8s.io"

Variables

var (
    ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
var (
    // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
    // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

    AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type AggregationRule Uses

type AggregationRule struct {
    // ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    // If any of the selectors match, then the ClusterRole's permissions will be added
    // +optional
    ClusterRoleSelectors []metav1.LabelSelector `json:"clusterRoleSelectors,omitempty" protobuf:"bytes,1,rep,name=clusterRoleSelectors"`
}

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

func (*AggregationRule) DeepCopy Uses

func (in *AggregationRule) DeepCopy() *AggregationRule

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

func (*AggregationRule) DeepCopyInto Uses

func (in *AggregationRule) DeepCopyInto(out *AggregationRule)

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

func (*AggregationRule) Descriptor Uses

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

func (*AggregationRule) Marshal Uses

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

func (*AggregationRule) MarshalTo Uses

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

func (*AggregationRule) ProtoMessage Uses

func (*AggregationRule) ProtoMessage()

func (*AggregationRule) Reset Uses

func (m *AggregationRule) Reset()

func (*AggregationRule) Size Uses

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

func (*AggregationRule) String Uses

func (this *AggregationRule) String() string

func (AggregationRule) SwaggerDoc Uses

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

func (*AggregationRule) Unmarshal Uses

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

type ClusterRole Uses

type ClusterRole struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Rules holds all the PolicyRules for this ClusterRole
    // +optional
    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.
    // +optional
    AggregationRule *AggregationRule `json:"aggregationRule,omitempty" protobuf:"bytes,3,opt,name=aggregationRule"`
}

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

func (*ClusterRole) DeepCopy Uses

func (in *ClusterRole) DeepCopy() *ClusterRole

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

func (*ClusterRole) DeepCopyInto Uses

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 Uses

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

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

func (*ClusterRole) Descriptor Uses

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

func (*ClusterRole) Marshal Uses

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

func (*ClusterRole) MarshalTo Uses

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

func (*ClusterRole) ProtoMessage Uses

func (*ClusterRole) ProtoMessage()

func (*ClusterRole) Reset Uses

func (m *ClusterRole) Reset()

func (*ClusterRole) Size Uses

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

func (*ClusterRole) String Uses

func (this *ClusterRole) String() string

func (ClusterRole) SwaggerDoc Uses

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

func (*ClusterRole) Unmarshal Uses

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

type ClusterRoleBinding Uses

type ClusterRoleBinding struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Subjects holds references to the objects the role applies to.
    // +optional
    Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`

    // RoleRef can only reference a ClusterRole in the global namespace.
    // If the RoleRef cannot be resolved, the Authorizer must return an error.
    RoleRef RoleRef `json:"roleRef" protobuf:"bytes,3,opt,name=roleRef"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

func (*ClusterRoleBinding) DeepCopy Uses

func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding

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

func (*ClusterRoleBinding) DeepCopyInto Uses

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 Uses

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

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

func (*ClusterRoleBinding) Descriptor Uses

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

func (*ClusterRoleBinding) Marshal Uses

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

func (*ClusterRoleBinding) MarshalTo Uses

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

func (*ClusterRoleBinding) ProtoMessage Uses

func (*ClusterRoleBinding) ProtoMessage()

func (*ClusterRoleBinding) Reset Uses

func (m *ClusterRoleBinding) Reset()

func (*ClusterRoleBinding) Size Uses

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

func (*ClusterRoleBinding) String Uses

func (this *ClusterRoleBinding) String() string

func (ClusterRoleBinding) SwaggerDoc Uses

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

func (*ClusterRoleBinding) Unmarshal Uses

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

type ClusterRoleBindingList Uses

type ClusterRoleBindingList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    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

func (*ClusterRoleBindingList) DeepCopy Uses

func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList

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

func (*ClusterRoleBindingList) DeepCopyInto Uses

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 Uses

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

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

func (*ClusterRoleBindingList) Descriptor Uses

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

func (*ClusterRoleBindingList) Marshal Uses

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

func (*ClusterRoleBindingList) MarshalTo Uses

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

func (*ClusterRoleBindingList) ProtoMessage Uses

func (*ClusterRoleBindingList) ProtoMessage()

func (*ClusterRoleBindingList) Reset Uses

func (m *ClusterRoleBindingList) Reset()

func (*ClusterRoleBindingList) Size Uses

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

func (*ClusterRoleBindingList) String Uses

func (this *ClusterRoleBindingList) String() string

func (ClusterRoleBindingList) SwaggerDoc Uses

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

func (*ClusterRoleBindingList) Unmarshal Uses

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

type ClusterRoleList Uses

type ClusterRoleList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    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

func (*ClusterRoleList) DeepCopy Uses

func (in *ClusterRoleList) DeepCopy() *ClusterRoleList

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

func (*ClusterRoleList) DeepCopyInto Uses

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 Uses

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

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

func (*ClusterRoleList) Descriptor Uses

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

func (*ClusterRoleList) Marshal Uses

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

func (*ClusterRoleList) MarshalTo Uses

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

func (*ClusterRoleList) ProtoMessage Uses

func (*ClusterRoleList) ProtoMessage()

func (*ClusterRoleList) Reset Uses

func (m *ClusterRoleList) Reset()

func (*ClusterRoleList) Size Uses

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

func (*ClusterRoleList) String Uses

func (this *ClusterRoleList) String() string

func (ClusterRoleList) SwaggerDoc Uses

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

func (*ClusterRoleList) Unmarshal Uses

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

type PolicyRule Uses

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"`

    // APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of
    // the enumerated resources in any API group will be allowed.
    // +optional
    APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,2,rep,name=apiGroups"`
    // Resources is a list of resources this rule applies to.  '*' represents all resources in the specified apiGroups.
    // '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.
    // +optional
    Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"`
    // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
    // +optional
    ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,4,rep,name=resourceNames"`

    // NonResourceURLs 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
    // Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
    // Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.
    // +optional
    NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,5,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) DeepCopy Uses

func (in *PolicyRule) DeepCopy() *PolicyRule

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

func (*PolicyRule) DeepCopyInto Uses

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 Uses

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

func (*PolicyRule) Marshal Uses

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

func (*PolicyRule) MarshalTo Uses

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

func (*PolicyRule) ProtoMessage Uses

func (*PolicyRule) ProtoMessage()

func (*PolicyRule) Reset Uses

func (m *PolicyRule) Reset()

func (*PolicyRule) Size Uses

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

func (*PolicyRule) String Uses

func (this *PolicyRule) String() string

func (PolicyRule) SwaggerDoc Uses

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

func (*PolicyRule) Unmarshal Uses

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

type Role Uses

type Role struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

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

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

func (*Role) DeepCopy Uses

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto Uses

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 Uses

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

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

func (*Role) Descriptor Uses

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

func (*Role) Marshal Uses

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

func (*Role) MarshalTo Uses

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

func (*Role) ProtoMessage Uses

func (*Role) ProtoMessage()

func (*Role) Reset Uses

func (m *Role) Reset()

func (*Role) Size Uses

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

func (*Role) String Uses

func (this *Role) String() string

func (Role) SwaggerDoc Uses

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

func (*Role) Unmarshal Uses

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

type RoleBinding Uses

type RoleBinding struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Subjects holds references to the objects the role applies to.
    // +optional
    Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`

    // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
    // If the RoleRef cannot be resolved, the Authorizer must return an error.
    RoleRef RoleRef `json:"roleRef" protobuf:"bytes,3,opt,name=roleRef"`
}

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

func (*RoleBinding) DeepCopy Uses

func (in *RoleBinding) DeepCopy() *RoleBinding

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

func (*RoleBinding) DeepCopyInto Uses

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 Uses

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

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

func (*RoleBinding) Descriptor Uses

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

func (*RoleBinding) Marshal Uses

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

func (*RoleBinding) MarshalTo Uses

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

func (*RoleBinding) ProtoMessage Uses

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) Reset Uses

func (m *RoleBinding) Reset()

func (*RoleBinding) Size Uses

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

func (*RoleBinding) String Uses

func (this *RoleBinding) String() string

func (RoleBinding) SwaggerDoc Uses

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

func (*RoleBinding) Unmarshal Uses

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

type RoleBindingList Uses

type RoleBindingList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    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

func (*RoleBindingList) DeepCopy Uses

func (in *RoleBindingList) DeepCopy() *RoleBindingList

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

func (*RoleBindingList) DeepCopyInto Uses

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 Uses

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

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

func (*RoleBindingList) Descriptor Uses

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

func (*RoleBindingList) Marshal Uses

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

func (*RoleBindingList) MarshalTo Uses

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

func (*RoleBindingList) ProtoMessage Uses

func (*RoleBindingList) ProtoMessage()

func (*RoleBindingList) Reset Uses

func (m *RoleBindingList) Reset()

func (*RoleBindingList) Size Uses

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

func (*RoleBindingList) String Uses

func (this *RoleBindingList) String() string

func (RoleBindingList) SwaggerDoc Uses

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

func (*RoleBindingList) Unmarshal Uses

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

type RoleList Uses

type RoleList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // +optional
    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

func (*RoleList) DeepCopy Uses

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto Uses

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 Uses

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

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

func (*RoleList) Descriptor Uses

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

func (*RoleList) Marshal Uses

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

func (*RoleList) MarshalTo Uses

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

func (*RoleList) ProtoMessage Uses

func (*RoleList) ProtoMessage()

func (*RoleList) Reset Uses

func (m *RoleList) Reset()

func (*RoleList) Size Uses

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

func (*RoleList) String Uses

func (this *RoleList) String() string

func (RoleList) SwaggerDoc Uses

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

func (*RoleList) Unmarshal Uses

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

type RoleRef Uses

type RoleRef struct {
    // APIGroup is the group for the resource being referenced
    APIGroup string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
    // Kind is the type of resource being referenced
    Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
    // Name is the name of resource being referenced
    Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

RoleRef contains information that points to the role being used

func (*RoleRef) DeepCopy Uses

func (in *RoleRef) DeepCopy() *RoleRef

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

func (*RoleRef) DeepCopyInto Uses

func (in *RoleRef) DeepCopyInto(out *RoleRef)

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

func (*RoleRef) Descriptor Uses

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

func (*RoleRef) Marshal Uses

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

func (*RoleRef) MarshalTo Uses

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

func (*RoleRef) ProtoMessage Uses

func (*RoleRef) ProtoMessage()

func (*RoleRef) Reset Uses

func (m *RoleRef) Reset()

func (*RoleRef) Size Uses

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

func (*RoleRef) String Uses

func (this *RoleRef) String() string

func (RoleRef) SwaggerDoc Uses

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

func (*RoleRef) Unmarshal Uses

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

type Subject Uses

type Subject struct {
    // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
    // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
    Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    // APIGroup holds the API group of the referenced subject.
    // Defaults to "" for ServiceAccount subjects.
    // Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
    // +optional
    APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,2,opt.name=apiGroup"`
    // Name of the object being referenced.
    Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
    // Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
    // the Authorizer should report an error.
    // +optional
    Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
}

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

func (*Subject) DeepCopy Uses

func (in *Subject) DeepCopy() *Subject

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

func (*Subject) DeepCopyInto Uses

func (in *Subject) DeepCopyInto(out *Subject)

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

func (*Subject) Descriptor Uses

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

func (*Subject) Marshal Uses

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

func (*Subject) MarshalTo Uses

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

func (*Subject) ProtoMessage Uses

func (*Subject) ProtoMessage()

func (*Subject) Reset Uses

func (m *Subject) Reset()

func (*Subject) Size Uses

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

func (*Subject) String Uses

func (this *Subject) String() string

func (Subject) SwaggerDoc Uses

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

func (*Subject) Unmarshal Uses

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

Package v1beta1 imports 9 packages (graph) and is imported by 391 packages. Updated 2019-06-02. Refresh now. Tools for package owners.