Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallObject ¶
MarshallObject mashals an object, usually a CSV into YAML
func UnmarshalCSV ¶
func UnmarshalCSV(filePath string) *csvv1.ClusterServiceVersion
UnmarshalCSV decodes a YAML file, by path, and returns a CSV
Types ¶
type CSVClusterPermissions ¶
type CSVClusterPermissions struct { ServiceAccountName string `json:"serviceAccountName"` Rules []rbacv1.PolicyRule `json:"rules"` }
CSVClusterPermissions is the cluster permissions part of a CSV
type CSVDeployments ¶
type CSVDeployments struct { Name string `json:"name"` Spec appsv1.DeploymentSpec `json:"spec,omitempty"` }
CSVDeployments describes the deployments for a CSV
type CSVPermissions ¶
type CSVPermissions struct { ServiceAccountName string `json:"serviceAccountName"` Rules []rbacv1.PolicyRule `json:"rules"` }
CSVPermissions is the permissions part of a CSV
type CSVStrategySpec ¶
type CSVStrategySpec struct { ClusterPermissions []CSVClusterPermissions `json:"clusterPermissions"` Permissions []CSVPermissions `json:"permissions"` Deployments []CSVDeployments `json:"deployments"` }
CSVStrategySpec describes the installation strategy of a CSV
Click to show internal directories.
Click to hide internal directories.