fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

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

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

Get takes name of the dynamicBindConfiguration, and returns the corresponding dynamicBindConfiguration object, and an error if there is any.

func (*FakeDynamicBindConfigurations) List

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

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

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

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

Get takes name of the dynamicBindRequest, and returns the corresponding dynamicBindRequest object, and an error if there is any.

func (*FakeDynamicBindRequests) List

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

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

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

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

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

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

Watch returns a watch.Interface that watches the requested environments.

type FakeHobbyfarmV1

type FakeHobbyfarmV1 struct {
	*testing.Fake
}

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

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

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

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

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

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

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

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

func (c *FakeUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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.

func (*FakeUsers) Watch

func (c *FakeUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested users.

type FakeVirtualMachineClaims

type FakeVirtualMachineClaims struct {
	Fake *FakeHobbyfarmV1
	// contains filtered or unexported fields
}

FakeVirtualMachineClaims implements VirtualMachineClaimInterface

func (*FakeVirtualMachineClaims) Create

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

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

Get takes name of the virtualMachineClaim, and returns the corresponding virtualMachineClaim object, and an error if there is any.

func (*FakeVirtualMachineClaims) List

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

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

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

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

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

Get takes name of the virtualMachineSet, and returns the corresponding virtualMachineSet object, and an error if there is any.

func (*FakeVirtualMachineSets) List

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

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

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

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

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

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

Get takes name of the virtualMachineTemplate, and returns the corresponding virtualMachineTemplate object, and an error if there is any.

func (*FakeVirtualMachineTemplates) List

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

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

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

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

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

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

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

Watch returns a watch.Interface that watches the requested virtualMachines.

Jump to

Keyboard shortcuts

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