Documentation ¶
Overview ¶
Package operand is the SDK for the Operand API.
Index ¶
- type Client
- func (c *Client) CreateFile(ctx context.Context, name string, parent *string, data io.Reader, ...) (*filev1.CreateFileResponse, error)
- func (c *Client) FileService() filev1connect.FileServiceClient
- func (c *Client) OperandService() operandv1connect.OperandServiceClient
- func (c *Client) TenantService() tenantv1connect.TenantServiceClient
- func (c *Client) WithEndpoint(endpoint string) *Client
- func (c *Client) WithHTTPClient(httpClient *http.Client) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client for the Operand API.
func (*Client) CreateFile ¶
func (c *Client) CreateFile( ctx context.Context, name string, parent *string, data io.Reader, properties *filev1.Properties, ) (*filev1.CreateFileResponse, error)
CreateFile is a utility method for creating files. Since this is a common operation and is a little more involved, we provide a helper method for it.
func (*Client) FileService ¶
func (c *Client) FileService() filev1connect.FileServiceClient
FileService returns a client for the Operand File Service.
func (*Client) OperandService ¶
func (c *Client) OperandService() operandv1connect.OperandServiceClient
OperandService returns a client for the Operand Operand Service.
func (*Client) TenantService ¶
func (c *Client) TenantService() tenantv1connect.TenantServiceClient
TenantService returns a client for the Operand Tenant Service.
func (*Client) WithEndpoint ¶
WithEndpoint sets the endpoint for the client.
Click to show internal directories.
Click to hide internal directories.