Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/gocardless/theatre/pkg/apis/rbac +k8s:defaulter-gen=TypeMeta +groupName=rbac.crd.gocardless.com
Index ¶
Constants ¶
const ( // GoogleGroupKind is a subject kind that tells our controller to interpret the entity // as a Google group GoogleGroupKind = "GoogleGroup" )
Variables ¶
var ( // GroupName is taken from our parent API group GroupName = rbac.GroupName // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: rbac.GroupName, Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type DirectoryRoleBinding ¶
type DirectoryRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DirectoryRoleBindingSpec `json:"spec"` }
DirectoryRoleBinding only extends the standard RoleBinding resource provided by Kubernetes.
func (*DirectoryRoleBinding) DeepCopy ¶
func (in *DirectoryRoleBinding) DeepCopy() *DirectoryRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryRoleBinding.
func (*DirectoryRoleBinding) DeepCopyInto ¶
func (in *DirectoryRoleBinding) DeepCopyInto(out *DirectoryRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DirectoryRoleBinding) DeepCopyObject ¶
func (in *DirectoryRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DirectoryRoleBindingList ¶
type DirectoryRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DirectoryRoleBinding `json:"items"` }
func (*DirectoryRoleBindingList) DeepCopy ¶
func (in *DirectoryRoleBindingList) DeepCopy() *DirectoryRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryRoleBindingList.
func (*DirectoryRoleBindingList) DeepCopyInto ¶
func (in *DirectoryRoleBindingList) DeepCopyInto(out *DirectoryRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DirectoryRoleBindingList) DeepCopyObject ¶
func (in *DirectoryRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DirectoryRoleBindingSpec ¶
type DirectoryRoleBindingSpec struct { Subjects []rbacv1.Subject `json:"subjects"` RoleRef rbacv1.RoleRef `json:"roleRef"` }
func (*DirectoryRoleBindingSpec) DeepCopy ¶
func (in *DirectoryRoleBindingSpec) DeepCopy() *DirectoryRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryRoleBindingSpec.
func (*DirectoryRoleBindingSpec) DeepCopyInto ¶
func (in *DirectoryRoleBindingSpec) DeepCopyInto(out *DirectoryRoleBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.