Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateApp(ctx context.Context, app *kdeploypb.AppConstructor) (*kdeploypb.App, error)
- func (c *Client) DeleteApp(ctx context.Context, ref *kdeploypb.AppRef) error
- func (c *Client) GetApp(ctx context.Context, ref *kdeploypb.AppRef) (*kdeploypb.App, error)
- func (c *Client) Logs(ctx context.Context, ref *kdeploypb.AppRef, fn func(l *kdeploypb.Log) bool) error
- func (c *Client) UpdateApp(ctx context.Context, app *kdeploypb.AppUpdate) (*kdeploypb.App, error)
- type Opt
- type Options
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 a kdeploy gRPC client
func (*Client) CreateApp ¶
func (c *Client) CreateApp(ctx context.Context, app *kdeploypb.AppConstructor) (*kdeploypb.App, error)
CreateApp creates a new application
type Opt ¶
type Opt func(o *Options)
func WithLogging ¶
func WithMetrics ¶
func WithTokenSource ¶
func WithTokenSource(tokenSource oauth2.TokenSource) Opt
func WithTransportCreds ¶
func WithTransportCreds(creds credentials.TransportCredentials) Opt
Click to show internal directories.
Click to hide internal directories.