Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterConfigs
- func (c *FakeClusterConfigs) Create(ctx context.Context, clusterConfig *v1alpha1.ClusterConfig, ...) (result *v1alpha1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigList, err error)
- func (c *FakeClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) Update(ctx context.Context, clusterConfig *v1alpha1.ClusterConfig, ...) (result *v1alpha1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOpscliV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterConfigs ¶
type FakeClusterConfigs struct {
Fake *FakeOpscliV1alpha1
}
FakeClusterConfigs implements ClusterConfigInterface
func (*FakeClusterConfigs) Create ¶
func (c *FakeClusterConfigs) Create(ctx context.Context, clusterConfig *v1alpha1.ClusterConfig, opts v1.CreateOptions) (result *v1alpha1.ClusterConfig, err error)
Create takes the representation of a clusterConfig and creates it. Returns the server's representation of the clusterConfig, and an error, if there is any.
func (*FakeClusterConfigs) Delete ¶
func (c *FakeClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterConfig and deletes it. Returns an error if one occurs.
func (*FakeClusterConfigs) DeleteCollection ¶
func (c *FakeClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterConfigs) Get ¶
func (c *FakeClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterConfig, err error)
Get takes name of the clusterConfig, and returns the corresponding clusterConfig object, and an error if there is any.
func (*FakeClusterConfigs) List ¶
func (c *FakeClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterConfigList, err error)
List takes label and field selectors, and returns the list of ClusterConfigs that match those selectors.
func (*FakeClusterConfigs) Patch ¶
func (c *FakeClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterConfig, err error)
Patch applies the patch and returns the patched clusterConfig.
func (*FakeClusterConfigs) Update ¶
func (c *FakeClusterConfigs) Update(ctx context.Context, clusterConfig *v1alpha1.ClusterConfig, opts v1.UpdateOptions) (result *v1alpha1.ClusterConfig, err error)
Update takes the representation of a clusterConfig and updates it. Returns the server's representation of the clusterConfig, and an error, if there is any.
func (*FakeClusterConfigs) Watch ¶
func (c *FakeClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterConfigs.
type FakeOpscliV1alpha1 ¶
func (*FakeOpscliV1alpha1) ClusterConfigs ¶
func (c *FakeOpscliV1alpha1) ClusterConfigs() v1alpha1.ClusterConfigInterface
func (*FakeOpscliV1alpha1) RESTClient ¶
func (c *FakeOpscliV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.