Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ConnectionType
- type ContactData
- type Edge
- type Entry
- type GraphFinder
- type GraphRequest
- type GraphResponse
- type GroupVersionResource
- type ImageSpec
- type IncludeObjectPolicy
- type Link
- type OwnershipLevel
- type Path
- type PathFinder
- type PathRequest
- type PathResponse
- type ReferenceType
- type ResourceClass
- type ResourceClassInfo
- type ResourceClassList
- type ResourceClassSpec
- type ResourceColumnDefinition
- type ResourceConnection
- type ResourceConnectionSpec
- type ResourceDescriptor
- type ResourceDescriptorList
- type ResourceDescriptorSpec
- type ResourceID
- type ResourceScope
- type ResourceSubTableDefinition
- type SubTable
- type Table
- type TableOptions
- type TableRow
Constants ¶
const GroupName = "meta.appscode.com"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type ConnectionType ¶
type ConnectionType string
const ( MatchSelector ConnectionType = "MatchSelector" MatchName ConnectionType = "MatchName" MatchRef ConnectionType = "MatchRef" OwnedBy ConnectionType = "OwnedBy" )
type ContactData ¶ added in v0.3.0
func (*ContactData) DeepCopy ¶ added in v0.3.0
func (in *ContactData) DeepCopy() *ContactData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactData.
func (*ContactData) DeepCopyInto ¶ added in v0.3.0
func (in *ContactData) DeepCopyInto(out *ContactData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Edge ¶
type Edge struct { Src GroupVersionResource Dst GroupVersionResource W uint64 Connection ResourceConnectionSpec Forward bool }
func (*Edge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Edge.
func (*Edge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Entry ¶ added in v0.3.0
type Entry struct { Name string Path string Type *GroupVersionResource Weight int Required bool }
func (*Entry) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entry.
func (*Entry) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GraphFinder ¶ added in v0.2.0
type GraphFinder struct { metav1.TypeMeta Request *GraphRequest Response *GraphResponse }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GraphFinder) DeepCopy ¶ added in v0.2.0
func (in *GraphFinder) DeepCopy() *GraphFinder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphFinder.
func (*GraphFinder) DeepCopyInto ¶ added in v0.2.0
func (in *GraphFinder) DeepCopyInto(out *GraphFinder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GraphFinder) DeepCopyObject ¶ added in v0.2.0
func (in *GraphFinder) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GraphRequest ¶ added in v0.2.0
type GraphRequest struct {
Source GroupVersionResource
}
func (*GraphRequest) DeepCopy ¶ added in v0.2.0
func (in *GraphRequest) DeepCopy() *GraphRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphRequest.
func (*GraphRequest) DeepCopyInto ¶ added in v0.2.0
func (in *GraphRequest) DeepCopyInto(out *GraphRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GraphResponse ¶ added in v0.2.0
type GraphResponse struct { Source GroupVersionResource Connections []Edge }
func (*GraphResponse) DeepCopy ¶ added in v0.2.0
func (in *GraphResponse) DeepCopy() *GraphResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphResponse.
func (*GraphResponse) DeepCopyInto ¶ added in v0.2.0
func (in *GraphResponse) DeepCopyInto(out *GraphResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupVersionResource ¶
type GroupVersionResource struct { Group string `json:"group"` Version string `json:"version"` Resource string `json:"resource"` }
func (*GroupVersionResource) DeepCopy ¶
func (in *GroupVersionResource) DeepCopy() *GroupVersionResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource.
func (*GroupVersionResource) DeepCopyInto ¶
func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶ added in v0.3.0
func (*ImageSpec) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IncludeObjectPolicy ¶ added in v0.2.2
type IncludeObjectPolicy string
const ( IncludeNone IncludeObjectPolicy = "None" IncludeMetadata IncludeObjectPolicy = "Metadata" IncludeObject IncludeObjectPolicy = "Object" )
type Link ¶ added in v0.3.0
func (*Link) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OwnershipLevel ¶
type OwnershipLevel string
const ( Reference OwnershipLevel = "" Owner OwnershipLevel = "Owner" Controller OwnershipLevel = "Controller" )
type Path ¶
type Path struct { Source GroupVersionResource Target GroupVersionResource Distance uint64 Edges []Edge }
func (*Path) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Path.
func (*Path) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathFinder ¶
type PathFinder struct { metav1.TypeMeta Request *PathRequest Response *PathResponse }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PathFinder) DeepCopy ¶
func (in *PathFinder) DeepCopy() *PathFinder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathFinder.
func (*PathFinder) DeepCopyInto ¶
func (in *PathFinder) DeepCopyInto(out *PathFinder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PathFinder) DeepCopyObject ¶
func (in *PathFinder) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PathRequest ¶
type PathRequest struct { Source GroupVersionResource Target *GroupVersionResource }
func (*PathRequest) DeepCopy ¶
func (in *PathRequest) DeepCopy() *PathRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathRequest.
func (*PathRequest) DeepCopyInto ¶
func (in *PathRequest) DeepCopyInto(out *PathRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathResponse ¶
type PathResponse struct {
Paths []Path
}
func (*PathResponse) DeepCopy ¶
func (in *PathResponse) DeepCopy() *PathResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathResponse.
func (*PathResponse) DeepCopyInto ¶
func (in *PathResponse) DeepCopyInto(out *PathResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReferenceType ¶
type ReferenceType string
type ResourceClass ¶ added in v0.3.0
type ResourceClass struct { metav1.TypeMeta metav1.ObjectMeta Spec ResourceClassSpec }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ResourceClass) DeepCopy ¶ added in v0.3.0
func (in *ResourceClass) DeepCopy() *ResourceClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
func (*ResourceClass) DeepCopyInto ¶ added in v0.3.0
func (in *ResourceClass) DeepCopyInto(out *ResourceClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClass) DeepCopyObject ¶ added in v0.3.0
func (in *ResourceClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceClassInfo ¶ added in v0.3.0
type ResourceClassInfo struct { APIGroup string Weight int Icons []ImageSpec Maintainers []ContactData Links []Link }
func (*ResourceClassInfo) DeepCopy ¶ added in v0.3.0
func (in *ResourceClassInfo) DeepCopy() *ResourceClassInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassInfo.
func (*ResourceClassInfo) DeepCopyInto ¶ added in v0.3.0
func (in *ResourceClassInfo) DeepCopyInto(out *ResourceClassInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceClassList ¶ added in v0.3.0
type ResourceClassList struct { metav1.TypeMeta metav1.ListMeta Items []ResourceClass }
+genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ResourceClassList) DeepCopy ¶ added in v0.3.0
func (in *ResourceClassList) DeepCopy() *ResourceClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
func (*ResourceClassList) DeepCopyInto ¶ added in v0.3.0
func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClassList) DeepCopyObject ¶ added in v0.3.0
func (in *ResourceClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceClassSpec ¶ added in v0.3.0
type ResourceClassSpec struct { ResourceClassInfo Entries []Entry }
func (*ResourceClassSpec) DeepCopy ¶ added in v0.3.0
func (in *ResourceClassSpec) DeepCopy() *ResourceClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassSpec.
func (*ResourceClassSpec) DeepCopyInto ¶ added in v0.3.0
func (in *ResourceClassSpec) DeepCopyInto(out *ResourceClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceColumnDefinition ¶
type ResourceColumnDefinition struct { // name is a human readable name for the column. Name string // type is an OpenAPI type definition for this column. // See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. Type string // format is an optional OpenAPI type definition for this column. The 'name' format is applied // to the primary identifier column to assist in clients identifying column is the resource name. // See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. Format string // description is a human readable description of this column. Description string // priority is an integer defining the relative importance of this column compared to others. Lower // numbers are considered higher priority. Columns that may be omitted in limited space scenarios // should be given a higher priority. Priority int32 // JSONPath is a simple JSON path, i.e. without array notation. JSONPath string }
ResourceColumnDefinition specifies a column for server side printing.
func (*ResourceColumnDefinition) DeepCopy ¶
func (in *ResourceColumnDefinition) DeepCopy() *ResourceColumnDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceColumnDefinition.
func (*ResourceColumnDefinition) DeepCopyInto ¶
func (in *ResourceColumnDefinition) DeepCopyInto(out *ResourceColumnDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceConnection ¶
type ResourceConnection struct { Target metav1.TypeMeta ResourceConnectionSpec }
func (*ResourceConnection) DeepCopy ¶
func (in *ResourceConnection) DeepCopy() *ResourceConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConnection.
func (*ResourceConnection) DeepCopyInto ¶
func (in *ResourceConnection) DeepCopyInto(out *ResourceConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceConnectionSpec ¶
type ResourceConnectionSpec struct { Type ConnectionType NamespacePath string TargetLabelPath string SelectorPath string Selector *metav1.LabelSelector NameTemplate string References []string Level OwnershipLevel }
func (*ResourceConnectionSpec) DeepCopy ¶
func (in *ResourceConnectionSpec) DeepCopy() *ResourceConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConnectionSpec.
func (*ResourceConnectionSpec) DeepCopyInto ¶
func (in *ResourceConnectionSpec) DeepCopyInto(out *ResourceConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceDescriptor ¶
type ResourceDescriptor struct { metav1.TypeMeta metav1.ObjectMeta Spec ResourceDescriptorSpec }
func (*ResourceDescriptor) DeepCopy ¶
func (in *ResourceDescriptor) DeepCopy() *ResourceDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDescriptor.
func (*ResourceDescriptor) DeepCopyInto ¶
func (in *ResourceDescriptor) DeepCopyInto(out *ResourceDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceDescriptor) DeepCopyObject ¶
func (in *ResourceDescriptor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceDescriptorList ¶
type ResourceDescriptorList struct { metav1.TypeMeta metav1.ListMeta Items []ResourceDescriptor }
ResourceDescriptorList is a list of ResourceDescriptor objects.
func (*ResourceDescriptorList) DeepCopy ¶
func (in *ResourceDescriptorList) DeepCopy() *ResourceDescriptorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDescriptorList.
func (*ResourceDescriptorList) DeepCopyInto ¶
func (in *ResourceDescriptorList) DeepCopyInto(out *ResourceDescriptorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceDescriptorList) DeepCopyObject ¶
func (in *ResourceDescriptorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceDescriptorSpec ¶
type ResourceDescriptorSpec struct { Resource ResourceID Columns []ResourceColumnDefinition SubTables []ResourceSubTableDefinition Connections []ResourceConnection KeyTargets []metav1.TypeMeta Validation *apiextensions.CustomResourceValidation Icons []ImageSpec Maintainers []ContactData Links []Link }
func (*ResourceDescriptorSpec) DeepCopy ¶
func (in *ResourceDescriptorSpec) DeepCopy() *ResourceDescriptorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDescriptorSpec.
func (*ResourceDescriptorSpec) DeepCopyInto ¶
func (in *ResourceDescriptorSpec) DeepCopyInto(out *ResourceDescriptorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceID ¶
type ResourceID struct { Group string Version string Name string Kind string Scope ResourceScope }
func (*ResourceID) DeepCopy ¶
func (in *ResourceID) DeepCopy() *ResourceID
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceID.
func (*ResourceID) DeepCopyInto ¶
func (in *ResourceID) DeepCopyInto(out *ResourceID)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceScope ¶
type ResourceScope string
const ( ClusterScoped ResourceScope = "Cluster" NamespaceScoped ResourceScope = "Namespaced" )
type ResourceSubTableDefinition ¶ added in v0.2.2
type ResourceSubTableDefinition struct { Name string FieldPath string Columns []ResourceColumnDefinition }
func (*ResourceSubTableDefinition) DeepCopy ¶ added in v0.2.2
func (in *ResourceSubTableDefinition) DeepCopy() *ResourceSubTableDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSubTableDefinition.
func (*ResourceSubTableDefinition) DeepCopyInto ¶ added in v0.2.2
func (in *ResourceSubTableDefinition) DeepCopyInto(out *ResourceSubTableDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubTable ¶ added in v0.2.2
type SubTable struct { Name string ColumnDefinitions []ResourceColumnDefinition Rows []TableRow }
func (*SubTable) DeepCopy ¶ added in v0.2.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubTable.
func (*SubTable) DeepCopyInto ¶ added in v0.2.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Table ¶ added in v0.2.2
type Table struct { metav1.TypeMeta metav1.ListMeta ColumnDefinitions []ResourceColumnDefinition Rows []TableRow SubTables []SubTable }
func (*Table) DeepCopy ¶ added in v0.2.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (*Table) DeepCopyInto ¶ added in v0.2.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableOptions ¶ added in v0.2.2
type TableOptions struct { metav1.TypeMeta NoHeaders bool IncludeObject IncludeObjectPolicy }
func (*TableOptions) DeepCopy ¶ added in v0.2.2
func (in *TableOptions) DeepCopy() *TableOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableOptions.
func (*TableOptions) DeepCopyInto ¶ added in v0.2.2
func (in *TableOptions) DeepCopyInto(out *TableOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableRow ¶ added in v0.2.2
type TableRow struct {
Cells []interface{}
}
func (*TableRow) DeepCopyInto ¶ added in v0.2.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.