Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=meta.k8s.appscode.com
Package v1 contains API types that are common to all versions.
The package contains two categories of types:
- external (serialized) types that lack their own version (e.g TypeMeta)
- internal (never-serialized) types that are needed by several different api groups, and so live here, to avoid duplication and/or import loops (e.g. LabelSelector).
In the future, we will probably move these categories of objects into separate packages.
Index ¶
- Constants
- Variables
- func FormatMetadata(data []byte) ([]byte, error)
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func IsOfficialType(group string) bool
- func Resource(resource string) schema.GroupResource
- type ChartRepoRef
- type ConnectionType
- type ContactData
- type DeploymentParameters
- type EdgeLabel
- type Entry
- type GroupResources
- type ImageSpec
- type IncludeObjectPolicy
- type Link
- type NamedEdge
- type ObjectConnection
- type ObjectLocator
- type ObjectPointer
- type ObjectRef
- type OwnershipLevel
- type PageSection
- type PanelEntry
- type PanelSection
- type Priority
- type QueryType
- type RelatedResourcePage
- type RenderPage
- type RenderPageRequest
- type RenderPageResponse
- type RenderSection
- type RenderSectionRequest
- type RenderSectionResponse
- type ResourceAction
- type ResourceActions
- type ResourceClass
- type ResourceClassInfo
- type ResourceClassList
- type ResourceClassSpec
- type ResourceColumnDefinition
- type ResourceConnection
- type ResourceConnectionSpec
- type ResourceDescriptor
- func (v ResourceDescriptor) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *ResourceDescriptor) DeepCopy() *ResourceDescriptor
- func (in *ResourceDescriptor) DeepCopyInto(out *ResourceDescriptor)
- func (in *ResourceDescriptor) DeepCopyObject() runtime.Object
- func (v ResourceDescriptor) IsValid() error
- type ResourceDescriptorList
- type ResourceDescriptorSpec
- type ResourceDisplayMode
- type ResourceGraph
- type ResourceGraphRequest
- type ResourceGraphResponse
- type ResourceLocator
- type ResourcePanel
- type ResourceQuery
- type ResourceSection
- type ResourceSubTableDefinition
- type StatusCodes
- type SubTable
- type Table
- type TableOptions
- type TableRow
- type UIParameters
Constants ¶
const ( ResourceKindRenderPage = "RenderPage" ResourceRenderPage = "renderpage" ResourceRenderPages = "renderpages" )
const ( ResourceKindRenderSection = "RenderSection" ResourceRenderSection = "rendersection" ResourceRenderSections = "rendersections" )
const ( ResourceKindResourceClass = "ResourceClass" ResourceResourceClass = "resourceclass" ResourceResourceClasses = "resourceclasses" )
const ( GraphQueryVarSource = "src" GraphQueryVarTargetGroup = "targetGroup" GraphQueryVarTargetKind = "targetKind" )
const ( ResourceKindResourceDescriptor = "ResourceDescriptor" ResourceResourceDescriptor = "resourcedescriptor" ResourceResourceDescriptors = "resourcedescriptors" )
const ( DisplayModeList = "List" DisplayModeField = "Field" )
const ( ActionNever = "Never" ActionAlways = "Always" ActionIfEmpty = "IfEmpty" )
const ( ResourceKindResourceGraph = "ResourceGraph" ResourceResourceGraph = "resourcegraph" ResourceResourceGraphs = "resourcegraphs" )
const ( ObjectMetaSchema = `` /* 1545-byte string literal not displayed */ ObjectMetaFullSchema = `` /* 11089-byte string literal not displayed */ )
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: meta.GroupName, Version: "v1alpha1"}
Functions ¶
func FormatMetadata ¶ added in v0.4.14
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func IsOfficialType ¶ added in v0.3.11
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ChartRepoRef ¶ added in v0.4.8
type ChartRepoRef struct { Name string `json:"name"` URL string `json:"url"` Version string `json:"version"` }
ChartRepoRef references to a single version of a Chart
func (*ChartRepoRef) DeepCopy ¶ added in v0.4.8
func (in *ChartRepoRef) DeepCopy() *ChartRepoRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartRepoRef.
func (*ChartRepoRef) DeepCopyInto ¶ added in v0.4.8
func (in *ChartRepoRef) DeepCopyInto(out *ChartRepoRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionType ¶
type ConnectionType string
+kubebuilder:validation:Enum=MatchSelector;MatchName;MatchRef;OwnedBy
const ( MatchSelector ConnectionType = "MatchSelector" MatchName ConnectionType = "MatchName" MatchRef ConnectionType = "MatchRef" OwnedBy ConnectionType = "OwnedBy" )
type ContactData ¶ added in v0.3.0
type ContactData struct { // Name is the descriptive name. Name string `json:"name,omitempty"` // Url could typically be a website address. URL string `json:"url,omitempty"` // Email is the email address. Email string `json:"email,omitempty"` }
ContactData contains information about an individual or organization.
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 DeploymentParameters ¶ added in v0.3.7
type DeploymentParameters struct { ProductID string `json:"productID,omitempty"` PlanID string `json:"planID,omitempty"` Chart *ChartRepoRef `json:"chart,omitempty"` }
func (*DeploymentParameters) DeepCopy ¶ added in v0.3.7
func (in *DeploymentParameters) DeepCopy() *DeploymentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentParameters.
func (*DeploymentParameters) DeepCopyInto ¶ added in v0.3.7
func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeLabel ¶ added in v0.8.0
type EdgeLabel string
+kubebuilder:validation:Enum=auth_via;backup_via;catalog;connect_via;exposed_by;monitored_by;offshoot;restore_into;scaled_by;view
const ( EdgeAuthVia EdgeLabel = "auth_via" EdgeBackupVia EdgeLabel = "backup_via" EdgeCatalog EdgeLabel = "catalog" EdgeConnectVia EdgeLabel = "connect_via" EdgeExposedBy EdgeLabel = "exposed_by" EdgeMonitoredBy EdgeLabel = "monitored_by" EdgeOffshoot EdgeLabel = "offshoot" EdgeRestoreInto EdgeLabel = "restore_into" EdgeScaledBy EdgeLabel = "scaled_by" EdgeView EdgeLabel = "view" )
type Entry ¶ added in v0.3.0
type Entry struct { Name string `json:"name"` // +optional Path string `json:"path,omitempty"` Type *GroupResources `json:"type,omitempty"` // +optional Required bool `json:"required,omitempty"` // +optional Icons []ImageSpec `json:"icons,omitempty"` }
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 GroupResources ¶ added in v0.3.11
func (*GroupResources) DeepCopy ¶ added in v0.3.11
func (in *GroupResources) DeepCopy() *GroupResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources.
func (*GroupResources) DeepCopyInto ¶ added in v0.3.11
func (in *GroupResources) DeepCopyInto(out *GroupResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶ added in v0.3.0
type ImageSpec struct { // The source for image represented as either an absolute URL to the image or a Data URL containing // the image. Data URLs are defined in RFC 2397. Source string `json:"src"` // (optional) The size of the image in pixels (e.g., 25x25). Size string `json:"size,omitempty"` // (optional) The mine type of the image (e.g., "image/png"). Type string `json:"type,omitempty"` }
ImageSpec contains information about an image used as an icon.
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
IncludeObjectPolicy controls which portion of the object is returned with a Table.
const ( // IncludeNone returns no object. IncludeNone IncludeObjectPolicy = "None" // IncludeMetadata serializes the object containing only its metadata field. IncludeMetadata IncludeObjectPolicy = "Metadata" // IncludeObject contains the full object. IncludeObject IncludeObjectPolicy = "Object" )
type Link ¶ added in v0.3.0
type Link struct { // Description is human readable content explaining the purpose of the link. Description string `json:"description,omitempty"` // Url typically points at a website address. URL string `json:"url,omitempty"` }
Link contains information about an URL to surface documentation, dashboards, etc.
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 NamedEdge ¶ added in v0.5.5
type NamedEdge struct { Name string `json:"name"` Src metav1.TypeMeta `json:"src"` Dst metav1.TypeMeta `json:"dst"` Connection ResourceConnectionSpec `json:"connection"` }
func (*NamedEdge) DeepCopy ¶ added in v0.5.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedEdge.
func (*NamedEdge) DeepCopyInto ¶ added in v0.5.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectConnection ¶ added in v0.8.0
type ObjectConnection struct { Source ObjectPointer `json:"source"` Target ObjectPointer `json:"target"` Labels []string `json:"labels"` }
func (*ObjectConnection) DeepCopy ¶ added in v0.8.0
func (in *ObjectConnection) DeepCopy() *ObjectConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectConnection.
func (*ObjectConnection) DeepCopyInto ¶ added in v0.8.0
func (in *ObjectConnection) DeepCopyInto(out *ObjectConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectLocator ¶ added in v0.5.5
type ObjectLocator struct { Src ObjectRef `json:"src"` Path []string `json:"path"` // sequence of DirectedEdge names }
func (*ObjectLocator) DeepCopy ¶ added in v0.5.5
func (in *ObjectLocator) DeepCopy() *ObjectLocator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectLocator.
func (*ObjectLocator) DeepCopyInto ¶ added in v0.5.5
func (in *ObjectLocator) DeepCopyInto(out *ObjectLocator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectPointer ¶ added in v0.8.0
type ObjectPointer struct { ResourceID int `json:"resourceID"` Namespace string `json:"namespace"` Name string `json:"name"` }
func (*ObjectPointer) DeepCopy ¶ added in v0.8.0
func (in *ObjectPointer) DeepCopy() *ObjectPointer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectPointer.
func (*ObjectPointer) DeepCopyInto ¶ added in v0.8.0
func (in *ObjectPointer) DeepCopyInto(out *ObjectPointer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectRef ¶ added in v0.5.5
type ObjectRef struct { Target metav1.TypeMeta `json:"target"` Selector *metav1.LabelSelector `json:"selector,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*ObjectRef) DeepCopy ¶ added in v0.5.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectRef.
func (*ObjectRef) DeepCopyInto ¶ added in v0.5.5
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 PageSection ¶ added in v0.8.0
type PageSection struct { Resource apiv1.ResourceID `json:"resource"` // +optional Items []unstructured.Unstructured `json:"items,omitempty"` // +optional Table *Table `json:"table,omitempty"` }
func (*PageSection) DeepCopy ¶ added in v0.8.0
func (in *PageSection) DeepCopy() *PageSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PageSection.
func (*PageSection) DeepCopyInto ¶ added in v0.8.0
func (in *PageSection) DeepCopyInto(out *PageSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PanelEntry ¶ added in v0.3.0
type PanelEntry struct { Name string `json:"name"` // +optional Path string `json:"path,omitempty"` Resource *kmapi.ResourceID `json:"resource,omitempty"` // +optional Required bool `json:"required,omitempty"` // +optional Icons []ImageSpec `json:"icons,omitempty"` Namespaced bool `json:"namespaced"` Missing bool `json:"missing,omitempty"` Installer *DeploymentParameters `json:"installer,omitempty"` }
func (*PanelEntry) DeepCopy ¶ added in v0.3.0
func (in *PanelEntry) DeepCopy() *PanelEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelEntry.
func (*PanelEntry) DeepCopyInto ¶ added in v0.3.0
func (in *PanelEntry) DeepCopyInto(out *PanelEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PanelEntry) Equals ¶ added in v0.3.11
func (e PanelEntry) Equals(other PanelEntry) bool
type PanelSection ¶ added in v0.3.0
type PanelSection struct { Name string `json:"name,omitempty"` ResourceClassInfo `json:",inline"` Weight int `json:"-"` Entries []PanelEntry `json:"entries"` }
func (*PanelSection) Contains ¶ added in v0.3.0
func (section *PanelSection) Contains(rd *ResourceDescriptor) bool
func (*PanelSection) DeepCopy ¶ added in v0.3.0
func (in *PanelSection) DeepCopy() *PanelSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelSection.
func (*PanelSection) DeepCopyInto ¶ added in v0.3.0
func (in *PanelSection) DeepCopyInto(out *PanelSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelatedResourcePage ¶ added in v0.4.9
type RelatedResourcePage struct { Name string `json:"name"` Resources []ResourceSection `json:"resources"` }
func (*RelatedResourcePage) DeepCopy ¶ added in v0.4.9
func (in *RelatedResourcePage) DeepCopy() *RelatedResourcePage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelatedResourcePage.
func (*RelatedResourcePage) DeepCopyInto ¶ added in v0.4.9
func (in *RelatedResourcePage) DeepCopyInto(out *RelatedResourcePage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderPage ¶ added in v0.8.0
type RenderPage struct { metav1.TypeMeta `json:",inline"` // Request describes the attributes for the graph request. // +optional Request *RenderPageRequest `json:"request,omitempty"` // Response describes the attributes for the graph response. // +optional Response *RenderPageResponse `json:"response,omitempty"` }
func (*RenderPage) DeepCopy ¶ added in v0.8.0
func (in *RenderPage) DeepCopy() *RenderPage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderPage.
func (*RenderPage) DeepCopyInto ¶ added in v0.8.0
func (in *RenderPage) DeepCopyInto(out *RenderPage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RenderPage) DeepCopyObject ¶ added in v0.8.0
func (in *RenderPage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RenderPageRequest ¶ added in v0.8.0
type RenderPageRequest struct { Source apiv1.ObjectID `json:"source"` PageName string `json:"pageName"` ConvertToTable bool `json:"convertToTable"` }
func (*RenderPageRequest) DeepCopy ¶ added in v0.8.0
func (in *RenderPageRequest) DeepCopy() *RenderPageRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderPageRequest.
func (*RenderPageRequest) DeepCopyInto ¶ added in v0.8.0
func (in *RenderPageRequest) DeepCopyInto(out *RenderPageRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderPageResponse ¶ added in v0.8.0
type RenderPageResponse struct {
Sections []PageSection `json:"sections"`
}
func (*RenderPageResponse) DeepCopy ¶ added in v0.8.0
func (in *RenderPageResponse) DeepCopy() *RenderPageResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderPageResponse.
func (*RenderPageResponse) DeepCopyInto ¶ added in v0.8.0
func (in *RenderPageResponse) DeepCopyInto(out *RenderPageResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderSection ¶ added in v0.8.0
type RenderSection struct { metav1.TypeMeta `json:",inline"` // Request describes the attributes for the graph request. // +optional Request *RenderSectionRequest `json:"request,omitempty"` // Response describes the attributes for the graph response. // +optional Response *RenderSectionResponse `json:"response,omitempty"` }
func (*RenderSection) DeepCopy ¶ added in v0.8.0
func (in *RenderSection) DeepCopy() *RenderSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderSection.
func (*RenderSection) DeepCopyInto ¶ added in v0.8.0
func (in *RenderSection) DeepCopyInto(out *RenderSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RenderSection) DeepCopyObject ¶ added in v0.8.0
func (in *RenderSection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RenderSectionRequest ¶ added in v0.8.0
type RenderSectionRequest struct { Source apiv1.ObjectID `json:"source"` Target ResourceLocator `json:"target"` ConvertToTable bool `json:"convertToTable"` }
func (*RenderSectionRequest) DeepCopy ¶ added in v0.8.0
func (in *RenderSectionRequest) DeepCopy() *RenderSectionRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderSectionRequest.
func (*RenderSectionRequest) DeepCopyInto ¶ added in v0.8.0
func (in *RenderSectionRequest) DeepCopyInto(out *RenderSectionRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderSectionResponse ¶ added in v0.8.0
type RenderSectionResponse struct {
PageSection `json:",inline"`
}
func (*RenderSectionResponse) DeepCopy ¶ added in v0.8.0
func (in *RenderSectionResponse) DeepCopy() *RenderSectionResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenderSectionResponse.
func (*RenderSectionResponse) DeepCopyInto ¶ added in v0.8.0
func (in *RenderSectionResponse) DeepCopyInto(out *RenderSectionResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceAction ¶ added in v0.4.12
type ResourceAction string
type ResourceActions ¶ added in v0.4.12
type ResourceActions struct {
Create ResourceAction `json:"create"`
}
func (*ResourceActions) DeepCopy ¶ added in v0.4.12
func (in *ResourceActions) DeepCopy() *ResourceActions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActions.
func (*ResourceActions) DeepCopyInto ¶ added in v0.4.12
func (in *ResourceActions) DeepCopyInto(out *ResourceActions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceClass ¶ added in v0.3.0
type ResourceClass struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceClassSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=resourceclasses,singular=resourceclass +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
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.
func (ResourceClass) IsRequired ¶ added in v0.3.0
func (s ResourceClass) IsRequired() bool
type ResourceClassInfo ¶ added in v0.3.0
type ResourceClassInfo struct { APIGroup string `json:"apiGroup,omitempty"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. Icons []ImageSpec `json:"icons,omitempty"` // Maintainers is an optional list of maintainers of the application. The maintainers in this list maintain the // the source code, images, and package for the application. Maintainers []ContactData `json:"maintainers,omitempty"` // Links are a list of descriptive URLs intended to be used to surface additional documentation, dashboards, etc. Links []Link `json:"links,omitempty"` }
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 `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceClass `json:"items,omitempty"` }
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 `json:",inline"` Weight int `json:"weight"` Entries []Entry `json:"entries"` }
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 `json:"name"` // 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 `json:"type"` // 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. // +optional Format string `json:"format,omitempty"` // description is a human readable description of this column. // +optional Description string `json:"description,omitempty"` // 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 `json:"priority"` // PathTemplate is a Go text template that will be evaluated to determine cell value. // Users can use JSONPath expression to extract nested fields and apply template functions from Masterminds/sprig library. // The template function for JSON path is called `jp`. // Example: {{ jp "{.a.b}" . }} or {{ jp "{.a.b}" true }}, if json output is desired from JSONPath parser // +optional PathTemplate string `json:"pathTemplate,omitempty"` }
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 `json:"target"` Labels []EdgeLabel `json:"labels"` ResourceConnectionSpec `json:",inline,omitempty"` }
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 `json:"type"` NamespacePath string `json:"namespacePath,omitempty"` // default: metadata.labels // +optional TargetLabelPath string `json:"targetLabelPath,omitempty"` SelectorPath string `json:"selectorPath,omitempty"` Selector *metav1.LabelSelector `json:"selector,omitempty"` NameTemplate string `json:"nameTemplate,omitempty"` // References are a jsonpath that returns a CSV formatted references to target resources // // If each row has a single column, it is target name. Target resource is non-namespaced or // uses the same namespace as the source resource. Example: // n1 // n2 // // If each row has two columns, it is target [name,namespace]. Example: // n1,ns1 // n2,ns2 // // If each row has three columns, it is target [name,namespace,kind]. Example: // n1,ns1,k1 // n2,ns2,k2 // // If each row has four columns, it is target [name,namespace,kind,apiGroup]. Example: // n1,ns1,k1,apiGroup1 // n2,ns2,k2,apiGroup2 References []string `json:"references,omitempty"` Level OwnershipLevel `json:"level,omitempty"` }
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 `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceDescriptorSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=resourcedescriptors,singular=resourcedescriptor,shortName=rd +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (ResourceDescriptor) CustomResourceDefinition ¶
func (v ResourceDescriptor) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
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.
func (ResourceDescriptor) IsValid ¶
func (v ResourceDescriptor) IsValid() error
type ResourceDescriptorList ¶
type ResourceDescriptorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceDescriptor `json:"items,omitempty"` }
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 kmapi.ResourceID `json:"resource"` Columns []ResourceColumnDefinition `json:"columns,omitempty"` // For array type fields of the resource SubTables []ResourceSubTableDefinition `json:"subTables,omitempty"` Connections []ResourceConnection `json:"connections,omitempty"` Pages []RelatedResourcePage `json:"pages,omitempty"` Status *StatusCodes `json:"status,omitempty"` // validation describes the schema used for validation and pruning of the custom resource. // If present, this validation schema is used to validate all versions. // Top-level and per-version schemas are mutually exclusive. // +optional Validation *crdv1.CustomResourceValidation `json:"validation,omitempty"` // Icons is an optional list of icons for an application. Icon information includes the source, size, // and mime type. Icons []ImageSpec `json:"icons,omitempty"` // Maintainers is an optional list of maintainers of the application. The maintainers in this list maintain the // the source code, images, and package for the application. Maintainers []ContactData `json:"maintainers,omitempty"` // Links are a list of descriptive URLs intended to be used to surface additional documentation, dashboards, etc. Links []Link `json:"links,omitempty"` UI *UIParameters `json:"ui,omitempty"` Installer *DeploymentParameters `json:"installer,omitempty"` }
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 ResourceDisplayMode ¶ added in v0.4.12
type ResourceDisplayMode string
+kubebuilder:validation:Enum=List;Field
type ResourceGraph ¶ added in v0.8.0
type ResourceGraph struct { metav1.TypeMeta `json:",inline"` // Request describes the attributes for the graph request. // +optional Request *ResourceGraphRequest `json:"request,omitempty"` // Response describes the attributes for the graph response. // +optional Response *ResourceGraphResponse `json:"response,omitempty"` }
func (*ResourceGraph) DeepCopy ¶ added in v0.8.0
func (in *ResourceGraph) DeepCopy() *ResourceGraph
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGraph.
func (*ResourceGraph) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceGraph) DeepCopyInto(out *ResourceGraph)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceGraph) DeepCopyObject ¶ added in v0.8.0
func (in *ResourceGraph) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceGraphRequest ¶ added in v0.8.0
func (*ResourceGraphRequest) DeepCopy ¶ added in v0.8.0
func (in *ResourceGraphRequest) DeepCopy() *ResourceGraphRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGraphRequest.
func (*ResourceGraphRequest) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceGraphRequest) DeepCopyInto(out *ResourceGraphRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGraphResponse ¶ added in v0.8.0
type ResourceGraphResponse struct { Resources []apiv1.ResourceID `json:"resources"` Connections []ObjectConnection `json:"connections"` }
func (*ResourceGraphResponse) DeepCopy ¶ added in v0.8.0
func (in *ResourceGraphResponse) DeepCopy() *ResourceGraphResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGraphResponse.
func (*ResourceGraphResponse) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceGraphResponse) DeepCopyInto(out *ResourceGraphResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceLocator ¶ added in v0.8.0
type ResourceLocator struct { Ref metav1.GroupKind `json:"ref"` Query ResourceQuery `json:"query"` }
func (*ResourceLocator) DeepCopy ¶ added in v0.8.0
func (in *ResourceLocator) DeepCopy() *ResourceLocator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLocator.
func (*ResourceLocator) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceLocator) DeepCopyInto(out *ResourceLocator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceLocator) GraphQuery ¶ added in v0.8.0
type ResourcePanel ¶ added in v0.3.0
type ResourcePanel struct { metav1.TypeMeta `json:",inline"` Sections []*PanelSection `json:"sections,omitempty"` }
func (*ResourcePanel) DeepCopy ¶ added in v0.3.0
func (in *ResourcePanel) DeepCopy() *ResourcePanel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePanel.
func (*ResourcePanel) DeepCopyInto ¶ added in v0.3.0
func (in *ResourcePanel) DeepCopyInto(out *ResourcePanel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourcePanel) DeepCopyObject ¶ added in v0.3.0
func (in *ResourcePanel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourcePanel) Minus ¶ added in v0.3.8
func (a *ResourcePanel) Minus(b *ResourcePanel)
type ResourceQuery ¶ added in v0.8.0
type ResourceQuery struct { Type QueryType `json:"type"` ByLabel EdgeLabel `json:"byLabel,omitempty"` Raw string `json:"raw,omitempty"` }
func (*ResourceQuery) DeepCopy ¶ added in v0.8.0
func (in *ResourceQuery) DeepCopy() *ResourceQuery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuery.
func (*ResourceQuery) DeepCopyInto ¶ added in v0.8.0
func (in *ResourceQuery) DeepCopyInto(out *ResourceQuery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSection ¶ added in v0.4.12
type ResourceSection struct { ResourceLocator `json:",inline"` DisplayMode ResourceDisplayMode `json:"displayMode"` Actions ResourceActions `json:"actions"` }
func (*ResourceSection) DeepCopy ¶ added in v0.4.12
func (in *ResourceSection) DeepCopy() *ResourceSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSection.
func (*ResourceSection) DeepCopyInto ¶ added in v0.4.12
func (in *ResourceSection) DeepCopyInto(out *ResourceSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSubTableDefinition ¶ added in v0.2.2
type ResourceSubTableDefinition struct { Name string `json:"name"` FieldPath string `json:"fieldPath,omitempty"` Columns []ResourceColumnDefinition `json:"columns,omitempty"` }
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 StatusCodes ¶ added in v0.4.12
type StatusCodes struct { Success []string `json:"success,omitempty"` Danger []string `json:"danger,omitempty"` Warning []string `json:"warning,omitempty"` }
func (*StatusCodes) DeepCopy ¶ added in v0.4.12
func (in *StatusCodes) DeepCopy() *StatusCodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCodes.
func (*StatusCodes) DeepCopyInto ¶ added in v0.4.12
func (in *StatusCodes) DeepCopyInto(out *StatusCodes)
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 is a human readable name for the sub table. Name string `json:"name"` // columnDefinitions describes each column in the returned items array. The number of cells per row // will always match the number of column definitions. ColumnDefinitions []ResourceColumnDefinition `json:"columnDefinitions"` // rows is the list of items in the table. Rows []TableRow `json:"rows"` }
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 `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty"` // columnDefinitions describes each column in the returned items array. The number of cells per row // will always match the number of column definitions. ColumnDefinitions []ResourceColumnDefinition `json:"columnDefinitions"` // rows is the list of items in the table. Rows []TableRow `json:"rows"` SubTables []SubTable `json:"subTables,omitempty"` }
Table is a tabular representation of a set of API resources. The server transforms the object into a set of preferred columns for quickly reviewing the objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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.
func (*Table) DeepCopyObject ¶ added in v0.2.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TableOptions ¶ added in v0.2.2
type TableOptions struct { metav1.TypeMeta `json:",inline"` // NoHeaders is only exposed for internal callers. It is not included in our OpenAPI definitions // and may be removed as a field in a future release. NoHeaders bool `json:"-"` // includeObject decides whether to include each object along with its columnar information. // Specifying "None" will return no object, specifying "Object" will return the full object contents, and // specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind // in version v1beta1 of the meta.k8s.io API group. IncludeObject IncludeObjectPolicy `json:"includeObject,omitempty"` }
TableOptions are used when a Table is requested by the caller. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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.
func (*TableOptions) DeepCopyObject ¶ added in v0.2.2
func (in *TableOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TableRow ¶ added in v0.2.2
type TableRow struct { // cells will be as wide as the column definitions array and may contain strings, numbers (float64 or // int64), booleans, simple maps, lists, or null. See the type field of the column definition for a // more detailed description. Cells []interface{} `json:"cells"` }
TableRow is an individual row in a table.
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.
type UIParameters ¶ added in v0.4.8
type UIParameters struct { Options *ChartRepoRef `json:"options,omitempty"` Editor *ChartRepoRef `json:"editor,omitempty"` // app.kubernetes.io/instance label must be updated at these paths when refilling metadata // +optional InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"` }
func (*UIParameters) DeepCopy ¶ added in v0.4.8
func (in *UIParameters) DeepCopy() *UIParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIParameters.
func (*UIParameters) DeepCopyInto ¶ added in v0.4.8
func (in *UIParameters) DeepCopyInto(out *UIParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- doc.go
- object_types.go
- openapi_generated.go
- register.go
- renderpage_types.go
- rendersection_types.go
- resourceclass_helpers.go
- resourceclass_types.go
- resourcedescriptor_helpers.go
- resourcedescriptor_types.go
- resourcegraph_types.go
- resourcepanel_helpers.go
- resourcepanel_types.go
- schema.go
- table_helpers.go
- table_types.go
- zz_generated.deepcopy.go