artifacts

package
v1.12.1-RC1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

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 Artifact

type Artifact string

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"
)

type Namespace

type Namespace string

Namespace holds the name of the namespace

const (
	// OpenebsNamespace is the name of the openebs namespace
	OpenebsNamespace Namespace = "openebs"
)

type PodName

type PodName string

PodName holds the name of the pod

const (
	// MayaAPIServerPodName is the name of the maya api server pod
	MayaAPIServerPodName PodName = "maya-apiserver"
)

Directories

Path Synopsis
installer

Jump to

Keyboard shortcuts

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