Documentation ¶
Index ¶
- Variables
- func GetOperatorUIState(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*hlfv1alpha1.FabricOperatorUIStatus, error)
- type Auth
- type Autoscaling
- type FabricOperatorUIReconciler
- type HLFConfig
- type HLFNetworkConfig
- type HLFOperatorUIChart
- 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 GetOperatorUIState ¶
func GetOperatorUIState(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*hlfv1alpha1.FabricOperatorUIStatus, error)
Types ¶
type Autoscaling ¶
type FabricOperatorUIReconciler ¶
type FabricOperatorUIReconciler struct { client.Client ChartPath string Log logr.Logger Scheme *runtime.Scheme Config *rest.Config }
FabricOperatorUIReconciler reconciles a FabricOperatorUI object
func (*FabricOperatorUIReconciler) SetupWithManager ¶
func (r *FabricOperatorUIReconciler) 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 HLFOperatorUIChart ¶
type HLFOperatorUIChart struct { ReplicaCount int `json:"replicaCount"` Image Image `json:"image"` APIUrl string `json:"apiUrl"` 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"` LogoURL string `json:"logoUrl"` Auth Auth `json:"auth,omitempty"` }
func GetConfig ¶
func GetConfig(conf *hlfv1alpha1.FabricOperatorUI) (*HLFOperatorUIChart, 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.