Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentVersion string
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DeleteJob(namespace string, name string) error LogsForJob(namespace string, name string) (string, error) GetResources(namespace string, manifest string) ([]*model_helm.ReleaseResource, error) CreateOrUpdateService(namespace string, serviceStr string) (*core_v1.Service, error) CreateOrUpdateIngress(namespace string, ingressStr string) (*ext_v1beta1.Ingress, error) GetClientSet() (internalclientset.Interface, error) DeleteService(namespace string, name string) error DeleteIngress(namespace string, name string) error StartResources(namespace string, manifest string) error StopResources(namespace string, manifest string) error GetLogs(namespace string, pod string, container string) (io.ReadCloser, error) Exec(namespace string, podName string, containerName string, local io.ReadWriter) error LabelObjects(namespace string, manifest string, releaseName string, app string, version string) (*bytes.Buffer, error) LabelRepoObj(namespace, manifest, version string, commit string) (*bytes.Buffer, error) GetService(namespace string, serviceName string) (string, error) GetIngress(namespace string, ingressName string) (string, error) GetSecret(namespace string, secretName string) (string, error) GetC7nHelmRelease(namespace string, releaseName string) (*v1alpha1.C7NHelmRelease, error) GetKubeClient() *kubernetes.Clientset GetC7NClient() *chrclientset.Clientset }
Click to show internal directories.
Click to hide internal directories.