Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessCodes
- func (c *FakeAccessCodes) Create(ctx context.Context, accessCode *hobbyfarmiov1.AccessCode, ...) (result *hobbyfarmiov1.AccessCode, err error)
- func (c *FakeAccessCodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessCodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessCodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.AccessCode, err error)
- func (c *FakeAccessCodes) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.AccessCodeList, err error)
- func (c *FakeAccessCodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.AccessCode, err error)
- func (c *FakeAccessCodes) Update(ctx context.Context, accessCode *hobbyfarmiov1.AccessCode, ...) (result *hobbyfarmiov1.AccessCode, err error)
- func (c *FakeAccessCodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCourses
- func (c *FakeCourses) Create(ctx context.Context, course *hobbyfarmiov1.Course, opts v1.CreateOptions) (result *hobbyfarmiov1.Course, err error)
- func (c *FakeCourses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCourses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCourses) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Course, err error)
- func (c *FakeCourses) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.CourseList, err error)
- func (c *FakeCourses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.Course, err error)
- func (c *FakeCourses) Update(ctx context.Context, course *hobbyfarmiov1.Course, opts v1.UpdateOptions) (result *hobbyfarmiov1.Course, err error)
- func (c *FakeCourses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDynamicBindConfigurations
- func (c *FakeDynamicBindConfigurations) Create(ctx context.Context, ...) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDynamicBindConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDynamicBindConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.DynamicBindConfigurationList, err error)
- func (c *FakeDynamicBindConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Update(ctx context.Context, ...) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDynamicBindRequests
- func (c *FakeDynamicBindRequests) Create(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, ...) (result *hobbyfarmiov1.DynamicBindRequest, err error)
- func (c *FakeDynamicBindRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDynamicBindRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDynamicBindRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.DynamicBindRequest, err error)
- func (c *FakeDynamicBindRequests) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.DynamicBindRequestList, err error)
- func (c *FakeDynamicBindRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.DynamicBindRequest, err error)
- func (c *FakeDynamicBindRequests) Update(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, ...) (result *hobbyfarmiov1.DynamicBindRequest, err error)
- func (c *FakeDynamicBindRequests) UpdateStatus(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, ...) (*hobbyfarmiov1.DynamicBindRequest, error)
- func (c *FakeDynamicBindRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEnvironments
- func (c *FakeEnvironments) Create(ctx context.Context, environment *hobbyfarmiov1.Environment, ...) (result *hobbyfarmiov1.Environment, err error)
- func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Environment, err error)
- func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.Environment, err error)
- func (c *FakeEnvironments) Update(ctx context.Context, environment *hobbyfarmiov1.Environment, ...) (result *hobbyfarmiov1.Environment, err error)
- func (c *FakeEnvironments) UpdateStatus(ctx context.Context, environment *hobbyfarmiov1.Environment, ...) (*hobbyfarmiov1.Environment, error)
- func (c *FakeEnvironments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHobbyfarmV1
- func (c *FakeHobbyfarmV1) AccessCodes(namespace string) v1.AccessCodeInterface
- func (c *FakeHobbyfarmV1) Courses(namespace string) v1.CourseInterface
- func (c *FakeHobbyfarmV1) DynamicBindConfigurations(namespace string) v1.DynamicBindConfigurationInterface
- func (c *FakeHobbyfarmV1) DynamicBindRequests(namespace string) v1.DynamicBindRequestInterface
- func (c *FakeHobbyfarmV1) Environments(namespace string) v1.EnvironmentInterface
- func (c *FakeHobbyfarmV1) Progresses(namespace string) v1.ProgressInterface
- func (c *FakeHobbyfarmV1) RESTClient() rest.Interface
- func (c *FakeHobbyfarmV1) Scenarios(namespace string) v1.ScenarioInterface
- func (c *FakeHobbyfarmV1) ScheduledEvents(namespace string) v1.ScheduledEventInterface
- func (c *FakeHobbyfarmV1) Sessions(namespace string) v1.SessionInterface
- func (c *FakeHobbyfarmV1) Users(namespace string) v1.UserInterface
- func (c *FakeHobbyfarmV1) VirtualMachineClaims(namespace string) v1.VirtualMachineClaimInterface
- func (c *FakeHobbyfarmV1) VirtualMachineSets(namespace string) v1.VirtualMachineSetInterface
- func (c *FakeHobbyfarmV1) VirtualMachineTemplates(namespace string) v1.VirtualMachineTemplateInterface
- func (c *FakeHobbyfarmV1) VirtualMachines(namespace string) v1.VirtualMachineInterface
- type FakeProgresses
- func (c *FakeProgresses) Create(ctx context.Context, progress *hobbyfarmiov1.Progress, opts v1.CreateOptions) (result *hobbyfarmiov1.Progress, err error)
- func (c *FakeProgresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProgresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProgresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Progress, err error)
- func (c *FakeProgresses) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ProgressList, err error)
- func (c *FakeProgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.Progress, err error)
- func (c *FakeProgresses) Update(ctx context.Context, progress *hobbyfarmiov1.Progress, opts v1.UpdateOptions) (result *hobbyfarmiov1.Progress, err error)
- func (c *FakeProgresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScenarios
- func (c *FakeScenarios) Create(ctx context.Context, scenario *hobbyfarmiov1.Scenario, opts v1.CreateOptions) (result *hobbyfarmiov1.Scenario, err error)
- func (c *FakeScenarios) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScenarios) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScenarios) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Scenario, err error)
- func (c *FakeScenarios) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ScenarioList, err error)
- func (c *FakeScenarios) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.Scenario, err error)
- func (c *FakeScenarios) Update(ctx context.Context, scenario *hobbyfarmiov1.Scenario, opts v1.UpdateOptions) (result *hobbyfarmiov1.Scenario, err error)
- func (c *FakeScenarios) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScheduledEvents
- func (c *FakeScheduledEvents) Create(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, ...) (result *hobbyfarmiov1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScheduledEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScheduledEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ScheduledEventList, err error)
- func (c *FakeScheduledEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) Update(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, ...) (result *hobbyfarmiov1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) UpdateStatus(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, ...) (*hobbyfarmiov1.ScheduledEvent, error)
- func (c *FakeScheduledEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSessions
- func (c *FakeSessions) Create(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.CreateOptions) (result *hobbyfarmiov1.Session, err error)
- func (c *FakeSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Session, err error)
- func (c *FakeSessions) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.SessionList, err error)
- func (c *FakeSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.Session, err error)
- func (c *FakeSessions) Update(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.UpdateOptions) (result *hobbyfarmiov1.Session, err error)
- func (c *FakeSessions) UpdateStatus(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.UpdateOptions) (*hobbyfarmiov1.Session, error)
- func (c *FakeSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *hobbyfarmiov1.User, opts v1.CreateOptions) (result *hobbyfarmiov1.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *hobbyfarmiov1.User, opts v1.UpdateOptions) (result *hobbyfarmiov1.User, err error)
- func (c *FakeUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineClaims
- func (c *FakeVirtualMachineClaims) Create(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, ...) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineClaimList, err error)
- func (c *FakeVirtualMachineClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) Update(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, ...) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) UpdateStatus(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, ...) (*hobbyfarmiov1.VirtualMachineClaim, error)
- func (c *FakeVirtualMachineClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineSets
- func (c *FakeVirtualMachineSets) Create(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, ...) (result *hobbyfarmiov1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineSetList, err error)
- func (c *FakeVirtualMachineSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) Update(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, ...) (result *hobbyfarmiov1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) UpdateStatus(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, ...) (*hobbyfarmiov1.VirtualMachineSet, error)
- func (c *FakeVirtualMachineSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineTemplates
- func (c *FakeVirtualMachineTemplates) Create(ctx context.Context, ...) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineTemplateList, err error)
- func (c *FakeVirtualMachineTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, ...) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachines
- func (c *FakeVirtualMachines) Create(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, ...) (result *hobbyfarmiov1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineList, err error)
- func (c *FakeVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *hobbyfarmiov1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, ...) (result *hobbyfarmiov1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) UpdateStatus(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, ...) (*hobbyfarmiov1.VirtualMachine, error)
- func (c *FakeVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccessCodes ¶
type FakeAccessCodes struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeAccessCodes implements AccessCodeInterface
func (*FakeAccessCodes) Create ¶
func (c *FakeAccessCodes) Create(ctx context.Context, accessCode *hobbyfarmiov1.AccessCode, opts v1.CreateOptions) (result *hobbyfarmiov1.AccessCode, err error)
Create takes the representation of a accessCode and creates it. Returns the server's representation of the accessCode, and an error, if there is any.
func (*FakeAccessCodes) Delete ¶
func (c *FakeAccessCodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessCode and deletes it. Returns an error if one occurs.
func (*FakeAccessCodes) DeleteCollection ¶
func (c *FakeAccessCodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessCodes) Get ¶
func (c *FakeAccessCodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.AccessCode, err error)
Get takes name of the accessCode, and returns the corresponding accessCode object, and an error if there is any.
func (*FakeAccessCodes) List ¶
func (c *FakeAccessCodes) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.AccessCodeList, err error)
List takes label and field selectors, and returns the list of AccessCodes that match those selectors.
func (*FakeAccessCodes) Patch ¶
func (c *FakeAccessCodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.AccessCode, err error)
Patch applies the patch and returns the patched accessCode.
func (*FakeAccessCodes) Update ¶
func (c *FakeAccessCodes) Update(ctx context.Context, accessCode *hobbyfarmiov1.AccessCode, opts v1.UpdateOptions) (result *hobbyfarmiov1.AccessCode, err error)
Update takes the representation of a accessCode and updates it. Returns the server's representation of the accessCode, and an error, if there is any.
func (*FakeAccessCodes) Watch ¶
func (c *FakeAccessCodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessCodes.
type FakeCourses ¶ added in v0.1.8
type FakeCourses struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeCourses implements CourseInterface
func (*FakeCourses) Create ¶ added in v0.1.8
func (c *FakeCourses) Create(ctx context.Context, course *hobbyfarmiov1.Course, opts v1.CreateOptions) (result *hobbyfarmiov1.Course, err error)
Create takes the representation of a course and creates it. Returns the server's representation of the course, and an error, if there is any.
func (*FakeCourses) Delete ¶ added in v0.1.8
func (c *FakeCourses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the course and deletes it. Returns an error if one occurs.
func (*FakeCourses) DeleteCollection ¶ added in v0.1.8
func (c *FakeCourses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCourses) Get ¶ added in v0.1.8
func (c *FakeCourses) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Course, err error)
Get takes name of the course, and returns the corresponding course object, and an error if there is any.
func (*FakeCourses) List ¶ added in v0.1.8
func (c *FakeCourses) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.CourseList, err error)
List takes label and field selectors, and returns the list of Courses that match those selectors.
func (*FakeCourses) Patch ¶ added in v0.1.8
func (c *FakeCourses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.Course, err error)
Patch applies the patch and returns the patched course.
func (*FakeCourses) Update ¶ added in v0.1.8
func (c *FakeCourses) Update(ctx context.Context, course *hobbyfarmiov1.Course, opts v1.UpdateOptions) (result *hobbyfarmiov1.Course, err error)
Update takes the representation of a course and updates it. Returns the server's representation of the course, and an error, if there is any.
func (*FakeCourses) Watch ¶ added in v0.1.8
func (c *FakeCourses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested courses.
type FakeDynamicBindConfigurations ¶
type FakeDynamicBindConfigurations struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeDynamicBindConfigurations implements DynamicBindConfigurationInterface
func (*FakeDynamicBindConfigurations) Create ¶
func (c *FakeDynamicBindConfigurations) Create(ctx context.Context, dynamicBindConfiguration *hobbyfarmiov1.DynamicBindConfiguration, opts v1.CreateOptions) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
Create takes the representation of a dynamicBindConfiguration and creates it. Returns the server's representation of the dynamicBindConfiguration, and an error, if there is any.
func (*FakeDynamicBindConfigurations) Delete ¶
func (c *FakeDynamicBindConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dynamicBindConfiguration and deletes it. Returns an error if one occurs.
func (*FakeDynamicBindConfigurations) DeleteCollection ¶
func (c *FakeDynamicBindConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDynamicBindConfigurations) Get ¶
func (c *FakeDynamicBindConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
Get takes name of the dynamicBindConfiguration, and returns the corresponding dynamicBindConfiguration object, and an error if there is any.
func (*FakeDynamicBindConfigurations) List ¶
func (c *FakeDynamicBindConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.DynamicBindConfigurationList, err error)
List takes label and field selectors, and returns the list of DynamicBindConfigurations that match those selectors.
func (*FakeDynamicBindConfigurations) Patch ¶
func (c *FakeDynamicBindConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
Patch applies the patch and returns the patched dynamicBindConfiguration.
func (*FakeDynamicBindConfigurations) Update ¶
func (c *FakeDynamicBindConfigurations) Update(ctx context.Context, dynamicBindConfiguration *hobbyfarmiov1.DynamicBindConfiguration, opts v1.UpdateOptions) (result *hobbyfarmiov1.DynamicBindConfiguration, err error)
Update takes the representation of a dynamicBindConfiguration and updates it. Returns the server's representation of the dynamicBindConfiguration, and an error, if there is any.
func (*FakeDynamicBindConfigurations) Watch ¶
func (c *FakeDynamicBindConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dynamicBindConfigurations.
type FakeDynamicBindRequests ¶
type FakeDynamicBindRequests struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeDynamicBindRequests implements DynamicBindRequestInterface
func (*FakeDynamicBindRequests) Create ¶
func (c *FakeDynamicBindRequests) Create(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, opts v1.CreateOptions) (result *hobbyfarmiov1.DynamicBindRequest, err error)
Create takes the representation of a dynamicBindRequest and creates it. Returns the server's representation of the dynamicBindRequest, and an error, if there is any.
func (*FakeDynamicBindRequests) Delete ¶
func (c *FakeDynamicBindRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dynamicBindRequest and deletes it. Returns an error if one occurs.
func (*FakeDynamicBindRequests) DeleteCollection ¶
func (c *FakeDynamicBindRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDynamicBindRequests) Get ¶
func (c *FakeDynamicBindRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.DynamicBindRequest, err error)
Get takes name of the dynamicBindRequest, and returns the corresponding dynamicBindRequest object, and an error if there is any.
func (*FakeDynamicBindRequests) List ¶
func (c *FakeDynamicBindRequests) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.DynamicBindRequestList, err error)
List takes label and field selectors, and returns the list of DynamicBindRequests that match those selectors.
func (*FakeDynamicBindRequests) Patch ¶
func (c *FakeDynamicBindRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.DynamicBindRequest, err error)
Patch applies the patch and returns the patched dynamicBindRequest.
func (*FakeDynamicBindRequests) Update ¶
func (c *FakeDynamicBindRequests) Update(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, opts v1.UpdateOptions) (result *hobbyfarmiov1.DynamicBindRequest, err error)
Update takes the representation of a dynamicBindRequest and updates it. Returns the server's representation of the dynamicBindRequest, and an error, if there is any.
func (*FakeDynamicBindRequests) UpdateStatus ¶
func (c *FakeDynamicBindRequests) UpdateStatus(ctx context.Context, dynamicBindRequest *hobbyfarmiov1.DynamicBindRequest, opts v1.UpdateOptions) (*hobbyfarmiov1.DynamicBindRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDynamicBindRequests) Watch ¶
func (c *FakeDynamicBindRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dynamicBindRequests.
type FakeEnvironments ¶
type FakeEnvironments struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeEnvironments implements EnvironmentInterface
func (*FakeEnvironments) Create ¶
func (c *FakeEnvironments) Create(ctx context.Context, environment *hobbyfarmiov1.Environment, opts v1.CreateOptions) (result *hobbyfarmiov1.Environment, err error)
Create takes the representation of a environment and creates it. Returns the server's representation of the environment, and an error, if there is any.
func (*FakeEnvironments) Delete ¶
func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the environment and deletes it. Returns an error if one occurs.
func (*FakeEnvironments) DeleteCollection ¶
func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironments) Get ¶
func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Environment, err error)
Get takes name of the environment, and returns the corresponding environment object, and an error if there is any.
func (*FakeEnvironments) List ¶
func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.EnvironmentList, err error)
List takes label and field selectors, and returns the list of Environments that match those selectors.
func (*FakeEnvironments) Patch ¶
func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.Environment, err error)
Patch applies the patch and returns the patched environment.
func (*FakeEnvironments) Update ¶
func (c *FakeEnvironments) Update(ctx context.Context, environment *hobbyfarmiov1.Environment, opts v1.UpdateOptions) (result *hobbyfarmiov1.Environment, err error)
Update takes the representation of a environment and updates it. Returns the server's representation of the environment, and an error, if there is any.
func (*FakeEnvironments) UpdateStatus ¶
func (c *FakeEnvironments) UpdateStatus(ctx context.Context, environment *hobbyfarmiov1.Environment, opts v1.UpdateOptions) (*hobbyfarmiov1.Environment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEnvironments) Watch ¶
func (c *FakeEnvironments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested environments.
type FakeHobbyfarmV1 ¶
func (*FakeHobbyfarmV1) AccessCodes ¶
func (c *FakeHobbyfarmV1) AccessCodes(namespace string) v1.AccessCodeInterface
func (*FakeHobbyfarmV1) Courses ¶ added in v0.1.8
func (c *FakeHobbyfarmV1) Courses(namespace string) v1.CourseInterface
func (*FakeHobbyfarmV1) DynamicBindConfigurations ¶
func (c *FakeHobbyfarmV1) DynamicBindConfigurations(namespace string) v1.DynamicBindConfigurationInterface
func (*FakeHobbyfarmV1) DynamicBindRequests ¶
func (c *FakeHobbyfarmV1) DynamicBindRequests(namespace string) v1.DynamicBindRequestInterface
func (*FakeHobbyfarmV1) Environments ¶
func (c *FakeHobbyfarmV1) Environments(namespace string) v1.EnvironmentInterface
func (*FakeHobbyfarmV1) Progresses ¶ added in v1.0.0
func (c *FakeHobbyfarmV1) Progresses(namespace string) v1.ProgressInterface
func (*FakeHobbyfarmV1) RESTClient ¶
func (c *FakeHobbyfarmV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeHobbyfarmV1) Scenarios ¶
func (c *FakeHobbyfarmV1) Scenarios(namespace string) v1.ScenarioInterface
func (*FakeHobbyfarmV1) ScheduledEvents ¶
func (c *FakeHobbyfarmV1) ScheduledEvents(namespace string) v1.ScheduledEventInterface
func (*FakeHobbyfarmV1) Sessions ¶ added in v0.1.8
func (c *FakeHobbyfarmV1) Sessions(namespace string) v1.SessionInterface
func (*FakeHobbyfarmV1) Users ¶
func (c *FakeHobbyfarmV1) Users(namespace string) v1.UserInterface
func (*FakeHobbyfarmV1) VirtualMachineClaims ¶
func (c *FakeHobbyfarmV1) VirtualMachineClaims(namespace string) v1.VirtualMachineClaimInterface
func (*FakeHobbyfarmV1) VirtualMachineSets ¶
func (c *FakeHobbyfarmV1) VirtualMachineSets(namespace string) v1.VirtualMachineSetInterface
func (*FakeHobbyfarmV1) VirtualMachineTemplates ¶
func (c *FakeHobbyfarmV1) VirtualMachineTemplates(namespace string) v1.VirtualMachineTemplateInterface
func (*FakeHobbyfarmV1) VirtualMachines ¶
func (c *FakeHobbyfarmV1) VirtualMachines(namespace string) v1.VirtualMachineInterface
type FakeProgresses ¶ added in v1.0.0
type FakeProgresses struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeProgresses implements ProgressInterface
func (*FakeProgresses) Create ¶ added in v1.0.0
func (c *FakeProgresses) Create(ctx context.Context, progress *hobbyfarmiov1.Progress, opts v1.CreateOptions) (result *hobbyfarmiov1.Progress, err error)
Create takes the representation of a progress and creates it. Returns the server's representation of the progress, and an error, if there is any.
func (*FakeProgresses) Delete ¶ added in v1.0.0
func (c *FakeProgresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the progress and deletes it. Returns an error if one occurs.
func (*FakeProgresses) DeleteCollection ¶ added in v1.0.0
func (c *FakeProgresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProgresses) Get ¶ added in v1.0.0
func (c *FakeProgresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Progress, err error)
Get takes name of the progress, and returns the corresponding progress object, and an error if there is any.
func (*FakeProgresses) List ¶ added in v1.0.0
func (c *FakeProgresses) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ProgressList, err error)
List takes label and field selectors, and returns the list of Progresses that match those selectors.
func (*FakeProgresses) Patch ¶ added in v1.0.0
func (c *FakeProgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.Progress, err error)
Patch applies the patch and returns the patched progress.
func (*FakeProgresses) Update ¶ added in v1.0.0
func (c *FakeProgresses) Update(ctx context.Context, progress *hobbyfarmiov1.Progress, opts v1.UpdateOptions) (result *hobbyfarmiov1.Progress, err error)
Update takes the representation of a progress and updates it. Returns the server's representation of the progress, and an error, if there is any.
func (*FakeProgresses) Watch ¶ added in v1.0.0
func (c *FakeProgresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested progresses.
type FakeScenarios ¶
type FakeScenarios struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeScenarios implements ScenarioInterface
func (*FakeScenarios) Create ¶
func (c *FakeScenarios) Create(ctx context.Context, scenario *hobbyfarmiov1.Scenario, opts v1.CreateOptions) (result *hobbyfarmiov1.Scenario, err error)
Create takes the representation of a scenario and creates it. Returns the server's representation of the scenario, and an error, if there is any.
func (*FakeScenarios) Delete ¶
func (c *FakeScenarios) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scenario and deletes it. Returns an error if one occurs.
func (*FakeScenarios) DeleteCollection ¶
func (c *FakeScenarios) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScenarios) Get ¶
func (c *FakeScenarios) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Scenario, err error)
Get takes name of the scenario, and returns the corresponding scenario object, and an error if there is any.
func (*FakeScenarios) List ¶
func (c *FakeScenarios) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ScenarioList, err error)
List takes label and field selectors, and returns the list of Scenarios that match those selectors.
func (*FakeScenarios) Patch ¶
func (c *FakeScenarios) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.Scenario, err error)
Patch applies the patch and returns the patched scenario.
func (*FakeScenarios) Update ¶
func (c *FakeScenarios) Update(ctx context.Context, scenario *hobbyfarmiov1.Scenario, opts v1.UpdateOptions) (result *hobbyfarmiov1.Scenario, err error)
Update takes the representation of a scenario and updates it. Returns the server's representation of the scenario, and an error, if there is any.
func (*FakeScenarios) Watch ¶
func (c *FakeScenarios) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scenarios.
type FakeScheduledEvents ¶
type FakeScheduledEvents struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeScheduledEvents implements ScheduledEventInterface
func (*FakeScheduledEvents) Create ¶
func (c *FakeScheduledEvents) Create(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, opts v1.CreateOptions) (result *hobbyfarmiov1.ScheduledEvent, err error)
Create takes the representation of a scheduledEvent and creates it. Returns the server's representation of the scheduledEvent, and an error, if there is any.
func (*FakeScheduledEvents) Delete ¶
func (c *FakeScheduledEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scheduledEvent and deletes it. Returns an error if one occurs.
func (*FakeScheduledEvents) DeleteCollection ¶
func (c *FakeScheduledEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScheduledEvents) Get ¶
func (c *FakeScheduledEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.ScheduledEvent, err error)
Get takes name of the scheduledEvent, and returns the corresponding scheduledEvent object, and an error if there is any.
func (*FakeScheduledEvents) List ¶
func (c *FakeScheduledEvents) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.ScheduledEventList, err error)
List takes label and field selectors, and returns the list of ScheduledEvents that match those selectors.
func (*FakeScheduledEvents) Patch ¶
func (c *FakeScheduledEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.ScheduledEvent, err error)
Patch applies the patch and returns the patched scheduledEvent.
func (*FakeScheduledEvents) Update ¶
func (c *FakeScheduledEvents) Update(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, opts v1.UpdateOptions) (result *hobbyfarmiov1.ScheduledEvent, err error)
Update takes the representation of a scheduledEvent and updates it. Returns the server's representation of the scheduledEvent, and an error, if there is any.
func (*FakeScheduledEvents) UpdateStatus ¶
func (c *FakeScheduledEvents) UpdateStatus(ctx context.Context, scheduledEvent *hobbyfarmiov1.ScheduledEvent, opts v1.UpdateOptions) (*hobbyfarmiov1.ScheduledEvent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScheduledEvents) Watch ¶
func (c *FakeScheduledEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scheduledEvents.
type FakeSessions ¶ added in v0.1.8
type FakeSessions struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeSessions implements SessionInterface
func (*FakeSessions) Create ¶ added in v0.1.8
func (c *FakeSessions) Create(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.CreateOptions) (result *hobbyfarmiov1.Session, err error)
Create takes the representation of a session and creates it. Returns the server's representation of the session, and an error, if there is any.
func (*FakeSessions) Delete ¶ added in v0.1.8
func (c *FakeSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the session and deletes it. Returns an error if one occurs.
func (*FakeSessions) DeleteCollection ¶ added in v0.1.8
func (c *FakeSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSessions) Get ¶ added in v0.1.8
func (c *FakeSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.Session, err error)
Get takes name of the session, and returns the corresponding session object, and an error if there is any.
func (*FakeSessions) List ¶ added in v0.1.8
func (c *FakeSessions) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.SessionList, err error)
List takes label and field selectors, and returns the list of Sessions that match those selectors.
func (*FakeSessions) Patch ¶ added in v0.1.8
func (c *FakeSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.Session, err error)
Patch applies the patch and returns the patched session.
func (*FakeSessions) Update ¶ added in v0.1.8
func (c *FakeSessions) Update(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.UpdateOptions) (result *hobbyfarmiov1.Session, err error)
Update takes the representation of a session and updates it. Returns the server's representation of the session, and an error, if there is any.
func (*FakeSessions) UpdateStatus ¶ added in v0.1.8
func (c *FakeSessions) UpdateStatus(ctx context.Context, session *hobbyfarmiov1.Session, opts v1.UpdateOptions) (*hobbyfarmiov1.Session, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSessions) Watch ¶ added in v0.1.8
func (c *FakeSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sessions.
type FakeUsers ¶
type FakeUsers struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(ctx context.Context, user *hobbyfarmiov1.User, opts v1.CreateOptions) (result *hobbyfarmiov1.User, err error)
Create takes the representation of a user and creates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) Delete ¶
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.User, err error)
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.UserList, err error)
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(ctx context.Context, user *hobbyfarmiov1.User, opts v1.UpdateOptions) (result *hobbyfarmiov1.User, err error)
Update takes the representation of a user and updates it. Returns the server's representation of the user, and an error, if there is any.
type FakeVirtualMachineClaims ¶
type FakeVirtualMachineClaims struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeVirtualMachineClaims implements VirtualMachineClaimInterface
func (*FakeVirtualMachineClaims) Create ¶
func (c *FakeVirtualMachineClaims) Create(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, opts v1.CreateOptions) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
Create takes the representation of a virtualMachineClaim and creates it. Returns the server's representation of the virtualMachineClaim, and an error, if there is any.
func (*FakeVirtualMachineClaims) Delete ¶
func (c *FakeVirtualMachineClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineClaim and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineClaims) DeleteCollection ¶
func (c *FakeVirtualMachineClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineClaims) Get ¶
func (c *FakeVirtualMachineClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
Get takes name of the virtualMachineClaim, and returns the corresponding virtualMachineClaim object, and an error if there is any.
func (*FakeVirtualMachineClaims) List ¶
func (c *FakeVirtualMachineClaims) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineClaimList, err error)
List takes label and field selectors, and returns the list of VirtualMachineClaims that match those selectors.
func (*FakeVirtualMachineClaims) Patch ¶
func (c *FakeVirtualMachineClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
Patch applies the patch and returns the patched virtualMachineClaim.
func (*FakeVirtualMachineClaims) Update ¶
func (c *FakeVirtualMachineClaims) Update(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, opts v1.UpdateOptions) (result *hobbyfarmiov1.VirtualMachineClaim, err error)
Update takes the representation of a virtualMachineClaim and updates it. Returns the server's representation of the virtualMachineClaim, and an error, if there is any.
func (*FakeVirtualMachineClaims) UpdateStatus ¶
func (c *FakeVirtualMachineClaims) UpdateStatus(ctx context.Context, virtualMachineClaim *hobbyfarmiov1.VirtualMachineClaim, opts v1.UpdateOptions) (*hobbyfarmiov1.VirtualMachineClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineClaims) Watch ¶
func (c *FakeVirtualMachineClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineClaims.
type FakeVirtualMachineSets ¶
type FakeVirtualMachineSets struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeVirtualMachineSets implements VirtualMachineSetInterface
func (*FakeVirtualMachineSets) Create ¶
func (c *FakeVirtualMachineSets) Create(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, opts v1.CreateOptions) (result *hobbyfarmiov1.VirtualMachineSet, err error)
Create takes the representation of a virtualMachineSet and creates it. Returns the server's representation of the virtualMachineSet, and an error, if there is any.
func (*FakeVirtualMachineSets) Delete ¶
func (c *FakeVirtualMachineSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineSet and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineSets) DeleteCollection ¶
func (c *FakeVirtualMachineSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineSets) Get ¶
func (c *FakeVirtualMachineSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineSet, err error)
Get takes name of the virtualMachineSet, and returns the corresponding virtualMachineSet object, and an error if there is any.
func (*FakeVirtualMachineSets) List ¶
func (c *FakeVirtualMachineSets) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineSetList, err error)
List takes label and field selectors, and returns the list of VirtualMachineSets that match those selectors.
func (*FakeVirtualMachineSets) Patch ¶
func (c *FakeVirtualMachineSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.VirtualMachineSet, err error)
Patch applies the patch and returns the patched virtualMachineSet.
func (*FakeVirtualMachineSets) Update ¶
func (c *FakeVirtualMachineSets) Update(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, opts v1.UpdateOptions) (result *hobbyfarmiov1.VirtualMachineSet, err error)
Update takes the representation of a virtualMachineSet and updates it. Returns the server's representation of the virtualMachineSet, and an error, if there is any.
func (*FakeVirtualMachineSets) UpdateStatus ¶
func (c *FakeVirtualMachineSets) UpdateStatus(ctx context.Context, virtualMachineSet *hobbyfarmiov1.VirtualMachineSet, opts v1.UpdateOptions) (*hobbyfarmiov1.VirtualMachineSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineSets) Watch ¶
func (c *FakeVirtualMachineSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineSets.
type FakeVirtualMachineTemplates ¶
type FakeVirtualMachineTemplates struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeVirtualMachineTemplates implements VirtualMachineTemplateInterface
func (*FakeVirtualMachineTemplates) Create ¶
func (c *FakeVirtualMachineTemplates) Create(ctx context.Context, virtualMachineTemplate *hobbyfarmiov1.VirtualMachineTemplate, opts v1.CreateOptions) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
Create takes the representation of a virtualMachineTemplate and creates it. Returns the server's representation of the virtualMachineTemplate, and an error, if there is any.
func (*FakeVirtualMachineTemplates) Delete ¶
func (c *FakeVirtualMachineTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachineTemplate and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineTemplates) DeleteCollection ¶
func (c *FakeVirtualMachineTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineTemplates) Get ¶
func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
Get takes name of the virtualMachineTemplate, and returns the corresponding virtualMachineTemplate object, and an error if there is any.
func (*FakeVirtualMachineTemplates) List ¶
func (c *FakeVirtualMachineTemplates) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineTemplateList, err error)
List takes label and field selectors, and returns the list of VirtualMachineTemplates that match those selectors.
func (*FakeVirtualMachineTemplates) Patch ¶
func (c *FakeVirtualMachineTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
Patch applies the patch and returns the patched virtualMachineTemplate.
func (*FakeVirtualMachineTemplates) Update ¶
func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, virtualMachineTemplate *hobbyfarmiov1.VirtualMachineTemplate, opts v1.UpdateOptions) (result *hobbyfarmiov1.VirtualMachineTemplate, err error)
Update takes the representation of a virtualMachineTemplate and updates it. Returns the server's representation of the virtualMachineTemplate, and an error, if there is any.
func (*FakeVirtualMachineTemplates) Watch ¶
func (c *FakeVirtualMachineTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineTemplates.
type FakeVirtualMachines ¶
type FakeVirtualMachines struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeVirtualMachines implements VirtualMachineInterface
func (*FakeVirtualMachines) Create ¶
func (c *FakeVirtualMachines) Create(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, opts v1.CreateOptions) (result *hobbyfarmiov1.VirtualMachine, err error)
Create takes the representation of a virtualMachine and creates it. Returns the server's representation of the virtualMachine, and an error, if there is any.
func (*FakeVirtualMachines) Delete ¶
func (c *FakeVirtualMachines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualMachine and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachines) DeleteCollection ¶
func (c *FakeVirtualMachines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachines) Get ¶
func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options v1.GetOptions) (result *hobbyfarmiov1.VirtualMachine, err error)
Get takes name of the virtualMachine, and returns the corresponding virtualMachine object, and an error if there is any.
func (*FakeVirtualMachines) List ¶
func (c *FakeVirtualMachines) List(ctx context.Context, opts v1.ListOptions) (result *hobbyfarmiov1.VirtualMachineList, err error)
List takes label and field selectors, and returns the list of VirtualMachines that match those selectors.
func (*FakeVirtualMachines) Patch ¶
func (c *FakeVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hobbyfarmiov1.VirtualMachine, err error)
Patch applies the patch and returns the patched virtualMachine.
func (*FakeVirtualMachines) Update ¶
func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, opts v1.UpdateOptions) (result *hobbyfarmiov1.VirtualMachine, err error)
Update takes the representation of a virtualMachine and updates it. Returns the server's representation of the virtualMachine, and an error, if there is any.
func (*FakeVirtualMachines) UpdateStatus ¶
func (c *FakeVirtualMachines) UpdateStatus(ctx context.Context, virtualMachine *hobbyfarmiov1.VirtualMachine, opts v1.UpdateOptions) (*hobbyfarmiov1.VirtualMachine, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachines) Watch ¶
func (c *FakeVirtualMachines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachines.
Source Files
¶
- doc.go
- fake_accesscode.go
- fake_course.go
- fake_dynamicbindconfiguration.go
- fake_dynamicbindrequest.go
- fake_environment.go
- fake_hobbyfarm.io_client.go
- fake_progress.go
- fake_scenario.go
- fake_scheduledevent.go
- fake_session.go
- fake_user.go
- fake_virtualmachine.go
- fake_virtualmachineclaim.go
- fake_virtualmachineset.go
- fake_virtualmachinetemplate.go