Documentation ¶
Index ¶
- Constants
- Variables
- func GetNextPage(namespaceList []v1.Namespace, pageSize int32, pageToken string, ...) (string, error)
- func Hydrate(ctx context.Context, mux *runtime.ServeMux, cfg CoreServerConfig) error
- func NewCoreServer(cfg CoreServerConfig) (pb.CoreServer, error)
- type ClientGetterFn
- type CoreServerConfig
- type PageTokenInfo
Constants ¶
View Source
const (
FluxNamespacePartOf = "flux"
)
Variables ¶
View Source
var ( KustomizeNameKey = fmt.Sprintf("%s/name", kustomizev1.GroupVersion.Group) KustomizeNamespaceKey = fmt.Sprintf("%s/namespace", kustomizev1.GroupVersion.Group) HelmNameKey = fmt.Sprintf("%s/name", helmv2.GroupVersion.Group) HelmNamespaceKey = fmt.Sprintf("%s/namespace", helmv2.GroupVersion.Group) )
View Source
var ErrNamespaceNotFound = errors.New("namespace not found")
Functions ¶
func GetNextPage ¶
func NewCoreServer ¶
func NewCoreServer(cfg CoreServerConfig) (pb.CoreServer, error)
Types ¶
type ClientGetterFn ¶
type ClientGetterFn func(ctx context.Context) clustersmngr.Client
type CoreServerConfig ¶
type CoreServerConfig struct { RestCfg *rest.Config NSAccess nsaccess.Checker CacheContainer cache.Container // contains filtered or unexported fields }
func NewCoreConfig ¶
type PageTokenInfo ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.