Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePlatformCredentialsSets
- func (c *FakePlatformCredentialsSets) Create(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, ...) (result *v1.PlatformCredentialsSet, err error)
- func (c *FakePlatformCredentialsSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePlatformCredentialsSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePlatformCredentialsSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PlatformCredentialsSet, err error)
- func (c *FakePlatformCredentialsSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PlatformCredentialsSetList, err error)
- func (c *FakePlatformCredentialsSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PlatformCredentialsSet, err error)
- func (c *FakePlatformCredentialsSets) Update(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, ...) (result *v1.PlatformCredentialsSet, err error)
- func (c *FakePlatformCredentialsSets) UpdateStatus(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, ...) (*v1.PlatformCredentialsSet, error)
- func (c *FakePlatformCredentialsSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeStackSets
- func (c *FakeStackSets) Create(ctx context.Context, stackSet *v1.StackSet, opts metav1.CreateOptions) (result *v1.StackSet, err error)
- func (c *FakeStackSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeStackSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeStackSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.StackSet, err error)
- func (c *FakeStackSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackSetList, err error)
- func (c *FakeStackSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.StackSet, err error)
- func (c *FakeStackSets) Update(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (result *v1.StackSet, err error)
- func (c *FakeStackSets) UpdateStatus(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (*v1.StackSet, error)
- func (c *FakeStackSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeStacks
- func (c *FakeStacks) Create(ctx context.Context, stack *v1.Stack, opts metav1.CreateOptions) (result *v1.Stack, err error)
- func (c *FakeStacks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeStacks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeStacks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Stack, err error)
- func (c *FakeStacks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackList, err error)
- func (c *FakeStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Stack, err error)
- func (c *FakeStacks) Update(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (result *v1.Stack, err error)
- func (c *FakeStacks) UpdateStatus(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (*v1.Stack, error)
- func (c *FakeStacks) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeZalandoV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePlatformCredentialsSets ¶ added in v1.4.32
type FakePlatformCredentialsSets struct { Fake *FakeZalandoV1 // contains filtered or unexported fields }
FakePlatformCredentialsSets implements PlatformCredentialsSetInterface
func (*FakePlatformCredentialsSets) Create ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Create(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, opts metav1.CreateOptions) (result *v1.PlatformCredentialsSet, err error)
Create takes the representation of a platformCredentialsSet and creates it. Returns the server's representation of the platformCredentialsSet, and an error, if there is any.
func (*FakePlatformCredentialsSets) Delete ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the platformCredentialsSet and deletes it. Returns an error if one occurs.
func (*FakePlatformCredentialsSets) DeleteCollection ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlatformCredentialsSets) Get ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PlatformCredentialsSet, err error)
Get takes name of the platformCredentialsSet, and returns the corresponding platformCredentialsSet object, and an error if there is any.
func (*FakePlatformCredentialsSets) List ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PlatformCredentialsSetList, err error)
List takes label and field selectors, and returns the list of PlatformCredentialsSets that match those selectors.
func (*FakePlatformCredentialsSets) Patch ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PlatformCredentialsSet, err error)
Patch applies the patch and returns the patched platformCredentialsSet.
func (*FakePlatformCredentialsSets) Update ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Update(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, opts metav1.UpdateOptions) (result *v1.PlatformCredentialsSet, err error)
Update takes the representation of a platformCredentialsSet and updates it. Returns the server's representation of the platformCredentialsSet, and an error, if there is any.
func (*FakePlatformCredentialsSets) UpdateStatus ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) UpdateStatus(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, opts metav1.UpdateOptions) (*v1.PlatformCredentialsSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePlatformCredentialsSets) Watch ¶ added in v1.4.32
func (c *FakePlatformCredentialsSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested platformCredentialsSets.
type FakeStackSets ¶
type FakeStackSets struct { Fake *FakeZalandoV1 // contains filtered or unexported fields }
FakeStackSets implements StackSetInterface
func (*FakeStackSets) Create ¶
func (c *FakeStackSets) Create(ctx context.Context, stackSet *v1.StackSet, opts metav1.CreateOptions) (result *v1.StackSet, err error)
Create takes the representation of a stackSet and creates it. Returns the server's representation of the stackSet, and an error, if there is any.
func (*FakeStackSets) Delete ¶
func (c *FakeStackSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the stackSet and deletes it. Returns an error if one occurs.
func (*FakeStackSets) DeleteCollection ¶
func (c *FakeStackSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStackSets) Get ¶
func (c *FakeStackSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.StackSet, err error)
Get takes name of the stackSet, and returns the corresponding stackSet object, and an error if there is any.
func (*FakeStackSets) List ¶
func (c *FakeStackSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackSetList, err error)
List takes label and field selectors, and returns the list of StackSets that match those selectors.
func (*FakeStackSets) Patch ¶
func (c *FakeStackSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StackSet, err error)
Patch applies the patch and returns the patched stackSet.
func (*FakeStackSets) Update ¶
func (c *FakeStackSets) Update(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (result *v1.StackSet, err error)
Update takes the representation of a stackSet and updates it. Returns the server's representation of the stackSet, and an error, if there is any.
func (*FakeStackSets) UpdateStatus ¶
func (c *FakeStackSets) UpdateStatus(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (*v1.StackSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStackSets) Watch ¶
func (c *FakeStackSets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stackSets.
type FakeStacks ¶
type FakeStacks struct { Fake *FakeZalandoV1 // contains filtered or unexported fields }
FakeStacks implements StackInterface
func (*FakeStacks) Create ¶
func (c *FakeStacks) Create(ctx context.Context, stack *v1.Stack, opts metav1.CreateOptions) (result *v1.Stack, err error)
Create takes the representation of a stack and creates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) Delete ¶
func (c *FakeStacks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the stack and deletes it. Returns an error if one occurs.
func (*FakeStacks) DeleteCollection ¶
func (c *FakeStacks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStacks) Get ¶
func (c *FakeStacks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Stack, err error)
Get takes name of the stack, and returns the corresponding stack object, and an error if there is any.
func (*FakeStacks) List ¶
func (c *FakeStacks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackList, err error)
List takes label and field selectors, and returns the list of Stacks that match those selectors.
func (*FakeStacks) Patch ¶
func (c *FakeStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Stack, err error)
Patch applies the patch and returns the patched stack.
func (*FakeStacks) Update ¶
func (c *FakeStacks) Update(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (result *v1.Stack, err error)
Update takes the representation of a stack and updates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) UpdateStatus ¶
func (c *FakeStacks) UpdateStatus(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (*v1.Stack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStacks) Watch ¶
func (c *FakeStacks) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stacks.
type FakeZalandoV1 ¶
func (*FakeZalandoV1) PlatformCredentialsSets ¶ added in v1.4.32
func (c *FakeZalandoV1) PlatformCredentialsSets(namespace string) v1.PlatformCredentialsSetInterface
func (*FakeZalandoV1) RESTClient ¶
func (c *FakeZalandoV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeZalandoV1) StackSets ¶
func (c *FakeZalandoV1) StackSets(namespace string) v1.StackSetInterface
func (*FakeZalandoV1) Stacks ¶
func (c *FakeZalandoV1) Stacks(namespace string) v1.StackInterface