operator-sdk
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301Entrypoint
Return Type
OperatorSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | The source directory |
| container | Container | - | Extra golang container |
| goVersion | String | - | The go version when go.mod not yet exist |
| sdkVersion | String | - | The operator-sdk cli version to use |
| opmVersion | String | - | The opm cli version to use |
| controllerGenVersion | String | - | The controller gen version to use |
| cleanCrdVersion | String | - | The clean crd version to use |
| kustomizeVersion | String | - | The kustomize version to use |
| dockerVersion | String | - | The Docker version to use |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATHfunc (m *MyModule) Example(src *dagger.Directory) *dagger.OperatorSdk {
return dag.
OperatorSdk(src)
}@function
def example(src: dagger.Directory, ) -> dagger.OperatorSdk:
return (
dag.operator_sdk(src)
)@func()
example(src: Directory, ): OperatorSdk {
return dag
.operatorSdk(src)
}Types
OperatorSdk 🔗
kube() 🔗
K3s module
Return Type
OperatorSdkKube ! Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH kubefunc (m *MyModule) Example(src *dagger.Directory) *dagger.OperatorSdkKube {
return dag.
OperatorSdk(src).
Kube()
}@function
def example(src: dagger.Directory, ) -> dagger.OperatorSdkKube:
return (
dag.operator_sdk(src)
.kube()
)@func()
example(src: Directory, ): OperatorSdkKube {
return dag
.operatorSdk(src)
.kube()
}golang() 🔗
The Golang module
Return Type
OperatorSdkGolang ! Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH golangfunc (m *MyModule) Example(src *dagger.Directory) *dagger.OperatorSdkGolang {
return dag.
OperatorSdk(src).
Golang()
}@function
def example(src: dagger.Directory, ) -> dagger.OperatorSdkGolang:
return (
dag.operator_sdk(src)
.golang()
)@func()
example(src: Directory, ): OperatorSdkGolang {
return dag
.operatorSdk(src)
.golang()
}sdk() 🔗
The SDK module
Return Type
OperatorSdkSdk ! Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH sdkfunc (m *MyModule) Example(src *dagger.Directory) *dagger.OperatorSdkSdk {
return dag.
OperatorSdk(src).
Sdk()
}@function
def example(src: dagger.Directory, ) -> dagger.OperatorSdkSdk:
return (
dag.operator_sdk(src)
.sdk()
)@func()
example(src: Directory, ): OperatorSdkSdk {
return dag
.operatorSdk(src)
.sdk()
}oci() 🔗
The OCI module
Return Type
OperatorSdkOci ! Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH ocifunc (m *MyModule) Example(src *dagger.Directory) *dagger.OperatorSdkOci {
return dag.
OperatorSdk(src).
Oci()
}@function
def example(src: dagger.Directory, ) -> dagger.OperatorSdkOci:
return (
dag.operator_sdk(src)
.oci()
)@func()
example(src: Directory, ): OperatorSdkOci {
return dag
.operatorSdk(src)
.oci()
}withSource() 🔗
WithSource permit to update source on all sub containers
Return Type
OperatorSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH with-source --src DIR_PATHfunc (m *MyModule) Example(src *dagger.Directory, src1 *dagger.Directory) *dagger.OperatorSdk {
return dag.
OperatorSdk(src).
WithSource(src1)
}@function
def example(src: dagger.Directory, src1: dagger.Directory) -> dagger.OperatorSdk:
return (
dag.operator_sdk(src)
.with_source(src1)
)@func()
example(src: Directory, src1: Directory): OperatorSdk {
return dag
.operatorSdk(src)
.withSource(src1)
}installOlmOperator() 🔗
Return Type
Service !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| catalogImage | String ! | - | The catalog image to install |
| name | String ! | - | The operator name |
| channel | String | "stable" | The channel of the operator to install |
| kubeconfig | File | - | The kubeconfig to connect on existing cluster It not set, it will run local k3s cluster |
| installPromteheusCrd | Boolean | - | Set true to install CRD prometheus. When you use internal kube, it always true The installPlan needed this if metric is enable on operator |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH install-olm-operator --catalog-image string --name stringfunc (m *MyModule) Example(src *dagger.Directory, catalogImage string, name string) *dagger.Service {
return dag.
OperatorSdk(src).
InstallOlmOperator(catalogImage, name)
}@function
def example(src: dagger.Directory, catalog_image: str, name: str) -> dagger.Service:
return (
dag.operator_sdk(src)
.install_olm_operator(catalog_image, name)
)@func()
example(src: Directory, catalogImage: string, name: string): Service {
return dag
.operatorSdk(src)
.installOlmOperator(catalogImage, name)
}testOlmOperator() 🔗
It will deploy OLM, Then it will deploy operator on it Then it will check that the operator pod run
Return Type
Service !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| catalogImage | String ! | - | The catalog image to install |
| name | String ! | - | The operator name |
| channel | String | "stable" | The channel of the operator to install |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH test-olm-operator --catalog-image string --name stringfunc (m *MyModule) Example(src *dagger.Directory, catalogImage string, name string) *dagger.Service {
return dag.
OperatorSdk(src).
TestOlmOperator(catalogImage, name)
}@function
def example(src: dagger.Directory, catalog_image: str, name: str) -> dagger.Service:
return (
dag.operator_sdk(src)
.test_olm_operator(catalog_image, name)
)@func()
example(src: Directory, catalogImage: string, name: string): Service {
return dag
.operatorSdk(src)
.testOlmOperator(catalogImage, name)
}runOperator() 🔗
RunOperator permit to run operator for test purpose
Return Type
[Service ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| kubeconfig | File | - | The kubeconfig to connect on kube If not set, it run local k3s |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH run-operatorfunc (m *MyModule) Example(src *dagger.Directory) []*dagger.Service {
return dag.
OperatorSdk(src).
RunOperator()
}@function
def example(src: dagger.Directory, ) -> List[dagger.Service]:
return (
dag.operator_sdk(src)
.run_operator()
)@func()
example(src: Directory, ): Service[] {
return dag
.operatorSdk(src)
.runOperator()
}release() 🔗
Release permit to release to operator version
Return Type
OperatorSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | The version to release |
| previousVersion | String | - | The previous version to replace |
| skipBuildFromPreviousVersion | Boolean | - | Set tru to not build from previous version It usefull when build from PR |
| crdVersion | String | - | The CRD version do generate manifests |
| channels | String | - | The list of channel. Comma separated |
| withTest | Boolean | - | Set true to run tests |
| kubeVersion | String | - | Set the kubeversion to use when run envtest |
| withPublish | Boolean | - | Set true to publish the operator image, the bundle image and the catalog image |
| publishLast | Boolean | - | Set true to publish the catalog with last tag |
| registry | String ! | - | The OCI registry |
| repository | String ! | - | The OCI repository |
| registryUsername | String | - | The registry username |
| registryPassword | Secret | - | The registry password |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH release --version string --registry string --repository stringfunc (m *MyModule) Example(src *dagger.Directory, version string, registry string, repository string) *dagger.OperatorSdk {
return dag.
OperatorSdk(src).
Release(version, registry, repository)
}@function
def example(src: dagger.Directory, version: str, registry: str, repository: str) -> dagger.OperatorSdk:
return (
dag.operator_sdk(src)
.release(version, registry, repository)
)@func()
example(src: Directory, version: string, registry: string, repository: string): OperatorSdk {
return dag
.operatorSdk(src)
.release(version, registry, repository)
}getSource() 🔗
Return Type
Directory ! Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH get-sourcefunc (m *MyModule) Example(src *dagger.Directory) *dagger.Directory {
return dag.
OperatorSdk(src).
GetSource()
}@function
def example(src: dagger.Directory, ) -> dagger.Directory:
return (
dag.operator_sdk(src)
.get_source()
)@func()
example(src: Directory, ): Directory {
return dag
.operatorSdk(src)
.getSource()
}getVersion() 🔗
GetVersion permit to compute the target sem version Some time on CI, we should to build volatile version like PR or RC. When we are on this cas, we should to generate next minor version + tag
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | The version to release |
| isBuildNumber | Boolean | - | Set true if the current version is the build number We will use semver from version file to generate next minor + version as tag name |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH get-version --version stringfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, version string) string {
return dag.
OperatorSdk(src).
GetVersion(ctx, version)
}@function
async def example(src: dagger.Directory, version: str) -> str:
return await (
dag.operator_sdk(src)
.get_version(version)
)@func()
async example(src: Directory, version: string): Promise<string> {
return dag
.operatorSdk(src)
.getVersion(version)
}getCatalogName() 🔗
GetCatalogName return the catalog image name
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| registry | String ! | - | No description provided |
| repository | String ! | - | No description provided |
Example
dagger -m github.com/disaster37/dagger-library-go/operator-sdk@ef14aa1b25f607ae8222b26ce8f14489621db301 call \
--src DIR_PATH get-catalog-name --registry string --repository stringfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, registry string, repository string) string {
return dag.
OperatorSdk(src).
GetCatalogName(ctx, registry, repository)
}@function
async def example(src: dagger.Directory, registry: str, repository: str) -> str:
return await (
dag.operator_sdk(src)
.get_catalog_name(registry, repository)
)@func()
async example(src: Directory, registry: string, repository: string): Promise<string> {
return dag
.operatorSdk(src)
.getCatalogName(registry, repository)
}OperatorSdkKube 🔗
withSource() 🔗
Return Type
OperatorSdkKube !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | The source directory |
Example
Function OperatorSdkKube.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkKube.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkKube.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkKube.withSource is not accessible from the operator-sdk modulekubectl() 🔗
Return Type
Container ! Example
Function OperatorSdkKube.kubectl is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubectl is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubectl is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubectl is not accessible from the operator-sdk modulekubeconfig() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| local | Boolean | - | set true if expose the k3s on host |
Example
Function OperatorSdkKube.kubeconfig is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeconfig is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeconfig is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeconfig is not accessible from the operator-sdk modulekubeCluster() 🔗
Return Type
Service ! Example
Function OperatorSdkKube.kubeCluster is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeCluster is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeCluster is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeCluster is not accessible from the operator-sdk modulekubeContainer() 🔗
Return Type
Container ! Example
Function OperatorSdkKube.kubeContainer is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeContainer is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeContainer is not accessible from the operator-sdk moduleFunction OperatorSdkKube.kubeContainer is not accessible from the operator-sdk moduleOperatorSdkGolang 🔗
test() 🔗
Test permit to run golang tests It will run envtest with the kube version provided
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| short | Boolean | - | if only short running tests should be executed |
| shuffle | Boolean | - | if the tests should be executed out of order |
| run | String | - | run select tests only, defined using a regex |
| skip | String | - | skip select tests, defined using a regex |
| withGotestsum | Boolean | - | Run test with gotestsum |
| path | String | - | Path to test |
| withKubeversion | String | "latest" | The Kubeversion version to use |
Example
Function OperatorSdkGolang.test is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.test is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.test is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.test is not accessible from the operator-sdk modulewithSource() 🔗
To update the source directory
Return Type
OperatorSdkGolang !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | The source directory |
Example
Function OperatorSdkGolang.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.withSource is not accessible from the operator-sdk modulecontainer() 🔗
Container permit to get Golang container
Return Type
Container ! Example
Function OperatorSdkGolang.container is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.container is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.container is not accessible from the operator-sdk moduleFunction OperatorSdkGolang.container is not accessible from the operator-sdk moduleOperatorSdkSdk 🔗
container() 🔗
Return Type
Container ! Example
Function OperatorSdkSdk.container is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.container is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.container is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.container is not accessible from the operator-sdk modulesrc() 🔗
The source directory
Return Type
Directory ! Example
Function OperatorSdkSdk.src is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.src is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.src is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.src is not accessible from the operator-sdk moduleversion() 🔗
Version display the current version of operator-sdk cli
Return Type
String ! Example
Function OperatorSdkSdk.version is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.version is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.version is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.version is not accessible from the operator-sdk modulerun() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| cmd | String ! | - | The cmd to run on container |
Example
Function OperatorSdkSdk.run is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.run is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.run is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.run is not accessible from the operator-sdk modulegenerateManifests() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| crdVersion | String | - | The CRD version to generate |
Example
Function OperatorSdkSdk.generateManifests is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateManifests is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateManifests is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateManifests is not accessible from the operator-sdk modulegenerateBundle() 🔗
Bundle generate the bundle
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| imageName | String ! | - | The OCI operator image name without the version |
| version | String ! | - | The current version |
| channels | String | - | The channels |
| previousVersion | String | - | The previous version |
Example
Function OperatorSdkSdk.generateBundle is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateBundle is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateBundle is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.generateBundle is not accessible from the operator-sdk modulewithSource() 🔗
WithSource permit to update the current source on sdk container
Return Type
OperatorSdkSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | The source directory |
Example
Function OperatorSdkSdk.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.withSource is not accessible from the operator-sdk moduleinstallOlm() 🔗
InstallOlm permit to install the OLM
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| kubeconfig | File ! | - | The kubeconfig file to access on cluster where to install OLM |
Example
Function OperatorSdkSdk.installOlm is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.installOlm is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.installOlm is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.installOlm is not accessible from the operator-sdk modulegetCli() 🔗
GetCLi permit to get all CLI to run it on local if needed
Return Type
Directory ! Example
Function OperatorSdkSdk.getCli is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.getCli is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.getCli is not accessible from the operator-sdk moduleFunction OperatorSdkSdk.getCli is not accessible from the operator-sdk moduleOperatorSdkOci 🔗
golangContainer() 🔗
The Golang container
Return Type
Container ! Example
Function OperatorSdkOci.golangContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.golangContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.golangContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.golangContainer is not accessible from the operator-sdk moduledockerContainer() 🔗
The Docker container
Return Type
Container ! Example
Function OperatorSdkOci.dockerContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.dockerContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.dockerContainer is not accessible from the operator-sdk moduleFunction OperatorSdkOci.dockerContainer is not accessible from the operator-sdk modulemanager() 🔗
The manager image
Return Type
Container ! Example
Function OperatorSdkOci.manager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.manager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.manager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.manager is not accessible from the operator-sdk modulebundle() 🔗
The bundle image
Return Type
Container ! Example
Function OperatorSdkOci.bundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.bundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.bundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.bundle is not accessible from the operator-sdk modulecatalog() 🔗
The catalog image
Return Type
Container ! Example
Function OperatorSdkOci.catalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.catalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.catalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.catalog is not accessible from the operator-sdk modulewithRepositoryCredentials() 🔗
Return Type
OperatorSdkOci !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | The repository URL |
| username | String ! | - | The username |
| password | Secret ! | - | The password |
Example
Function OperatorSdkOci.withRepositoryCredentials is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withRepositoryCredentials is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withRepositoryCredentials is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withRepositoryCredentials is not accessible from the operator-sdk modulebuildManager() 🔗
BuildManager permit to build manager image
Return Type
OperatorSdkOci !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | The version, if you need to inject on build to display current version |
| commit | String | - | The commit hash, if you need to inject on build to display current version |
| buildPath | String ! | "./cmd" | The build path |
Example
Function OperatorSdkOci.buildManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildManager is not accessible from the operator-sdk modulepublishManager() 🔗
PublishManager permit to push OCI image on registry
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | The image name to push |
Example
Function OperatorSdkOci.publishManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishManager is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishManager is not accessible from the operator-sdk modulebuildBundle() 🔗
BuildCatalog permit to build catalog image
Return Type
OperatorSdkOci ! Example
Function OperatorSdkOci.buildBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildBundle is not accessible from the operator-sdk modulepublishBundle() 🔗
PublishBundle permit to push OCI image on registry
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | The image name to push |
Example
Function OperatorSdkOci.publishBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishBundle is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishBundle is not accessible from the operator-sdk modulebuildCatalog() 🔗
Build the OLM catalog
Return Type
OperatorSdkOci !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| catalogImage | String ! | - | The catalog image name |
| previousCatalogImage | String | - | The previuous catalog image name |
| bundleImage | String ! | - | The bundle image name |
Example
Function OperatorSdkOci.buildCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.buildCatalog is not accessible from the operator-sdk modulepublishCatalog() 🔗
PublishCatalog permit to publish the catalog image
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | The image name to push |
Example
Function OperatorSdkOci.publishCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishCatalog is not accessible from the operator-sdk moduleFunction OperatorSdkOci.publishCatalog is not accessible from the operator-sdk modulewithSource() 🔗
WithSource permit to update the current source
Return Type
OperatorSdkOci !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | The source directory |
Example
Function OperatorSdkOci.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withSource is not accessible from the operator-sdk moduleFunction OperatorSdkOci.withSource is not accessible from the operator-sdk module