Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationsHandler ¶ added in v0.2.3
func NewApplicationsHandler(ctx context.Context, cfg *ApplicationsConfig, opts ...runtime.ServeMuxOption) (http.Handler, error)
NewApplicationsHandler allow for other applications to embed the Weave GitOps Applications HTTP API. This handler can be muxed with other services or used as a standalone service.
func NewApplicationsServer ¶
func NewApplicationsServer(cfg *ApplicationsConfig) pb.ApplicationsServer
NewApplicationsServer creates a grpc Applications server
Types ¶
type ApplicationsConfig ¶ added in v0.2.3
An ApplicationsConfig allows for the customization of an ApplicationsServer. Use the DefaultConfig() to use the default dependencies.
func DefaultConfig ¶ added in v0.2.3
func DefaultConfig() (*ApplicationsConfig, error)
DefaultConfig creates a populated config with the dependencies for an ApplicationsServer
Click to show internal directories.
Click to hide internal directories.