v1

package
v1.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// These are internal finalizer values to Origin
	FinalizerOrigin kapi.FinalizerName = "openshift.io/origin"
)
View Source
const GroupName = ""

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme added in v1.1.3

func AddToScheme(scheme *runtime.Scheme)

Types

type Project

type Project struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of the Namespace.
	Spec ProjectSpec `json:"spec,omitempty"`

	// Status describes the current status of a Namespace
	Status ProjectStatus `json:"status,omitempty"`
}

Project is a logical top-level container for a set of origin resources

func (*Project) GetObjectKind added in v1.1.3

func (obj *Project) GetObjectKind() unversioned.ObjectKind

func (Project) SwaggerDoc added in v1.1.4

func (Project) SwaggerDoc() map[string]string

type ProjectList

type ProjectList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	unversioned.ListMeta `json:"metadata,omitempty"`
	// Items is the list of projects
	Items []Project `json:"items"`
}

ProjectList is a list of Project objects.

func (*ProjectList) GetObjectKind added in v1.1.3

func (obj *ProjectList) GetObjectKind() unversioned.ObjectKind

func (ProjectList) SwaggerDoc added in v1.1.4

func (ProjectList) SwaggerDoc() map[string]string

type ProjectRequest

type ProjectRequest struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty"`
	// DisplayName is the display name to apply to a project
	DisplayName string `json:"displayName,omitempty"`
	// Description is the description to apply to a project
	Description string `json:"description,omitempty"`
}

ProjecRequest is the set of options necessary to fully qualify a project request

func (*ProjectRequest) GetObjectKind added in v1.1.3

func (obj *ProjectRequest) GetObjectKind() unversioned.ObjectKind

func (ProjectRequest) SwaggerDoc added in v1.1.4

func (ProjectRequest) SwaggerDoc() map[string]string

type ProjectSpec

type ProjectSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
	Finalizers []kapi.FinalizerName `json:"finalizers,omitempty"`
}

ProjectSpec describes the attributes on a Project

func (ProjectSpec) SwaggerDoc added in v1.1.4

func (ProjectSpec) SwaggerDoc() map[string]string

type ProjectStatus

type ProjectStatus struct {
	// Phase is the current lifecycle phase of the project
	Phase kapi.NamespacePhase `json:"phase,omitempty"`
}

ProjectStatus is information about the current status of a Project

func (ProjectStatus) SwaggerDoc added in v1.1.4

func (ProjectStatus) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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