Documentation ¶
Index ¶
- type Client
- func (_m *Client) Close() error
- func (_m *Client) Describe(ctx context.Context, project string, name string) (*secretmanagerpb.Secret, error)
- func (_m *Client) Get(ctx context.Context, project string, _a2 string, version string) (string, error)
- func (_m *Client) Update(ctx context.Context, project string, name string, value string) (string, error)
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) Describe ¶
func (_m *Client) Describe(ctx context.Context, project string, name string) (*secretmanagerpb.Secret, error)
Describe provides a mock function with given fields: ctx, project, name
Click to show internal directories.
Click to hide internal directories.