Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplications
- func (c *FakeApplications) Create(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) List(opts v1.ListOptions) (result *v1alpha1.ApplicationList, err error)
- func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Update(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudV1alpha1
- func (c *FakeCloudV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
- func (c *FakeCloudV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
- func (c *FakeCloudV1alpha1) NodeDesires(namespace string) v1alpha1.NodeDesireInterface
- func (c *FakeCloudV1alpha1) NodeReports(namespace string) v1alpha1.NodeReportInterface
- func (c *FakeCloudV1alpha1) Nodes(namespace string) v1alpha1.NodeInterface
- func (c *FakeCloudV1alpha1) RESTClient() rest.Interface
- func (c *FakeCloudV1alpha1) Secrets(namespace string) v1alpha1.SecretInterface
- type FakeConfigurations
- func (c *FakeConfigurations) Create(configuration *v1alpha1.Configuration) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigurations) Get(name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) List(opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
- func (c *FakeConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Update(configuration *v1alpha1.Configuration) (result *v1alpha1.Configuration, err error)
- func (c *FakeConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeDesires
- func (c *FakeNodeDesires) Create(nodeDesire *v1alpha1.NodeDesire) (result *v1alpha1.NodeDesire, err error)
- func (c *FakeNodeDesires) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodeDesires) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodeDesires) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeDesire, err error)
- func (c *FakeNodeDesires) List(opts v1.ListOptions) (result *v1alpha1.NodeDesireList, err error)
- func (c *FakeNodeDesires) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeDesire, err error)
- func (c *FakeNodeDesires) Update(nodeDesire *v1alpha1.NodeDesire) (result *v1alpha1.NodeDesire, err error)
- func (c *FakeNodeDesires) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeReports
- func (c *FakeNodeReports) Create(nodeReport *v1alpha1.NodeReport) (result *v1alpha1.NodeReport, err error)
- func (c *FakeNodeReports) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodeReports) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodeReports) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeReport, err error)
- func (c *FakeNodeReports) List(opts v1.ListOptions) (result *v1alpha1.NodeReportList, err error)
- func (c *FakeNodeReports) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeReport, err error)
- func (c *FakeNodeReports) Update(nodeReport *v1alpha1.NodeReport) (result *v1alpha1.NodeReport, err error)
- func (c *FakeNodeReports) UpdateStatus(nodeReport *v1alpha1.NodeReport) (*v1alpha1.NodeReport, error)
- func (c *FakeNodeReports) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodes
- func (c *FakeNodes) Create(node *v1alpha1.Node) (result *v1alpha1.Node, err error)
- func (c *FakeNodes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodes) Get(name string, options v1.GetOptions) (result *v1alpha1.Node, err error)
- func (c *FakeNodes) List(opts v1.ListOptions) (result *v1alpha1.NodeList, err error)
- func (c *FakeNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Node, err error)
- func (c *FakeNodes) Update(node *v1alpha1.Node) (result *v1alpha1.Node, err error)
- func (c *FakeNodes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(secret *v1alpha1.Secret) (result *v1alpha1.Secret, err error)
- func (c *FakeSecrets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSecrets) Get(name string, options v1.GetOptions) (result *v1alpha1.Secret, err error)
- func (c *FakeSecrets) List(opts v1.ListOptions) (result *v1alpha1.SecretList, err error)
- func (c *FakeSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Secret, err error)
- func (c *FakeSecrets) Update(secret *v1alpha1.Secret) (result *v1alpha1.Secret, err error)
- func (c *FakeSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplications ¶
type FakeApplications struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeApplications implements ApplicationInterface
func (*FakeApplications) Create ¶
func (c *FakeApplications) Create(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
Create takes the representation of a application and creates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Delete ¶
func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the application and deletes it. Returns an error if one occurs.
func (*FakeApplications) DeleteCollection ¶
func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplications) Get ¶
func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v1alpha1.Application, err error)
Get takes name of the application, and returns the corresponding application object, and an error if there is any.
func (*FakeApplications) List ¶
func (c *FakeApplications) List(opts v1.ListOptions) (result *v1alpha1.ApplicationList, err error)
List takes label and field selectors, and returns the list of Applications that match those selectors.
func (*FakeApplications) Patch ¶
func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Application, err error)
Patch applies the patch and returns the patched application.
func (*FakeApplications) Update ¶
func (c *FakeApplications) Update(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
Update takes the representation of a application and updates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Watch ¶
func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applications.
type FakeCloudV1alpha1 ¶
func (*FakeCloudV1alpha1) Applications ¶
func (c *FakeCloudV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
func (*FakeCloudV1alpha1) Configurations ¶
func (c *FakeCloudV1alpha1) Configurations(namespace string) v1alpha1.ConfigurationInterface
func (*FakeCloudV1alpha1) NodeDesires ¶
func (c *FakeCloudV1alpha1) NodeDesires(namespace string) v1alpha1.NodeDesireInterface
func (*FakeCloudV1alpha1) NodeReports ¶
func (c *FakeCloudV1alpha1) NodeReports(namespace string) v1alpha1.NodeReportInterface
func (*FakeCloudV1alpha1) Nodes ¶
func (c *FakeCloudV1alpha1) Nodes(namespace string) v1alpha1.NodeInterface
func (*FakeCloudV1alpha1) RESTClient ¶
func (c *FakeCloudV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCloudV1alpha1) Secrets ¶
func (c *FakeCloudV1alpha1) Secrets(namespace string) v1alpha1.SecretInterface
type FakeConfigurations ¶
type FakeConfigurations struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeConfigurations implements ConfigurationInterface
func (*FakeConfigurations) Create ¶
func (c *FakeConfigurations) Create(configuration *v1alpha1.Configuration) (result *v1alpha1.Configuration, err error)
Create takes the representation of a configuration and creates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Delete ¶
func (c *FakeConfigurations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the configuration and deletes it. Returns an error if one occurs.
func (*FakeConfigurations) DeleteCollection ¶
func (c *FakeConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigurations) Get ¶
func (c *FakeConfigurations) Get(name string, options v1.GetOptions) (result *v1alpha1.Configuration, err error)
Get takes name of the configuration, and returns the corresponding configuration object, and an error if there is any.
func (*FakeConfigurations) List ¶
func (c *FakeConfigurations) List(opts v1.ListOptions) (result *v1alpha1.ConfigurationList, err error)
List takes label and field selectors, and returns the list of Configurations that match those selectors.
func (*FakeConfigurations) Patch ¶
func (c *FakeConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Configuration, err error)
Patch applies the patch and returns the patched configuration.
func (*FakeConfigurations) Update ¶
func (c *FakeConfigurations) Update(configuration *v1alpha1.Configuration) (result *v1alpha1.Configuration, err error)
Update takes the representation of a configuration and updates it. Returns the server's representation of the configuration, and an error, if there is any.
func (*FakeConfigurations) Watch ¶
func (c *FakeConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configurations.
type FakeNodeDesires ¶
type FakeNodeDesires struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeNodeDesires implements NodeDesireInterface
func (*FakeNodeDesires) Create ¶
func (c *FakeNodeDesires) Create(nodeDesire *v1alpha1.NodeDesire) (result *v1alpha1.NodeDesire, err error)
Create takes the representation of a nodeDesire and creates it. Returns the server's representation of the nodeDesire, and an error, if there is any.
func (*FakeNodeDesires) Delete ¶
func (c *FakeNodeDesires) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodeDesire and deletes it. Returns an error if one occurs.
func (*FakeNodeDesires) DeleteCollection ¶
func (c *FakeNodeDesires) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeDesires) Get ¶
func (c *FakeNodeDesires) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeDesire, err error)
Get takes name of the nodeDesire, and returns the corresponding nodeDesire object, and an error if there is any.
func (*FakeNodeDesires) List ¶
func (c *FakeNodeDesires) List(opts v1.ListOptions) (result *v1alpha1.NodeDesireList, err error)
List takes label and field selectors, and returns the list of NodeDesires that match those selectors.
func (*FakeNodeDesires) Patch ¶
func (c *FakeNodeDesires) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeDesire, err error)
Patch applies the patch and returns the patched nodeDesire.
func (*FakeNodeDesires) Update ¶
func (c *FakeNodeDesires) Update(nodeDesire *v1alpha1.NodeDesire) (result *v1alpha1.NodeDesire, err error)
Update takes the representation of a nodeDesire and updates it. Returns the server's representation of the nodeDesire, and an error, if there is any.
func (*FakeNodeDesires) Watch ¶
func (c *FakeNodeDesires) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeDesires.
type FakeNodeReports ¶
type FakeNodeReports struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeNodeReports implements NodeReportInterface
func (*FakeNodeReports) Create ¶
func (c *FakeNodeReports) Create(nodeReport *v1alpha1.NodeReport) (result *v1alpha1.NodeReport, err error)
Create takes the representation of a nodeReport and creates it. Returns the server's representation of the nodeReport, and an error, if there is any.
func (*FakeNodeReports) Delete ¶
func (c *FakeNodeReports) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nodeReport and deletes it. Returns an error if one occurs.
func (*FakeNodeReports) DeleteCollection ¶
func (c *FakeNodeReports) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeReports) Get ¶
func (c *FakeNodeReports) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeReport, err error)
Get takes name of the nodeReport, and returns the corresponding nodeReport object, and an error if there is any.
func (*FakeNodeReports) List ¶
func (c *FakeNodeReports) List(opts v1.ListOptions) (result *v1alpha1.NodeReportList, err error)
List takes label and field selectors, and returns the list of NodeReports that match those selectors.
func (*FakeNodeReports) Patch ¶
func (c *FakeNodeReports) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeReport, err error)
Patch applies the patch and returns the patched nodeReport.
func (*FakeNodeReports) Update ¶
func (c *FakeNodeReports) Update(nodeReport *v1alpha1.NodeReport) (result *v1alpha1.NodeReport, err error)
Update takes the representation of a nodeReport and updates it. Returns the server's representation of the nodeReport, and an error, if there is any.
func (*FakeNodeReports) UpdateStatus ¶
func (c *FakeNodeReports) UpdateStatus(nodeReport *v1alpha1.NodeReport) (*v1alpha1.NodeReport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeReports) Watch ¶
func (c *FakeNodeReports) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeReports.
type FakeNodes ¶
type FakeNodes struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeNodes implements NodeInterface
func (*FakeNodes) Create ¶
Create takes the representation of a node and creates it. Returns the server's representation of the node, and an error, if there is any.
func (*FakeNodes) Delete ¶
func (c *FakeNodes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the node and deletes it. Returns an error if one occurs.
func (*FakeNodes) DeleteCollection ¶
func (c *FakeNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodes) Get ¶
Get takes name of the node, and returns the corresponding node object, and an error if there is any.
func (*FakeNodes) List ¶
List takes label and field selectors, and returns the list of Nodes that match those selectors.
func (*FakeNodes) Patch ¶
func (c *FakeNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Node, err error)
Patch applies the patch and returns the patched node.
type FakeSecrets ¶
type FakeSecrets struct { Fake *FakeCloudV1alpha1 // contains filtered or unexported fields }
FakeSecrets implements SecretInterface
func (*FakeSecrets) Create ¶
Create takes the representation of a secret and creates it. Returns the server's representation of the secret, and an error, if there is any.
func (*FakeSecrets) Delete ¶
func (c *FakeSecrets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the secret and deletes it. Returns an error if one occurs.
func (*FakeSecrets) DeleteCollection ¶
func (c *FakeSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecrets) Get ¶
func (c *FakeSecrets) Get(name string, options v1.GetOptions) (result *v1alpha1.Secret, err error)
Get takes name of the secret, and returns the corresponding secret object, and an error if there is any.
func (*FakeSecrets) List ¶
func (c *FakeSecrets) List(opts v1.ListOptions) (result *v1alpha1.SecretList, err error)
List takes label and field selectors, and returns the list of Secrets that match those selectors.
func (*FakeSecrets) Patch ¶
func (c *FakeSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Secret, err error)
Patch applies the patch and returns the patched secret.
func (*FakeSecrets) Update ¶
Update takes the representation of a secret and updates it. Returns the server's representation of the secret, and an error, if there is any.
func (*FakeSecrets) Watch ¶
func (c *FakeSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested secrets.