Documentation ¶
Index ¶
- Variables
- func Create(kubeClient *kubernetes.Clientset, ns string, bundleName string, ...) error
- func Delete(kubeClient *kubernetes.Clientset, ns string, bundleName string) error
- func IsValidK8sName(name string) bool
- func Update(kubeClient *kubernetes.Clientset, ns string, bundleName string, ...) error
- type Bundle
- type ListItem
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFailedList = errors.New("failed to list secrets")
)
View Source
var (
ErrInvalidName = errors.New("invalid resource name")
)
Functions ¶
func IsValidK8sName ¶ added in v0.9.0
Types ¶
type Bundle ¶
type Bundle struct { Name string Data []byte // The following are only set on dynamic bundles RepoUrl string RepoPath string RepoRevision string SrcType string }
func GetBundlesFromProfile ¶
func GetBundlesFromProfile( profile *arlonv1.Profile, corev1 corev1types.CoreV1Interface, arlonNs string, ) (bundles []Bundle, err error)
type ListItem ¶ added in v0.9.0
type ListItem struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Tags string `json:"tags,omitempty"` Repo string `json:"repo,omitempty"` Path string `json:"path,omitempty"` Revision string `json:"revision,omitempty"` SrcType string `json:"src_type,omitempty"` Description string `json:"description,omitempty"` }
Click to show internal directories.
Click to hide internal directories.