resourceutils

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomResourceId

func RandomResourceId(length int) string

Types

type ResourceBuilder

type ResourceBuilder interface {
	Build() (client.Object, error)
	Update(client.Object) error
	CanBeUpdated() bool
}

type ResourceRefResolver

type ResourceRefResolver struct {
	client.Client
	Ctx       context.Context
	Namespace string
}

func (*ResourceRefResolver) ResolveUrl

func (r *ResourceRefResolver) ResolveUrl(resourceRef *v1alpha1.ResourceRef) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL