Documentation
¶
Index ¶
- Constants
- func AWSRedis(name, namespace string, tier cloudresourcesv1beta1.AwsRedisTier) *cloudresourcesv1beta1.AwsRedisInstance
- func AWSRedisList() *cloudresourcesv1beta1.AwsRedisInstanceList
- func AzureRedis(name, namespace string, tier cloudresourcesv1beta1.AzureRedisTier) *cloudresourcesv1beta1.AzureRedisInstance
- func AzureRedisList() *cloudresourcesv1beta1.AzureRedisInstanceList
- func GCPRedis(name, namespace string, tier cloudresourcesv1beta1.GcpRedisTier) *cloudresourcesv1beta1.GcpRedisInstance
- func GCPRedisList() *cloudresourcesv1beta1.GcpRedisInstanceList
- func GenerateRandomAlphaString(length int) string
- func Get1NFSPVC() *corev1.PersistentVolumeClaimList
- func Get2Nodes() *corev1.NodeList
- func Get2NodesOpenStack() *corev1.NodeList
- func Get2SvcsOfDiffTypes() *corev1.ServiceList
- func Get3NodesWithFooVMType() *corev1.NodeList
- func Get3NodesWithStandardD8v3VMType() *corev1.NodeList
- func Get3PVCs() *corev1.PersistentVolumeClaimList
- func GetNFSPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
- func GetNode(name, vmType string) corev1.Node
- func GetPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
- func GetPVCs() *corev1.PersistentVolumeClaimList
- func GetSvc(name, ns string, opts ...svcOpts) *corev1.Service
- func GetSvcsWithLoadBalancers() *corev1.ServiceList
- func LoadFixtureFromFile(filePath string) ([]byte, error)
- func NewKCPStoredSecret(shootName, kubeconfigVal string) *corev1.Secret
- func NewRuntimesDTO(subAccountID string, shootName string, opts ...NewRuntimeOpts) kebruntime.RuntimeDTO
- func PrometheusFilterLabelPair(pairs []*dto.LabelPair, name string) *dto.LabelPair
- func PrometheusGatherAndReturn(c prometheus.Collector, metricName string) (*dto.MetricFamily, error)
- func StartTestServer(path string, testHandler http.HandlerFunc, g gomega.Gomega) *httptest.Server
- func WithClusterIP(service *corev1.Service)
- func WithLoadBalancer(service *corev1.Service)
- func WithProvisionedAndDeprovisionedStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
- func WithProvisioningFailedState(runtime *kebruntime.RuntimeDTO)
- func WithProvisioningSucceededStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
- func WithState(state kebruntime.State) func(runtime *kebruntime.RuntimeDTO)
- type NewRuntimeOpts
Constants ¶
View Source
const (
// Delta is used to compare floating point numbers using testify's InDelta.
Delta = 1.0e-4
)
Variables ¶
This section is empty.
Functions ¶
func AWSRedis ¶
func AWSRedis(name, namespace string, tier cloudresourcesv1beta1.AwsRedisTier) *cloudresourcesv1beta1.AwsRedisInstance
func AWSRedisList ¶
func AWSRedisList() *cloudresourcesv1beta1.AwsRedisInstanceList
func AzureRedis ¶
func AzureRedis(name, namespace string, tier cloudresourcesv1beta1.AzureRedisTier) *cloudresourcesv1beta1.AzureRedisInstance
func AzureRedisList ¶
func AzureRedisList() *cloudresourcesv1beta1.AzureRedisInstanceList
func GCPRedis ¶
func GCPRedis(name, namespace string, tier cloudresourcesv1beta1.GcpRedisTier) *cloudresourcesv1beta1.GcpRedisInstance
func GCPRedisList ¶
func GCPRedisList() *cloudresourcesv1beta1.GcpRedisInstanceList
func Get1NFSPVC ¶
func Get1NFSPVC() *corev1.PersistentVolumeClaimList
func Get2NodesOpenStack ¶
func Get2SvcsOfDiffTypes ¶
func Get2SvcsOfDiffTypes() *corev1.ServiceList
func Get3NodesWithFooVMType ¶
func Get3PVCs ¶
func Get3PVCs() *corev1.PersistentVolumeClaimList
func GetNFSPV ¶
func GetNFSPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
func GetPV ¶
func GetPV(name, namespace, capacity string) *corev1.PersistentVolumeClaim
func GetPVCs ¶
func GetPVCs() *corev1.PersistentVolumeClaimList
func GetSvcsWithLoadBalancers ¶
func GetSvcsWithLoadBalancers() *corev1.ServiceList
func LoadFixtureFromFile ¶
func NewKCPStoredSecret ¶
func NewRuntimesDTO ¶
func NewRuntimesDTO(subAccountID string, shootName string, opts ...NewRuntimeOpts) kebruntime.RuntimeDTO
func PrometheusGatherAndReturn ¶
func PrometheusGatherAndReturn(c prometheus.Collector, metricName string) (*dto.MetricFamily, error)
func StartTestServer ¶
func WithClusterIP ¶
func WithLoadBalancer ¶
func WithProvisionedAndDeprovisionedStatus ¶
func WithProvisionedAndDeprovisionedStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
func WithProvisioningFailedState ¶
func WithProvisioningFailedState(runtime *kebruntime.RuntimeDTO)
func WithProvisioningSucceededStatus ¶
func WithProvisioningSucceededStatus(statusState kebruntime.State) func(*kebruntime.RuntimeDTO)
func WithState ¶
func WithState(state kebruntime.State) func(runtime *kebruntime.RuntimeDTO)
Types ¶
type NewRuntimeOpts ¶
type NewRuntimeOpts func(*kebruntime.RuntimeDTO)
Click to show internal directories.
Click to hide internal directories.