Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 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"
)

Variables

Codec encodes internal objects to the v1 scheme

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

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type Project

type Project struct {
	unversioned.TypeMeta `json:",inline"`
	kapi.ObjectMeta      `json:"metadata,omitempty"`

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

	// Status describes the current status of a Namespace
	Status ProjectStatus `json:"status,omitempty" description:"status describes the current status of a Project; read-only"`
}

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

func (*Project) IsAnAPIObject

func (*Project) IsAnAPIObject()

type ProjectList

type ProjectList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,omitempty"`
	Items                []Project `json:"items" description:"list of projects"`
}

ProjectList is a list of Project objects.

func (*ProjectList) IsAnAPIObject

func (*ProjectList) IsAnAPIObject()

type ProjectRequest

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

func (*ProjectRequest) IsAnAPIObject

func (*ProjectRequest) IsAnAPIObject()

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 `` /* 127-byte string literal not displayed */
}

ProjectSpec describes the attributes on a Project

type ProjectStatus

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

ProjectStatus is information about the current status of a Project

Jump to

Keyboard shortcuts

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