api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package api defines and registers types for Config objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	kapi.TypeMeta `json:",inline" yaml:",inline"`

	// Required: Name identifies the Config.
	Name string `json:"name" yaml:"name"`

	// Optional: Description describes the Config.
	Description string `json:"description" yaml:"description"`

	// Required: Items is an array of Kubernetes resources of Service,
	// Pod and/or ReplicationController kind.
	// TODO: Handle unregistered types. Define custom []runtime.Object
	//       type and its unmarshaller instead of []runtime.Object.
	Items []runtime.EmbeddedObject `json:"items" yaml:"items"`
}

Config contains a set of Kubernetes resources to be applied. TODO: Unify with Kubernetes Config

https://github.com/GoogleCloudPlatform/kubernetes/pull/1007

func (*Config) IsAnAPIObject

func (*Config) IsAnAPIObject()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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