Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageUpdaterKubernetesClient ¶ added in v0.16.0
type ImageUpdaterKubernetesClient struct {
ApplicationsClientset versioned.Interface
KubeClient *kube.KubernetesClient
}
func NewKubernetesClient ¶
func NewKubernetesClient(ctx context.Context, kubeConfig, namespace string) (*ImageUpdaterKubernetesClient, error)
func (*ImageUpdaterKubernetesClient) CreateApplicationEvent ¶ added in v0.16.0
func (client *ImageUpdaterKubernetesClient) CreateApplicationEvent(app *appv1alpha1.Application, reason string, message string, annotations map[string]string) (*v1.Event, error)
CreateApplicationEvent creates a kubernetes event with a custom reason and message for an application.
Click to show internal directories.
Click to hide internal directories.