Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialOptionsFromConfig ¶
func DialOptionsFromConfig(cfg *flow.Config) ([]grpc.DialOption, error)
DialOptionsFromConfig returns dial options configured from a Carbon config
Types ¶
type Client ¶
type Client struct { accountsapi.AccountsClient infoapi.InfoClient workflowsapi.WorkflowsClient // contains filtered or unexported fields }
type ClientConfig ¶
type ClientOpt ¶
type ClientOpt func(c *ClientConfig)
func WithAPIToken ¶
WithAPIToken is an opt that sets the client user api token
func WithInsecure ¶ added in v0.2.0
func WithInsecure() ClientOpt
WithInsecure is an opt to set insecure for GRPC
func WithNamespace ¶
WithNamespace is an opt that sets the client namespace
func WithServiceToken ¶
WithServiceToken is an opt that sets the client service token
func WithUsername ¶
WithUsername is an opt that sets the client username
Click to show internal directories.
Click to hide internal directories.