Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8c.io/bulward/pkg/apis/apiserver +k8s:defaulter-gen=TypeMeta +groupName=apiserver.bulward.io +k8s:protobuf-gen=package
Index ¶
- Variables
- func Convert_apiserver_OrganizationList_To_v1alpha1_OrganizationList(in *apiserver.OrganizationList, out *OrganizationList, s conversion.Scope) error
- func Convert_apiserver_Organization_To_v1alpha1_Organization(in *apiserver.Organization, out *Organization, s conversion.Scope) error
- func Convert_apiserver_ProjectList_To_v1alpha1_ProjectList(in *apiserver.ProjectList, out *ProjectList, s conversion.Scope) error
- func Convert_apiserver_Project_To_v1alpha1_Project(in *apiserver.Project, out *Project, s conversion.Scope) error
- func Convert_v1alpha1_OrganizationList_To_apiserver_OrganizationList(in *OrganizationList, out *apiserver.OrganizationList, s conversion.Scope) error
- func Convert_v1alpha1_Organization_To_apiserver_Organization(in *Organization, out *apiserver.Organization, s conversion.Scope) error
- func Convert_v1alpha1_ProjectList_To_apiserver_ProjectList(in *ProjectList, out *apiserver.ProjectList, s conversion.Scope) error
- func Convert_v1alpha1_Project_To_apiserver_Project(in *Project, out *apiserver.Project, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Organization
- func (in *Organization) DeepCopy() *Organization
- func (in *Organization) DeepCopyInto(out *Organization)
- func (in *Organization) DeepCopyObject() runtime.Object
- func (*Organization) Descriptor() ([]byte, []int)
- func (m *Organization) Marshal() (dAtA []byte, err error)
- func (m *Organization) MarshalTo(dAtA []byte) (int, error)
- func (m *Organization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Organization) ProtoMessage()
- func (m *Organization) Reset()
- func (m *Organization) Size() (n int)
- func (this *Organization) String() string
- func (m *Organization) Unmarshal(dAtA []byte) error
- func (m *Organization) XXX_DiscardUnknown()
- func (m *Organization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Organization) XXX_Merge(src proto.Message)
- func (m *Organization) XXX_Size() int
- func (m *Organization) XXX_Unmarshal(b []byte) error
- type OrganizationList
- func (in *OrganizationList) DeepCopy() *OrganizationList
- func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
- func (in *OrganizationList) DeepCopyObject() runtime.Object
- func (*OrganizationList) Descriptor() ([]byte, []int)
- func (m *OrganizationList) Marshal() (dAtA []byte, err error)
- func (m *OrganizationList) MarshalTo(dAtA []byte) (int, error)
- func (m *OrganizationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrganizationList) ProtoMessage()
- func (m *OrganizationList) Reset()
- func (m *OrganizationList) Size() (n int)
- func (this *OrganizationList) String() string
- func (m *OrganizationList) Unmarshal(dAtA []byte) error
- func (m *OrganizationList) XXX_DiscardUnknown()
- func (m *OrganizationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrganizationList) XXX_Merge(src proto.Message)
- func (m *OrganizationList) XXX_Size() int
- func (m *OrganizationList) XXX_Unmarshal(b []byte) error
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) Marshal() (dAtA []byte, err error)
- func (m *Project) MarshalTo(dAtA []byte) (int, error)
- func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Size() (n int)
- func (this *Project) String() string
- func (m *Project) Unmarshal(dAtA []byte) error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectList
- func (in *ProjectList) DeepCopy() *ProjectList
- func (in *ProjectList) DeepCopyInto(out *ProjectList)
- func (in *ProjectList) DeepCopyObject() runtime.Object
- func (*ProjectList) Descriptor() ([]byte, []int)
- func (m *ProjectList) Marshal() (dAtA []byte, err error)
- func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)
- func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProjectList) ProtoMessage()
- func (m *ProjectList) Reset()
- func (m *ProjectList) Size() (n int)
- func (this *ProjectList) String() string
- func (m *ProjectList) Unmarshal(dAtA []byte) error
- func (m *ProjectList) XXX_DiscardUnknown()
- func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectList) XXX_Merge(src proto.Message)
- func (m *ProjectList) XXX_Size() int
- func (m *ProjectList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( ApiVersion = builders.NewApiVersion("apiserver.bulward.io", "v1alpha1").WithResources( apiserver.ApiserverOrganizationStorage, apiserver.ApiserverProjectStorage, ) // Required by code generated by go2idl AddToScheme = (&runtime.SchemeBuilder{ ApiVersion.SchemeBuilder.AddToScheme, RegisterDefaults, RegisterConversions, addKnownTypes, func(scheme *runtime.Scheme) error { metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil }, }).AddToScheme SchemeBuilder = ApiVersion.SchemeBuilder SchemeGroupVersion = ApiVersion.GroupVersion )
Functions ¶
func Convert_apiserver_OrganizationList_To_v1alpha1_OrganizationList ¶
func Convert_apiserver_OrganizationList_To_v1alpha1_OrganizationList(in *apiserver.OrganizationList, out *OrganizationList, s conversion.Scope) error
Convert_apiserver_OrganizationList_To_v1alpha1_OrganizationList is an autogenerated conversion function.
func Convert_apiserver_Organization_To_v1alpha1_Organization ¶
func Convert_apiserver_Organization_To_v1alpha1_Organization(in *apiserver.Organization, out *Organization, s conversion.Scope) error
Convert_apiserver_Organization_To_v1alpha1_Organization is an autogenerated conversion function.
func Convert_apiserver_ProjectList_To_v1alpha1_ProjectList ¶
func Convert_apiserver_ProjectList_To_v1alpha1_ProjectList(in *apiserver.ProjectList, out *ProjectList, s conversion.Scope) error
Convert_apiserver_ProjectList_To_v1alpha1_ProjectList is an autogenerated conversion function.
func Convert_apiserver_Project_To_v1alpha1_Project ¶
func Convert_apiserver_Project_To_v1alpha1_Project(in *apiserver.Project, out *Project, s conversion.Scope) error
Convert_apiserver_Project_To_v1alpha1_Project is an autogenerated conversion function.
func Convert_v1alpha1_OrganizationList_To_apiserver_OrganizationList ¶
func Convert_v1alpha1_OrganizationList_To_apiserver_OrganizationList(in *OrganizationList, out *apiserver.OrganizationList, s conversion.Scope) error
Convert_v1alpha1_OrganizationList_To_apiserver_OrganizationList is an autogenerated conversion function.
func Convert_v1alpha1_Organization_To_apiserver_Organization ¶
func Convert_v1alpha1_Organization_To_apiserver_Organization(in *Organization, out *apiserver.Organization, s conversion.Scope) error
Convert_v1alpha1_Organization_To_apiserver_Organization is an autogenerated conversion function.
func Convert_v1alpha1_ProjectList_To_apiserver_ProjectList ¶
func Convert_v1alpha1_ProjectList_To_apiserver_ProjectList(in *ProjectList, out *apiserver.ProjectList, s conversion.Scope) error
Convert_v1alpha1_ProjectList_To_apiserver_ProjectList is an autogenerated conversion function.
func Convert_v1alpha1_Project_To_apiserver_Project ¶
func Convert_v1alpha1_Project_To_apiserver_Project(in *Project, out *apiserver.Project, s conversion.Scope) error
Convert_v1alpha1_Project_To_apiserver_Project is an autogenerated conversion function.
func Kind ¶
Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Organization ¶
type Organization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec storagev1alpha1.OrganizationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status storagev1alpha1.OrganizationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Organization +k8s:openapi-gen=true +resource:path=organizations,rest=OrganizationREST
func (*Organization) DeepCopy ¶
func (in *Organization) DeepCopy() *Organization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.
func (*Organization) DeepCopyInto ¶
func (in *Organization) DeepCopyInto(out *Organization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Organization) DeepCopyObject ¶
func (in *Organization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Organization) Descriptor ¶
func (*Organization) Descriptor() ([]byte, []int)
func (*Organization) Marshal ¶
func (m *Organization) Marshal() (dAtA []byte, err error)
func (*Organization) MarshalToSizedBuffer ¶
func (m *Organization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) Reset ¶
func (m *Organization) Reset()
func (*Organization) Size ¶
func (m *Organization) Size() (n int)
func (*Organization) String ¶
func (this *Organization) String() string
func (*Organization) Unmarshal ¶
func (m *Organization) Unmarshal(dAtA []byte) error
func (*Organization) XXX_DiscardUnknown ¶
func (m *Organization) XXX_DiscardUnknown()
func (*Organization) XXX_Marshal ¶
func (m *Organization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Organization) XXX_Merge ¶
func (m *Organization) XXX_Merge(src proto.Message)
func (*Organization) XXX_Size ¶
func (m *Organization) XXX_Size() int
func (*Organization) XXX_Unmarshal ¶
func (m *Organization) XXX_Unmarshal(b []byte) error
type OrganizationList ¶
type OrganizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Organization `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*OrganizationList) DeepCopy ¶
func (in *OrganizationList) DeepCopy() *OrganizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.
func (*OrganizationList) DeepCopyInto ¶
func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationList) DeepCopyObject ¶
func (in *OrganizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationList) Descriptor ¶
func (*OrganizationList) Descriptor() ([]byte, []int)
func (*OrganizationList) Marshal ¶
func (m *OrganizationList) Marshal() (dAtA []byte, err error)
func (*OrganizationList) MarshalToSizedBuffer ¶
func (m *OrganizationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrganizationList) ProtoMessage ¶
func (*OrganizationList) ProtoMessage()
func (*OrganizationList) Reset ¶
func (m *OrganizationList) Reset()
func (*OrganizationList) Size ¶
func (m *OrganizationList) Size() (n int)
func (*OrganizationList) String ¶
func (this *OrganizationList) String() string
func (*OrganizationList) Unmarshal ¶
func (m *OrganizationList) Unmarshal(dAtA []byte) error
func (*OrganizationList) XXX_DiscardUnknown ¶
func (m *OrganizationList) XXX_DiscardUnknown()
func (*OrganizationList) XXX_Marshal ¶
func (m *OrganizationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrganizationList) XXX_Merge ¶
func (m *OrganizationList) XXX_Merge(src proto.Message)
func (*OrganizationList) XXX_Size ¶
func (m *OrganizationList) XXX_Size() int
func (*OrganizationList) XXX_Unmarshal ¶
func (m *OrganizationList) XXX_Unmarshal(b []byte) error
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec storagev1alpha1.ProjectSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status storagev1alpha1.ProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Project +k8s:openapi-gen=true +resource:path=projects,rest=ProjectREST
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) Descriptor ¶
func (*Project) MarshalToSizedBuffer ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Project `json:"items" protobuf:"bytes,2,opt,name=items"` }
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectList) Descriptor ¶
func (*ProjectList) Descriptor() ([]byte, []int)
func (*ProjectList) Marshal ¶
func (m *ProjectList) Marshal() (dAtA []byte, err error)
func (*ProjectList) MarshalToSizedBuffer ¶
func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProjectList) ProtoMessage ¶
func (*ProjectList) ProtoMessage()
func (*ProjectList) Reset ¶
func (m *ProjectList) Reset()
func (*ProjectList) Size ¶
func (m *ProjectList) Size() (n int)
func (*ProjectList) String ¶
func (this *ProjectList) String() string
func (*ProjectList) Unmarshal ¶
func (m *ProjectList) Unmarshal(dAtA []byte) error
func (*ProjectList) XXX_DiscardUnknown ¶
func (m *ProjectList) XXX_DiscardUnknown()
func (*ProjectList) XXX_Marshal ¶
func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectList) XXX_Merge ¶
func (m *ProjectList) XXX_Merge(src proto.Message)
func (*ProjectList) XXX_Size ¶
func (m *ProjectList) XXX_Size() int
func (*ProjectList) XXX_Unmarshal ¶
func (m *ProjectList) XXX_Unmarshal(b []byte) error