configmap

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FileName = "code.py"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	K8sClient kubeclient.Interface
	Namespace string
}

Client is the type for s2i client powered by configmap.

func New

func New(config *restclientset.Config, namespace string) (*Client, error)

New returns a new client.

func (Client) SourceToImage

func (c Client) SourceToImage(code string, parameter *types.Parameter) (string, error)

SourceToImage converts the code to the image.

Jump to

Keyboard shortcuts

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