Documentation
¶
Index ¶
- type K8Ports
- type K8s
- func (k K8s) Args() []string
- func (k K8s) CheckK8sComponentsHealth(config networkspec.Config) error
- func (k K8s) ConfigMapsNSecretsArgs(componentName, k8sType string) []string
- func (k K8s) CreateMSPConfigMaps(config networkspec.Config) error
- func (k K8s) DownK8sNetwork(kubeConfigPath string, config networkspec.Config) error
- func (k K8s) GenerateConfigurationFiles() error
- func (k K8s) GenerateConnectionProfiles(config networkspec.Config) error
- func (k K8s) GetK8sExternalIP(config networkspec.Config, serviceName string) (string, error)
- func (k K8s) GetK8sServicePort(serviceName, serviceType string, forHealth bool) (string, error)
- func (k K8s) K8sNetwork(action string) error
- func (k K8s) LaunchK8sNetwork(config networkspec.Config, kubeConfigPath string) error
- func (k K8s) VerifyContainersAreRunning() error
- type LoadBalancerIP
- type NodePortIP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8s ¶
type K8s struct {
KubeConfigPath string
Action string
Arguments []string
Config networkspec.Config
}
func (K8s) CheckK8sComponentsHealth ¶
func (k K8s) CheckK8sComponentsHealth(config networkspec.Config) error
func (K8s) ConfigMapsNSecretsArgs ¶
func (K8s) CreateMSPConfigMaps ¶
func (k K8s) CreateMSPConfigMaps(config networkspec.Config) error
CreateMSPConfigMaps - create msp using configmap for peers, orderers and CA
func (K8s) DownK8sNetwork ¶
func (k K8s) DownK8sNetwork(kubeConfigPath string, config networkspec.Config) error
DownK8sNetwork - To tear down the kubernates network
func (K8s) GenerateConfigurationFiles ¶
GenerateConfigurationFiles - to generate all the configuration files
func (K8s) GenerateConnectionProfiles ¶
func (k K8s) GenerateConnectionProfiles(config networkspec.Config) error
GenerateConnectionProfiles -- To generate conenction profiles
func (K8s) GetK8sExternalIP ¶
GetK8sExternalIP -- To get the externalIP of a fabric component
func (K8s) GetK8sServicePort ¶
GetK8sServicePort -- To get the port number of a fabric k8s component
func (K8s) K8sNetwork ¶
func (K8s) LaunchK8sNetwork ¶
func (k K8s) LaunchK8sNetwork(config networkspec.Config, kubeConfigPath string) error
LaunchK8sNetwork - to launch the kubernates components
func (K8s) VerifyContainersAreRunning ¶
type LoadBalancerIP ¶
type LoadBalancerIP struct {
Status struct {
LoadBalancer struct {
Ingress []struct {
IP string `json:"ip,omitempty"`
} `json:"ingress,omitempty"`
} `json:"loadBalancer,omitempty"`
} `json:"status,omitempty"`
}
type NodePortIP ¶
Click to show internal directories.
Click to hide internal directories.