Documentation ¶
Index ¶
- Constants
- func IsComponentExist(ctx context.Context, cl *k8s.Clientset, ns string, resourceName string) bool
- func IsVersionValid(ofVersion *version.Version) (bool, error)
- type Operator
- func (o *Operator) CheckCertManagerIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckIngressNginxIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckKedaIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckKnativeServingIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckKourierIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckOpenFunctionIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckShipwrightIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) CheckTektonPipelinesIsReady(ctx context.Context, cl *k8s.Clientset) error
- func (o *Operator) ConfigKnativeServingDefaultDomain(ctx context.Context, yamlFile string) error
- func (o *Operator) CreateKindCluster(ctx context.Context) error
- func (o *Operator) CurlOpenFunction(ctx context.Context, endPoint string) (string, error)
- func (o *Operator) DeleteKind(ctx context.Context) error
- func (o *Operator) DownloadDaprClient(ctx context.Context, daprVersion string) error
- func (o *Operator) DownloadKind(ctx context.Context) error
- func (o *Operator) GetInventoryRecord(ctx context.Context, humanize bool) (map[string]string, error)
- func (o *Operator) GetNodeIP(ctx context.Context) (string, error)
- func (o *Operator) InitDapr(ctx context.Context, daprVersion string) error
- func (o *Operator) InstallCertManager(ctx context.Context, yamlFile string) error
- func (o *Operator) InstallIngressNginx(ctx context.Context, yamlFile string) error
- func (o *Operator) InstallKeda(ctx context.Context, yamlFile string) error
- func (o *Operator) InstallKnativeServing(ctx context.Context, crdYamlFile string, coreYamlFile string) error
- func (o *Operator) InstallKourier(ctx context.Context, cl *k8s.Clientset, yamlFile string) error
- func (o *Operator) InstallOpenFunction(ctx context.Context, yamlFile string) error
- func (o *Operator) InstallShipwright(ctx context.Context, yamlFile string) error
- func (o *Operator) InstallTektonPipelines(ctx context.Context, yamlFile string) error
- func (o *Operator) PatchExternalIP(ctx context.Context, cl *k8s.Clientset, ip string) error
- func (o *Operator) PatchMagicDNS(ctx context.Context, cl *k8s.Clientset, ip string) error
- func (o *Operator) PrintEndpoint(ctx context.Context) (string, error)
- func (o *Operator) RecordInventory(ctx context.Context) error
- func (o *Operator) RunOpenFunction(ctx context.Context, demoYamlFile string) error
- func (o *Operator) Uninstall(ctx context.Context, cl *k8s.Clientset, yamlFile string, namespace string, ...) error
- func (o *Operator) UninstallDapr(ctx context.Context, cl *k8s.Clientset, waitForCleared bool) error
- func (o *Operator) UninstallKnativeServing(ctx context.Context, cl *k8s.Clientset, crdYamlFile string, ...) error
- type PatchExternalIP
- type Spec
Constants ¶
View Source
const ( DaprNamespace = "dapr-system" KedaNamespace = "keda" KnativeServingNamespace = "knative-serving" KourierNamespace = "kourier-system" TektonPipelineNamespace = "tekton-pipelines" ShipwrightNamespace = "shipwright-build" CertManagerNamespace = "cert-manager" IngressNginxNamespace = "ingress-nginx" OpenFunctionNamespace = "openfunction" BaseVersion = "v0.3.1" LatestVersion = "latest" )
Variables ¶
This section is empty.
Functions ¶
func IsComponentExist ¶
Types ¶
type Operator ¶
type Operator struct { Inventory map[string]inventory.Interface Records *inventory.Record // contains filtered or unexported fields }
func NewOperator ¶
func (*Operator) CheckCertManagerIsReady ¶
func (*Operator) CheckIngressNginxIsReady ¶
func (*Operator) CheckKedaIsReady ¶
func (*Operator) CheckKnativeServingIsReady ¶
func (*Operator) CheckKourierIsReady ¶
func (*Operator) CheckOpenFunctionIsReady ¶
func (*Operator) CheckShipwrightIsReady ¶
func (*Operator) CheckTektonPipelinesIsReady ¶
func (*Operator) ConfigKnativeServingDefaultDomain ¶
func (*Operator) CreateKindCluster ¶
func (*Operator) CurlOpenFunction ¶
func (*Operator) DownloadDaprClient ¶
func (*Operator) GetInventoryRecord ¶
func (*Operator) InstallCertManager ¶
func (*Operator) InstallIngressNginx ¶
func (*Operator) InstallKeda ¶
func (*Operator) InstallKnativeServing ¶
func (*Operator) InstallKourier ¶
func (*Operator) InstallOpenFunction ¶
func (*Operator) InstallShipwright ¶
func (*Operator) InstallTektonPipelines ¶
func (*Operator) PatchExternalIP ¶
func (*Operator) PatchMagicDNS ¶
func (*Operator) PrintEndpoint ¶
func (*Operator) RunOpenFunction ¶
func (*Operator) UninstallDapr ¶
type PatchExternalIP ¶
type PatchExternalIP struct {
Spec Spec `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.