v1alpha1

package
v0.0.0-...-6ab7dab Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT Imports: 5 Imported by: 0

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

View Source
const (
	GroupName = "provisioner.k8s.carsonoid.net"
	V1alpha1  = "v1alpha1"

	WorkshopAttendeeResourceKind       = "WorkshopAttendee"
	WorkshopAttendeeResourceName       = "workshopattendee"
	WorkshopAttendeeResourceNamePlural = "workshopattendees"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: V1alpha1}

	WorkshopAttendeeCRDName = WorkshopAttendeeResourceNamePlural + "." + GroupName
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

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

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

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

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.

Jump to

Keyboard shortcuts

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