service_labels

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() capsulewebhook.Handler

func Webhook

Types

type EndpointSlice

type EndpointSlice struct {
	*discoveryv1beta1.EndpointSlice
}

func (EndpointSlice) Annotations

func (eps EndpointSlice) Annotations() map[string]string

func (EndpointSlice) Labels

func (eps EndpointSlice) Labels() map[string]string

func (EndpointSlice) Namespace

func (eps EndpointSlice) Namespace() string

type Endpoints

type Endpoints struct {
	*corev1.Endpoints
}

func (Endpoints) Annotations

func (ep Endpoints) Annotations() map[string]string

func (Endpoints) Labels

func (ep Endpoints) Labels() map[string]string

func (Endpoints) Namespace

func (ep Endpoints) Namespace() string

type Service

type Service struct {
	*corev1.Service
}

func (Service) Annotations

func (s Service) Annotations() map[string]string

func (Service) Labels

func (s Service) Labels() map[string]string

func (Service) Namespace

func (s Service) Namespace() string

type ServiceType

type ServiceType interface {
	Namespace() string
	Labels() map[string]string
	Annotations() map[string]string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL