Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the rbac v1 API group +kubebuilder:object:generate=true +groupName=rbac.cattle.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rbac.cattle.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AppliedRule ¶
type AppliedRule struct { v12.PolicyRule `json:"inline,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*AppliedRule) DeepCopy ¶
func (in *AppliedRule) DeepCopy() *AppliedRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedRule.
func (*AppliedRule) DeepCopyInto ¶
func (in *AppliedRule) DeepCopyInto(out *AppliedRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequestStatus ¶
type RequestStatus string
const ( Success RequestStatus = "Successful" InQueue RequestStatus = "InQueue" Failure RequestStatus = "Failure" )
type RoleContract ¶
type RoleContract struct { Role v1.RoleRef `json:"role,omitempty"` Namespace string `json:"namespace,omitempty"` Operation Operation `json:"operation,omitempty"` }
func (*RoleContract) DeepCopy ¶
func (in *RoleContract) DeepCopy() *RoleContract
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleContract.
func (*RoleContract) DeepCopyInto ¶
func (in *RoleContract) DeepCopyInto(out *RoleContract)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectRegistrar ¶
type SubjectRegistrar struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubjectRegistrarSpec `json:"spec,omitempty"` Status SubjectRegistrarStatus `json:"status,omitempty"` }
SubjectRegistrar is the Schema for the subjectregistrars API
func (*SubjectRegistrar) DeepCopy ¶
func (in *SubjectRegistrar) DeepCopy() *SubjectRegistrar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRegistrar.
func (*SubjectRegistrar) DeepCopyInto ¶
func (in *SubjectRegistrar) DeepCopyInto(out *SubjectRegistrar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectRegistrar) DeepCopyObject ¶
func (in *SubjectRegistrar) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectRegistrarList ¶
type SubjectRegistrarList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SubjectRegistrar `json:"items"` }
SubjectRegistrarList contains a list of SubjectRegistrar
func (*SubjectRegistrarList) DeepCopy ¶
func (in *SubjectRegistrarList) DeepCopy() *SubjectRegistrarList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRegistrarList.
func (*SubjectRegistrarList) DeepCopyInto ¶
func (in *SubjectRegistrarList) DeepCopyInto(out *SubjectRegistrarList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectRegistrarList) DeepCopyObject ¶
func (in *SubjectRegistrarList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectRegistrarSpec ¶
type SubjectRegistrarSpec struct { // Foo is an example field of SubjectRegistrar. Edit subjectregistrar_types.go to remove/update SubjectID string `json:"subjectID,omitempty"` SubjectKind string `json:"subjectKind,omitempty"` }
SubjectRegistrarSpec defines the desired state of SubjectRegistrar
func (*SubjectRegistrarSpec) DeepCopy ¶
func (in *SubjectRegistrarSpec) DeepCopy() *SubjectRegistrarSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRegistrarSpec.
func (*SubjectRegistrarSpec) DeepCopyInto ¶
func (in *SubjectRegistrarSpec) DeepCopyInto(out *SubjectRegistrarSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectRegistrarStatus ¶
type SubjectRegistrarStatus struct { // AppliedRoles keeps track of counts of how many times a RoleRef has been applied to a namespace. The first string // key is the String from RoleRef and the second string represents namespace ID. AppliedRoles map[string]map[string]int `json:"appliedRoles,omitempty"` AppliedRules []AppliedRule `json:"appliedRules,omitempty"` // AddQueue keeps track of SubjectRoleRequests that need to be applied. The string represents the SRR's ID. AddQueue []string `json:"addQueue,omitempty"` RemoveQueue []string `json:"removeQueue,omitempty"` }
SubjectRegistrarStatus defines the observed state of SubjectRegistrar
func (*SubjectRegistrarStatus) DeepCopy ¶
func (in *SubjectRegistrarStatus) DeepCopy() *SubjectRegistrarStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRegistrarStatus.
func (*SubjectRegistrarStatus) DeepCopyInto ¶
func (in *SubjectRegistrarStatus) DeepCopyInto(out *SubjectRegistrarStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectRoleRequest ¶
type SubjectRoleRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubjectRoleRequestSpec `json:"spec,omitempty"` Status SubjectRoleRequestStatus `json:"status,omitempty"` }
SubjectRoleRequest is the Schema for the subjectrolerequests API
func (*SubjectRoleRequest) DeepCopy ¶
func (in *SubjectRoleRequest) DeepCopy() *SubjectRoleRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRoleRequest.
func (*SubjectRoleRequest) DeepCopyInto ¶
func (in *SubjectRoleRequest) DeepCopyInto(out *SubjectRoleRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectRoleRequest) DeepCopyObject ¶
func (in *SubjectRoleRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectRoleRequestList ¶
type SubjectRoleRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SubjectRoleRequest `json:"items"` }
SubjectRoleRequestList contains a list of SubjectRoleRequest
func (*SubjectRoleRequestList) DeepCopy ¶
func (in *SubjectRoleRequestList) DeepCopy() *SubjectRoleRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRoleRequestList.
func (*SubjectRoleRequestList) DeepCopyInto ¶
func (in *SubjectRoleRequestList) DeepCopyInto(out *SubjectRoleRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectRoleRequestList) DeepCopyObject ¶
func (in *SubjectRoleRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectRoleRequestSpec ¶
type SubjectRoleRequestSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file SubjectID string `json:"subjectID,omitempty"` SubjectKind string `json:"subjectKind,omitempty"` RoleContract RoleContract `json:"roleContract,omitempty"` }
SubjectRoleRequestSpec defines the desired state of SubjectRoleRequest
func (*SubjectRoleRequestSpec) DeepCopy ¶
func (in *SubjectRoleRequestSpec) DeepCopy() *SubjectRoleRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRoleRequestSpec.
func (*SubjectRoleRequestSpec) DeepCopyInto ¶
func (in *SubjectRoleRequestSpec) DeepCopyInto(out *SubjectRoleRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectRoleRequestStatus ¶
type SubjectRoleRequestStatus struct { // +optional Status RequestStatus `json:"status,omitempty"` FailureMessage string `json:"failureMessage,omitempty"` }
SubjectRoleRequestStatus defines the observed state of SubjectRoleRequest
func (*SubjectRoleRequestStatus) DeepCopy ¶
func (in *SubjectRoleRequestStatus) DeepCopy() *SubjectRoleRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRoleRequestStatus.
func (*SubjectRoleRequestStatus) DeepCopyInto ¶
func (in *SubjectRoleRequestStatus) DeepCopyInto(out *SubjectRoleRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.