mirror of
https://codeberg.org/crowci/crow.git
synced 2025-08-07 20:23:03 +03:00
Make agent usable for external backends (#3270)
This commit is contained in:
@@ -129,6 +129,10 @@ func (e *kube) IsAvailable(context.Context) bool {
|
||||
return len(host) > 0
|
||||
}
|
||||
|
||||
func (e *kube) Flags() []cli.Flag {
|
||||
return Flags
|
||||
}
|
||||
|
||||
func (e *kube) Load(ctx context.Context) (*types.BackendInfo, error) {
|
||||
config, err := configFromCliContext(ctx)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user