Documentation ¶
Index ¶
- Variables
- func GetConsoleState(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*hlfv1alpha1.FabricOperatorAPIStatus, error)
- type Auth
- type Autoscaling
- type FabricOperatorAPIReconciler
- type HLFConfig
- type HLFNetworkConfig
- type HLFOperatorAPIChart
- type Image
- type Ingress
- type IngressHost
- type IngressPath
- type Service
- type ServiceAccount
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClientK8s = errors.New("k8sAPIClientError")
)
Functions ¶
func GetConsoleState ¶
func GetConsoleState(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*hlfv1alpha1.FabricOperatorAPIStatus, error)
Types ¶
type Autoscaling ¶
type FabricOperatorAPIReconciler ¶
type FabricOperatorAPIReconciler struct { client.Client ChartPath string Log logr.Logger Scheme *runtime.Scheme Config *rest.Config }
FabricOperatorAPIReconciler reconciles a FabricOperatorAPI object
func (*FabricOperatorAPIReconciler) SetupWithManager ¶
func (r *FabricOperatorAPIReconciler) SetupWithManager(mgr ctrl.Manager) error
type HLFConfig ¶
type HLFConfig struct { MspID string `json:"mspID"` User string `json:"user"` NetworkConfig HLFNetworkConfig `json:"networkConfig"` }
type HLFNetworkConfig ¶
type HLFOperatorAPIChart ¶
type HLFOperatorAPIChart struct { ReplicaCount int `json:"replicaCount"` Image Image `json:"image"` Hlf HLFConfig `json:"hlf,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"` ServiceAccount ServiceAccount `json:"serviceAccount"` PodAnnotations map[string]string `json:"podAnnotations"` Service Service `json:"service"` Ingress Ingress `json:"ingress"` Resources *corev1.ResourceRequirements `json:"resources"` Autoscaling Autoscaling `json:"autoscaling"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` Affinity *corev1.Affinity `json:"affinity"` Auth Auth `json:"auth"` }
func GetConfig ¶
func GetConfig(conf *hlfv1alpha1.FabricOperatorAPI) (*HLFOperatorAPIChart, error)
type Image ¶
type Image struct { Repository string `json:"repository"` PullPolicy corev1.PullPolicy `json:"pullPolicy"` Tag string `json:"tag"` }
type Ingress ¶
type Ingress struct { Enabled bool `json:"enabled"` ClassName string `json:"className"` Annotations map[string]string `json:"annotations"` TLS []v1beta1.IngressTLS `json:"tls"` Hosts []IngressHost `json:"hosts"` }
type IngressHost ¶
type IngressHost struct { Host string `json:"host"` Paths []IngressPath `json:"paths"` }
type IngressPath ¶
type ServiceAccount ¶
type Status ¶
type Status struct { Status hlfv1alpha1.DeploymentStatus TLSCert string NodePort int }
Click to show internal directories.
Click to hide internal directories.