kubernetes

package
v0.0.0-...-f5de34e Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSupportedShardingSphereVersion

func IsSupportedShardingSphereVersion(v string) bool

func VersionBetween

func VersionBetween(version, left, right string) bool

func VersionExactEqualTo

func VersionExactEqualTo(version, target string) bool

func VersionGreaterAndEqualThan

func VersionGreaterAndEqualThan(version, target string) bool

Types

type ExtendedResources

type ExtendedResources interface {
	ChaosMesh() chaosmesh.Chaos
	CloudNativePG() cloudnativepg.CloudNativePG
}

ExtendedResources represents a extended resource

type KubernetesResources

type KubernetesResources interface {
	Deployment() deployment.Deployment
	Service() service.Service
	ConfigMap() configmap.ConfigMap
	HPA() hpa.HorizontalPodAutoscaler
	VPA() vpa.VerticalPodAutoscaler
}

KubernetesResource represents a Kubernetes resource

type Resources

type Resources interface {
	KubernetesResources
	ExtendedResources
}

Resources respresents the resources

func NewResources

func NewResources(c client.Client) Resources

NewResources return a instance of Resources

Directories

Path Synopsis
mocks
Package mock_chaosmesh is a generated GoMock package.
Package mock_chaosmesh is a generated GoMock package.

Jump to

Keyboard shortcuts

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