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

v1

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 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" 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) 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" description:"list of projects"`
}

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:"display name to apply to a project"`
	// Description is the description to apply to a project
	Description string `json:"description,omitempty" description:"description to apply to a project"`
}

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

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" description:"phase is the current lifecycle phase of the project"`
}

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