fake

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Client typedCorev1.CoreV1Interface
}

Cluster is a struct that incorporates v1apha1.KubemanagerClusterInfo interface

func (Cluster) KubernetesAPISSLPort

func (c Cluster) KubernetesAPISSLPort() (int, error)

KubernetesAPISSLPort retruns fake SSL Port

func (Cluster) KubernetesAPIServer

func (c Cluster) KubernetesAPIServer() (string, error)

KubernetesAPIServer retruns fake SPI Server

func (Cluster) KubernetesClusterName

func (c Cluster) KubernetesClusterName() (string, error)

KubernetesClusterName retruns fake cluster

func (Cluster) PodSubnets

func (c Cluster) PodSubnets() (string, error)

PodSubnets retruns fake pods' subnet

func (Cluster) ServiceSubnets

func (c Cluster) ServiceSubnets() (string, error)

ServiceSubnets retruns fake service

Jump to

Keyboard shortcuts

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