Documentation ¶
Index ¶
- func GetArtifactUnstructured(a Artifact) (*unstructured.Unstructured, error)
- func GetArtifactUnstructuredFromFile(a ArtifactSource) (*unstructured.Unstructured, error)
- func GetArtifactsListUnstructured(a Artifact) ([]*unstructured.Unstructured, []error)
- func GetArtifactsListUnstructuredFromFile(a ArtifactSource) ([]*unstructured.Unstructured, []error)
- type Artifact
- type ArtifactSource
- type LabelSelector
- type Namespace
- type PodName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArtifactUnstructured ¶
func GetArtifactUnstructured(a Artifact) (*unstructured.Unstructured, error)
GetArtifactUnstructured returns the unstructured list of openebs components
func GetArtifactUnstructuredFromFile ¶
func GetArtifactUnstructuredFromFile(a ArtifactSource) (*unstructured.Unstructured, error)
GetArtifactUnstructuredFromFile returns the unstructured list of openebs components
func GetArtifactsListUnstructured ¶
func GetArtifactsListUnstructured(a Artifact) ([]*unstructured.Unstructured, []error)
GetArtifactsListUnstructured returns the unstructured list of openebs components
func GetArtifactsListUnstructuredFromFile ¶
func GetArtifactsListUnstructuredFromFile(a ArtifactSource) ([]*unstructured.Unstructured, []error)
GetArtifactsListUnstructuredFromFile returns the unstructured list of openebs components
Types ¶
type ArtifactSource ¶
type ArtifactSource string
ArtifactSource holds the path to fetch artifacts
const ( OpenEBSArtifacts ArtifactSource = "../artifacts/openebs-ci.yaml" CStorPVCArtifacts ArtifactSource = "../artifacts/cstor-pvc.yaml" JivaPVCArtifacts ArtifactSource = "../artifacts/jiva-pvc.yaml" SingleReplicaSC ArtifactSource = "../artifacts/storageclass-1r.yaml" CVRArtifact ArtifactSource = "../artifacts/cvr-schema.yaml" CRArtifact ArtifactSource = "../artifacts/cr-schema.yaml" )
type LabelSelector ¶
type LabelSelector string
LabelSelector holds the label got openebs components
const ( MayaAPIServerLabelSelector LabelSelector = "name=maya-apiserver" OpenEBSProvisionerLabelSelector LabelSelector = "name=openebs-provisioner" OpenEBSLocalPVProvisionerLabelSelector LabelSelector = "openebs.io/component-name=openebs-localpv-provisioner" OpenEBSSnapshotOperatorLabelSelector LabelSelector = "name=openebs-snapshot-operator" OpenEBSAdmissionServerLabelSelector LabelSelector = "app=admission-webhook" OpenEBSNDMLabelSelector LabelSelector = "openebs.io/component-name=openebs-ndm" OpenEBSNDMOperatorLabelSelector LabelSelector = "openebs.io/component-name=ndm-operator" OpenEBSCStorPoolLabelSelector LabelSelector = "app=cstor-pool" )
Click to show internal directories.
Click to hide internal directories.