kubernetes

package
v0.0.0-...-796d799 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() (dynamic.Interface, error)

CreateClient creates an in-cluster dynamic kubernetes client

Types

type Service

type Service interface {
	CreateInstance(ctx context.Context, instance *instancev1.Instance) (*instancev1.Instance, error)
	GetInstance(ctx context.Context, id string) (*instancev1.Instance, error)
	DeleteInstance(ctx context.Context, id string) (*instancev1.Instance, error)
}

func NewService

func NewService(client dynamic.Interface) Service

Jump to

Keyboard shortcuts

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