Documentation ¶
Index ¶
- type Client
- func (_m *Client) Create(ctx context.Context, shoot *v1beta1.Shoot, opts v1.CreateOptions) (*v1beta1.Shoot, error)
- func (_m *Client) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Shoot, error)
- func (_m *Client) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1beta1.Shoot, error)
- type ShootClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) Create ¶
func (_m *Client) Create(ctx context.Context, shoot *v1beta1.Shoot, opts v1.CreateOptions) (*v1beta1.Shoot, error)
Create provides a mock function with given fields: ctx, shoot, opts
type ShootClient ¶
ShootClient is an autogenerated mock type for the ShootClient type
func NewShootClient ¶
func NewShootClient(t interface { mock.TestingT Cleanup(func()) }) *ShootClient
NewShootClient creates a new instance of ShootClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShootClient) List ¶
func (_m *ShootClient) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ShootList, error)
List provides a mock function with given fields: ctx, opts