Documentation ¶
Index ¶
- Variables
- func CreateSignCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
- func CreateTLSAdminCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, *x509.Certificate, ...)
- func CreateTLSCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
- func GetOrdererDeployment(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*appsv1.Deployment, error)
- func GetOrdererState(conf *action.Configuration, config *rest.Config, releaseName string, ns string, ...) (*hlfv1alpha1.FabricOrdererNodeStatus, error)
- func ReenrollSignCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
- func ReenrollTLSAdminCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, *x509.Certificate, ...)
- func ReenrollTLSCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, ...) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
- type FabricOrdererNodeReconciler
- type GRPCProxy
- type GatewayApi
- type HostAlias
- type Istio
- type Logging
- type ServiceMonitor
- type Traefik
- type TraefikMiddleware
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClientK8s = errors.New("k8sAPIClientError")
)
Functions ¶
func CreateSignCryptoMaterial ¶ added in v1.2.1
func CreateSignCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, enrollSecret string, tlsCertString string) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
func CreateTLSAdminCryptoMaterial ¶ added in v1.2.1
func CreateTLSAdminCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, enrollSecret string, tlsCertString string, hosts []string) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, *x509.Certificate, error)
func CreateTLSCryptoMaterial ¶ added in v1.2.1
func CreateTLSCryptoMaterial(conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, enrollSecret string, tlsCertString string, hosts []string) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
func GetOrdererDeployment ¶ added in v1.3.0
func GetOrdererDeployment(conf *action.Configuration, config *rest.Config, releaseName string, ns string) (*appsv1.Deployment, error)
func GetOrdererState ¶
func GetOrdererState(conf *action.Configuration, config *rest.Config, releaseName string, ns string, ordNode *hlfv1alpha1.FabricOrdererNode) (*hlfv1alpha1.FabricOrdererNodeStatus, error)
func ReenrollSignCryptoMaterial ¶ added in v1.9.0
func ReenrollSignCryptoMaterial( conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, tlsCertString string, signCertPem string, privateKey *ecdsa.PrivateKey, ) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
func ReenrollTLSAdminCryptoMaterial ¶ added in v1.9.0
func ReenrollTLSAdminCryptoMaterial( conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, tlsCertString string, hosts []string, tlsCertPem string, tlsKey *ecdsa.PrivateKey, ) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, *x509.Certificate, error)
func ReenrollTLSCryptoMaterial ¶ added in v1.9.0
func ReenrollTLSCryptoMaterial( conf *hlfv1alpha1.FabricOrdererNode, caName string, caurl string, enrollID string, tlsCertString string, hosts []string, tlsCertPem string, tlsKey *ecdsa.PrivateKey, ) (*x509.Certificate, *ecdsa.PrivateKey, *x509.Certificate, error)
Types ¶
type FabricOrdererNodeReconciler ¶
type FabricOrdererNodeReconciler struct { client.Client ChartPath string Log logr.Logger Scheme *runtime.Scheme Config *rest.Config AutoRenewCertificates bool AutoRenewCertificatesDelta time.Duration Wait bool Timeout time.Duration MaxHistory int }
FabricOrdererNodeReconciler reconciles a FabricOrdererNode object
func (*FabricOrdererNodeReconciler) Reconcile ¶
func (r *FabricOrdererNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricorderernodes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricorderernodes/status,verbs=get;update;patch +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricorderernodes/finalizers,verbs=get;update;patch
func (*FabricOrdererNodeReconciler) SetupWithManager ¶
func (r *FabricOrdererNodeReconciler) SetupWithManager(mgr ctrl.Manager, maxReconciles int) error
type GRPCProxy ¶ added in v1.7.0
type GRPCProxy struct { Enabled bool `json:"enabled"` Image string `json:"image"` Tag string `json:"tag"` PullPolicy string `json:"pullPolicy"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"` Istio Istio `json:"istio"` // +optional // +nullable Resources *corev1.ResourceRequirements `json:"resources"` }
type GatewayApi ¶ added in v1.9.0
type ServiceMonitor ¶ added in v1.2.1
type ServiceMonitor struct { Enabled bool `json:"enabled"` Labels map[string]string `json:"labels"` Interval string `json:"interval"` ScrapeTimeout string `json:"scrapeTimeout"` Scheme string `json:"scheme"` Relabelings []interface{} `json:"relabelings"` TargetLabels []interface{} `json:"targetLabels"` MetricRelabelings []interface{} `json:"metricRelabelings"` SampleLimit int `json:"sampleLimit"` }
type Traefik ¶ added in v1.10.0
type Traefik struct { Entrypoints []string `json:"entryPoints"` Middlewares []TraefikMiddleware `json:"middlewares"` Hosts []string `json:"hosts"` }
type TraefikMiddleware ¶ added in v1.10.0
Click to show internal directories.
Click to hide internal directories.