v1alpha1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 5 Imported by: 0

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

View Source
const (
	// GoogleGroupKind is a subject kind that tells our controller to interpret the entity
	// as a Google group
	GoogleGroupKind = "GoogleGroup"
)

Variables

View Source
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 Kind

func Kind(kind string) schema.GroupKind

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

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

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

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.

Jump to

Keyboard shortcuts

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