Documentation ¶
Index ¶
- func AddNetworkFinalizer(name string, namespace string, finalizers []string) error
- func CreateNamespace(namespace string) error
- func CreateSecret(name string, namespace string, data *map[string]string) (*v1.Secret, error)
- func DeleteSecret(name string, namespace string) error
- func ExistsSecret(name string, namespace string) (bool, error)
- func GetNetwork(name string, namespace string) (*networkv1alpha1.Network, error)
- func GetPod(name string, namespace string) (*v1.Pod, error)
- func ListPods(namespace string) ([]v1.Pod, error)
- func PodStatus(name string, namespace string) (v1.PodPhase, error)
- func ReadSecret(name string, namespace string) (map[string]string, error)
- func RemoveNetworkFinalizers(name string, namespace string, removeFinalizers []string) error
- func RemovePodFinalizers(name string, namespace string, removeFinalizers []string) error
- func RemovePodLabels(name string, namespace string, labels []string) error
- func SetNetworkAccountName(network *networkv1alpha1.Network, accountName string) (*networkv1alpha1.Network, error)
- func SetupNetworkClientset() (*networkclientset.Clientset, error)
- func UpdateNetwork(network *networkv1alpha1.Network, namespace string) (*networkv1alpha1.Network, error)
- func UpdatePodLabel(name string, namespace string, key string, value string) error
- func UpdateSecret(name string, namespace string, data *map[string]string) (*v1.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNetworkFinalizer ¶ added in v0.5.2
AddNetworkFinalizer adds the finalizers from a network
func CreateNamespace ¶
CreateNamespace creates a namespace in the cluster
func CreateSecret ¶
CreateSecret creates a secret in the cluster
func DeleteSecret ¶
DeleteSecret deletes a secret from the cluster
func ExistsSecret ¶
ExistsSecret checks if a secret exists in the cluster
func GetNetwork ¶ added in v0.5.2
func GetNetwork(name string, namespace string) (*networkv1alpha1.Network, error)
GetNetwork returns a network
func ReadSecret ¶
ReadSecret reads a secret from the cluster
func RemoveNetworkFinalizers ¶ added in v0.5.2
RemoveNetworkFinalizers removes the finalizers from a network
func RemovePodFinalizers ¶ added in v0.5.2
RemovePodFinalizers removes the finalizers from a pod
func RemovePodLabels ¶ added in v0.5.2
RemovePodLabels removes the labels from a pod
func SetNetworkAccountName ¶ added in v0.5.2
func SetNetworkAccountName(network *networkv1alpha1.Network, accountName string) (*networkv1alpha1.Network, error)
SetNetworkAccountName sets the account name of a network
func SetupNetworkClientset ¶ added in v0.5.2
func SetupNetworkClientset() (*networkclientset.Clientset, error)
SetupNetworkClientset returns a clientset for the network v1alpha1
func UpdateNetwork ¶ added in v0.5.2
func UpdateNetwork(network *networkv1alpha1.Network, namespace string) (*networkv1alpha1.Network, error)
UpdateNetwork updates a network
func UpdatePodLabel ¶ added in v0.5.2
UpdatePodLabel updates a pods labels
Types ¶
This section is empty.