Documentation ¶
Overview ¶
Package v1alpha1 implements the v1alpha1 version of provisioner resources
These types serve as source file for client-go code generation. The types here also result in a client-go compatible client.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func Resource(resource string) schema.GroupResource
- type WorkshopAttendee
- type WorkshopAttendeeList
- type WorkshopAttendeeSpec
- type WorkshopAttendeeState
- type WorkshopAttendeeStatus
Constants ¶
const ( GroupName = "provisioner.k8s.carsonoid.net" V1alpha1 = "v1alpha1" WorkshopAttendeeResourceKind = "WorkshopAttendee" WorkshopAttendeeResourceName = "workshopattendee" WorkshopAttendeeResourceNamePlural = "workshopattendees" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: V1alpha1} WorkshopAttendeeCRDName = WorkshopAttendeeResourceNamePlural + "." + GroupName )
Functions ¶
func RegisterDeepCopies
deprecated
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type WorkshopAttendee ¶
type WorkshopAttendee struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the config Spec WorkshopAttendeeSpec `json:"spec,omitempty"` // Status defines the current state Status WorkshopAttendeeStatus `json:"status,omitempty"` }
WorkshopAttendee represents an attendee that needs resource provisioned
func (*WorkshopAttendee) DeepCopy ¶
func (in *WorkshopAttendee) DeepCopy() *WorkshopAttendee
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkshopAttendee.
func (*WorkshopAttendee) DeepCopyInto ¶
func (in *WorkshopAttendee) DeepCopyInto(out *WorkshopAttendee)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkshopAttendee) DeepCopyObject ¶
func (in *WorkshopAttendee) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkshopAttendeeList ¶
type WorkshopAttendeeList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata"` Items []WorkshopAttendee `json:"items"` }
WorkshopAttendeeList is a list of PodAssignmentRules
func (*WorkshopAttendeeList) DeepCopy ¶
func (in *WorkshopAttendeeList) DeepCopy() *WorkshopAttendeeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkshopAttendeeList.
func (*WorkshopAttendeeList) DeepCopyInto ¶
func (in *WorkshopAttendeeList) DeepCopyInto(out *WorkshopAttendeeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkshopAttendeeList) DeepCopyObject ¶
func (in *WorkshopAttendeeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkshopAttendeeSpec ¶
type WorkshopAttendeeSpec struct { // Email is the address that the credentials should be sent to Email string `json:"email,omitempty"` }
WorkshopAttendeeSpec describes extra attributes of the attendee
func (*WorkshopAttendeeSpec) DeepCopy ¶
func (in *WorkshopAttendeeSpec) DeepCopy() *WorkshopAttendeeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkshopAttendeeSpec.
func (*WorkshopAttendeeSpec) DeepCopyInto ¶
func (in *WorkshopAttendeeSpec) DeepCopyInto(out *WorkshopAttendeeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkshopAttendeeState ¶
type WorkshopAttendeeState string
const ( WorkshopAttendeeStateReady WorkshopAttendeeState = "Ready" WorkshopAttendeeStateCreating WorkshopAttendeeState = "Creating" WorkshopAttendeeStateDeleting WorkshopAttendeeState = "Deleting" )
type WorkshopAttendeeStatus ¶
type WorkshopAttendeeStatus struct { // State is the current overall state of provisioning State WorkshopAttendeeState `json:"state,omitempty"` // Notified is the last email notified on completion Notified string `json:"notified,omitempty"` // Children defines the time each child resource was last made Children map[string]metav1.Time `json:"children,omitempty"` // Kubeconfig is the multiline yaml string that represents a valid kubectl config file for a completed attendee Kubeconfig string `json:"kubeconfig,omitempty"` }
WorkshopAttendeeStatus describes the current state of provisioning
func (*WorkshopAttendeeStatus) DeepCopy ¶
func (in *WorkshopAttendeeStatus) DeepCopy() *WorkshopAttendeeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkshopAttendeeStatus.
func (*WorkshopAttendeeStatus) DeepCopyInto ¶
func (in *WorkshopAttendeeStatus) DeepCopyInto(out *WorkshopAttendeeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.