Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigOsPolicyAssignments
- func (c *FakeConfigOsPolicyAssignments) Create(ctx context.Context, ...) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
- func (c *FakeConfigOsPolicyAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigOsPolicyAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigOsPolicyAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
- func (c *FakeConfigOsPolicyAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigOsPolicyAssignmentList, err error)
- func (c *FakeConfigOsPolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
- func (c *FakeConfigOsPolicyAssignments) Update(ctx context.Context, ...) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
- func (c *FakeConfigOsPolicyAssignments) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ConfigOsPolicyAssignment, error)
- func (c *FakeConfigOsPolicyAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigPatchDeployments
- func (c *FakeConfigPatchDeployments) Create(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, ...) (result *v1alpha1.ConfigPatchDeployment, err error)
- func (c *FakeConfigPatchDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigPatchDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigPatchDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigPatchDeployment, err error)
- func (c *FakeConfigPatchDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigPatchDeploymentList, err error)
- func (c *FakeConfigPatchDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConfigPatchDeployment, err error)
- func (c *FakeConfigPatchDeployments) Update(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, ...) (result *v1alpha1.ConfigPatchDeployment, err error)
- func (c *FakeConfigPatchDeployments) UpdateStatus(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, ...) (*v1alpha1.ConfigPatchDeployment, error)
- func (c *FakeConfigPatchDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLoginSSHPublicKeys
- func (c *FakeLoginSSHPublicKeys) Create(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, ...) (result *v1alpha1.LoginSSHPublicKey, err error)
- func (c *FakeLoginSSHPublicKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLoginSSHPublicKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLoginSSHPublicKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoginSSHPublicKey, err error)
- func (c *FakeLoginSSHPublicKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoginSSHPublicKeyList, err error)
- func (c *FakeLoginSSHPublicKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LoginSSHPublicKey, err error)
- func (c *FakeLoginSSHPublicKeys) Update(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, ...) (result *v1alpha1.LoginSSHPublicKey, err error)
- func (c *FakeLoginSSHPublicKeys) UpdateStatus(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, ...) (*v1alpha1.LoginSSHPublicKey, error)
- func (c *FakeLoginSSHPublicKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOsV1alpha1
- func (c *FakeOsV1alpha1) ConfigOsPolicyAssignments(namespace string) v1alpha1.ConfigOsPolicyAssignmentInterface
- func (c *FakeOsV1alpha1) ConfigPatchDeployments(namespace string) v1alpha1.ConfigPatchDeploymentInterface
- func (c *FakeOsV1alpha1) LoginSSHPublicKeys(namespace string) v1alpha1.LoginSSHPublicKeyInterface
- func (c *FakeOsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigOsPolicyAssignments ¶ added in v0.5.0
type FakeConfigOsPolicyAssignments struct { Fake *FakeOsV1alpha1 // contains filtered or unexported fields }
FakeConfigOsPolicyAssignments implements ConfigOsPolicyAssignmentInterface
func (*FakeConfigOsPolicyAssignments) Create ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Create(ctx context.Context, configOsPolicyAssignment *v1alpha1.ConfigOsPolicyAssignment, opts v1.CreateOptions) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
Create takes the representation of a configOsPolicyAssignment and creates it. Returns the server's representation of the configOsPolicyAssignment, and an error, if there is any.
func (*FakeConfigOsPolicyAssignments) Delete ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configOsPolicyAssignment and deletes it. Returns an error if one occurs.
func (*FakeConfigOsPolicyAssignments) DeleteCollection ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigOsPolicyAssignments) Get ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
Get takes name of the configOsPolicyAssignment, and returns the corresponding configOsPolicyAssignment object, and an error if there is any.
func (*FakeConfigOsPolicyAssignments) List ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigOsPolicyAssignmentList, err error)
List takes label and field selectors, and returns the list of ConfigOsPolicyAssignments that match those selectors.
func (*FakeConfigOsPolicyAssignments) Patch ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
Patch applies the patch and returns the patched configOsPolicyAssignment.
func (*FakeConfigOsPolicyAssignments) Update ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Update(ctx context.Context, configOsPolicyAssignment *v1alpha1.ConfigOsPolicyAssignment, opts v1.UpdateOptions) (result *v1alpha1.ConfigOsPolicyAssignment, err error)
Update takes the representation of a configOsPolicyAssignment and updates it. Returns the server's representation of the configOsPolicyAssignment, and an error, if there is any.
func (*FakeConfigOsPolicyAssignments) UpdateStatus ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) UpdateStatus(ctx context.Context, configOsPolicyAssignment *v1alpha1.ConfigOsPolicyAssignment, opts v1.UpdateOptions) (*v1alpha1.ConfigOsPolicyAssignment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigOsPolicyAssignments) Watch ¶ added in v0.5.0
func (c *FakeConfigOsPolicyAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configOsPolicyAssignments.
type FakeConfigPatchDeployments ¶
type FakeConfigPatchDeployments struct { Fake *FakeOsV1alpha1 // contains filtered or unexported fields }
FakeConfigPatchDeployments implements ConfigPatchDeploymentInterface
func (*FakeConfigPatchDeployments) Create ¶
func (c *FakeConfigPatchDeployments) Create(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, opts v1.CreateOptions) (result *v1alpha1.ConfigPatchDeployment, err error)
Create takes the representation of a configPatchDeployment and creates it. Returns the server's representation of the configPatchDeployment, and an error, if there is any.
func (*FakeConfigPatchDeployments) Delete ¶
func (c *FakeConfigPatchDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configPatchDeployment and deletes it. Returns an error if one occurs.
func (*FakeConfigPatchDeployments) DeleteCollection ¶
func (c *FakeConfigPatchDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigPatchDeployments) Get ¶
func (c *FakeConfigPatchDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigPatchDeployment, err error)
Get takes name of the configPatchDeployment, and returns the corresponding configPatchDeployment object, and an error if there is any.
func (*FakeConfigPatchDeployments) List ¶
func (c *FakeConfigPatchDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigPatchDeploymentList, err error)
List takes label and field selectors, and returns the list of ConfigPatchDeployments that match those selectors.
func (*FakeConfigPatchDeployments) Patch ¶
func (c *FakeConfigPatchDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigPatchDeployment, err error)
Patch applies the patch and returns the patched configPatchDeployment.
func (*FakeConfigPatchDeployments) Update ¶
func (c *FakeConfigPatchDeployments) Update(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, opts v1.UpdateOptions) (result *v1alpha1.ConfigPatchDeployment, err error)
Update takes the representation of a configPatchDeployment and updates it. Returns the server's representation of the configPatchDeployment, and an error, if there is any.
func (*FakeConfigPatchDeployments) UpdateStatus ¶
func (c *FakeConfigPatchDeployments) UpdateStatus(ctx context.Context, configPatchDeployment *v1alpha1.ConfigPatchDeployment, opts v1.UpdateOptions) (*v1alpha1.ConfigPatchDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigPatchDeployments) Watch ¶
func (c *FakeConfigPatchDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configPatchDeployments.
type FakeLoginSSHPublicKeys ¶
type FakeLoginSSHPublicKeys struct { Fake *FakeOsV1alpha1 // contains filtered or unexported fields }
FakeLoginSSHPublicKeys implements LoginSSHPublicKeyInterface
func (*FakeLoginSSHPublicKeys) Create ¶
func (c *FakeLoginSSHPublicKeys) Create(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, opts v1.CreateOptions) (result *v1alpha1.LoginSSHPublicKey, err error)
Create takes the representation of a loginSSHPublicKey and creates it. Returns the server's representation of the loginSSHPublicKey, and an error, if there is any.
func (*FakeLoginSSHPublicKeys) Delete ¶
func (c *FakeLoginSSHPublicKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the loginSSHPublicKey and deletes it. Returns an error if one occurs.
func (*FakeLoginSSHPublicKeys) DeleteCollection ¶
func (c *FakeLoginSSHPublicKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLoginSSHPublicKeys) Get ¶
func (c *FakeLoginSSHPublicKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoginSSHPublicKey, err error)
Get takes name of the loginSSHPublicKey, and returns the corresponding loginSSHPublicKey object, and an error if there is any.
func (*FakeLoginSSHPublicKeys) List ¶
func (c *FakeLoginSSHPublicKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoginSSHPublicKeyList, err error)
List takes label and field selectors, and returns the list of LoginSSHPublicKeys that match those selectors.
func (*FakeLoginSSHPublicKeys) Patch ¶
func (c *FakeLoginSSHPublicKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoginSSHPublicKey, err error)
Patch applies the patch and returns the patched loginSSHPublicKey.
func (*FakeLoginSSHPublicKeys) Update ¶
func (c *FakeLoginSSHPublicKeys) Update(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, opts v1.UpdateOptions) (result *v1alpha1.LoginSSHPublicKey, err error)
Update takes the representation of a loginSSHPublicKey and updates it. Returns the server's representation of the loginSSHPublicKey, and an error, if there is any.
func (*FakeLoginSSHPublicKeys) UpdateStatus ¶
func (c *FakeLoginSSHPublicKeys) UpdateStatus(ctx context.Context, loginSSHPublicKey *v1alpha1.LoginSSHPublicKey, opts v1.UpdateOptions) (*v1alpha1.LoginSSHPublicKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLoginSSHPublicKeys) Watch ¶
func (c *FakeLoginSSHPublicKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested loginSSHPublicKeys.
type FakeOsV1alpha1 ¶
func (*FakeOsV1alpha1) ConfigOsPolicyAssignments ¶ added in v0.5.0
func (c *FakeOsV1alpha1) ConfigOsPolicyAssignments(namespace string) v1alpha1.ConfigOsPolicyAssignmentInterface
func (*FakeOsV1alpha1) ConfigPatchDeployments ¶
func (c *FakeOsV1alpha1) ConfigPatchDeployments(namespace string) v1alpha1.ConfigPatchDeploymentInterface
func (*FakeOsV1alpha1) LoginSSHPublicKeys ¶
func (c *FakeOsV1alpha1) LoginSSHPublicKeys(namespace string) v1alpha1.LoginSSHPublicKeyInterface
func (*FakeOsV1alpha1) RESTClient ¶
func (c *FakeOsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.