Documentation ¶
Index ¶
- func CommaSeparatedFromStringList(sl []string) string
- func Create(config *restclient.Config, argocdNs string, arlonNs string, profileName string, ...) error
- func Delete(cli client.Client, ns, profileName string) error
- func DeleteLegacy(kubeClient *kubernetes.Clientset, ns string, profileName string) error
- func FromConfigMap(cm *v1.ConfigMap) (*arlonv1.Profile, error)
- func Get(config *restclient.Config, name string, ns string) (*arlonv1.Profile, error)
- func MakeOverridesMap(profile *arlonv1.Profile) (om common.KVPairMap)
- func StringListFromCommaSeparated(cs string) (sl []string)
- func Update(config *restclient.Config, argocdNs string, arlonNs string, profileName string, ...) (dirty bool, err error)
- type AugmentedProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLegacy ¶ added in v0.3.7
func DeleteLegacy( kubeClient *kubernetes.Clientset, ns string, profileName string, ) error
func FromConfigMap ¶
FromConfigMap retrieves a Gen1 profile, which is stored stored in a config map
func Update ¶
func Update( config *restclient.Config, argocdNs string, arlonNs string, profileName string, bundlesPtr *string, desc string, tags string, overrides []arlonv1.Override, ) (dirty bool, err error)
Updates a profile to the specified set of bundles. Tags and description may also be updated. If bundlesPtr is nil, no change is made to the bundle set. Otherwise, *bundlesPtr specifies the new set.
Types ¶
type AugmentedProfile ¶
type AugmentedProfile struct { arlonv1.Profile Legacy bool // whether the profile is stored as a configmap }
func GetAugmented ¶
func GetAugmented(config *restclient.Config, name string, ns string) (*AugmentedProfile, error)
func List ¶
func List(config *restclient.Config, ns string) (plist []AugmentedProfile, err error)
Click to show internal directories.
Click to hide internal directories.