Documentation
¶
Index ¶
Constants ¶
View Source
const (
// UnregisteredCluster represents a cluster that has not been registered in clusterregistry/.
UnregisteredCluster = "unregistered_cluster"
)
Variables ¶
This section is empty.
Functions ¶
func FindFiles ¶
FindFiles lists what are likely the files tracked by git in cases where we may not be dealing with a git repository. ONLY FOR USE IN THE CLI.
Tries git first, and falls back to using `find` if git does not work.
Guaranteed to return the same files as ListFiles in git repo with no uncommitted changes (see tests for findFiles)
func GetSyncedCRDs ¶
func GetSyncedCRDs(ctx context.Context, skipAPIServer bool) ([]*v1beta1.CustomResourceDefinition, status.MultiError)
GetSyncedCRDs returns the CRDs synced to the cluster in the current context.
Times out after 15 seconds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.