fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 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 FakeAttachedDatabaseConfigurations

type FakeAttachedDatabaseConfigurations struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeAttachedDatabaseConfigurations implements AttachedDatabaseConfigurationInterface

func (*FakeAttachedDatabaseConfigurations) Create

Create takes the representation of a attachedDatabaseConfiguration and creates it. Returns the server's representation of the attachedDatabaseConfiguration, and an error, if there is any.

func (*FakeAttachedDatabaseConfigurations) Delete

Delete takes name of the attachedDatabaseConfiguration and deletes it. Returns an error if one occurs.

func (*FakeAttachedDatabaseConfigurations) DeleteCollection

func (c *FakeAttachedDatabaseConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAttachedDatabaseConfigurations) Get

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

func (*FakeAttachedDatabaseConfigurations) List

List takes label and field selectors, and returns the list of AttachedDatabaseConfigurations that match those selectors.

func (*FakeAttachedDatabaseConfigurations) Patch

func (c *FakeAttachedDatabaseConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AttachedDatabaseConfiguration, err error)

Patch applies the patch and returns the patched attachedDatabaseConfiguration.

func (*FakeAttachedDatabaseConfigurations) Update

Update takes the representation of a attachedDatabaseConfiguration and updates it. Returns the server's representation of the attachedDatabaseConfiguration, and an error, if there is any.

func (*FakeAttachedDatabaseConfigurations) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAttachedDatabaseConfigurations) Watch

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

type FakeClusterCustomerManagedKeys

type FakeClusterCustomerManagedKeys struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeClusterCustomerManagedKeys implements ClusterCustomerManagedKeyInterface

func (*FakeClusterCustomerManagedKeys) Create

Create takes the representation of a clusterCustomerManagedKey and creates it. Returns the server's representation of the clusterCustomerManagedKey, and an error, if there is any.

func (*FakeClusterCustomerManagedKeys) Delete

Delete takes name of the clusterCustomerManagedKey and deletes it. Returns an error if one occurs.

func (*FakeClusterCustomerManagedKeys) DeleteCollection

func (c *FakeClusterCustomerManagedKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterCustomerManagedKeys) Get

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

func (*FakeClusterCustomerManagedKeys) List

List takes label and field selectors, and returns the list of ClusterCustomerManagedKeys that match those selectors.

func (*FakeClusterCustomerManagedKeys) Patch

func (c *FakeClusterCustomerManagedKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterCustomerManagedKey, err error)

Patch applies the patch and returns the patched clusterCustomerManagedKey.

func (*FakeClusterCustomerManagedKeys) Update

Update takes the representation of a clusterCustomerManagedKey and updates it. Returns the server's representation of the clusterCustomerManagedKey, and an error, if there is any.

func (*FakeClusterCustomerManagedKeys) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterCustomerManagedKeys) Watch

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

type FakeClusterPrincipalAssignments

type FakeClusterPrincipalAssignments struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeClusterPrincipalAssignments implements ClusterPrincipalAssignmentInterface

func (*FakeClusterPrincipalAssignments) Create

Create takes the representation of a clusterPrincipalAssignment and creates it. Returns the server's representation of the clusterPrincipalAssignment, and an error, if there is any.

func (*FakeClusterPrincipalAssignments) Delete

Delete takes name of the clusterPrincipalAssignment and deletes it. Returns an error if one occurs.

func (*FakeClusterPrincipalAssignments) DeleteCollection

func (c *FakeClusterPrincipalAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterPrincipalAssignments) Get

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

func (*FakeClusterPrincipalAssignments) List

List takes label and field selectors, and returns the list of ClusterPrincipalAssignments that match those selectors.

func (*FakeClusterPrincipalAssignments) Patch

func (c *FakeClusterPrincipalAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterPrincipalAssignment, err error)

Patch applies the patch and returns the patched clusterPrincipalAssignment.

func (*FakeClusterPrincipalAssignments) Update

Update takes the representation of a clusterPrincipalAssignment and updates it. Returns the server's representation of the clusterPrincipalAssignment, and an error, if there is any.

func (*FakeClusterPrincipalAssignments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterPrincipalAssignments) Watch

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

type FakeClusters

type FakeClusters struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)

Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) Delete

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

Delete takes name of the cluster and deletes it. Returns an error if one occurs.

func (*FakeClusters) DeleteCollection

func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get

func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) List

func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)

List takes label and field selectors, and returns the list of Clusters that match those selectors.

func (*FakeClusters) Patch

func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)

Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) UpdateStatus

func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusters) Watch

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

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

type FakeDatabasePrincipalAssignments

type FakeDatabasePrincipalAssignments struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeDatabasePrincipalAssignments implements DatabasePrincipalAssignmentInterface

func (*FakeDatabasePrincipalAssignments) Create

Create takes the representation of a databasePrincipalAssignment and creates it. Returns the server's representation of the databasePrincipalAssignment, and an error, if there is any.

func (*FakeDatabasePrincipalAssignments) Delete

Delete takes name of the databasePrincipalAssignment and deletes it. Returns an error if one occurs.

func (*FakeDatabasePrincipalAssignments) DeleteCollection

func (c *FakeDatabasePrincipalAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDatabasePrincipalAssignments) Get

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

func (*FakeDatabasePrincipalAssignments) List

List takes label and field selectors, and returns the list of DatabasePrincipalAssignments that match those selectors.

func (*FakeDatabasePrincipalAssignments) Patch

func (c *FakeDatabasePrincipalAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DatabasePrincipalAssignment, err error)

Patch applies the patch and returns the patched databasePrincipalAssignment.

func (*FakeDatabasePrincipalAssignments) Update

Update takes the representation of a databasePrincipalAssignment and updates it. Returns the server's representation of the databasePrincipalAssignment, and an error, if there is any.

func (*FakeDatabasePrincipalAssignments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDatabasePrincipalAssignments) Watch

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

type FakeDatabasePrincipals

type FakeDatabasePrincipals struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeDatabasePrincipals implements DatabasePrincipalInterface

func (*FakeDatabasePrincipals) Create

func (c *FakeDatabasePrincipals) Create(ctx context.Context, databasePrincipal *v1alpha1.DatabasePrincipal, opts v1.CreateOptions) (result *v1alpha1.DatabasePrincipal, err error)

Create takes the representation of a databasePrincipal and creates it. Returns the server's representation of the databasePrincipal, and an error, if there is any.

func (*FakeDatabasePrincipals) Delete

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

Delete takes name of the databasePrincipal and deletes it. Returns an error if one occurs.

func (*FakeDatabasePrincipals) DeleteCollection

func (c *FakeDatabasePrincipals) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDatabasePrincipals) Get

func (c *FakeDatabasePrincipals) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabasePrincipal, err error)

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

func (*FakeDatabasePrincipals) List

List takes label and field selectors, and returns the list of DatabasePrincipals that match those selectors.

func (*FakeDatabasePrincipals) Patch

func (c *FakeDatabasePrincipals) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DatabasePrincipal, err error)

Patch applies the patch and returns the patched databasePrincipal.

func (*FakeDatabasePrincipals) Update

func (c *FakeDatabasePrincipals) Update(ctx context.Context, databasePrincipal *v1alpha1.DatabasePrincipal, opts v1.UpdateOptions) (result *v1alpha1.DatabasePrincipal, err error)

Update takes the representation of a databasePrincipal and updates it. Returns the server's representation of the databasePrincipal, and an error, if there is any.

func (*FakeDatabasePrincipals) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDatabasePrincipals) Watch

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

type FakeDatabases

type FakeDatabases struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeDatabases implements DatabaseInterface

func (*FakeDatabases) Create

func (c *FakeDatabases) Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (result *v1alpha1.Database, err error)

Create takes the representation of a database and creates it. Returns the server's representation of the database, and an error, if there is any.

func (*FakeDatabases) Delete

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

Delete takes name of the database and deletes it. Returns an error if one occurs.

func (*FakeDatabases) DeleteCollection

func (c *FakeDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDatabases) Get

func (c *FakeDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Database, err error)

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

func (*FakeDatabases) List

func (c *FakeDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseList, err error)

List takes label and field selectors, and returns the list of Databases that match those selectors.

func (*FakeDatabases) Patch

func (c *FakeDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Database, err error)

Patch applies the patch and returns the patched database.

func (*FakeDatabases) Update

func (c *FakeDatabases) Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (result *v1alpha1.Database, err error)

Update takes the representation of a database and updates it. Returns the server's representation of the database, and an error, if there is any.

func (*FakeDatabases) UpdateStatus

func (c *FakeDatabases) UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDatabases) Watch

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

type FakeEventgridDataConnections

type FakeEventgridDataConnections struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeEventgridDataConnections implements EventgridDataConnectionInterface

func (*FakeEventgridDataConnections) Create

Create takes the representation of a eventgridDataConnection and creates it. Returns the server's representation of the eventgridDataConnection, and an error, if there is any.

func (*FakeEventgridDataConnections) Delete

Delete takes name of the eventgridDataConnection and deletes it. Returns an error if one occurs.

func (*FakeEventgridDataConnections) DeleteCollection

func (c *FakeEventgridDataConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEventgridDataConnections) Get

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

func (*FakeEventgridDataConnections) List

List takes label and field selectors, and returns the list of EventgridDataConnections that match those selectors.

func (*FakeEventgridDataConnections) Patch

func (c *FakeEventgridDataConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EventgridDataConnection, err error)

Patch applies the patch and returns the patched eventgridDataConnection.

func (*FakeEventgridDataConnections) Update

Update takes the representation of a eventgridDataConnection and updates it. Returns the server's representation of the eventgridDataConnection, and an error, if there is any.

func (*FakeEventgridDataConnections) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEventgridDataConnections) Watch

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

type FakeEventhubDataConnections

type FakeEventhubDataConnections struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeEventhubDataConnections implements EventhubDataConnectionInterface

func (*FakeEventhubDataConnections) Create

Create takes the representation of a eventhubDataConnection and creates it. Returns the server's representation of the eventhubDataConnection, and an error, if there is any.

func (*FakeEventhubDataConnections) Delete

Delete takes name of the eventhubDataConnection and deletes it. Returns an error if one occurs.

func (*FakeEventhubDataConnections) DeleteCollection

func (c *FakeEventhubDataConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEventhubDataConnections) Get

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

func (*FakeEventhubDataConnections) List

List takes label and field selectors, and returns the list of EventhubDataConnections that match those selectors.

func (*FakeEventhubDataConnections) Patch

func (c *FakeEventhubDataConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EventhubDataConnection, err error)

Patch applies the patch and returns the patched eventhubDataConnection.

func (*FakeEventhubDataConnections) Update

Update takes the representation of a eventhubDataConnection and updates it. Returns the server's representation of the eventhubDataConnection, and an error, if there is any.

func (*FakeEventhubDataConnections) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEventhubDataConnections) Watch

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

type FakeIothubDataConnections

type FakeIothubDataConnections struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeIothubDataConnections implements IothubDataConnectionInterface

func (*FakeIothubDataConnections) Create

func (c *FakeIothubDataConnections) Create(ctx context.Context, iothubDataConnection *v1alpha1.IothubDataConnection, opts v1.CreateOptions) (result *v1alpha1.IothubDataConnection, err error)

Create takes the representation of a iothubDataConnection and creates it. Returns the server's representation of the iothubDataConnection, and an error, if there is any.

func (*FakeIothubDataConnections) Delete

Delete takes name of the iothubDataConnection and deletes it. Returns an error if one occurs.

func (*FakeIothubDataConnections) DeleteCollection

func (c *FakeIothubDataConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIothubDataConnections) Get

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

func (*FakeIothubDataConnections) List

List takes label and field selectors, and returns the list of IothubDataConnections that match those selectors.

func (*FakeIothubDataConnections) Patch

func (c *FakeIothubDataConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IothubDataConnection, err error)

Patch applies the patch and returns the patched iothubDataConnection.

func (*FakeIothubDataConnections) Update

func (c *FakeIothubDataConnections) Update(ctx context.Context, iothubDataConnection *v1alpha1.IothubDataConnection, opts v1.UpdateOptions) (result *v1alpha1.IothubDataConnection, err error)

Update takes the representation of a iothubDataConnection and updates it. Returns the server's representation of the iothubDataConnection, and an error, if there is any.

func (*FakeIothubDataConnections) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeIothubDataConnections) Watch

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

type FakeKustoV1alpha1

type FakeKustoV1alpha1 struct {
	*testing.Fake
}

func (*FakeKustoV1alpha1) AttachedDatabaseConfigurations

func (c *FakeKustoV1alpha1) AttachedDatabaseConfigurations(namespace string) v1alpha1.AttachedDatabaseConfigurationInterface

func (*FakeKustoV1alpha1) ClusterCustomerManagedKeys

func (c *FakeKustoV1alpha1) ClusterCustomerManagedKeys(namespace string) v1alpha1.ClusterCustomerManagedKeyInterface

func (*FakeKustoV1alpha1) ClusterPrincipalAssignments

func (c *FakeKustoV1alpha1) ClusterPrincipalAssignments(namespace string) v1alpha1.ClusterPrincipalAssignmentInterface

func (*FakeKustoV1alpha1) Clusters

func (c *FakeKustoV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface

func (*FakeKustoV1alpha1) DatabasePrincipalAssignments

func (c *FakeKustoV1alpha1) DatabasePrincipalAssignments(namespace string) v1alpha1.DatabasePrincipalAssignmentInterface

func (*FakeKustoV1alpha1) DatabasePrincipals

func (c *FakeKustoV1alpha1) DatabasePrincipals(namespace string) v1alpha1.DatabasePrincipalInterface

func (*FakeKustoV1alpha1) Databases

func (c *FakeKustoV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface

func (*FakeKustoV1alpha1) EventgridDataConnections

func (c *FakeKustoV1alpha1) EventgridDataConnections(namespace string) v1alpha1.EventgridDataConnectionInterface

func (*FakeKustoV1alpha1) EventhubDataConnections

func (c *FakeKustoV1alpha1) EventhubDataConnections(namespace string) v1alpha1.EventhubDataConnectionInterface

func (*FakeKustoV1alpha1) IothubDataConnections

func (c *FakeKustoV1alpha1) IothubDataConnections(namespace string) v1alpha1.IothubDataConnectionInterface

func (*FakeKustoV1alpha1) RESTClient

func (c *FakeKustoV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeKustoV1alpha1) Scripts added in v0.5.0

func (c *FakeKustoV1alpha1) Scripts(namespace string) v1alpha1.ScriptInterface

type FakeScripts added in v0.5.0

type FakeScripts struct {
	Fake *FakeKustoV1alpha1
	// contains filtered or unexported fields
}

FakeScripts implements ScriptInterface

func (*FakeScripts) Create added in v0.5.0

func (c *FakeScripts) Create(ctx context.Context, script *v1alpha1.Script, opts v1.CreateOptions) (result *v1alpha1.Script, err error)

Create takes the representation of a script and creates it. Returns the server's representation of the script, and an error, if there is any.

func (*FakeScripts) Delete added in v0.5.0

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

Delete takes name of the script and deletes it. Returns an error if one occurs.

func (*FakeScripts) DeleteCollection added in v0.5.0

func (c *FakeScripts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeScripts) Get added in v0.5.0

func (c *FakeScripts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Script, err error)

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

func (*FakeScripts) List added in v0.5.0

func (c *FakeScripts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScriptList, err error)

List takes label and field selectors, and returns the list of Scripts that match those selectors.

func (*FakeScripts) Patch added in v0.5.0

func (c *FakeScripts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Script, err error)

Patch applies the patch and returns the patched script.

func (*FakeScripts) Update added in v0.5.0

func (c *FakeScripts) Update(ctx context.Context, script *v1alpha1.Script, opts v1.UpdateOptions) (result *v1alpha1.Script, err error)

Update takes the representation of a script and updates it. Returns the server's representation of the script, and an error, if there is any.

func (*FakeScripts) UpdateStatus added in v0.5.0

func (c *FakeScripts) UpdateStatus(ctx context.Context, script *v1alpha1.Script, opts v1.UpdateOptions) (*v1alpha1.Script, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeScripts) Watch added in v0.5.0

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

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

Jump to

Keyboard shortcuts

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