resources

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultResource = "deployments"
)

Variables

View Source
var (
	AvailableResources = []string{
		"deployments",
		"statefulsets",
		"cronjobs",
	}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	K8s *k8sUtils.Config `json:"k8s"`
}

type IResource

func NewResource

func NewResource(ctx context.Context, resourceName string, config Config) (IResource, error)

Jump to

Keyboard shortcuts

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