Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1beta1
- type FakeConfigConstraints
- func (c *FakeConfigConstraints) Create(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, ...) (result *v1beta1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ConfigConstraintList, err error)
- func (c *FakeConfigConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) Update(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, ...) (result *v1beta1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) UpdateStatus(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, ...) (*v1beta1.ConfigConstraint, error)
- func (c *FakeConfigConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppsV1beta1 ¶
func (*FakeAppsV1beta1) ConfigConstraints ¶
func (c *FakeAppsV1beta1) ConfigConstraints() v1beta1.ConfigConstraintInterface
func (*FakeAppsV1beta1) RESTClient ¶
func (c *FakeAppsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeConfigConstraints ¶
type FakeConfigConstraints struct {
Fake *FakeAppsV1beta1
}
FakeConfigConstraints implements ConfigConstraintInterface
func (*FakeConfigConstraints) Create ¶
func (c *FakeConfigConstraints) Create(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, opts v1.CreateOptions) (result *v1beta1.ConfigConstraint, err error)
Create takes the representation of a configConstraint and creates it. Returns the server's representation of the configConstraint, and an error, if there is any.
func (*FakeConfigConstraints) Delete ¶
func (c *FakeConfigConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configConstraint and deletes it. Returns an error if one occurs.
func (*FakeConfigConstraints) DeleteCollection ¶
func (c *FakeConfigConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigConstraints) Get ¶
func (c *FakeConfigConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ConfigConstraint, err error)
Get takes name of the configConstraint, and returns the corresponding configConstraint object, and an error if there is any.
func (*FakeConfigConstraints) List ¶
func (c *FakeConfigConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ConfigConstraintList, err error)
List takes label and field selectors, and returns the list of ConfigConstraints that match those selectors.
func (*FakeConfigConstraints) Patch ¶
func (c *FakeConfigConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ConfigConstraint, err error)
Patch applies the patch and returns the patched configConstraint.
func (*FakeConfigConstraints) Update ¶
func (c *FakeConfigConstraints) Update(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, opts v1.UpdateOptions) (result *v1beta1.ConfigConstraint, err error)
Update takes the representation of a configConstraint and updates it. Returns the server's representation of the configConstraint, and an error, if there is any.
func (*FakeConfigConstraints) UpdateStatus ¶
func (c *FakeConfigConstraints) UpdateStatus(ctx context.Context, configConstraint *v1beta1.ConfigConstraint, opts v1.UpdateOptions) (*v1beta1.ConfigConstraint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigConstraints) Watch ¶
func (c *FakeConfigConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configConstraints.