Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/dev/preview/previewctl/pkg/k8s/context/loader.go
2501 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package context
6
7
import (
8
"context"
9
10
"k8s.io/client-go/tools/clientcmd/api"
11
)
12
13
type Loader interface {
14
Load(context.Context) (*api.Config, error)
15
}
16
17