v1

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +genconversion=true

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/project/api/v1/generated.proto

It has these top-level messages:
	Project
	ProjectList
	ProjectRequest
	ProjectSpec
	ProjectStatus

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 (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
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)

func Convert_api_ProjectList_To_v1_ProjectList added in v1.3.0

func Convert_api_ProjectList_To_v1_ProjectList(in *project_api.ProjectList, out *ProjectList, s conversion.Scope) error

func Convert_api_ProjectRequest_To_v1_ProjectRequest added in v1.3.0

func Convert_api_ProjectRequest_To_v1_ProjectRequest(in *project_api.ProjectRequest, out *ProjectRequest, s conversion.Scope) error

func Convert_api_ProjectSpec_To_v1_ProjectSpec added in v1.3.0

func Convert_api_ProjectSpec_To_v1_ProjectSpec(in *project_api.ProjectSpec, out *ProjectSpec, s conversion.Scope) error

func Convert_api_ProjectStatus_To_v1_ProjectStatus added in v1.3.0

func Convert_api_ProjectStatus_To_v1_ProjectStatus(in *project_api.ProjectStatus, out *ProjectStatus, s conversion.Scope) error

func Convert_api_Project_To_v1_Project added in v1.3.0

func Convert_api_Project_To_v1_Project(in *project_api.Project, out *Project, s conversion.Scope) error

func Convert_v1_ProjectList_To_api_ProjectList added in v1.3.0

func Convert_v1_ProjectList_To_api_ProjectList(in *ProjectList, out *project_api.ProjectList, s conversion.Scope) error

func Convert_v1_ProjectRequest_To_api_ProjectRequest added in v1.3.0

func Convert_v1_ProjectRequest_To_api_ProjectRequest(in *ProjectRequest, out *project_api.ProjectRequest, s conversion.Scope) error

func Convert_v1_ProjectSpec_To_api_ProjectSpec added in v1.3.0

func Convert_v1_ProjectSpec_To_api_ProjectSpec(in *ProjectSpec, out *project_api.ProjectSpec, s conversion.Scope) error

func Convert_v1_ProjectStatus_To_api_ProjectStatus added in v1.3.0

func Convert_v1_ProjectStatus_To_api_ProjectStatus(in *ProjectStatus, out *project_api.ProjectStatus, s conversion.Scope) error

func Convert_v1_Project_To_api_Project added in v1.3.0

func Convert_v1_Project_To_api_Project(in *Project, out *project_api.Project, s conversion.Scope) error

func DeepCopy_v1_Project added in v1.3.0

func DeepCopy_v1_Project(in Project, out *Project, c *conversion.Cloner) error

func DeepCopy_v1_ProjectList added in v1.3.0

func DeepCopy_v1_ProjectList(in ProjectList, out *ProjectList, c *conversion.Cloner) error

func DeepCopy_v1_ProjectRequest added in v1.3.0

func DeepCopy_v1_ProjectRequest(in ProjectRequest, out *ProjectRequest, c *conversion.Cloner) error

func DeepCopy_v1_ProjectSpec added in v1.3.0

func DeepCopy_v1_ProjectSpec(in ProjectSpec, out *ProjectSpec, c *conversion.Cloner) error

func DeepCopy_v1_ProjectStatus added in v1.3.0

func DeepCopy_v1_ProjectStatus(in ProjectStatus, out *ProjectStatus, c *conversion.Cloner) error

Types

type Project

type Project struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the behavior of the Namespace.
	Spec ProjectSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Status describes the current status of a Namespace
	Status ProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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) Marshal added in v1.3.0

func (m *Project) Marshal() (data []byte, err error)

func (*Project) MarshalTo added in v1.3.0

func (m *Project) MarshalTo(data []byte) (int, error)

func (*Project) ProtoMessage added in v1.3.0

func (*Project) ProtoMessage()

func (*Project) Reset added in v1.3.0

func (m *Project) Reset()

func (*Project) Size added in v1.3.0

func (m *Project) Size() (n int)

func (*Project) String added in v1.3.0

func (m *Project) String() string

func (Project) SwaggerDoc added in v1.1.4

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

func (*Project) Unmarshal added in v1.3.0

func (m *Project) Unmarshal(data []byte) error

type ProjectList

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

ProjectList is a list of Project objects.

func (*ProjectList) GetObjectKind added in v1.1.3

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

func (*ProjectList) Marshal added in v1.3.0

func (m *ProjectList) Marshal() (data []byte, err error)

func (*ProjectList) MarshalTo added in v1.3.0

func (m *ProjectList) MarshalTo(data []byte) (int, error)

func (*ProjectList) ProtoMessage added in v1.3.0

func (*ProjectList) ProtoMessage()

func (*ProjectList) Reset added in v1.3.0

func (m *ProjectList) Reset()

func (*ProjectList) Size added in v1.3.0

func (m *ProjectList) Size() (n int)

func (*ProjectList) String added in v1.3.0

func (m *ProjectList) String() string

func (ProjectList) SwaggerDoc added in v1.1.4

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

func (*ProjectList) Unmarshal added in v1.3.0

func (m *ProjectList) Unmarshal(data []byte) error

type ProjectRequest

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

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) Marshal added in v1.3.0

func (m *ProjectRequest) Marshal() (data []byte, err error)

func (*ProjectRequest) MarshalTo added in v1.3.0

func (m *ProjectRequest) MarshalTo(data []byte) (int, error)

func (*ProjectRequest) ProtoMessage added in v1.3.0

func (*ProjectRequest) ProtoMessage()

func (*ProjectRequest) Reset added in v1.3.0

func (m *ProjectRequest) Reset()

func (*ProjectRequest) Size added in v1.3.0

func (m *ProjectRequest) Size() (n int)

func (*ProjectRequest) String added in v1.3.0

func (m *ProjectRequest) String() string

func (ProjectRequest) SwaggerDoc added in v1.1.4

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

func (*ProjectRequest) Unmarshal added in v1.3.0

func (m *ProjectRequest) Unmarshal(data []byte) error

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" protobuf:"bytes,1,rep,name=finalizers,casttype=k8s.io/kubernetes/pkg/api/v1.FinalizerName"`
}

ProjectSpec describes the attributes on a Project

func (*ProjectSpec) Marshal added in v1.3.0

func (m *ProjectSpec) Marshal() (data []byte, err error)

func (*ProjectSpec) MarshalTo added in v1.3.0

func (m *ProjectSpec) MarshalTo(data []byte) (int, error)

func (*ProjectSpec) ProtoMessage added in v1.3.0

func (*ProjectSpec) ProtoMessage()

func (*ProjectSpec) Reset added in v1.3.0

func (m *ProjectSpec) Reset()

func (*ProjectSpec) Size added in v1.3.0

func (m *ProjectSpec) Size() (n int)

func (*ProjectSpec) String added in v1.3.0

func (m *ProjectSpec) String() string

func (ProjectSpec) SwaggerDoc added in v1.1.4

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

func (*ProjectSpec) Unmarshal added in v1.3.0

func (m *ProjectSpec) Unmarshal(data []byte) error

type ProjectStatus

type ProjectStatus struct {
	// Phase is the current lifecycle phase of the project
	Phase kapi.NamespacePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=k8s.io/kubernetes/pkg/api/v1.NamespacePhase"`
}

ProjectStatus is information about the current status of a Project

func (*ProjectStatus) Marshal added in v1.3.0

func (m *ProjectStatus) Marshal() (data []byte, err error)

func (*ProjectStatus) MarshalTo added in v1.3.0

func (m *ProjectStatus) MarshalTo(data []byte) (int, error)

func (*ProjectStatus) ProtoMessage added in v1.3.0

func (*ProjectStatus) ProtoMessage()

func (*ProjectStatus) Reset added in v1.3.0

func (m *ProjectStatus) Reset()

func (*ProjectStatus) Size added in v1.3.0

func (m *ProjectStatus) Size() (n int)

func (*ProjectStatus) String added in v1.3.0

func (m *ProjectStatus) String() string

func (ProjectStatus) SwaggerDoc added in v1.1.4

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

func (*ProjectStatus) Unmarshal added in v1.3.0

func (m *ProjectStatus) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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