Documentation ¶
Overview ¶
+groupName=hobbyfarm.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AccessCode
- type AccessCodeList
- type AccessCodeSpec
- type CMSStruct
- type CapacityMode
- type Course
- type CourseList
- type CourseSpec
- type DynamicBindConfiguration
- type DynamicBindConfigurationList
- type DynamicBindConfigurationSpec
- type DynamicBindRequest
- type DynamicBindRequestList
- type DynamicBindRequestSpec
- type DynamicBindRequestStatus
- type Environment
- type EnvironmentList
- type EnvironmentSpec
- type EnvironmentStatus
- type Progress
- type ProgressList
- type ProgressSpec
- type ProgressStep
- type Scenario
- type ScenarioList
- type ScenarioSpec
- type ScenarioStep
- type ScheduledEvent
- type ScheduledEventList
- type ScheduledEventSpec
- type ScheduledEventStatus
- type Session
- type SessionList
- type SessionSpec
- type SessionStatus
- type User
- type UserList
- type UserSpec
- type VirtualMachine
- type VirtualMachineClaim
- type VirtualMachineClaimList
- type VirtualMachineClaimSpec
- type VirtualMachineClaimStatus
- type VirtualMachineClaimVM
- type VirtualMachineList
- type VirtualMachineProvision
- type VirtualMachineSet
- type VirtualMachineSetList
- type VirtualMachineSetSpec
- type VirtualMachineSetStatus
- type VirtualMachineSpec
- type VirtualMachineStatus
- type VirtualMachineTemplate
- type VirtualMachineTemplateList
- type VirtualMachineTemplateSpec
- type VmStatus
Constants ¶
const ( VmStatusRFP VmStatus = "readyforprovisioning" VmStatusProvisioned VmStatus = "provisioned" VmStatusRunning VmStatus = "running" VmStatusTerminating VmStatus = "terminating" CapacityModeRaw CapacityMode = "raw" CapacityModeCount CapacityMode = "count" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "hobbyfarm.io", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AccessCode ¶
type AccessCode struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessCodeSpec `json:"spec"` }
func (*AccessCode) DeepCopy ¶
func (in *AccessCode) DeepCopy() *AccessCode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessCode.
func (*AccessCode) DeepCopyInto ¶
func (in *AccessCode) DeepCopyInto(out *AccessCode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessCode) DeepCopyObject ¶
func (in *AccessCode) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessCodeList ¶
type AccessCodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AccessCode `json:"items"` }
func (*AccessCodeList) DeepCopy ¶
func (in *AccessCodeList) DeepCopy() *AccessCodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessCodeList.
func (*AccessCodeList) DeepCopyInto ¶
func (in *AccessCodeList) DeepCopyInto(out *AccessCodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessCodeList) DeepCopyObject ¶
func (in *AccessCodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessCodeSpec ¶
type AccessCodeSpec struct { Code string `json:"code"` Description string `json:"description"` Scenarios []string `json:"scenarios"` Courses []string `json:"courses"` Expiration string `json:"expiration"` VirtualMachineSets []string `json:"vmsets"` RestrictedBind bool `json:"restricted_bind"` RestrictedBindValue string `json:"restricted_bind_value"` Printable bool `json:"printable"` }
func (*AccessCodeSpec) DeepCopy ¶
func (in *AccessCodeSpec) DeepCopy() *AccessCodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessCodeSpec.
func (*AccessCodeSpec) DeepCopyInto ¶
func (in *AccessCodeSpec) DeepCopyInto(out *AccessCodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CMSStruct ¶
type CMSStruct struct { CPU int `json:"cpu"` // cores Memory int `json:"memory"` // in MB Storage int `json:"storage"` // in GB }
func (*CMSStruct) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CMSStruct.
func (*CMSStruct) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CapacityMode ¶
type CapacityMode string
type Course ¶ added in v0.1.8
type Course struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CourseSpec `json:"spec"` }
func (*Course) DeepCopy ¶ added in v0.1.8
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Course.
func (*Course) DeepCopyInto ¶ added in v0.1.8
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Course) DeepCopyObject ¶ added in v0.1.8
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CourseList ¶ added in v0.1.8
type CourseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Course `json:"items"` }
func (*CourseList) DeepCopy ¶ added in v0.1.8
func (in *CourseList) DeepCopy() *CourseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CourseList.
func (*CourseList) DeepCopyInto ¶ added in v0.1.8
func (in *CourseList) DeepCopyInto(out *CourseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CourseList) DeepCopyObject ¶ added in v0.1.8
func (in *CourseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CourseSpec ¶ added in v0.1.8
type CourseSpec struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` Scenarios []string `json:"scenarios"` Categories []string `json:"categories"` VirtualMachines []map[string]string `json:"virtualmachines"` KeepAliveDuration string `json:"keepalive_duration"` PauseDuration string `json:"pause_duration"` Pauseable bool `json:"pauseable"` KeepVM bool `json:"keep_vm"` }
func (*CourseSpec) DeepCopy ¶ added in v0.1.8
func (in *CourseSpec) DeepCopy() *CourseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CourseSpec.
func (*CourseSpec) DeepCopyInto ¶ added in v0.1.8
func (in *CourseSpec) DeepCopyInto(out *CourseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicBindConfiguration ¶
type DynamicBindConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DynamicBindConfigurationSpec `json:"spec"` }
func (*DynamicBindConfiguration) DeepCopy ¶
func (in *DynamicBindConfiguration) DeepCopy() *DynamicBindConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindConfiguration.
func (*DynamicBindConfiguration) DeepCopyInto ¶
func (in *DynamicBindConfiguration) DeepCopyInto(out *DynamicBindConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicBindConfiguration) DeepCopyObject ¶
func (in *DynamicBindConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicBindConfigurationList ¶
type DynamicBindConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DynamicBindConfiguration `json:"items"` }
func (*DynamicBindConfigurationList) DeepCopy ¶
func (in *DynamicBindConfigurationList) DeepCopy() *DynamicBindConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindConfigurationList.
func (*DynamicBindConfigurationList) DeepCopyInto ¶
func (in *DynamicBindConfigurationList) DeepCopyInto(out *DynamicBindConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicBindConfigurationList) DeepCopyObject ¶
func (in *DynamicBindConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicBindConfigurationSpec ¶
type DynamicBindConfigurationSpec struct { Id string `json:"id"` Environment string `json:"environment"` BaseName string `json:"base_name"` RestrictedBind bool `json:"restricted_bind"` RestrictedBindValue string `json:"restricted_bind_value"` BurstCountCapacity map[string]int `json:"burst_count_capacity"` BurstCapacity CMSStruct `json:"burst_capacity"` }
func (*DynamicBindConfigurationSpec) DeepCopy ¶
func (in *DynamicBindConfigurationSpec) DeepCopy() *DynamicBindConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindConfigurationSpec.
func (*DynamicBindConfigurationSpec) DeepCopyInto ¶
func (in *DynamicBindConfigurationSpec) DeepCopyInto(out *DynamicBindConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicBindRequest ¶
type DynamicBindRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DynamicBindRequestSpec `json:"spec"` Status DynamicBindRequestStatus `json:"status"` }
func (*DynamicBindRequest) DeepCopy ¶
func (in *DynamicBindRequest) DeepCopy() *DynamicBindRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindRequest.
func (*DynamicBindRequest) DeepCopyInto ¶
func (in *DynamicBindRequest) DeepCopyInto(out *DynamicBindRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicBindRequest) DeepCopyObject ¶
func (in *DynamicBindRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicBindRequestList ¶
type DynamicBindRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DynamicBindRequest `json:"items"` }
func (*DynamicBindRequestList) DeepCopy ¶
func (in *DynamicBindRequestList) DeepCopy() *DynamicBindRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindRequestList.
func (*DynamicBindRequestList) DeepCopyInto ¶
func (in *DynamicBindRequestList) DeepCopyInto(out *DynamicBindRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicBindRequestList) DeepCopyObject ¶
func (in *DynamicBindRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicBindRequestSpec ¶
type DynamicBindRequestSpec struct { Id string `json:"id"` VirtualMachineClaim string `json:"vm_claim"` Attempts int `json:"attempts"` }
func (*DynamicBindRequestSpec) DeepCopy ¶
func (in *DynamicBindRequestSpec) DeepCopy() *DynamicBindRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindRequestSpec.
func (*DynamicBindRequestSpec) DeepCopyInto ¶
func (in *DynamicBindRequestSpec) DeepCopyInto(out *DynamicBindRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicBindRequestStatus ¶
type DynamicBindRequestStatus struct { CurrentAttempts int `json:"current_attempts"` Expired bool `json:"expired"` Fulfilled bool `json:"fulfilled"` DynamicBindConfigurationId string `json:"dynamic_bind_configuration_id"` VirtualMachineIds map[string]string `json:"virtual_machines_id"` }
func (*DynamicBindRequestStatus) DeepCopy ¶
func (in *DynamicBindRequestStatus) DeepCopy() *DynamicBindRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicBindRequestStatus.
func (*DynamicBindRequestStatus) DeepCopyInto ¶
func (in *DynamicBindRequestStatus) DeepCopyInto(out *DynamicBindRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EnvironmentSpec `json:"spec"` Status EnvironmentStatus `json:"status"` }
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentList ¶
type EnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Environment `json:"items"` }
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentSpec ¶
type EnvironmentSpec struct { DisplayName string `json:"display_name"` DNSSuffix string `json:"dnssuffix"` Provider string `json:"provider"` // aws,vsphere,azure,custom ;) TemplateMapping map[string]map[string]string `json:"template_mapping"` // lol EnvironmentSpecifics map[string]string `json:"environment_specifics"` IPTranslationMap map[string]string `json:"ip_translation_map"` WsEndpoint string `json:"ws_endpoint"` CapacityMode CapacityMode `json:"capacity_mode"` BurstCapable bool `json:"burst_capable"` CountCapacity map[string]int `json:"count_capacity"` Capacity CMSStruct `json:"capacity"` BurstCountCapacity map[string]int `json:"burst_count_capacity"` BurstCapacity CMSStruct `json:"burst_capacity"` }
environment is to be like AWS-us-west-2 hermes
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentStatus ¶
type EnvironmentStatus struct { Used CMSStruct `json:"used"` AvailableCount map[string]int `json:"available_count"` }
func (*EnvironmentStatus) DeepCopy ¶
func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.
func (*EnvironmentStatus) DeepCopyInto ¶
func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Progress ¶ added in v1.0.0
type Progress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProgressSpec `json:"spec"` }
func (*Progress) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Progress.
func (*Progress) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Progress) DeepCopyObject ¶ added in v1.0.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProgressList ¶ added in v1.0.0
type ProgressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Progress `json:"items"` }
func (*ProgressList) DeepCopy ¶ added in v1.0.0
func (in *ProgressList) DeepCopy() *ProgressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProgressList.
func (*ProgressList) DeepCopyInto ¶ added in v1.0.0
func (in *ProgressList) DeepCopyInto(out *ProgressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProgressList) DeepCopyObject ¶ added in v1.0.0
func (in *ProgressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProgressSpec ¶ added in v1.0.0
type ProgressSpec struct { Id string `json:"id"` CurrentStep int `json:"current_step"` MaxStep int `json:"max_step"` TotalStep int `json:"total_step"` Course string `json:"course"` Scenario string `json:"scenario"` UserId string `json:"user"` Started string `json:"started"` LastUpdate string `json:"last_update"` Finished string `json:"finished"` Steps []ProgressStep `json:"steps"` }
func (*ProgressSpec) DeepCopy ¶ added in v1.0.0
func (in *ProgressSpec) DeepCopy() *ProgressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProgressSpec.
func (*ProgressSpec) DeepCopyInto ¶ added in v1.0.0
func (in *ProgressSpec) DeepCopyInto(out *ProgressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProgressStep ¶ added in v1.0.0
type Scenario ¶
type Scenario struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ScenarioSpec `json:"spec"` }
func (*Scenario) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scenario.
func (*Scenario) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Scenario) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScenarioList ¶
type ScenarioList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Scenario `json:"items"` }
func (*ScenarioList) DeepCopy ¶
func (in *ScenarioList) DeepCopy() *ScenarioList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScenarioList.
func (*ScenarioList) DeepCopyInto ¶
func (in *ScenarioList) DeepCopyInto(out *ScenarioList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScenarioList) DeepCopyObject ¶
func (in *ScenarioList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScenarioSpec ¶
type ScenarioSpec struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` Steps []ScenarioStep `json:"steps"` Categories []string `json:"categories"` Tags []string `json:"tags"` VirtualMachines []map[string]string `json:"virtualmachines"` KeepAliveDuration string `json:"keepalive_duration"` PauseDuration string `json:"pause_duration"` Pauseable bool `json:"pauseable"` }
func (*ScenarioSpec) DeepCopy ¶
func (in *ScenarioSpec) DeepCopy() *ScenarioSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScenarioSpec.
func (*ScenarioSpec) DeepCopyInto ¶
func (in *ScenarioSpec) DeepCopyInto(out *ScenarioSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScenarioStep ¶
func (*ScenarioStep) DeepCopy ¶
func (in *ScenarioStep) DeepCopy() *ScenarioStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScenarioStep.
func (*ScenarioStep) DeepCopyInto ¶
func (in *ScenarioStep) DeepCopyInto(out *ScenarioStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledEvent ¶
type ScheduledEvent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ScheduledEventSpec `json:"spec"` Status ScheduledEventStatus `json:"status"` }
func (*ScheduledEvent) DeepCopy ¶
func (in *ScheduledEvent) DeepCopy() *ScheduledEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledEvent.
func (*ScheduledEvent) DeepCopyInto ¶
func (in *ScheduledEvent) DeepCopyInto(out *ScheduledEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledEvent) DeepCopyObject ¶
func (in *ScheduledEvent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledEventList ¶
type ScheduledEventList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ScheduledEvent `json:"items"` }
func (*ScheduledEventList) DeepCopy ¶
func (in *ScheduledEventList) DeepCopy() *ScheduledEventList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledEventList.
func (*ScheduledEventList) DeepCopyInto ¶
func (in *ScheduledEventList) DeepCopyInto(out *ScheduledEventList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledEventList) DeepCopyObject ¶
func (in *ScheduledEventList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledEventSpec ¶
type ScheduledEventSpec struct { Creator string `json:"creator"` Name string `json:"event_name"` Description string `json:"description"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` OnDemand bool `json:"on_demand"` // whether or not to provision VMs on-demand RequiredVirtualMachines map[string]map[string]int `json:"required_vms"` // map of environment to a map of strings it should be environment: vm template: count AccessCode string `json:"access_code"` RestrictedBind bool `json:"restricted_bind"` // if restricted_bind is true, we need to make the scenario sessions when they get created only bind to vmsets that are created by this scheduledevent RestrictedBindValue string `json:"restricted_bind_value"` Printable bool `json:"printable"` Scenarios []string `json:"scenarios"` Courses []string `json:"courses"` }
func (*ScheduledEventSpec) DeepCopy ¶
func (in *ScheduledEventSpec) DeepCopy() *ScheduledEventSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledEventSpec.
func (*ScheduledEventSpec) DeepCopyInto ¶
func (in *ScheduledEventSpec) DeepCopyInto(out *ScheduledEventSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledEventStatus ¶
type ScheduledEventStatus struct { AccessCodeId string `json:"access_code_id"` VirtualMachineSets []string `json:"vmsets"` Active bool `json:"active"` Provisioned bool `json:"provisioned"` Ready bool `json:"ready"` Finished bool `json:"finished"` }
func (*ScheduledEventStatus) DeepCopy ¶
func (in *ScheduledEventStatus) DeepCopy() *ScheduledEventStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledEventStatus.
func (*ScheduledEventStatus) DeepCopyInto ¶
func (in *ScheduledEventStatus) DeepCopyInto(out *ScheduledEventStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Session ¶ added in v0.1.8
type Session struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SessionSpec `json:"spec"` Status SessionStatus `json:"status"` }
func (*Session) DeepCopy ¶ added in v0.1.8
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.
func (*Session) DeepCopyInto ¶ added in v0.1.8
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Session) DeepCopyObject ¶ added in v0.1.8
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SessionList ¶ added in v0.1.8
type SessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Session `json:"items"` }
func (*SessionList) DeepCopy ¶ added in v0.1.8
func (in *SessionList) DeepCopy() *SessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionList.
func (*SessionList) DeepCopyInto ¶ added in v0.1.8
func (in *SessionList) DeepCopyInto(out *SessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SessionList) DeepCopyObject ¶ added in v0.1.8
func (in *SessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SessionSpec ¶ added in v0.1.8
type SessionSpec struct { Id string `json:"id"` ScenarioId string `json:"scenario"` CourseId string `json:"course"` KeepCourseVM bool `json:"keep_course_vm"` UserId string `json:"user"` VmClaimSet []string `json:"vm_claim"` AccessCode string `json:"access_code"` }
func (*SessionSpec) DeepCopy ¶ added in v0.1.8
func (in *SessionSpec) DeepCopy() *SessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpec.
func (*SessionSpec) DeepCopyInto ¶ added in v0.1.8
func (in *SessionSpec) DeepCopyInto(out *SessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionStatus ¶ added in v0.1.8
type SessionStatus struct { Paused bool `json:"paused"` PausedTime string `json:"paused_time"` Active bool `json:"active"` Finished bool `json:"finished"` StartTime string `json:"start_time"` ExpirationTime string `json:"end_time"` }
func (*SessionStatus) DeepCopy ¶ added in v0.1.8
func (in *SessionStatus) DeepCopy() *SessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionStatus.
func (*SessionStatus) DeepCopyInto ¶ added in v0.1.8
func (in *SessionStatus) DeepCopyInto(out *SessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []User `json:"items"` }
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { Id string `json:"id"` Email string `json:"email"` Password string `json:"password"` AccessCodes []string `json:"access_codes"` Admin bool `json:"admin"` Settings map[string]string `json:"settings"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachine ¶
type VirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineSpec `json:"spec"` Status VirtualMachineStatus `json:"status,omitempty"` }
func (*VirtualMachine) DeepCopy ¶
func (in *VirtualMachine) DeepCopy() *VirtualMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine.
func (*VirtualMachine) DeepCopyInto ¶
func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachine) DeepCopyObject ¶
func (in *VirtualMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineClaim ¶
type VirtualMachineClaim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineClaimSpec `json:"spec"` Status VirtualMachineClaimStatus `json:"status,omitempty"` }
func (*VirtualMachineClaim) DeepCopy ¶
func (in *VirtualMachineClaim) DeepCopy() *VirtualMachineClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClaim.
func (*VirtualMachineClaim) DeepCopyInto ¶
func (in *VirtualMachineClaim) DeepCopyInto(out *VirtualMachineClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClaim) DeepCopyObject ¶
func (in *VirtualMachineClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineClaimList ¶
type VirtualMachineClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineClaim `json:"items"` }
func (*VirtualMachineClaimList) DeepCopy ¶
func (in *VirtualMachineClaimList) DeepCopy() *VirtualMachineClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClaimList.
func (*VirtualMachineClaimList) DeepCopyInto ¶
func (in *VirtualMachineClaimList) DeepCopyInto(out *VirtualMachineClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineClaimList) DeepCopyObject ¶
func (in *VirtualMachineClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineClaimSpec ¶
type VirtualMachineClaimSpec struct { Id string `json:"id"` UserId string `json:"user"` RestrictedBind bool `json:"restricted_bind"` RestrictedBindValue string `json:"restricted_bind_value"` VirtualMachines map[string]VirtualMachineClaimVM `json:"vm"` DynamicCapable bool `json:"dynamic_bind_capable"` BaseName string `json:"base_name"` }
func (*VirtualMachineClaimSpec) DeepCopy ¶
func (in *VirtualMachineClaimSpec) DeepCopy() *VirtualMachineClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClaimSpec.
func (*VirtualMachineClaimSpec) DeepCopyInto ¶
func (in *VirtualMachineClaimSpec) DeepCopyInto(out *VirtualMachineClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineClaimStatus ¶
type VirtualMachineClaimStatus struct { BindMode string `json:"bind_mode"` StaticBindAttempts int `json:"static_bind_attempts"` DynamicBindRequestId string `json:"dynamic_bind_request_id"` Bound bool `json:"bound"` Ready bool `json:"ready"` Tainted bool `json:"tainted"` // If tainted, we should delete the VM's underneath then delete ourself... }
func (*VirtualMachineClaimStatus) DeepCopy ¶
func (in *VirtualMachineClaimStatus) DeepCopy() *VirtualMachineClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClaimStatus.
func (*VirtualMachineClaimStatus) DeepCopyInto ¶
func (in *VirtualMachineClaimStatus) DeepCopyInto(out *VirtualMachineClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineClaimVM ¶
type VirtualMachineClaimVM struct { Template string `json:"template"` VirtualMachineId string `json:"vm_id"` }
func (*VirtualMachineClaimVM) DeepCopy ¶
func (in *VirtualMachineClaimVM) DeepCopy() *VirtualMachineClaimVM
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClaimVM.
func (*VirtualMachineClaimVM) DeepCopyInto ¶
func (in *VirtualMachineClaimVM) DeepCopyInto(out *VirtualMachineClaimVM)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineList ¶
type VirtualMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachine `json:"items"` }
func (*VirtualMachineList) DeepCopy ¶
func (in *VirtualMachineList) DeepCopy() *VirtualMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList.
func (*VirtualMachineList) DeepCopyInto ¶
func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineList) DeepCopyObject ¶
func (in *VirtualMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineProvision ¶
type VirtualMachineProvision struct { VirtualMachineName string `json:"vm_name"` TFControllerState string `json:"tfc_state"` TFControllerCM string `json:"tfc_cm"` }
func (*VirtualMachineProvision) DeepCopy ¶
func (in *VirtualMachineProvision) DeepCopy() *VirtualMachineProvision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineProvision.
func (*VirtualMachineProvision) DeepCopyInto ¶
func (in *VirtualMachineProvision) DeepCopyInto(out *VirtualMachineProvision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineSet ¶
type VirtualMachineSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineSetSpec `json:"spec"` Status VirtualMachineSetStatus `json:"status"` }
func (*VirtualMachineSet) DeepCopy ¶
func (in *VirtualMachineSet) DeepCopy() *VirtualMachineSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSet.
func (*VirtualMachineSet) DeepCopyInto ¶
func (in *VirtualMachineSet) DeepCopyInto(out *VirtualMachineSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineSet) DeepCopyObject ¶
func (in *VirtualMachineSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineSetList ¶
type VirtualMachineSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachineSet `json:"items"` }
func (*VirtualMachineSetList) DeepCopy ¶
func (in *VirtualMachineSetList) DeepCopy() *VirtualMachineSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetList.
func (*VirtualMachineSetList) DeepCopyInto ¶
func (in *VirtualMachineSetList) DeepCopyInto(out *VirtualMachineSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineSetList) DeepCopyObject ¶
func (in *VirtualMachineSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineSetSpec ¶
type VirtualMachineSetSpec struct { Count int `json:"count"` Environment string `json:"environment"` VMTemplate string `json:"vm_template"` BaseName string `json:"base_name"` RestrictedBind bool `json:"restricted_bind"` RestrictedBindValue string `json:"restricted_bind_value"` }
func (*VirtualMachineSetSpec) DeepCopy ¶
func (in *VirtualMachineSetSpec) DeepCopy() *VirtualMachineSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetSpec.
func (*VirtualMachineSetSpec) DeepCopyInto ¶
func (in *VirtualMachineSetSpec) DeepCopyInto(out *VirtualMachineSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineSetStatus ¶
type VirtualMachineSetStatus struct { Machines []VirtualMachineProvision `json:"machines"` AvailableCount int `json:"available"` ProvisionedCount int `json:"provisioned"` }
func (*VirtualMachineSetStatus) DeepCopy ¶
func (in *VirtualMachineSetStatus) DeepCopy() *VirtualMachineSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSetStatus.
func (*VirtualMachineSetStatus) DeepCopyInto ¶
func (in *VirtualMachineSetStatus) DeepCopyInto(out *VirtualMachineSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineSpec ¶
type VirtualMachineSpec struct { Id string `json:"id"` VirtualMachineTemplateId string `json:"vm_template_id"` SshUsername string `json:"ssh_username"` KeyPair string `json:"keypair_name"` // this refers to the secret name for the keypair VirtualMachineClaimId string `json:"vm_claim_id"` UserId string `json:"user"` Provision bool `json:"provision"` VirtualMachineSetId string `json:"vm_set_id"` }
func (*VirtualMachineSpec) DeepCopy ¶
func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec.
func (*VirtualMachineSpec) DeepCopyInto ¶
func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineStatus ¶
type VirtualMachineStatus struct { Status VmStatus `json:"status"` // default is nothing, but could be one of the following: readyforprovisioning, provisioning, running, terminating Allocated bool `json:"allocated"` Tainted bool `json:"tainted"` PublicIP string `json:"public_ip"` PrivateIP string `json:"private_ip"` EnvironmentId string `json:"environment_id"` Hostname string `json:"hostname"` // ideally <hostname>.<enviroment dnssuffix> should be the FQDN to this machine TFState string `json:"tfstate,omitempty"` // Terraform state name WsEndpoint string `json:"ws_endpoint"` }
func (*VirtualMachineStatus) DeepCopy ¶
func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus.
func (*VirtualMachineStatus) DeepCopyInto ¶
func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineTemplate ¶
type VirtualMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineTemplateSpec `json:"spec"` }
func (*VirtualMachineTemplate) DeepCopy ¶
func (in *VirtualMachineTemplate) DeepCopy() *VirtualMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplate.
func (*VirtualMachineTemplate) DeepCopyInto ¶
func (in *VirtualMachineTemplate) DeepCopyInto(out *VirtualMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplate) DeepCopyObject ¶
func (in *VirtualMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateList ¶
type VirtualMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineTemplate `json:"items"` }
func (*VirtualMachineTemplateList) DeepCopy ¶
func (in *VirtualMachineTemplateList) DeepCopy() *VirtualMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateList.
func (*VirtualMachineTemplateList) DeepCopyInto ¶
func (in *VirtualMachineTemplateList) DeepCopyInto(out *VirtualMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplateList) DeepCopyObject ¶
func (in *VirtualMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateSpec ¶
type VirtualMachineTemplateSpec struct { Id string `json:"id"` Name string `json:"name"` // 2x4, etc. Image string `json:"image"` // ubuntu-18.04 Resources CMSStruct `json:"resources"` CountMap map[string]string `json:"count_map"` }
VM type is a genercized collection of information about a VM. this includes things like cpu, ram, disk, etc.
func (*VirtualMachineTemplateSpec) DeepCopy ¶
func (in *VirtualMachineTemplateSpec) DeepCopy() *VirtualMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateSpec.
func (*VirtualMachineTemplateSpec) DeepCopyInto ¶
func (in *VirtualMachineTemplateSpec) DeepCopyInto(out *VirtualMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.