server

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(clientset *kubernetes.Clientset, port int, config util.Config)

func Watch

func Watch(clientset *kubernetes.Clientset, signal chan struct{}, config util.Config)

Types

type ClusterRoleAdapter

type ClusterRoleAdapter struct {
	// contains filtered or unexported fields
}

ClusterRoleAdapter provides operations for ClusterRoles resources

func (*ClusterRoleAdapter) List

func (*ClusterRoleAdapter) Watch

type ClusterRoleBindingAdapter

type ClusterRoleBindingAdapter struct {
	// contains filtered or unexported fields
}

func (*ClusterRoleBindingAdapter) List

func (*ClusterRoleBindingAdapter) Watch

type ResourceInterface

type ResourceInterface interface {
	List(opts metav1.ListOptions) (runtime.Object, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

ResourceInterface provides generic operations for Kubernetes resources

type ResourceListWrapper

type ResourceListWrapper struct {
	List runtime.Object
}

func (*ResourceListWrapper) Update

func (rw *ResourceListWrapper) Update(newList runtime.Object)

type RoleAdapter

type RoleAdapter struct {
	// contains filtered or unexported fields
}

RoleAdapter provides operations for Roles resources

func (*RoleAdapter) List

func (r *RoleAdapter) List(opts metav1.ListOptions) (runtime.Object, error)

func (*RoleAdapter) Watch

func (r *RoleAdapter) Watch(opts metav1.ListOptions) (watch.Interface, error)

type RoleBindingAdapter

type RoleBindingAdapter struct {
	// contains filtered or unexported fields
}

RoleBindingAdapter provides operations for RoleBinding resources

func (*RoleBindingAdapter) List

func (*RoleBindingAdapter) Watch

Jump to

Keyboard shortcuts

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