Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the jac v1alpha1 API group +kubebuilder:object:generate=true +groupName=jac.nesto.ca
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "jac.nesto.ca", Version: "v1alpha1"} // 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 Group ¶
type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupSpec `json:"spec,omitempty"` }
Group is the Schema for the groups API
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of Group
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupSpec ¶
type GroupSpec struct { // Full display name of the group. FullName string `json:"fullName,omitempty"` // Optional email address of the group. Email string `json:"email,omitempty"` // Optional emoji to picture group in a more visual way. Emoji string `json:"emoji,omitempty"` // Type of group (eg: team, role, stream...) Type string `json:"type,omitempty"` // Parent group that will be inherited by all persons belonging to this group and its subgroups. Parent string `json:"parent,omitempty"` // Arbitrary custom values associated with group. Values runtime.RawExtension `json:"values,omitempty"` }
GroupSpec defines the desired state of Group
func (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Person ¶
type Person struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PersonSpec `json:"spec,omitempty"` }
Person is the Schema for the people API
func (*Person) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Person.
func (*Person) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Person) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersonList ¶
type PersonList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Person `json:"items"` }
PersonList contains a list of Person
func (*PersonList) DeepCopy ¶
func (in *PersonList) DeepCopy() *PersonList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersonList.
func (*PersonList) DeepCopyInto ¶
func (in *PersonList) DeepCopyInto(out *PersonList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersonList) DeepCopyObject ¶
func (in *PersonList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersonSpec ¶
type PersonSpec struct { // First name of person. FirstName string `json:"firstName,omitempty"` // Last name of person. LastName string `json:"lastName,omitempty"` // Email address of person. Email string `json:"email,omitempty"` // Groups this person belongs to (eg: teams, roles, streams...). Groups []string `json:"groups,omitempty"` // Lead or manager this person is reporting to, according to org chart. Parent string `json:"parent,omitempty"` // Arbitrary custom values associated with person. Values runtime.RawExtension `json:"values,omitempty"` }
PersonSpec defines the desired state of Person
func (*PersonSpec) DeepCopy ¶
func (in *PersonSpec) DeepCopy() *PersonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersonSpec.
func (*PersonSpec) DeepCopyInto ¶
func (in *PersonSpec) DeepCopyInto(out *PersonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.