Documentation
¶
Index ¶
- func AutoUpdateString(pkg ctrlpkg.Package, disabledStr string) string
- func FetchResources(request *http.Request) ([]unstructured.Unstructured, error)
- func FetchResourcesFromUrl(url string) ([]unstructured.Unstructured, error)
- func Format(outputFormat OutputFormat, showAll bool, pkgs ...ctrlpkg.Package) (string, error)
- func GetPackageOperatorVersion(ctx context.Context) (string, error)
- func GetPackageOperatorVersionForConfig(config *rest.Config, ctx context.Context) (string, error)
- func GetPackageOperatorVersionForLister(deploymentLister *appsv1.DeploymentLister) (string, error)
- func IsAutoUpdaterInstalled(ctx context.Context) (bool, error)
- func NewResourcesRequest(url string) (*http.Request, error)
- type OutputFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoUpdateString ¶ added in v0.2.0
func FetchResources ¶
func FetchResources(request *http.Request) ([]unstructured.Unstructured, error)
func FetchResourcesFromUrl ¶ added in v0.23.0
func FetchResourcesFromUrl(url string) ([]unstructured.Unstructured, error)
func GetPackageOperatorVersion ¶ added in v0.2.0
func GetPackageOperatorVersionForConfig ¶ added in v0.2.0
func GetPackageOperatorVersionForLister ¶ added in v0.26.0
func GetPackageOperatorVersionForLister(deploymentLister *appsv1.DeploymentLister) (string, error)
func IsAutoUpdaterInstalled ¶ added in v0.23.0
Types ¶
type OutputFormat ¶ added in v0.16.0
type OutputFormat string
const ( OutputFormatJSON OutputFormat = "json" OutputFormatYAML OutputFormat = "yaml" )
Click to show internal directories.
Click to hide internal directories.