kubernetes

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package kubernetes provides the ability for Vela to integrate with Kubernetes as a runtime environment.

Usage:

import "github.com/go-vela/pkg-runtime/runtime/kubernetes"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(namespace, path string, _volumes, _privilegedImages []string) (*client, error)

New returns an Engine implementation that integrates with a Kubernetes runtime.

nolint: golint // ignore returning unexported client

func NewMock

func NewMock(_pod *v1.Pod) (*client, error)

NewMock returns an Engine implementation that integrates with a Kubernetes runtime.

This function is intended for running tests only.

nolint: golint // ignore returning unexported client

Types

This section is empty.

Jump to

Keyboard shortcuts

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