v1alpha1

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 4 Imported by: 0

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

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

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

func (in *Person) DeepCopy() *Person

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

func (*Person) DeepCopyInto

func (in *Person) DeepCopyInto(out *Person)

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

func (*Person) DeepCopyObject

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

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.

Jump to

Keyboard shortcuts

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