console

package
v1.11.0-beta5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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.FabricOperationsConsoleStatus, error)

Types

type Auth

type Auth struct {
	Scheme   string `json:"scheme"`
	Username string `json:"username"`
	Password string `json:"password"`
}

type CouchDB

type CouchDB struct {
	External    CouchDBExternal              `json:"external"`
	Image       string                       `json:"image"`
	Tag         string                       `json:"tag"`
	PullPolicy  corev1.PullPolicy            `json:"pullPolicy"`
	Username    string                       `json:"username"`
	Password    string                       `json:"password"`
	Persistence Persistence                  `json:"persistence"`
	Resources   *corev1.ResourceRequirements `json:"resources"`
}

type CouchDBExternal

type CouchDBExternal struct {
	Enabled bool   `json:"enabled"`
	Host    string `json:"host"`
	Port    int    `json:"port"`
}

type FabricOperationsConsoleChart

type FabricOperationsConsoleChart struct {
	Replicas         int                           `json:"replicaCount"`
	Image            Image                         `json:"image"`
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"`
	PodAnnotations   map[string]string             `json:"podAnnotations"`
	Ingress          Ingress                       `json:"ingress"`
	Resources        corev1.ResourceRequirements   `json:"resources"`
	Tolerations      []corev1.Toleration           `json:"tolerations"`
	Affinity         *corev1.Affinity              `json:"affinity"`
	Port             int                           `json:"port"`
	HostUrl          string                        `json:"hostUrl"`
	Auth             Auth                          `json:"auth"`
	CouchDB          CouchDB                       `json:"couchdb"`
}

type FabricOperationsConsoleReconciler

type FabricOperationsConsoleReconciler struct {
	client.Client
	ChartPath string
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Config    *rest.Config
}

FabricOperationsConsoleReconciler reconciles a FabricOperationsConsole object

func (*FabricOperationsConsoleReconciler) Reconcile

func (*FabricOperationsConsoleReconciler) SetupWithManager

func (r *FabricOperationsConsoleReconciler) SetupWithManager(mgr ctrl.Manager) error

type Image

type Image struct {
	Repository string            `json:"repository"`
	Tag        string            `json:"tag"`
	PullPolicy corev1.PullPolicy `json:"pullPolicy"`
}

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 IngressPath struct {
	Path     string `json:"path"`
	PathType string `json:"pathType"`
}

type Persistence

type Persistence struct {
	Enabled      bool                              `json:"enabled"`
	Annotations  map[string]string                 `json:"annotations"`
	StorageClass string                            `json:"storageClass"`
	AccessMode   corev1.PersistentVolumeAccessMode `json:"accessMode"`
	Size         string                            `json:"size"`
}

type Status

type Status struct {
	Status   hlfv1alpha1.DeploymentStatus
	TLSCert  string
	NodePort int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL