Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddresses
- func (c *FakeAddresses) Create(address *lattice_v1.Address) (result *lattice_v1.Address, err error)
- func (c *FakeAddresses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAddresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAddresses) Get(name string, options v1.GetOptions) (result *lattice_v1.Address, err error)
- func (c *FakeAddresses) List(opts v1.ListOptions) (result *lattice_v1.AddressList, err error)
- func (c *FakeAddresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Address, err error)
- func (c *FakeAddresses) Update(address *lattice_v1.Address) (result *lattice_v1.Address, err error)
- func (c *FakeAddresses) UpdateStatus(address *lattice_v1.Address) (*lattice_v1.Address, error)
- func (c *FakeAddresses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBuilds
- func (c *FakeBuilds) Create(build *lattice_v1.Build) (result *lattice_v1.Build, err error)
- func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *lattice_v1.Build, err error)
- func (c *FakeBuilds) List(opts v1.ListOptions) (result *lattice_v1.BuildList, err error)
- func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Build, err error)
- func (c *FakeBuilds) Update(build *lattice_v1.Build) (result *lattice_v1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(build *lattice_v1.Build) (*lattice_v1.Build, error)
- func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigs
- func (c *FakeConfigs) Create(config *lattice_v1.Config) (result *lattice_v1.Config, err error)
- func (c *FakeConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigs) Get(name string, options v1.GetOptions) (result *lattice_v1.Config, err error)
- func (c *FakeConfigs) List(opts v1.ListOptions) (result *lattice_v1.ConfigList, err error)
- func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Config, err error)
- func (c *FakeConfigs) Update(config *lattice_v1.Config) (result *lattice_v1.Config, err error)
- func (c *FakeConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerBuilds
- func (c *FakeContainerBuilds) Create(containerBuild *lattice_v1.ContainerBuild) (result *lattice_v1.ContainerBuild, err error)
- func (c *FakeContainerBuilds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeContainerBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeContainerBuilds) Get(name string, options v1.GetOptions) (result *lattice_v1.ContainerBuild, err error)
- func (c *FakeContainerBuilds) List(opts v1.ListOptions) (result *lattice_v1.ContainerBuildList, err error)
- func (c *FakeContainerBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.ContainerBuild, err error)
- func (c *FakeContainerBuilds) Update(containerBuild *lattice_v1.ContainerBuild) (result *lattice_v1.ContainerBuild, err error)
- func (c *FakeContainerBuilds) UpdateStatus(containerBuild *lattice_v1.ContainerBuild) (*lattice_v1.ContainerBuild, error)
- func (c *FakeContainerBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDeploys
- func (c *FakeDeploys) Create(deploy *lattice_v1.Deploy) (result *lattice_v1.Deploy, err error)
- func (c *FakeDeploys) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDeploys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeploys) Get(name string, options v1.GetOptions) (result *lattice_v1.Deploy, err error)
- func (c *FakeDeploys) List(opts v1.ListOptions) (result *lattice_v1.DeployList, err error)
- func (c *FakeDeploys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Deploy, err error)
- func (c *FakeDeploys) Update(deploy *lattice_v1.Deploy) (result *lattice_v1.Deploy, err error)
- func (c *FakeDeploys) UpdateStatus(deploy *lattice_v1.Deploy) (*lattice_v1.Deploy, error)
- func (c *FakeDeploys) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGitTemplates
- func (c *FakeGitTemplates) Create(gitTemplate *lattice_v1.GitTemplate) (result *lattice_v1.GitTemplate, err error)
- func (c *FakeGitTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitTemplates) Get(name string, options v1.GetOptions) (result *lattice_v1.GitTemplate, err error)
- func (c *FakeGitTemplates) List(opts v1.ListOptions) (result *lattice_v1.GitTemplateList, err error)
- func (c *FakeGitTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.GitTemplate, err error)
- func (c *FakeGitTemplates) Update(gitTemplate *lattice_v1.GitTemplate) (result *lattice_v1.GitTemplate, err error)
- func (c *FakeGitTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeJobRuns
- func (c *FakeJobRuns) Create(jobRun *lattice_v1.JobRun) (result *lattice_v1.JobRun, err error)
- func (c *FakeJobRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeJobRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeJobRuns) Get(name string, options v1.GetOptions) (result *lattice_v1.JobRun, err error)
- func (c *FakeJobRuns) List(opts v1.ListOptions) (result *lattice_v1.JobRunList, err error)
- func (c *FakeJobRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.JobRun, err error)
- func (c *FakeJobRuns) Update(jobRun *lattice_v1.JobRun) (result *lattice_v1.JobRun, err error)
- func (c *FakeJobRuns) UpdateStatus(jobRun *lattice_v1.JobRun) (*lattice_v1.JobRun, error)
- func (c *FakeJobRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeJobs
- func (c *FakeJobs) Create(job *lattice_v1.Job) (result *lattice_v1.Job, err error)
- func (c *FakeJobs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeJobs) Get(name string, options v1.GetOptions) (result *lattice_v1.Job, err error)
- func (c *FakeJobs) List(opts v1.ListOptions) (result *lattice_v1.JobList, err error)
- func (c *FakeJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Job, err error)
- func (c *FakeJobs) Update(job *lattice_v1.Job) (result *lattice_v1.Job, err error)
- func (c *FakeJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeLatticeV1
- func (c *FakeLatticeV1) Addresses(namespace string) v1.AddressInterface
- func (c *FakeLatticeV1) Builds(namespace string) v1.BuildInterface
- func (c *FakeLatticeV1) Configs(namespace string) v1.ConfigInterface
- func (c *FakeLatticeV1) ContainerBuilds(namespace string) v1.ContainerBuildInterface
- func (c *FakeLatticeV1) Deploys(namespace string) v1.DeployInterface
- func (c *FakeLatticeV1) GitTemplates(namespace string) v1.GitTemplateInterface
- func (c *FakeLatticeV1) JobRuns(namespace string) v1.JobRunInterface
- func (c *FakeLatticeV1) Jobs(namespace string) v1.JobInterface
- func (c *FakeLatticeV1) NodePools(namespace string) v1.NodePoolInterface
- func (c *FakeLatticeV1) RESTClient() rest.Interface
- func (c *FakeLatticeV1) Services(namespace string) v1.ServiceInterface
- func (c *FakeLatticeV1) Systems(namespace string) v1.SystemInterface
- func (c *FakeLatticeV1) Teardowns(namespace string) v1.TeardownInterface
- func (c *FakeLatticeV1) Templates(namespace string) v1.TemplateInterface
- type FakeNodePools
- func (c *FakeNodePools) Create(nodePool *lattice_v1.NodePool) (result *lattice_v1.NodePool, err error)
- func (c *FakeNodePools) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodePools) Get(name string, options v1.GetOptions) (result *lattice_v1.NodePool, err error)
- func (c *FakeNodePools) List(opts v1.ListOptions) (result *lattice_v1.NodePoolList, err error)
- func (c *FakeNodePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.NodePool, err error)
- func (c *FakeNodePools) Update(nodePool *lattice_v1.NodePool) (result *lattice_v1.NodePool, err error)
- func (c *FakeNodePools) UpdateStatus(nodePool *lattice_v1.NodePool) (*lattice_v1.NodePool, error)
- func (c *FakeNodePools) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *lattice_v1.Service) (result *lattice_v1.Service, err error)
- func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServices) Get(name string, options v1.GetOptions) (result *lattice_v1.Service, err error)
- func (c *FakeServices) List(opts v1.ListOptions) (result *lattice_v1.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Service, err error)
- func (c *FakeServices) Update(service *lattice_v1.Service) (result *lattice_v1.Service, err error)
- func (c *FakeServices) UpdateStatus(service *lattice_v1.Service) (*lattice_v1.Service, error)
- func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSystems
- func (c *FakeSystems) Create(system *lattice_v1.System) (result *lattice_v1.System, err error)
- func (c *FakeSystems) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSystems) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSystems) Get(name string, options v1.GetOptions) (result *lattice_v1.System, err error)
- func (c *FakeSystems) List(opts v1.ListOptions) (result *lattice_v1.SystemList, err error)
- func (c *FakeSystems) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.System, err error)
- func (c *FakeSystems) Update(system *lattice_v1.System) (result *lattice_v1.System, err error)
- func (c *FakeSystems) UpdateStatus(system *lattice_v1.System) (*lattice_v1.System, error)
- func (c *FakeSystems) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTeardowns
- func (c *FakeTeardowns) Create(teardown *lattice_v1.Teardown) (result *lattice_v1.Teardown, err error)
- func (c *FakeTeardowns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTeardowns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTeardowns) Get(name string, options v1.GetOptions) (result *lattice_v1.Teardown, err error)
- func (c *FakeTeardowns) List(opts v1.ListOptions) (result *lattice_v1.TeardownList, err error)
- func (c *FakeTeardowns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Teardown, err error)
- func (c *FakeTeardowns) Update(teardown *lattice_v1.Teardown) (result *lattice_v1.Teardown, err error)
- func (c *FakeTeardowns) UpdateStatus(teardown *lattice_v1.Teardown) (*lattice_v1.Teardown, error)
- func (c *FakeTeardowns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTemplates
- func (c *FakeTemplates) Create(template *lattice_v1.Template) (result *lattice_v1.Template, err error)
- func (c *FakeTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTemplates) Get(name string, options v1.GetOptions) (result *lattice_v1.Template, err error)
- func (c *FakeTemplates) List(opts v1.ListOptions) (result *lattice_v1.TemplateList, err error)
- func (c *FakeTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Template, err error)
- func (c *FakeTemplates) Update(template *lattice_v1.Template) (result *lattice_v1.Template, err error)
- func (c *FakeTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAddresses ¶
type FakeAddresses struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeAddresses implements AddressInterface
func (*FakeAddresses) Create ¶
func (c *FakeAddresses) Create(address *lattice_v1.Address) (result *lattice_v1.Address, err error)
Create takes the representation of a address and creates it. Returns the server's representation of the address, and an error, if there is any.
func (*FakeAddresses) Delete ¶
func (c *FakeAddresses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the address and deletes it. Returns an error if one occurs.
func (*FakeAddresses) DeleteCollection ¶
func (c *FakeAddresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddresses) Get ¶
func (c *FakeAddresses) Get(name string, options v1.GetOptions) (result *lattice_v1.Address, err error)
Get takes name of the address, and returns the corresponding address object, and an error if there is any.
func (*FakeAddresses) List ¶
func (c *FakeAddresses) List(opts v1.ListOptions) (result *lattice_v1.AddressList, err error)
List takes label and field selectors, and returns the list of Addresses that match those selectors.
func (*FakeAddresses) Patch ¶
func (c *FakeAddresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Address, err error)
Patch applies the patch and returns the patched address.
func (*FakeAddresses) Update ¶
func (c *FakeAddresses) Update(address *lattice_v1.Address) (result *lattice_v1.Address, err error)
Update takes the representation of a address and updates it. Returns the server's representation of the address, and an error, if there is any.
func (*FakeAddresses) UpdateStatus ¶
func (c *FakeAddresses) UpdateStatus(address *lattice_v1.Address) (*lattice_v1.Address, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAddresses) Watch ¶
func (c *FakeAddresses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addresses.
type FakeBuilds ¶
type FakeBuilds struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Create ¶
func (c *FakeBuilds) Create(build *lattice_v1.Build) (result *lattice_v1.Build, err error)
Create takes the representation of a build and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the build and deletes it. Returns an error if one occurs.
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *lattice_v1.Build, err error)
Get takes name of the build, and returns the corresponding build object, and an error if there is any.
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(opts v1.ListOptions) (result *lattice_v1.BuildList, err error)
List takes label and field selectors, and returns the list of Builds that match those selectors.
func (*FakeBuilds) Patch ¶
func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
func (c *FakeBuilds) Update(build *lattice_v1.Build) (result *lattice_v1.Build, err error)
Update takes the representation of a build and updates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) UpdateStatus ¶
func (c *FakeBuilds) UpdateStatus(build *lattice_v1.Build) (*lattice_v1.Build, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuilds) Watch ¶
func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeConfigs ¶
type FakeConfigs struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Create ¶
func (c *FakeConfigs) Create(config *lattice_v1.Config) (result *lattice_v1.Config, err error)
Create takes the representation of a config and creates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the config and deletes it. Returns an error if one occurs.
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get(name string, options v1.GetOptions) (result *lattice_v1.Config, err error)
Get takes name of the config, and returns the corresponding config object, and an error if there is any.
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List(opts v1.ListOptions) (result *lattice_v1.ConfigList, err error)
List takes label and field selectors, and returns the list of Configs that match those selectors.
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Update ¶
func (c *FakeConfigs) Update(config *lattice_v1.Config) (result *lattice_v1.Config, err error)
Update takes the representation of a config and updates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeContainerBuilds ¶
type FakeContainerBuilds struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeContainerBuilds implements ContainerBuildInterface
func (*FakeContainerBuilds) Create ¶
func (c *FakeContainerBuilds) Create(containerBuild *lattice_v1.ContainerBuild) (result *lattice_v1.ContainerBuild, err error)
Create takes the representation of a containerBuild and creates it. Returns the server's representation of the containerBuild, and an error, if there is any.
func (*FakeContainerBuilds) Delete ¶
func (c *FakeContainerBuilds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the containerBuild and deletes it. Returns an error if one occurs.
func (*FakeContainerBuilds) DeleteCollection ¶
func (c *FakeContainerBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerBuilds) Get ¶
func (c *FakeContainerBuilds) Get(name string, options v1.GetOptions) (result *lattice_v1.ContainerBuild, err error)
Get takes name of the containerBuild, and returns the corresponding containerBuild object, and an error if there is any.
func (*FakeContainerBuilds) List ¶
func (c *FakeContainerBuilds) List(opts v1.ListOptions) (result *lattice_v1.ContainerBuildList, err error)
List takes label and field selectors, and returns the list of ContainerBuilds that match those selectors.
func (*FakeContainerBuilds) Patch ¶
func (c *FakeContainerBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.ContainerBuild, err error)
Patch applies the patch and returns the patched containerBuild.
func (*FakeContainerBuilds) Update ¶
func (c *FakeContainerBuilds) Update(containerBuild *lattice_v1.ContainerBuild) (result *lattice_v1.ContainerBuild, err error)
Update takes the representation of a containerBuild and updates it. Returns the server's representation of the containerBuild, and an error, if there is any.
func (*FakeContainerBuilds) UpdateStatus ¶
func (c *FakeContainerBuilds) UpdateStatus(containerBuild *lattice_v1.ContainerBuild) (*lattice_v1.ContainerBuild, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerBuilds) Watch ¶
func (c *FakeContainerBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerBuilds.
type FakeDeploys ¶
type FakeDeploys struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeDeploys implements DeployInterface
func (*FakeDeploys) Create ¶
func (c *FakeDeploys) Create(deploy *lattice_v1.Deploy) (result *lattice_v1.Deploy, err error)
Create takes the representation of a deploy and creates it. Returns the server's representation of the deploy, and an error, if there is any.
func (*FakeDeploys) Delete ¶
func (c *FakeDeploys) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the deploy and deletes it. Returns an error if one occurs.
func (*FakeDeploys) DeleteCollection ¶
func (c *FakeDeploys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeploys) Get ¶
func (c *FakeDeploys) Get(name string, options v1.GetOptions) (result *lattice_v1.Deploy, err error)
Get takes name of the deploy, and returns the corresponding deploy object, and an error if there is any.
func (*FakeDeploys) List ¶
func (c *FakeDeploys) List(opts v1.ListOptions) (result *lattice_v1.DeployList, err error)
List takes label and field selectors, and returns the list of Deploys that match those selectors.
func (*FakeDeploys) Patch ¶
func (c *FakeDeploys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Deploy, err error)
Patch applies the patch and returns the patched deploy.
func (*FakeDeploys) Update ¶
func (c *FakeDeploys) Update(deploy *lattice_v1.Deploy) (result *lattice_v1.Deploy, err error)
Update takes the representation of a deploy and updates it. Returns the server's representation of the deploy, and an error, if there is any.
func (*FakeDeploys) UpdateStatus ¶
func (c *FakeDeploys) UpdateStatus(deploy *lattice_v1.Deploy) (*lattice_v1.Deploy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeploys) Watch ¶
func (c *FakeDeploys) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deploys.
type FakeGitTemplates ¶
type FakeGitTemplates struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeGitTemplates implements GitTemplateInterface
func (*FakeGitTemplates) Create ¶
func (c *FakeGitTemplates) Create(gitTemplate *lattice_v1.GitTemplate) (result *lattice_v1.GitTemplate, err error)
Create takes the representation of a gitTemplate and creates it. Returns the server's representation of the gitTemplate, and an error, if there is any.
func (*FakeGitTemplates) Delete ¶
func (c *FakeGitTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitTemplate and deletes it. Returns an error if one occurs.
func (*FakeGitTemplates) DeleteCollection ¶
func (c *FakeGitTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitTemplates) Get ¶
func (c *FakeGitTemplates) Get(name string, options v1.GetOptions) (result *lattice_v1.GitTemplate, err error)
Get takes name of the gitTemplate, and returns the corresponding gitTemplate object, and an error if there is any.
func (*FakeGitTemplates) List ¶
func (c *FakeGitTemplates) List(opts v1.ListOptions) (result *lattice_v1.GitTemplateList, err error)
List takes label and field selectors, and returns the list of GitTemplates that match those selectors.
func (*FakeGitTemplates) Patch ¶
func (c *FakeGitTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.GitTemplate, err error)
Patch applies the patch and returns the patched gitTemplate.
func (*FakeGitTemplates) Update ¶
func (c *FakeGitTemplates) Update(gitTemplate *lattice_v1.GitTemplate) (result *lattice_v1.GitTemplate, err error)
Update takes the representation of a gitTemplate and updates it. Returns the server's representation of the gitTemplate, and an error, if there is any.
func (*FakeGitTemplates) Watch ¶
func (c *FakeGitTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitTemplates.
type FakeJobRuns ¶
type FakeJobRuns struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeJobRuns implements JobRunInterface
func (*FakeJobRuns) Create ¶
func (c *FakeJobRuns) Create(jobRun *lattice_v1.JobRun) (result *lattice_v1.JobRun, err error)
Create takes the representation of a jobRun and creates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) Delete ¶
func (c *FakeJobRuns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the jobRun and deletes it. Returns an error if one occurs.
func (*FakeJobRuns) DeleteCollection ¶
func (c *FakeJobRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobRuns) Get ¶
func (c *FakeJobRuns) Get(name string, options v1.GetOptions) (result *lattice_v1.JobRun, err error)
Get takes name of the jobRun, and returns the corresponding jobRun object, and an error if there is any.
func (*FakeJobRuns) List ¶
func (c *FakeJobRuns) List(opts v1.ListOptions) (result *lattice_v1.JobRunList, err error)
List takes label and field selectors, and returns the list of JobRuns that match those selectors.
func (*FakeJobRuns) Patch ¶
func (c *FakeJobRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.JobRun, err error)
Patch applies the patch and returns the patched jobRun.
func (*FakeJobRuns) Update ¶
func (c *FakeJobRuns) Update(jobRun *lattice_v1.JobRun) (result *lattice_v1.JobRun, err error)
Update takes the representation of a jobRun and updates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) UpdateStatus ¶
func (c *FakeJobRuns) UpdateStatus(jobRun *lattice_v1.JobRun) (*lattice_v1.JobRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJobRuns) Watch ¶
func (c *FakeJobRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jobRuns.
type FakeJobs ¶
type FakeJobs struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) Create ¶
func (c *FakeJobs) Create(job *lattice_v1.Job) (result *lattice_v1.Job, err error)
Create takes the representation of a job and creates it. Returns the server's representation of the job, and an error, if there is any.
func (*FakeJobs) Delete ¶
func (c *FakeJobs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the job and deletes it. Returns an error if one occurs.
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobs) Get ¶
func (c *FakeJobs) Get(name string, options v1.GetOptions) (result *lattice_v1.Job, err error)
Get takes name of the job, and returns the corresponding job object, and an error if there is any.
func (*FakeJobs) List ¶
func (c *FakeJobs) List(opts v1.ListOptions) (result *lattice_v1.JobList, err error)
List takes label and field selectors, and returns the list of Jobs that match those selectors.
func (*FakeJobs) Patch ¶
func (c *FakeJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Job, err error)
Patch applies the patch and returns the patched job.
func (*FakeJobs) Update ¶
func (c *FakeJobs) Update(job *lattice_v1.Job) (result *lattice_v1.Job, err error)
Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.
type FakeLatticeV1 ¶
func (*FakeLatticeV1) Addresses ¶
func (c *FakeLatticeV1) Addresses(namespace string) v1.AddressInterface
func (*FakeLatticeV1) Builds ¶
func (c *FakeLatticeV1) Builds(namespace string) v1.BuildInterface
func (*FakeLatticeV1) Configs ¶
func (c *FakeLatticeV1) Configs(namespace string) v1.ConfigInterface
func (*FakeLatticeV1) ContainerBuilds ¶
func (c *FakeLatticeV1) ContainerBuilds(namespace string) v1.ContainerBuildInterface
func (*FakeLatticeV1) Deploys ¶
func (c *FakeLatticeV1) Deploys(namespace string) v1.DeployInterface
func (*FakeLatticeV1) GitTemplates ¶
func (c *FakeLatticeV1) GitTemplates(namespace string) v1.GitTemplateInterface
func (*FakeLatticeV1) JobRuns ¶
func (c *FakeLatticeV1) JobRuns(namespace string) v1.JobRunInterface
func (*FakeLatticeV1) Jobs ¶
func (c *FakeLatticeV1) Jobs(namespace string) v1.JobInterface
func (*FakeLatticeV1) NodePools ¶
func (c *FakeLatticeV1) NodePools(namespace string) v1.NodePoolInterface
func (*FakeLatticeV1) RESTClient ¶
func (c *FakeLatticeV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeLatticeV1) Services ¶
func (c *FakeLatticeV1) Services(namespace string) v1.ServiceInterface
func (*FakeLatticeV1) Systems ¶
func (c *FakeLatticeV1) Systems(namespace string) v1.SystemInterface
func (*FakeLatticeV1) Teardowns ¶
func (c *FakeLatticeV1) Teardowns(namespace string) v1.TeardownInterface
func (*FakeLatticeV1) Templates ¶
func (c *FakeLatticeV1) Templates(namespace string) v1.TemplateInterface
type FakeNodePools ¶
type FakeNodePools struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeNodePools implements NodePoolInterface
func (*FakeNodePools) Create ¶
func (c *FakeNodePools) Create(nodePool *lattice_v1.NodePool) (result *lattice_v1.NodePool, err error)
Create takes the representation of a nodePool and creates it. Returns the server's representation of the nodePool, and an error, if there is any.
func (*FakeNodePools) Delete ¶
func (c *FakeNodePools) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodePool and deletes it. Returns an error if one occurs.
func (*FakeNodePools) DeleteCollection ¶
func (c *FakeNodePools) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodePools) Get ¶
func (c *FakeNodePools) Get(name string, options v1.GetOptions) (result *lattice_v1.NodePool, err error)
Get takes name of the nodePool, and returns the corresponding nodePool object, and an error if there is any.
func (*FakeNodePools) List ¶
func (c *FakeNodePools) List(opts v1.ListOptions) (result *lattice_v1.NodePoolList, err error)
List takes label and field selectors, and returns the list of NodePools that match those selectors.
func (*FakeNodePools) Patch ¶
func (c *FakeNodePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.NodePool, err error)
Patch applies the patch and returns the patched nodePool.
func (*FakeNodePools) Update ¶
func (c *FakeNodePools) Update(nodePool *lattice_v1.NodePool) (result *lattice_v1.NodePool, err error)
Update takes the representation of a nodePool and updates it. Returns the server's representation of the nodePool, and an error, if there is any.
func (*FakeNodePools) UpdateStatus ¶
func (c *FakeNodePools) UpdateStatus(nodePool *lattice_v1.NodePool) (*lattice_v1.NodePool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodePools) Watch ¶
func (c *FakeNodePools) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodePools.
type FakeServices ¶
type FakeServices struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Create ¶
func (c *FakeServices) Create(service *lattice_v1.Service) (result *lattice_v1.Service, err error)
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(name string, options v1.GetOptions) (result *lattice_v1.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(opts v1.ListOptions) (result *lattice_v1.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) Update ¶
func (c *FakeServices) Update(service *lattice_v1.Service) (result *lattice_v1.Service, err error)
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
func (c *FakeServices) UpdateStatus(service *lattice_v1.Service) (*lattice_v1.Service, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.
type FakeSystems ¶
type FakeSystems struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeSystems implements SystemInterface
func (*FakeSystems) Create ¶
func (c *FakeSystems) Create(system *lattice_v1.System) (result *lattice_v1.System, err error)
Create takes the representation of a system and creates it. Returns the server's representation of the system, and an error, if there is any.
func (*FakeSystems) Delete ¶
func (c *FakeSystems) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the system and deletes it. Returns an error if one occurs.
func (*FakeSystems) DeleteCollection ¶
func (c *FakeSystems) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSystems) Get ¶
func (c *FakeSystems) Get(name string, options v1.GetOptions) (result *lattice_v1.System, err error)
Get takes name of the system, and returns the corresponding system object, and an error if there is any.
func (*FakeSystems) List ¶
func (c *FakeSystems) List(opts v1.ListOptions) (result *lattice_v1.SystemList, err error)
List takes label and field selectors, and returns the list of Systems that match those selectors.
func (*FakeSystems) Patch ¶
func (c *FakeSystems) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.System, err error)
Patch applies the patch and returns the patched system.
func (*FakeSystems) Update ¶
func (c *FakeSystems) Update(system *lattice_v1.System) (result *lattice_v1.System, err error)
Update takes the representation of a system and updates it. Returns the server's representation of the system, and an error, if there is any.
func (*FakeSystems) UpdateStatus ¶
func (c *FakeSystems) UpdateStatus(system *lattice_v1.System) (*lattice_v1.System, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSystems) Watch ¶
func (c *FakeSystems) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested systems.
type FakeTeardowns ¶
type FakeTeardowns struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeTeardowns implements TeardownInterface
func (*FakeTeardowns) Create ¶
func (c *FakeTeardowns) Create(teardown *lattice_v1.Teardown) (result *lattice_v1.Teardown, err error)
Create takes the representation of a teardown and creates it. Returns the server's representation of the teardown, and an error, if there is any.
func (*FakeTeardowns) Delete ¶
func (c *FakeTeardowns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the teardown and deletes it. Returns an error if one occurs.
func (*FakeTeardowns) DeleteCollection ¶
func (c *FakeTeardowns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTeardowns) Get ¶
func (c *FakeTeardowns) Get(name string, options v1.GetOptions) (result *lattice_v1.Teardown, err error)
Get takes name of the teardown, and returns the corresponding teardown object, and an error if there is any.
func (*FakeTeardowns) List ¶
func (c *FakeTeardowns) List(opts v1.ListOptions) (result *lattice_v1.TeardownList, err error)
List takes label and field selectors, and returns the list of Teardowns that match those selectors.
func (*FakeTeardowns) Patch ¶
func (c *FakeTeardowns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Teardown, err error)
Patch applies the patch and returns the patched teardown.
func (*FakeTeardowns) Update ¶
func (c *FakeTeardowns) Update(teardown *lattice_v1.Teardown) (result *lattice_v1.Teardown, err error)
Update takes the representation of a teardown and updates it. Returns the server's representation of the teardown, and an error, if there is any.
func (*FakeTeardowns) UpdateStatus ¶
func (c *FakeTeardowns) UpdateStatus(teardown *lattice_v1.Teardown) (*lattice_v1.Teardown, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTeardowns) Watch ¶
func (c *FakeTeardowns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested teardowns.
type FakeTemplates ¶
type FakeTemplates struct { Fake *FakeLatticeV1 // contains filtered or unexported fields }
FakeTemplates implements TemplateInterface
func (*FakeTemplates) Create ¶
func (c *FakeTemplates) Create(template *lattice_v1.Template) (result *lattice_v1.Template, err error)
Create takes the representation of a template and creates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Delete ¶
func (c *FakeTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the template and deletes it. Returns an error if one occurs.
func (*FakeTemplates) DeleteCollection ¶
func (c *FakeTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTemplates) Get ¶
func (c *FakeTemplates) Get(name string, options v1.GetOptions) (result *lattice_v1.Template, err error)
Get takes name of the template, and returns the corresponding template object, and an error if there is any.
func (*FakeTemplates) List ¶
func (c *FakeTemplates) List(opts v1.ListOptions) (result *lattice_v1.TemplateList, err error)
List takes label and field selectors, and returns the list of Templates that match those selectors.
func (*FakeTemplates) Patch ¶
func (c *FakeTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *lattice_v1.Template, err error)
Patch applies the patch and returns the patched template.
func (*FakeTemplates) Update ¶
func (c *FakeTemplates) Update(template *lattice_v1.Template) (result *lattice_v1.Template, err error)
Update takes the representation of a template and updates it. Returns the server's representation of the template, and an error, if there is any.
func (*FakeTemplates) Watch ¶
func (c *FakeTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested templates.