fake

package
v0.0.0-...-e8666fe Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

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 FakeAppImages

type FakeAppImages struct {
	Fake *FakeKusciaV1alpha1
}

FakeAppImages implements AppImageInterface

func (*FakeAppImages) Create

func (c *FakeAppImages) Create(ctx context.Context, appImage *v1alpha1.AppImage, opts v1.CreateOptions) (result *v1alpha1.AppImage, err error)

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

func (*FakeAppImages) Delete

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

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

func (*FakeAppImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAppImages) Get

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

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

func (*FakeAppImages) List

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

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

func (*FakeAppImages) Patch

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

Patch applies the patch and returns the patched appImage.

func (*FakeAppImages) Update

func (c *FakeAppImages) Update(ctx context.Context, appImage *v1alpha1.AppImage, opts v1.UpdateOptions) (result *v1alpha1.AppImage, err error)

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

func (*FakeAppImages) Watch

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

type FakeClusterDomainRoutes

type FakeClusterDomainRoutes struct {
	Fake *FakeKusciaV1alpha1
}

FakeClusterDomainRoutes implements ClusterDomainRouteInterface

func (*FakeClusterDomainRoutes) Create

func (c *FakeClusterDomainRoutes) Create(ctx context.Context, clusterDomainRoute *v1alpha1.ClusterDomainRoute, opts v1.CreateOptions) (result *v1alpha1.ClusterDomainRoute, err error)

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

func (*FakeClusterDomainRoutes) Delete

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

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

func (*FakeClusterDomainRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDomainRoutes) Get

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

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

func (*FakeClusterDomainRoutes) List

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

func (*FakeClusterDomainRoutes) Patch

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

Patch applies the patch and returns the patched clusterDomainRoute.

func (*FakeClusterDomainRoutes) Update

func (c *FakeClusterDomainRoutes) Update(ctx context.Context, clusterDomainRoute *v1alpha1.ClusterDomainRoute, opts v1.UpdateOptions) (result *v1alpha1.ClusterDomainRoute, err error)

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

func (*FakeClusterDomainRoutes) UpdateStatus

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

func (*FakeClusterDomainRoutes) Watch

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

type FakeDomainAppImages

type FakeDomainAppImages struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeDomainAppImages implements DomainAppImageInterface

func (*FakeDomainAppImages) Create

func (c *FakeDomainAppImages) Create(ctx context.Context, domainAppImage *v1alpha1.DomainAppImage, opts v1.CreateOptions) (result *v1alpha1.DomainAppImage, err error)

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

func (*FakeDomainAppImages) Delete

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

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

func (*FakeDomainAppImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomainAppImages) Get

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

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

func (*FakeDomainAppImages) List

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

func (*FakeDomainAppImages) Patch

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

Patch applies the patch and returns the patched domainAppImage.

func (*FakeDomainAppImages) Update

func (c *FakeDomainAppImages) Update(ctx context.Context, domainAppImage *v1alpha1.DomainAppImage, opts v1.UpdateOptions) (result *v1alpha1.DomainAppImage, err error)

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

func (*FakeDomainAppImages) Watch

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

type FakeDomainDataGrants

type FakeDomainDataGrants struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeDomainDataGrants implements DomainDataGrantInterface

func (*FakeDomainDataGrants) Create

func (c *FakeDomainDataGrants) Create(ctx context.Context, domainDataGrant *v1alpha1.DomainDataGrant, opts v1.CreateOptions) (result *v1alpha1.DomainDataGrant, err error)

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

func (*FakeDomainDataGrants) Delete

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

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

func (*FakeDomainDataGrants) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomainDataGrants) Get

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

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

func (*FakeDomainDataGrants) List

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

func (*FakeDomainDataGrants) Patch

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

Patch applies the patch and returns the patched domainDataGrant.

func (*FakeDomainDataGrants) Update

func (c *FakeDomainDataGrants) Update(ctx context.Context, domainDataGrant *v1alpha1.DomainDataGrant, opts v1.UpdateOptions) (result *v1alpha1.DomainDataGrant, err error)

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

func (*FakeDomainDataGrants) UpdateStatus

func (c *FakeDomainDataGrants) UpdateStatus(ctx context.Context, domainDataGrant *v1alpha1.DomainDataGrant, opts v1.UpdateOptions) (*v1alpha1.DomainDataGrant, error)

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

func (*FakeDomainDataGrants) Watch

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

type FakeDomainDataSources

type FakeDomainDataSources struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeDomainDataSources implements DomainDataSourceInterface

func (*FakeDomainDataSources) Create

func (c *FakeDomainDataSources) Create(ctx context.Context, domainDataSource *v1alpha1.DomainDataSource, opts v1.CreateOptions) (result *v1alpha1.DomainDataSource, err error)

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

func (*FakeDomainDataSources) Delete

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

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

func (*FakeDomainDataSources) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomainDataSources) Get

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

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

func (*FakeDomainDataSources) List

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

func (*FakeDomainDataSources) Patch

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

Patch applies the patch and returns the patched domainDataSource.

func (*FakeDomainDataSources) Update

func (c *FakeDomainDataSources) Update(ctx context.Context, domainDataSource *v1alpha1.DomainDataSource, opts v1.UpdateOptions) (result *v1alpha1.DomainDataSource, err error)

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

func (*FakeDomainDataSources) UpdateStatus

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

func (*FakeDomainDataSources) Watch

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

type FakeDomainDatas

type FakeDomainDatas struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeDomainDatas implements DomainDataInterface

func (*FakeDomainDatas) Create

func (c *FakeDomainDatas) Create(ctx context.Context, domainData *v1alpha1.DomainData, opts v1.CreateOptions) (result *v1alpha1.DomainData, err error)

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

func (*FakeDomainDatas) Delete

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

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

func (*FakeDomainDatas) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomainDatas) Get

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

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

func (*FakeDomainDatas) List

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

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

func (*FakeDomainDatas) Patch

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

Patch applies the patch and returns the patched domainData.

func (*FakeDomainDatas) Update

func (c *FakeDomainDatas) Update(ctx context.Context, domainData *v1alpha1.DomainData, opts v1.UpdateOptions) (result *v1alpha1.DomainData, err error)

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

func (*FakeDomainDatas) UpdateStatus

func (c *FakeDomainDatas) UpdateStatus(ctx context.Context, domainData *v1alpha1.DomainData, opts v1.UpdateOptions) (*v1alpha1.DomainData, error)

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

func (*FakeDomainDatas) Watch

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

type FakeDomainRoutes

type FakeDomainRoutes struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeDomainRoutes implements DomainRouteInterface

func (*FakeDomainRoutes) Create

func (c *FakeDomainRoutes) Create(ctx context.Context, domainRoute *v1alpha1.DomainRoute, opts v1.CreateOptions) (result *v1alpha1.DomainRoute, err error)

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

func (*FakeDomainRoutes) Delete

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

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

func (*FakeDomainRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomainRoutes) Get

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

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

func (*FakeDomainRoutes) List

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

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

func (*FakeDomainRoutes) Patch

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

Patch applies the patch and returns the patched domainRoute.

func (*FakeDomainRoutes) Update

func (c *FakeDomainRoutes) Update(ctx context.Context, domainRoute *v1alpha1.DomainRoute, opts v1.UpdateOptions) (result *v1alpha1.DomainRoute, err error)

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

func (*FakeDomainRoutes) UpdateStatus

func (c *FakeDomainRoutes) UpdateStatus(ctx context.Context, domainRoute *v1alpha1.DomainRoute, opts v1.UpdateOptions) (*v1alpha1.DomainRoute, error)

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

func (*FakeDomainRoutes) Watch

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

type FakeDomains

type FakeDomains struct {
	Fake *FakeKusciaV1alpha1
}

FakeDomains implements DomainInterface

func (*FakeDomains) Create

func (c *FakeDomains) Create(ctx context.Context, domain *v1alpha1.Domain, opts v1.CreateOptions) (result *v1alpha1.Domain, err error)

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

func (*FakeDomains) Delete

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

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

func (*FakeDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDomains) Get

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

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

func (*FakeDomains) List

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

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

func (*FakeDomains) Patch

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

Patch applies the patch and returns the patched domain.

func (*FakeDomains) Update

func (c *FakeDomains) Update(ctx context.Context, domain *v1alpha1.Domain, opts v1.UpdateOptions) (result *v1alpha1.Domain, err error)

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

func (*FakeDomains) UpdateStatus

func (c *FakeDomains) UpdateStatus(ctx context.Context, domain *v1alpha1.Domain, opts v1.UpdateOptions) (*v1alpha1.Domain, error)

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

func (*FakeDomains) Watch

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

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

type FakeGateways

type FakeGateways struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeGateways implements GatewayInterface

func (*FakeGateways) Create

func (c *FakeGateways) Create(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.CreateOptions) (result *v1alpha1.Gateway, err error)

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

func (*FakeGateways) Delete

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

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

func (*FakeGateways) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGateways) Get

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

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

func (*FakeGateways) List

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

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

func (*FakeGateways) Patch

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

Patch applies the patch and returns the patched gateway.

func (*FakeGateways) Update

func (c *FakeGateways) Update(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (result *v1alpha1.Gateway, err error)

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

func (*FakeGateways) UpdateStatus

func (c *FakeGateways) UpdateStatus(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (*v1alpha1.Gateway, error)

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

func (*FakeGateways) Watch

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

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

type FakeInteropConfigs

type FakeInteropConfigs struct {
	Fake *FakeKusciaV1alpha1
}

FakeInteropConfigs implements InteropConfigInterface

func (*FakeInteropConfigs) Create

func (c *FakeInteropConfigs) Create(ctx context.Context, interopConfig *v1alpha1.InteropConfig, opts v1.CreateOptions) (result *v1alpha1.InteropConfig, err error)

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

func (*FakeInteropConfigs) Delete

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

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

func (*FakeInteropConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInteropConfigs) Get

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

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

func (*FakeInteropConfigs) List

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

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

func (*FakeInteropConfigs) Patch

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

Patch applies the patch and returns the patched interopConfig.

func (*FakeInteropConfigs) Update

func (c *FakeInteropConfigs) Update(ctx context.Context, interopConfig *v1alpha1.InteropConfig, opts v1.UpdateOptions) (result *v1alpha1.InteropConfig, err error)

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

func (*FakeInteropConfigs) Watch

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

type FakeKusciaDeploymentSummaries

type FakeKusciaDeploymentSummaries struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaDeploymentSummaries implements KusciaDeploymentSummaryInterface

func (*FakeKusciaDeploymentSummaries) Create

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

func (*FakeKusciaDeploymentSummaries) Delete

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

func (*FakeKusciaDeploymentSummaries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaDeploymentSummaries) Get

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

func (*FakeKusciaDeploymentSummaries) List

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

func (*FakeKusciaDeploymentSummaries) Patch

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

Patch applies the patch and returns the patched kusciaDeploymentSummary.

func (*FakeKusciaDeploymentSummaries) Update

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

func (*FakeKusciaDeploymentSummaries) UpdateStatus

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

func (*FakeKusciaDeploymentSummaries) Watch

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

type FakeKusciaDeployments

type FakeKusciaDeployments struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaDeployments implements KusciaDeploymentInterface

func (*FakeKusciaDeployments) Create

func (c *FakeKusciaDeployments) Create(ctx context.Context, kusciaDeployment *v1alpha1.KusciaDeployment, opts v1.CreateOptions) (result *v1alpha1.KusciaDeployment, err error)

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

func (*FakeKusciaDeployments) Delete

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

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

func (*FakeKusciaDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaDeployments) Get

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

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

func (*FakeKusciaDeployments) List

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

func (*FakeKusciaDeployments) Patch

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

Patch applies the patch and returns the patched kusciaDeployment.

func (*FakeKusciaDeployments) Update

func (c *FakeKusciaDeployments) Update(ctx context.Context, kusciaDeployment *v1alpha1.KusciaDeployment, opts v1.UpdateOptions) (result *v1alpha1.KusciaDeployment, err error)

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

func (*FakeKusciaDeployments) UpdateStatus

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

func (*FakeKusciaDeployments) Watch

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

type FakeKusciaJobSummaries

type FakeKusciaJobSummaries struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaJobSummaries implements KusciaJobSummaryInterface

func (*FakeKusciaJobSummaries) Create

func (c *FakeKusciaJobSummaries) Create(ctx context.Context, kusciaJobSummary *v1alpha1.KusciaJobSummary, opts v1.CreateOptions) (result *v1alpha1.KusciaJobSummary, err error)

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

func (*FakeKusciaJobSummaries) Delete

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

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

func (*FakeKusciaJobSummaries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaJobSummaries) Get

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

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

func (*FakeKusciaJobSummaries) List

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

func (*FakeKusciaJobSummaries) Patch

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

Patch applies the patch and returns the patched kusciaJobSummary.

func (*FakeKusciaJobSummaries) Update

func (c *FakeKusciaJobSummaries) Update(ctx context.Context, kusciaJobSummary *v1alpha1.KusciaJobSummary, opts v1.UpdateOptions) (result *v1alpha1.KusciaJobSummary, err error)

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

func (*FakeKusciaJobSummaries) UpdateStatus

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

func (*FakeKusciaJobSummaries) Watch

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

type FakeKusciaJobs

type FakeKusciaJobs struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaJobs implements KusciaJobInterface

func (*FakeKusciaJobs) Create

func (c *FakeKusciaJobs) Create(ctx context.Context, kusciaJob *v1alpha1.KusciaJob, opts v1.CreateOptions) (result *v1alpha1.KusciaJob, err error)

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

func (*FakeKusciaJobs) Delete

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

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

func (*FakeKusciaJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaJobs) Get

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

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

func (*FakeKusciaJobs) List

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

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

func (*FakeKusciaJobs) Patch

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

Patch applies the patch and returns the patched kusciaJob.

func (*FakeKusciaJobs) Update

func (c *FakeKusciaJobs) Update(ctx context.Context, kusciaJob *v1alpha1.KusciaJob, opts v1.UpdateOptions) (result *v1alpha1.KusciaJob, err error)

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

func (*FakeKusciaJobs) UpdateStatus

func (c *FakeKusciaJobs) UpdateStatus(ctx context.Context, kusciaJob *v1alpha1.KusciaJob, opts v1.UpdateOptions) (*v1alpha1.KusciaJob, error)

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

func (*FakeKusciaJobs) Watch

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

type FakeKusciaTaskSummaries

type FakeKusciaTaskSummaries struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaTaskSummaries implements KusciaTaskSummaryInterface

func (*FakeKusciaTaskSummaries) Create

func (c *FakeKusciaTaskSummaries) Create(ctx context.Context, kusciaTaskSummary *v1alpha1.KusciaTaskSummary, opts v1.CreateOptions) (result *v1alpha1.KusciaTaskSummary, err error)

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

func (*FakeKusciaTaskSummaries) Delete

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

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

func (*FakeKusciaTaskSummaries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaTaskSummaries) Get

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

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

func (*FakeKusciaTaskSummaries) List

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

func (*FakeKusciaTaskSummaries) Patch

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

Patch applies the patch and returns the patched kusciaTaskSummary.

func (*FakeKusciaTaskSummaries) Update

func (c *FakeKusciaTaskSummaries) Update(ctx context.Context, kusciaTaskSummary *v1alpha1.KusciaTaskSummary, opts v1.UpdateOptions) (result *v1alpha1.KusciaTaskSummary, err error)

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

func (*FakeKusciaTaskSummaries) UpdateStatus

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

func (*FakeKusciaTaskSummaries) Watch

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

type FakeKusciaTasks

type FakeKusciaTasks struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeKusciaTasks implements KusciaTaskInterface

func (*FakeKusciaTasks) Create

func (c *FakeKusciaTasks) Create(ctx context.Context, kusciaTask *v1alpha1.KusciaTask, opts v1.CreateOptions) (result *v1alpha1.KusciaTask, err error)

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

func (*FakeKusciaTasks) Delete

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

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

func (*FakeKusciaTasks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKusciaTasks) Get

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

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

func (*FakeKusciaTasks) List

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

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

func (*FakeKusciaTasks) Patch

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

Patch applies the patch and returns the patched kusciaTask.

func (*FakeKusciaTasks) Update

func (c *FakeKusciaTasks) Update(ctx context.Context, kusciaTask *v1alpha1.KusciaTask, opts v1.UpdateOptions) (result *v1alpha1.KusciaTask, err error)

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

func (*FakeKusciaTasks) UpdateStatus

func (c *FakeKusciaTasks) UpdateStatus(ctx context.Context, kusciaTask *v1alpha1.KusciaTask, opts v1.UpdateOptions) (*v1alpha1.KusciaTask, error)

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

func (*FakeKusciaTasks) Watch

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

type FakeKusciaV1alpha1

type FakeKusciaV1alpha1 struct {
	*testing.Fake
}

func (*FakeKusciaV1alpha1) AppImages

func (*FakeKusciaV1alpha1) ClusterDomainRoutes

func (c *FakeKusciaV1alpha1) ClusterDomainRoutes() v1alpha1.ClusterDomainRouteInterface

func (*FakeKusciaV1alpha1) DomainAppImages

func (c *FakeKusciaV1alpha1) DomainAppImages(namespace string) v1alpha1.DomainAppImageInterface

func (*FakeKusciaV1alpha1) DomainDataGrants

func (c *FakeKusciaV1alpha1) DomainDataGrants(namespace string) v1alpha1.DomainDataGrantInterface

func (*FakeKusciaV1alpha1) DomainDataSources

func (c *FakeKusciaV1alpha1) DomainDataSources(namespace string) v1alpha1.DomainDataSourceInterface

func (*FakeKusciaV1alpha1) DomainDatas

func (c *FakeKusciaV1alpha1) DomainDatas(namespace string) v1alpha1.DomainDataInterface

func (*FakeKusciaV1alpha1) DomainRoutes

func (c *FakeKusciaV1alpha1) DomainRoutes(namespace string) v1alpha1.DomainRouteInterface

func (*FakeKusciaV1alpha1) Domains

func (*FakeKusciaV1alpha1) Gateways

func (c *FakeKusciaV1alpha1) Gateways(namespace string) v1alpha1.GatewayInterface

func (*FakeKusciaV1alpha1) InteropConfigs

func (*FakeKusciaV1alpha1) KusciaDeploymentSummaries

func (c *FakeKusciaV1alpha1) KusciaDeploymentSummaries(namespace string) v1alpha1.KusciaDeploymentSummaryInterface

func (*FakeKusciaV1alpha1) KusciaDeployments

func (c *FakeKusciaV1alpha1) KusciaDeployments(namespace string) v1alpha1.KusciaDeploymentInterface

func (*FakeKusciaV1alpha1) KusciaJobSummaries

func (c *FakeKusciaV1alpha1) KusciaJobSummaries(namespace string) v1alpha1.KusciaJobSummaryInterface

func (*FakeKusciaV1alpha1) KusciaJobs

func (c *FakeKusciaV1alpha1) KusciaJobs(namespace string) v1alpha1.KusciaJobInterface

func (*FakeKusciaV1alpha1) KusciaTaskSummaries

func (c *FakeKusciaV1alpha1) KusciaTaskSummaries(namespace string) v1alpha1.KusciaTaskSummaryInterface

func (*FakeKusciaV1alpha1) KusciaTasks

func (c *FakeKusciaV1alpha1) KusciaTasks(namespace string) v1alpha1.KusciaTaskInterface

func (*FakeKusciaV1alpha1) RESTClient

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

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

func (*FakeKusciaV1alpha1) TaskResourceGroups

func (c *FakeKusciaV1alpha1) TaskResourceGroups() v1alpha1.TaskResourceGroupInterface

func (*FakeKusciaV1alpha1) TaskResources

func (c *FakeKusciaV1alpha1) TaskResources(namespace string) v1alpha1.TaskResourceInterface

type FakeTaskResourceGroups

type FakeTaskResourceGroups struct {
	Fake *FakeKusciaV1alpha1
}

FakeTaskResourceGroups implements TaskResourceGroupInterface

func (*FakeTaskResourceGroups) Create

func (c *FakeTaskResourceGroups) Create(ctx context.Context, taskResourceGroup *v1alpha1.TaskResourceGroup, opts v1.CreateOptions) (result *v1alpha1.TaskResourceGroup, err error)

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

func (*FakeTaskResourceGroups) Delete

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

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

func (*FakeTaskResourceGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTaskResourceGroups) Get

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

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

func (*FakeTaskResourceGroups) List

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

func (*FakeTaskResourceGroups) Patch

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

Patch applies the patch and returns the patched taskResourceGroup.

func (*FakeTaskResourceGroups) Update

func (c *FakeTaskResourceGroups) Update(ctx context.Context, taskResourceGroup *v1alpha1.TaskResourceGroup, opts v1.UpdateOptions) (result *v1alpha1.TaskResourceGroup, err error)

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

func (*FakeTaskResourceGroups) UpdateStatus

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

func (*FakeTaskResourceGroups) Watch

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

type FakeTaskResources

type FakeTaskResources struct {
	Fake *FakeKusciaV1alpha1
	// contains filtered or unexported fields
}

FakeTaskResources implements TaskResourceInterface

func (*FakeTaskResources) Create

func (c *FakeTaskResources) Create(ctx context.Context, taskResource *v1alpha1.TaskResource, opts v1.CreateOptions) (result *v1alpha1.TaskResource, err error)

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

func (*FakeTaskResources) Delete

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

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

func (*FakeTaskResources) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTaskResources) Get

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

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

func (*FakeTaskResources) List

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

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

func (*FakeTaskResources) Patch

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

Patch applies the patch and returns the patched taskResource.

func (*FakeTaskResources) Update

func (c *FakeTaskResources) Update(ctx context.Context, taskResource *v1alpha1.TaskResource, opts v1.UpdateOptions) (result *v1alpha1.TaskResource, err error)

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

func (*FakeTaskResources) UpdateStatus

func (c *FakeTaskResources) UpdateStatus(ctx context.Context, taskResource *v1alpha1.TaskResource, opts v1.UpdateOptions) (*v1alpha1.TaskResource, error)

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

func (*FakeTaskResources) Watch

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

Jump to

Keyboard shortcuts

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