Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessCodes
- func (c *FakeAccessCodes) Create(ctx context.Context, accessCode *v1.AccessCode, opts metav1.CreateOptions) (result *v1.AccessCode, err error)
- func (c *FakeAccessCodes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeAccessCodes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeAccessCodes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.AccessCode, err error)
- func (c *FakeAccessCodes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.AccessCodeList, err error)
- func (c *FakeAccessCodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.AccessCode, err error)
- func (c *FakeAccessCodes) Update(ctx context.Context, accessCode *v1.AccessCode, opts metav1.UpdateOptions) (result *v1.AccessCode, err error)
- func (c *FakeAccessCodes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCourses
- func (c *FakeCourses) Create(ctx context.Context, course *v1.Course, opts metav1.CreateOptions) (result *v1.Course, err error)
- func (c *FakeCourses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeCourses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeCourses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Course, err error)
- func (c *FakeCourses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CourseList, err error)
- func (c *FakeCourses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Course, err error)
- func (c *FakeCourses) Update(ctx context.Context, course *v1.Course, opts metav1.UpdateOptions) (result *v1.Course, err error)
- func (c *FakeCourses) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeDynamicBindConfigurations
- func (c *FakeDynamicBindConfigurations) Create(ctx context.Context, dynamicBindConfiguration *v1.DynamicBindConfiguration, ...) (result *v1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeDynamicBindConfigurations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeDynamicBindConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DynamicBindConfigurationList, err error)
- func (c *FakeDynamicBindConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Update(ctx context.Context, dynamicBindConfiguration *v1.DynamicBindConfiguration, ...) (result *v1.DynamicBindConfiguration, err error)
- func (c *FakeDynamicBindConfigurations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeEnvironments
- func (c *FakeEnvironments) Create(ctx context.Context, environment *v1.Environment, opts metav1.CreateOptions) (result *v1.Environment, err error)
- func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeEnvironments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Environment, err error)
- func (c *FakeEnvironments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Environment, err error)
- func (c *FakeEnvironments) Update(ctx context.Context, environment *v1.Environment, opts metav1.UpdateOptions) (result *v1.Environment, err error)
- func (c *FakeEnvironments) Watch(ctx context.Context, opts metav1.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) Environments(namespace string) v1.EnvironmentInterface
- func (c *FakeHobbyfarmV1) OneTimeAccessCodes(namespace string) v1.OneTimeAccessCodeInterface
- func (c *FakeHobbyfarmV1) PredefinedServices(namespace string) v1.PredefinedServiceInterface
- 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) Scopes(namespace string) v1.ScopeInterface
- func (c *FakeHobbyfarmV1) Sessions(namespace string) v1.SessionInterface
- func (c *FakeHobbyfarmV1) Settings(namespace string) v1.SettingInterface
- 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 FakeOneTimeAccessCodes
- func (c *FakeOneTimeAccessCodes) Create(ctx context.Context, oneTimeAccessCode *v1.OneTimeAccessCode, ...) (result *v1.OneTimeAccessCode, err error)
- func (c *FakeOneTimeAccessCodes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeOneTimeAccessCodes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeOneTimeAccessCodes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.OneTimeAccessCode, err error)
- func (c *FakeOneTimeAccessCodes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.OneTimeAccessCodeList, err error)
- func (c *FakeOneTimeAccessCodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.OneTimeAccessCode, err error)
- func (c *FakeOneTimeAccessCodes) Update(ctx context.Context, oneTimeAccessCode *v1.OneTimeAccessCode, ...) (result *v1.OneTimeAccessCode, err error)
- func (c *FakeOneTimeAccessCodes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakePredefinedServices
- func (c *FakePredefinedServices) Create(ctx context.Context, predefinedService *v1.PredefinedService, ...) (result *v1.PredefinedService, err error)
- func (c *FakePredefinedServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePredefinedServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePredefinedServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PredefinedService, err error)
- func (c *FakePredefinedServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PredefinedServiceList, err error)
- func (c *FakePredefinedServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PredefinedService, err error)
- func (c *FakePredefinedServices) Update(ctx context.Context, predefinedService *v1.PredefinedService, ...) (result *v1.PredefinedService, err error)
- func (c *FakePredefinedServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeProgresses
- func (c *FakeProgresses) Create(ctx context.Context, progress *v1.Progress, opts metav1.CreateOptions) (result *v1.Progress, err error)
- func (c *FakeProgresses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeProgresses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeProgresses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Progress, err error)
- func (c *FakeProgresses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ProgressList, err error)
- func (c *FakeProgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Progress, err error)
- func (c *FakeProgresses) Update(ctx context.Context, progress *v1.Progress, opts metav1.UpdateOptions) (result *v1.Progress, err error)
- func (c *FakeProgresses) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeScenarios
- func (c *FakeScenarios) Create(ctx context.Context, scenario *v1.Scenario, opts metav1.CreateOptions) (result *v1.Scenario, err error)
- func (c *FakeScenarios) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeScenarios) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeScenarios) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Scenario, err error)
- func (c *FakeScenarios) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ScenarioList, err error)
- func (c *FakeScenarios) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Scenario, err error)
- func (c *FakeScenarios) Update(ctx context.Context, scenario *v1.Scenario, opts metav1.UpdateOptions) (result *v1.Scenario, err error)
- func (c *FakeScenarios) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeScheduledEvents
- func (c *FakeScheduledEvents) Create(ctx context.Context, scheduledEvent *v1.ScheduledEvent, ...) (result *v1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeScheduledEvents) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeScheduledEvents) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ScheduledEventList, err error)
- func (c *FakeScheduledEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) Update(ctx context.Context, scheduledEvent *v1.ScheduledEvent, ...) (result *v1.ScheduledEvent, err error)
- func (c *FakeScheduledEvents) UpdateStatus(ctx context.Context, scheduledEvent *v1.ScheduledEvent, ...) (*v1.ScheduledEvent, error)
- func (c *FakeScheduledEvents) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeScopes
- func (c *FakeScopes) Create(ctx context.Context, scope *v1.Scope, opts metav1.CreateOptions) (result *v1.Scope, err error)
- func (c *FakeScopes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeScopes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeScopes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Scope, err error)
- func (c *FakeScopes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ScopeList, err error)
- func (c *FakeScopes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Scope, err error)
- func (c *FakeScopes) Update(ctx context.Context, scope *v1.Scope, opts metav1.UpdateOptions) (result *v1.Scope, err error)
- func (c *FakeScopes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSessions
- func (c *FakeSessions) Create(ctx context.Context, session *v1.Session, opts metav1.CreateOptions) (result *v1.Session, err error)
- func (c *FakeSessions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSessions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSessions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Session, err error)
- func (c *FakeSessions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SessionList, err error)
- func (c *FakeSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Session, err error)
- func (c *FakeSessions) Update(ctx context.Context, session *v1.Session, opts metav1.UpdateOptions) (result *v1.Session, err error)
- func (c *FakeSessions) UpdateStatus(ctx context.Context, session *v1.Session, opts metav1.UpdateOptions) (*v1.Session, error)
- func (c *FakeSessions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSettings
- func (c *FakeSettings) Create(ctx context.Context, setting *v1.Setting, opts metav1.CreateOptions) (result *v1.Setting, err error)
- func (c *FakeSettings) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSettings) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSettings) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Setting, err error)
- func (c *FakeSettings) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SettingList, err error)
- func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Setting, err error)
- func (c *FakeSettings) Update(ctx context.Context, setting *v1.Setting, opts metav1.UpdateOptions) (result *v1.Setting, err error)
- func (c *FakeSettings) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (result *v1.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (result *v1.User, err error)
- func (c *FakeUsers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineClaims
- func (c *FakeVirtualMachineClaims) Create(ctx context.Context, virtualMachineClaim *v1.VirtualMachineClaim, ...) (result *v1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualMachineClaims) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualMachineClaims) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineClaimList, err error)
- func (c *FakeVirtualMachineClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) Update(ctx context.Context, virtualMachineClaim *v1.VirtualMachineClaim, ...) (result *v1.VirtualMachineClaim, err error)
- func (c *FakeVirtualMachineClaims) UpdateStatus(ctx context.Context, virtualMachineClaim *v1.VirtualMachineClaim, ...) (*v1.VirtualMachineClaim, error)
- func (c *FakeVirtualMachineClaims) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineSets
- func (c *FakeVirtualMachineSets) Create(ctx context.Context, virtualMachineSet *v1.VirtualMachineSet, ...) (result *v1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualMachineSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualMachineSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineSetList, err error)
- func (c *FakeVirtualMachineSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) Update(ctx context.Context, virtualMachineSet *v1.VirtualMachineSet, ...) (result *v1.VirtualMachineSet, err error)
- func (c *FakeVirtualMachineSets) UpdateStatus(ctx context.Context, virtualMachineSet *v1.VirtualMachineSet, ...) (*v1.VirtualMachineSet, error)
- func (c *FakeVirtualMachineSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineTemplates
- func (c *FakeVirtualMachineTemplates) Create(ctx context.Context, virtualMachineTemplate *v1.VirtualMachineTemplate, ...) (result *v1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualMachineTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineTemplateList, err error)
- func (c *FakeVirtualMachineTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, virtualMachineTemplate *v1.VirtualMachineTemplate, ...) (result *v1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachines
- func (c *FakeVirtualMachines) Create(ctx context.Context, virtualMachine *v1.VirtualMachine, ...) (result *v1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualMachines) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineList, err error)
- func (c *FakeVirtualMachines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *v1.VirtualMachine, ...) (result *v1.VirtualMachine, err error)
- func (c *FakeVirtualMachines) UpdateStatus(ctx context.Context, virtualMachine *v1.VirtualMachine, ...) (*v1.VirtualMachine, error)
- func (c *FakeVirtualMachines) Watch(ctx context.Context, opts metav1.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 *v1.AccessCode, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessCodes) Get ¶
func (c *FakeAccessCodes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.AccessCode, err error)
Patch applies the patch and returns the patched accessCode.
func (*FakeAccessCodes) Update ¶
func (c *FakeAccessCodes) Update(ctx context.Context, accessCode *v1.AccessCode, opts metav1.UpdateOptions) (result *v1.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 metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessCodes.
type FakeCourses ¶
type FakeCourses struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeCourses implements CourseInterface
func (*FakeCourses) Create ¶
func (c *FakeCourses) Create(ctx context.Context, course *v1.Course, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeCourses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the course and deletes it. Returns an error if one occurs.
func (*FakeCourses) DeleteCollection ¶
func (c *FakeCourses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCourses) Get ¶
func (c *FakeCourses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶
func (c *FakeCourses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.CourseList, err error)
List takes label and field selectors, and returns the list of Courses that match those selectors.
func (*FakeCourses) Patch ¶
func (c *FakeCourses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Course, err error)
Patch applies the patch and returns the patched course.
func (*FakeCourses) Update ¶
func (c *FakeCourses) Update(ctx context.Context, course *v1.Course, opts metav1.UpdateOptions) (result *v1.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 ¶
func (c *FakeCourses) Watch(ctx context.Context, opts metav1.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 *v1.DynamicBindConfiguration, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDynamicBindConfigurations) Get ¶
func (c *FakeDynamicBindConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.DynamicBindConfiguration, err error)
Patch applies the patch and returns the patched dynamicBindConfiguration.
func (*FakeDynamicBindConfigurations) Update ¶
func (c *FakeDynamicBindConfigurations) Update(ctx context.Context, dynamicBindConfiguration *v1.DynamicBindConfiguration, opts metav1.UpdateOptions) (result *v1.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 metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dynamicBindConfigurations.
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 *v1.Environment, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironments) Get ¶
func (c *FakeEnvironments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.Environment, err error)
Patch applies the patch and returns the patched environment.
func (*FakeEnvironments) Update ¶
func (c *FakeEnvironments) Update(ctx context.Context, environment *v1.Environment, opts metav1.UpdateOptions) (result *v1.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) Watch ¶
func (c *FakeEnvironments) Watch(ctx context.Context, opts metav1.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 ¶
func (c *FakeHobbyfarmV1) Courses(namespace string) v1.CourseInterface
func (*FakeHobbyfarmV1) DynamicBindConfigurations ¶
func (c *FakeHobbyfarmV1) DynamicBindConfigurations(namespace string) v1.DynamicBindConfigurationInterface
func (*FakeHobbyfarmV1) Environments ¶
func (c *FakeHobbyfarmV1) Environments(namespace string) v1.EnvironmentInterface
func (*FakeHobbyfarmV1) OneTimeAccessCodes ¶
func (c *FakeHobbyfarmV1) OneTimeAccessCodes(namespace string) v1.OneTimeAccessCodeInterface
func (*FakeHobbyfarmV1) PredefinedServices ¶
func (c *FakeHobbyfarmV1) PredefinedServices(namespace string) v1.PredefinedServiceInterface
func (*FakeHobbyfarmV1) Progresses ¶
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) Scopes ¶
func (c *FakeHobbyfarmV1) Scopes(namespace string) v1.ScopeInterface
func (*FakeHobbyfarmV1) Sessions ¶
func (c *FakeHobbyfarmV1) Sessions(namespace string) v1.SessionInterface
func (*FakeHobbyfarmV1) Settings ¶
func (c *FakeHobbyfarmV1) Settings(namespace string) v1.SettingInterface
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 FakeOneTimeAccessCodes ¶
type FakeOneTimeAccessCodes struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeOneTimeAccessCodes implements OneTimeAccessCodeInterface
func (*FakeOneTimeAccessCodes) Create ¶
func (c *FakeOneTimeAccessCodes) Create(ctx context.Context, oneTimeAccessCode *v1.OneTimeAccessCode, opts metav1.CreateOptions) (result *v1.OneTimeAccessCode, err error)
Create takes the representation of a oneTimeAccessCode and creates it. Returns the server's representation of the oneTimeAccessCode, and an error, if there is any.
func (*FakeOneTimeAccessCodes) Delete ¶
func (c *FakeOneTimeAccessCodes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the oneTimeAccessCode and deletes it. Returns an error if one occurs.
func (*FakeOneTimeAccessCodes) DeleteCollection ¶
func (c *FakeOneTimeAccessCodes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOneTimeAccessCodes) Get ¶
func (c *FakeOneTimeAccessCodes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.OneTimeAccessCode, err error)
Get takes name of the oneTimeAccessCode, and returns the corresponding oneTimeAccessCode object, and an error if there is any.
func (*FakeOneTimeAccessCodes) List ¶
func (c *FakeOneTimeAccessCodes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.OneTimeAccessCodeList, err error)
List takes label and field selectors, and returns the list of OneTimeAccessCodes that match those selectors.
func (*FakeOneTimeAccessCodes) Patch ¶
func (c *FakeOneTimeAccessCodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OneTimeAccessCode, err error)
Patch applies the patch and returns the patched oneTimeAccessCode.
func (*FakeOneTimeAccessCodes) Update ¶
func (c *FakeOneTimeAccessCodes) Update(ctx context.Context, oneTimeAccessCode *v1.OneTimeAccessCode, opts metav1.UpdateOptions) (result *v1.OneTimeAccessCode, err error)
Update takes the representation of a oneTimeAccessCode and updates it. Returns the server's representation of the oneTimeAccessCode, and an error, if there is any.
func (*FakeOneTimeAccessCodes) Watch ¶
func (c *FakeOneTimeAccessCodes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oneTimeAccessCodes.
type FakePredefinedServices ¶
type FakePredefinedServices struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakePredefinedServices implements PredefinedServiceInterface
func (*FakePredefinedServices) Create ¶
func (c *FakePredefinedServices) Create(ctx context.Context, predefinedService *v1.PredefinedService, opts metav1.CreateOptions) (result *v1.PredefinedService, err error)
Create takes the representation of a predefinedService and creates it. Returns the server's representation of the predefinedService, and an error, if there is any.
func (*FakePredefinedServices) Delete ¶
func (c *FakePredefinedServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the predefinedService and deletes it. Returns an error if one occurs.
func (*FakePredefinedServices) DeleteCollection ¶
func (c *FakePredefinedServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePredefinedServices) Get ¶
func (c *FakePredefinedServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PredefinedService, err error)
Get takes name of the predefinedService, and returns the corresponding predefinedService object, and an error if there is any.
func (*FakePredefinedServices) List ¶
func (c *FakePredefinedServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PredefinedServiceList, err error)
List takes label and field selectors, and returns the list of PredefinedServices that match those selectors.
func (*FakePredefinedServices) Patch ¶
func (c *FakePredefinedServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PredefinedService, err error)
Patch applies the patch and returns the patched predefinedService.
func (*FakePredefinedServices) Update ¶
func (c *FakePredefinedServices) Update(ctx context.Context, predefinedService *v1.PredefinedService, opts metav1.UpdateOptions) (result *v1.PredefinedService, err error)
Update takes the representation of a predefinedService and updates it. Returns the server's representation of the predefinedService, and an error, if there is any.
func (*FakePredefinedServices) Watch ¶
func (c *FakePredefinedServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested predefinedServices.
type FakeProgresses ¶
type FakeProgresses struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeProgresses implements ProgressInterface
func (*FakeProgresses) Create ¶
func (c *FakeProgresses) Create(ctx context.Context, progress *v1.Progress, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeProgresses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the progress and deletes it. Returns an error if one occurs.
func (*FakeProgresses) DeleteCollection ¶
func (c *FakeProgresses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProgresses) Get ¶
func (c *FakeProgresses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶
func (c *FakeProgresses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ProgressList, err error)
List takes label and field selectors, and returns the list of Progresses that match those selectors.
func (*FakeProgresses) Patch ¶
func (c *FakeProgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Progress, err error)
Patch applies the patch and returns the patched progress.
func (*FakeProgresses) Update ¶
func (c *FakeProgresses) Update(ctx context.Context, progress *v1.Progress, opts metav1.UpdateOptions) (result *v1.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 ¶
func (c *FakeProgresses) Watch(ctx context.Context, opts metav1.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 *v1.Scenario, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScenarios) Get ¶
func (c *FakeScenarios) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.Scenario, err error)
Patch applies the patch and returns the patched scenario.
func (*FakeScenarios) Update ¶
func (c *FakeScenarios) Update(ctx context.Context, scenario *v1.Scenario, opts metav1.UpdateOptions) (result *v1.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 metav1.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 *v1.ScheduledEvent, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScheduledEvents) Get ¶
func (c *FakeScheduledEvents) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.ScheduledEvent, err error)
Patch applies the patch and returns the patched scheduledEvent.
func (*FakeScheduledEvents) Update ¶
func (c *FakeScheduledEvents) Update(ctx context.Context, scheduledEvent *v1.ScheduledEvent, opts metav1.UpdateOptions) (result *v1.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 *v1.ScheduledEvent, opts metav1.UpdateOptions) (*v1.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 metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scheduledEvents.
type FakeScopes ¶
type FakeScopes struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeScopes implements ScopeInterface
func (*FakeScopes) Create ¶
func (c *FakeScopes) Create(ctx context.Context, scope *v1.Scope, opts metav1.CreateOptions) (result *v1.Scope, err error)
Create takes the representation of a scope and creates it. Returns the server's representation of the scope, and an error, if there is any.
func (*FakeScopes) Delete ¶
func (c *FakeScopes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the scope and deletes it. Returns an error if one occurs.
func (*FakeScopes) DeleteCollection ¶
func (c *FakeScopes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScopes) Get ¶
func (c *FakeScopes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Scope, err error)
Get takes name of the scope, and returns the corresponding scope object, and an error if there is any.
func (*FakeScopes) List ¶
func (c *FakeScopes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ScopeList, err error)
List takes label and field selectors, and returns the list of Scopes that match those selectors.
func (*FakeScopes) Patch ¶
func (c *FakeScopes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Scope, err error)
Patch applies the patch and returns the patched scope.
func (*FakeScopes) Update ¶
func (c *FakeScopes) Update(ctx context.Context, scope *v1.Scope, opts metav1.UpdateOptions) (result *v1.Scope, err error)
Update takes the representation of a scope and updates it. Returns the server's representation of the scope, and an error, if there is any.
func (*FakeScopes) Watch ¶
func (c *FakeScopes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scopes.
type FakeSessions ¶
type FakeSessions struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeSessions implements SessionInterface
func (*FakeSessions) Create ¶
func (c *FakeSessions) Create(ctx context.Context, session *v1.Session, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeSessions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the session and deletes it. Returns an error if one occurs.
func (*FakeSessions) DeleteCollection ¶
func (c *FakeSessions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSessions) Get ¶
func (c *FakeSessions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶
func (c *FakeSessions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SessionList, err error)
List takes label and field selectors, and returns the list of Sessions that match those selectors.
func (*FakeSessions) Patch ¶
func (c *FakeSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Session, err error)
Patch applies the patch and returns the patched session.
func (*FakeSessions) Update ¶
func (c *FakeSessions) Update(ctx context.Context, session *v1.Session, opts metav1.UpdateOptions) (result *v1.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 ¶
func (c *FakeSessions) UpdateStatus(ctx context.Context, session *v1.Session, opts metav1.UpdateOptions) (*v1.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 ¶
func (c *FakeSessions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sessions.
type FakeSettings ¶
type FakeSettings struct { Fake *FakeHobbyfarmV1 // contains filtered or unexported fields }
FakeSettings implements SettingInterface
func (*FakeSettings) Create ¶
func (c *FakeSettings) Create(ctx context.Context, setting *v1.Setting, opts metav1.CreateOptions) (result *v1.Setting, err error)
Create takes the representation of a setting and creates it. Returns the server's representation of the setting, and an error, if there is any.
func (*FakeSettings) Delete ¶
func (c *FakeSettings) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the setting and deletes it. Returns an error if one occurs.
func (*FakeSettings) DeleteCollection ¶
func (c *FakeSettings) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSettings) Get ¶
func (c *FakeSettings) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Setting, err error)
Get takes name of the setting, and returns the corresponding setting object, and an error if there is any.
func (*FakeSettings) List ¶
func (c *FakeSettings) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SettingList, err error)
List takes label and field selectors, and returns the list of Settings that match those selectors.
func (*FakeSettings) Patch ¶
func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Setting, err error)
Patch applies the patch and returns the patched setting.
func (*FakeSettings) Update ¶
func (c *FakeSettings) Update(ctx context.Context, setting *v1.Setting, opts metav1.UpdateOptions) (result *v1.Setting, err error)
Update takes the representation of a setting and updates it. Returns the server's representation of the setting, and an error, if there is any.
func (*FakeSettings) Watch ¶
func (c *FakeSettings) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested settings.
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 *v1.User, opts metav1.CreateOptions) (result *v1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.User, err error)
Patch applies the patch and returns the patched user.
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 *v1.VirtualMachineClaim, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineClaims) Get ¶
func (c *FakeVirtualMachineClaims) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.VirtualMachineClaim, err error)
Patch applies the patch and returns the patched virtualMachineClaim.
func (*FakeVirtualMachineClaims) Update ¶
func (c *FakeVirtualMachineClaims) Update(ctx context.Context, virtualMachineClaim *v1.VirtualMachineClaim, opts metav1.UpdateOptions) (result *v1.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 *v1.VirtualMachineClaim, opts metav1.UpdateOptions) (*v1.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 metav1.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 *v1.VirtualMachineSet, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineSets) Get ¶
func (c *FakeVirtualMachineSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.VirtualMachineSet, err error)
Patch applies the patch and returns the patched virtualMachineSet.
func (*FakeVirtualMachineSets) Update ¶
func (c *FakeVirtualMachineSets) Update(ctx context.Context, virtualMachineSet *v1.VirtualMachineSet, opts metav1.UpdateOptions) (result *v1.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 *v1.VirtualMachineSet, opts metav1.UpdateOptions) (*v1.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 metav1.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 *v1.VirtualMachineTemplate, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineTemplates) Get ¶
func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.VirtualMachineTemplate, err error)
Patch applies the patch and returns the patched virtualMachineTemplate.
func (*FakeVirtualMachineTemplates) Update ¶
func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, virtualMachineTemplate *v1.VirtualMachineTemplate, opts metav1.UpdateOptions) (result *v1.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 metav1.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 *v1.VirtualMachine, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachines) Get ¶
func (c *FakeVirtualMachines) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.VirtualMachine, err error)
Patch applies the patch and returns the patched virtualMachine.
func (*FakeVirtualMachines) Update ¶
func (c *FakeVirtualMachines) Update(ctx context.Context, virtualMachine *v1.VirtualMachine, opts metav1.UpdateOptions) (result *v1.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 *v1.VirtualMachine, opts metav1.UpdateOptions) (*v1.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 metav1.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_environment.go
- fake_hobbyfarm.io_client.go
- fake_onetimeaccesscode.go
- fake_predefinedservice.go
- fake_progress.go
- fake_scenario.go
- fake_scheduledevent.go
- fake_scope.go
- fake_session.go
- fake_setting.go
- fake_user.go
- fake_virtualmachine.go
- fake_virtualmachineclaim.go
- fake_virtualmachineset.go
- fake_virtualmachinetemplate.go