Documentation ¶
Index ¶
- type MockClient
- func (c MockClient) CreateInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
- func (c MockClient) DeleteInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
- func (c MockClient) DescribeInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) (*entitlement.Instance, error)
- func (c MockClient) UpdateInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
MockDescribeCluster func(ctx context.Context, input apisv1alpha1.Entitlement) (*entitlement.Instance, error)
}
func (MockClient) CreateInstance ¶
func (c MockClient) CreateInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
func (MockClient) DeleteInstance ¶
func (c MockClient) DeleteInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
func (MockClient) DescribeInstance ¶
func (c MockClient) DescribeInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) ( *entitlement.Instance, error, )
func (MockClient) UpdateInstance ¶
func (c MockClient) UpdateInstance(ctx context.Context, cr *apisv1alpha1.Entitlement) error
Click to show internal directories.
Click to hide internal directories.