add service mesh controller
add service mesh metrics remove unused circle yaml fix travis misconfiguration fix travis misconfiguration fix travis misconfiguration
This commit is contained in:
8
vendor/github.com/openshift/api/project/v1/doc.go
generated
vendored
Normal file
8
vendor/github.com/openshift/api/project/v1/doc.go
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/openshift/origin/pkg/project/apis/project
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +k8s:openapi-gen=true
|
||||
|
||||
// +groupName=project.openshift.io
|
||||
// Package v1 is the v1 version of the API.
|
||||
package v1
|
||||
1092
vendor/github.com/openshift/api/project/v1/generated.pb.go
generated
vendored
Normal file
1092
vendor/github.com/openshift/api/project/v1/generated.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
49
vendor/github.com/openshift/api/project/v1/register.go
generated
vendored
Normal file
49
vendor/github.com/openshift/api/project/v1/register.go
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
)
|
||||
|
||||
const (
|
||||
GroupName = "project.openshift.io"
|
||||
LegacyGroupName = ""
|
||||
)
|
||||
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
var (
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
|
||||
LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"}
|
||||
|
||||
LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes)
|
||||
AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme
|
||||
|
||||
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
|
||||
AddToScheme = SchemeBuilder.AddToScheme
|
||||
)
|
||||
|
||||
func Resource(resource string) schema.GroupResource {
|
||||
return SchemeGroupVersion.WithResource(resource).GroupResource()
|
||||
}
|
||||
|
||||
// Adds the list of known types to api.Scheme.
|
||||
func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
scheme.AddKnownTypes(SchemeGroupVersion,
|
||||
&Project{},
|
||||
&ProjectList{},
|
||||
&ProjectRequest{},
|
||||
)
|
||||
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
|
||||
return nil
|
||||
}
|
||||
|
||||
func addLegacyKnownTypes(scheme *runtime.Scheme) error {
|
||||
types := []runtime.Object{
|
||||
&Project{},
|
||||
&ProjectList{},
|
||||
&ProjectRequest{},
|
||||
}
|
||||
scheme.AddKnownTypes(LegacySchemeGroupVersion, types...)
|
||||
return nil
|
||||
}
|
||||
79
vendor/github.com/openshift/api/project/v1/types.go
generated
vendored
Normal file
79
vendor/github.com/openshift/api/project/v1/types.go
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// ProjectList is a list of Project objects.
|
||||
type ProjectList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object's metadata.
|
||||
metav1.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"`
|
||||
}
|
||||
|
||||
const (
|
||||
// These are internal finalizer values to Origin
|
||||
FinalizerOrigin corev1.FinalizerName = "openshift.io/origin"
|
||||
)
|
||||
|
||||
// ProjectSpec describes the attributes on a Project
|
||||
type ProjectSpec struct {
|
||||
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
|
||||
Finalizers []corev1.FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=k8s.io/api/core/v1.FinalizerName"`
|
||||
}
|
||||
|
||||
// ProjectStatus is information about the current status of a Project
|
||||
type ProjectStatus struct {
|
||||
// Phase is the current lifecycle phase of the project
|
||||
Phase corev1.NamespacePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=k8s.io/api/core/v1.NamespacePhase"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// Projects are the unit of isolation and collaboration in OpenShift. A project has one or more members,
|
||||
// a quota on the resources that the project may consume, and the security controls on the resources in
|
||||
// the project. Within a project, members may have different roles - project administrators can set
|
||||
// membership, editors can create and manage the resources, and viewers can see but not access running
|
||||
// containers. In a normal cluster project administrators are not able to alter their quotas - that is
|
||||
// restricted to cluster administrators.
|
||||
//
|
||||
// Listing or watching projects will return only projects the user has the reader role on.
|
||||
//
|
||||
// An OpenShift project is an alternative representation of a Kubernetes namespace. Projects are exposed
|
||||
// as editable to end users while namespaces are not. Direct creation of a project is typically restricted
|
||||
// to administrators, while end users should use the requestproject resource.
|
||||
type Project struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object's metadata.
|
||||
metav1.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"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +genclient:skipVerbs=get,list,create,update,patch,delete,deleteCollection,watch
|
||||
// +genclient:method=Create,verb=create,result=Project
|
||||
|
||||
// ProjecRequest is the set of options necessary to fully qualify a project request
|
||||
type ProjectRequest struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object's metadata.
|
||||
metav1.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"`
|
||||
}
|
||||
64
vendor/github.com/openshift/api/project/v1/types_swagger_doc_generated.go
generated
vendored
Normal file
64
vendor/github.com/openshift/api/project/v1/types_swagger_doc_generated.go
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
package v1
|
||||
|
||||
// This file contains a collection of methods that can be used from go-restful to
|
||||
// generate Swagger API documentation for its models. Please read this PR for more
|
||||
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
|
||||
//
|
||||
// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
|
||||
// they are on one line! For multiple line or blocks that you want to ignore use ---.
|
||||
// Any context after a --- is ignored.
|
||||
//
|
||||
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS START HERE
|
||||
var map_Project = map[string]string{
|
||||
"": "Projects are the unit of isolation and collaboration in OpenShift. A project has one or more members, a quota on the resources that the project may consume, and the security controls on the resources in the project. Within a project, members may have different roles - project administrators can set membership, editors can create and manage the resources, and viewers can see but not access running containers. In a normal cluster project administrators are not able to alter their quotas - that is restricted to cluster administrators.\n\nListing or watching projects will return only projects the user has the reader role on.\n\nAn OpenShift project is an alternative representation of a Kubernetes namespace. Projects are exposed as editable to end users while namespaces are not. Direct creation of a project is typically restricted to administrators, while end users should use the requestproject resource.",
|
||||
"metadata": "Standard object's metadata.",
|
||||
"spec": "Spec defines the behavior of the Namespace.",
|
||||
"status": "Status describes the current status of a Namespace",
|
||||
}
|
||||
|
||||
func (Project) SwaggerDoc() map[string]string {
|
||||
return map_Project
|
||||
}
|
||||
|
||||
var map_ProjectList = map[string]string{
|
||||
"": "ProjectList is a list of Project objects.",
|
||||
"metadata": "Standard object's metadata.",
|
||||
"items": "Items is the list of projects",
|
||||
}
|
||||
|
||||
func (ProjectList) SwaggerDoc() map[string]string {
|
||||
return map_ProjectList
|
||||
}
|
||||
|
||||
var map_ProjectRequest = map[string]string{
|
||||
"": "ProjecRequest is the set of options necessary to fully qualify a project request",
|
||||
"metadata": "Standard object's metadata.",
|
||||
"displayName": "DisplayName is the display name to apply to a project",
|
||||
"description": "Description is the description to apply to a project",
|
||||
}
|
||||
|
||||
func (ProjectRequest) SwaggerDoc() map[string]string {
|
||||
return map_ProjectRequest
|
||||
}
|
||||
|
||||
var map_ProjectSpec = map[string]string{
|
||||
"": "ProjectSpec describes the attributes on a Project",
|
||||
"finalizers": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage",
|
||||
}
|
||||
|
||||
func (ProjectSpec) SwaggerDoc() map[string]string {
|
||||
return map_ProjectSpec
|
||||
}
|
||||
|
||||
var map_ProjectStatus = map[string]string{
|
||||
"": "ProjectStatus is information about the current status of a Project",
|
||||
"phase": "Phase is the current lifecycle phase of the project",
|
||||
}
|
||||
|
||||
func (ProjectStatus) SwaggerDoc() map[string]string {
|
||||
return map_ProjectStatus
|
||||
}
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS END HERE
|
||||
137
vendor/github.com/openshift/api/project/v1/zz_generated.deepcopy.go
generated
vendored
Normal file
137
vendor/github.com/openshift/api/project/v1/zz_generated.deepcopy.go
generated
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
|
||||
|
||||
package v1
|
||||
|
||||
import (
|
||||
core_v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Project) DeepCopyInto(out *Project) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
out.Status = in.Status
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
|
||||
func (in *Project) DeepCopy() *Project {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Project)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *Project) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ProjectList) DeepCopyInto(out *ProjectList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
out.ListMeta = in.ListMeta
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]Project, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
|
||||
func (in *ProjectList) DeepCopy() *ProjectList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ProjectList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ProjectList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ProjectRequest) DeepCopyInto(out *ProjectRequest) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectRequest.
|
||||
func (in *ProjectRequest) DeepCopy() *ProjectRequest {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ProjectRequest)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ProjectRequest) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec) {
|
||||
*out = *in
|
||||
if in.Finalizers != nil {
|
||||
in, out := &in.Finalizers, &out.Finalizers
|
||||
*out = make([]core_v1.FinalizerName, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
|
||||
func (in *ProjectSpec) DeepCopy() *ProjectSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ProjectSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
|
||||
func (in *ProjectStatus) DeepCopy() *ProjectStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ProjectStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
Reference in New Issue
Block a user