Documentation ¶
Index ¶
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func AssignTypeKind(v interface{}) error
- func CreateOrPatchServiceMonitor(ctx context.Context, c prom.MonitoringV1Interface, meta metav1.ObjectMeta, ...) (*promapi.ServiceMonitor, kutil.VerbType, error)
- func GetGroupVersionKind(v interface{}) schema.GroupVersionKind
- func PatchServiceMonitor(ctx context.Context, c prom.MonitoringV1Interface, cur *promapi.ServiceMonitor, ...) (*promapi.ServiceMonitor, kutil.VerbType, error)
- func PatchServiceMonitorObject(ctx context.Context, c prom.MonitoringV1Interface, ...) (*promapi.ServiceMonitor, kutil.VerbType, error)
- func TryUpdateMonitorObject(ctx context.Context, c prom.MonitoringV1Interface, meta metav1.ObjectMeta, ...) (result *promapi.ServiceMonitor, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: api.SchemeGroupVersion.Group, Version: api.Version}
Functions ¶
func AddToScheme ¶
func AssignTypeKind ¶
func AssignTypeKind(v interface{}) error
func CreateOrPatchServiceMonitor ¶
func CreateOrPatchServiceMonitor(ctx context.Context, c prom.MonitoringV1Interface, meta metav1.ObjectMeta, transform func(monitor *promapi.ServiceMonitor) *promapi.ServiceMonitor, opts metav1.PatchOptions) (*promapi.ServiceMonitor, kutil.VerbType, error)
func GetGroupVersionKind ¶
func GetGroupVersionKind(v interface{}) schema.GroupVersionKind
func PatchServiceMonitor ¶
func PatchServiceMonitor(ctx context.Context, c prom.MonitoringV1Interface, cur *promapi.ServiceMonitor, transform func(monitor *promapi.ServiceMonitor) *promapi.ServiceMonitor, opts metav1.PatchOptions) (*promapi.ServiceMonitor, kutil.VerbType, error)
func PatchServiceMonitorObject ¶
func PatchServiceMonitorObject(ctx context.Context, c prom.MonitoringV1Interface, cur, mod *promapi.ServiceMonitor, opts metav1.PatchOptions) (*promapi.ServiceMonitor, kutil.VerbType, error)
func TryUpdateMonitorObject ¶
func TryUpdateMonitorObject(ctx context.Context, c prom.MonitoringV1Interface, meta metav1.ObjectMeta, transform func(monitor *promapi.ServiceMonitor) *promapi.ServiceMonitor, opts metav1.UpdateOptions) (result *promapi.ServiceMonitor, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.