Documentation ¶
Index ¶
- type K8s
- func (k8s K8s) CheckComponentsHealth(config networkspec.Config, clientset *kubernetes.Clientset) error
- func (k8s K8s) CreateMSPConfigMaps(nsConfig networkspec.Config, clientset *kubernetes.Clientset) error
- func (k8s K8s) CreateNameSpace(ns string, clientset *kubernetes.Clientset) error
- func (k8s K8s) CreateSecret(name string, nsConfig networkspec.Config, clientset *kubernetes.Clientset) error
- func (k8s K8s) CreateStatefulset(launchConfig LaunchConfig, nsConfig networkspec.Config, ...) error
- func (k8s K8s) DeleteNameSpace(ns string, clientset *kubernetes.Clientset) error
- func (k8s K8s) ExternalIP(config networkspec.Config, serviceName string, clientset *kubernetes.Clientset) (string, error)
- func (k8s K8s) GenerateConfigurationFiles(upgrade bool) error
- func (k8s K8s) GenerateConnectionProfiles(config networkspec.Config, clientset *kubernetes.Clientset) error
- func (k8s K8s) Network(action string) error
- func (k8s K8s) NodeStatus(clientset *kubernetes.Clientset) (corev1.NodeStatus, error)
- func (k8s K8s) PodStatusCheck(ns string, clientset *kubernetes.Clientset) error
- func (k8s K8s) ServicePort(serviceName, serviceType, namespace string, forHealth bool, ...) (string, error)
- func (k8s K8s) ServiceStatus(ns, serviceName string, clientset *kubernetes.Clientset) (*corev1.Service, error)
- func (k8s K8s) UpdateConnectionProfilesToAddNewPeers(config networkspec.Config, clientset *kubernetes.Clientset) error
- type LaunchConfig
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 Launch []LaunchConfig }
K8s -
func (K8s) CheckComponentsHealth ¶
func (k8s K8s) CheckComponentsHealth(config networkspec.Config, clientset *kubernetes.Clientset) error
CheckComponentsHealth --
func (K8s) CreateMSPConfigMaps ¶
func (k8s K8s) CreateMSPConfigMaps(nsConfig networkspec.Config, clientset *kubernetes.Clientset) error
CreateMSPConfigMaps --
func (K8s) CreateNameSpace ¶
func (k8s K8s) CreateNameSpace(ns string, clientset *kubernetes.Clientset) error
CreateNameSpace --
func (K8s) CreateSecret ¶
func (k8s K8s) CreateSecret(name string, nsConfig networkspec.Config, clientset *kubernetes.Clientset) error
CreateSecret --
func (K8s) CreateStatefulset ¶
func (k8s K8s) CreateStatefulset(launchConfig LaunchConfig, nsConfig networkspec.Config, clientset *kubernetes.Clientset) error
CreateStatefulset --
func (K8s) DeleteNameSpace ¶
func (k8s K8s) DeleteNameSpace(ns string, clientset *kubernetes.Clientset) error
DeleteNameSpace --
func (K8s) ExternalIP ¶
func (k8s K8s) ExternalIP(config networkspec.Config, serviceName string, clientset *kubernetes.Clientset) (string, error)
ExternalIP -- To get the externalIP of a fabric component
func (K8s) GenerateConfigurationFiles ¶
GenerateConfigurationFiles - to generate all the configuration files
func (K8s) GenerateConnectionProfiles ¶
func (k8s K8s) GenerateConnectionProfiles(config networkspec.Config, clientset *kubernetes.Clientset) error
GenerateConnectionProfiles -- To generate conenction profiles
func (K8s) NodeStatus ¶
func (k8s K8s) NodeStatus(clientset *kubernetes.Clientset) (corev1.NodeStatus, error)
NodeStatus --
func (K8s) PodStatusCheck ¶
func (k8s K8s) PodStatusCheck(ns string, clientset *kubernetes.Clientset) error
PodStatusCheck --
func (K8s) ServicePort ¶
func (k8s K8s) ServicePort(serviceName, serviceType, namespace string, forHealth bool, clientset *kubernetes.Clientset) (string, error)
ServicePort -- To get the port number of a fabric k8s component
func (K8s) ServiceStatus ¶
func (k8s K8s) ServiceStatus(ns, serviceName string, clientset *kubernetes.Clientset) (*corev1.Service, error)
ServiceStatus --
func (K8s) UpdateConnectionProfilesToAddNewPeers ¶
func (k8s K8s) UpdateConnectionProfilesToAddNewPeers(config networkspec.Config, clientset *kubernetes.Clientset) error
Click to show internal directories.
Click to hide internal directories.