Documentation ¶
Overview ¶
+groupName=meta.appscode.com
Index ¶
- Constants
- Variables
- func Convert_meta_Edge_To_v1alpha1_Edge(in *meta.Edge, out *Edge, s conversion.Scope) error
- func Convert_meta_GraphFinder_To_v1alpha1_GraphFinder(in *meta.GraphFinder, out *GraphFinder, s conversion.Scope) error
- func Convert_meta_GraphRequest_To_v1alpha1_GraphRequest(in *meta.GraphRequest, out *GraphRequest, s conversion.Scope) error
- func Convert_meta_GraphResponse_To_v1alpha1_GraphResponse(in *meta.GraphResponse, out *GraphResponse, s conversion.Scope) error
- func Convert_meta_GroupVersionResource_To_v1alpha1_GroupVersionResource(in *meta.GroupVersionResource, out *GroupVersionResource, s conversion.Scope) error
- func Convert_meta_PathFinder_To_v1alpha1_PathFinder(in *meta.PathFinder, out *PathFinder, s conversion.Scope) error
- func Convert_meta_PathRequest_To_v1alpha1_PathRequest(in *meta.PathRequest, out *PathRequest, s conversion.Scope) error
- func Convert_meta_PathResponse_To_v1alpha1_PathResponse(in *meta.PathResponse, out *PathResponse, s conversion.Scope) error
- func Convert_meta_Path_To_v1alpha1_Path(in *meta.Path, out *Path, s conversion.Scope) error
- func Convert_meta_ResourceColumnDefinition_To_v1alpha1_ResourceColumnDefinition(in *meta.ResourceColumnDefinition, out *ResourceColumnDefinition, ...) error
- func Convert_meta_ResourceConnectionSpec_To_v1alpha1_ResourceConnectionSpec(in *meta.ResourceConnectionSpec, out *ResourceConnectionSpec, ...) error
- func Convert_meta_ResourceConnection_To_v1alpha1_ResourceConnection(in *meta.ResourceConnection, out *ResourceConnection, s conversion.Scope) error
- func Convert_meta_ResourceDescriptorList_To_v1alpha1_ResourceDescriptorList(in *meta.ResourceDescriptorList, out *ResourceDescriptorList, ...) error
- func Convert_meta_ResourceDescriptorSpec_To_v1alpha1_ResourceDescriptorSpec(in *meta.ResourceDescriptorSpec, out *ResourceDescriptorSpec, ...) error
- func Convert_meta_ResourceDescriptor_To_v1alpha1_ResourceDescriptor(in *meta.ResourceDescriptor, out *ResourceDescriptor, s conversion.Scope) error
- func Convert_meta_ResourceID_To_v1alpha1_ResourceID(in *meta.ResourceID, out *ResourceID, s conversion.Scope) error
- func Convert_v1alpha1_Edge_To_meta_Edge(in *Edge, out *meta.Edge, s conversion.Scope) error
- func Convert_v1alpha1_GraphFinder_To_meta_GraphFinder(in *GraphFinder, out *meta.GraphFinder, s conversion.Scope) error
- func Convert_v1alpha1_GraphRequest_To_meta_GraphRequest(in *GraphRequest, out *meta.GraphRequest, s conversion.Scope) error
- func Convert_v1alpha1_GraphResponse_To_meta_GraphResponse(in *GraphResponse, out *meta.GraphResponse, s conversion.Scope) error
- func Convert_v1alpha1_GroupVersionResource_To_meta_GroupVersionResource(in *GroupVersionResource, out *meta.GroupVersionResource, s conversion.Scope) error
- func Convert_v1alpha1_PathFinder_To_meta_PathFinder(in *PathFinder, out *meta.PathFinder, s conversion.Scope) error
- func Convert_v1alpha1_PathRequest_To_meta_PathRequest(in *PathRequest, out *meta.PathRequest, s conversion.Scope) error
- func Convert_v1alpha1_PathResponse_To_meta_PathResponse(in *PathResponse, out *meta.PathResponse, s conversion.Scope) error
- func Convert_v1alpha1_Path_To_meta_Path(in *Path, out *meta.Path, s conversion.Scope) error
- func Convert_v1alpha1_ResourceColumnDefinition_To_meta_ResourceColumnDefinition(in *ResourceColumnDefinition, out *meta.ResourceColumnDefinition, ...) error
- func Convert_v1alpha1_ResourceConnectionSpec_To_meta_ResourceConnectionSpec(in *ResourceConnectionSpec, out *meta.ResourceConnectionSpec, ...) error
- func Convert_v1alpha1_ResourceConnection_To_meta_ResourceConnection(in *ResourceConnection, out *meta.ResourceConnection, s conversion.Scope) error
- func Convert_v1alpha1_ResourceDescriptorList_To_meta_ResourceDescriptorList(in *ResourceDescriptorList, out *meta.ResourceDescriptorList, ...) error
- func Convert_v1alpha1_ResourceDescriptorSpec_To_meta_ResourceDescriptorSpec(in *ResourceDescriptorSpec, out *meta.ResourceDescriptorSpec, ...) error
- func Convert_v1alpha1_ResourceDescriptor_To_meta_ResourceDescriptor(in *ResourceDescriptor, out *meta.ResourceDescriptor, s conversion.Scope) error
- func Convert_v1alpha1_ResourceID_To_meta_ResourceID(in *ResourceID, out *meta.ResourceID, s conversion.Scope) error
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ConnectionType
- type Edge
- type GraphFinder
- type GraphRequest
- type GraphResponse
- type GroupVersionResource
- type OwnershipLevel
- type Path
- type PathFinder
- type PathRequest
- type PathResponse
- 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) GetKey() string
- func (v ResourceDescriptor) IsValid() error
- func (v ResourceDescriptor) OffshootLabels() map[string]string
- func (v ResourceDescriptor) OffshootSelectors() map[string]string
- func (v ResourceDescriptor) PolicyName() string
- type ResourceDescriptorList
- type ResourceDescriptorSpec
- type ResourceID
- type ResourceScope
Constants ¶
const ( ResourceKindGraphFinder = "GraphFinder" ResourceGraphFinder = "graphfinder" ResourceGraphFinders = "graphfinders" )
const ( ResourceKindPathFinder = "PathFinder" ResourcePathFinder = "pathfinder" ResourcePathFinders = "pathfinders" )
const ( ResourceKindResourceDescriptor = "ResourceDescriptor" ResourceResourceDescriptor = "resourcedescriptor" ResourceResourceDescriptors = "resourcedescriptors" )
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: policy.GroupName, Version: "v1alpha1"}
Functions ¶
func Convert_meta_Edge_To_v1alpha1_Edge ¶
Convert_meta_Edge_To_v1alpha1_Edge is an autogenerated conversion function.
func Convert_meta_GraphFinder_To_v1alpha1_GraphFinder ¶ added in v0.2.0
func Convert_meta_GraphFinder_To_v1alpha1_GraphFinder(in *meta.GraphFinder, out *GraphFinder, s conversion.Scope) error
Convert_meta_GraphFinder_To_v1alpha1_GraphFinder is an autogenerated conversion function.
func Convert_meta_GraphRequest_To_v1alpha1_GraphRequest ¶ added in v0.2.0
func Convert_meta_GraphRequest_To_v1alpha1_GraphRequest(in *meta.GraphRequest, out *GraphRequest, s conversion.Scope) error
Convert_meta_GraphRequest_To_v1alpha1_GraphRequest is an autogenerated conversion function.
func Convert_meta_GraphResponse_To_v1alpha1_GraphResponse ¶ added in v0.2.0
func Convert_meta_GraphResponse_To_v1alpha1_GraphResponse(in *meta.GraphResponse, out *GraphResponse, s conversion.Scope) error
Convert_meta_GraphResponse_To_v1alpha1_GraphResponse is an autogenerated conversion function.
func Convert_meta_GroupVersionResource_To_v1alpha1_GroupVersionResource ¶
func Convert_meta_GroupVersionResource_To_v1alpha1_GroupVersionResource(in *meta.GroupVersionResource, out *GroupVersionResource, s conversion.Scope) error
Convert_meta_GroupVersionResource_To_v1alpha1_GroupVersionResource is an autogenerated conversion function.
func Convert_meta_PathFinder_To_v1alpha1_PathFinder ¶
func Convert_meta_PathFinder_To_v1alpha1_PathFinder(in *meta.PathFinder, out *PathFinder, s conversion.Scope) error
Convert_meta_PathFinder_To_v1alpha1_PathFinder is an autogenerated conversion function.
func Convert_meta_PathRequest_To_v1alpha1_PathRequest ¶
func Convert_meta_PathRequest_To_v1alpha1_PathRequest(in *meta.PathRequest, out *PathRequest, s conversion.Scope) error
Convert_meta_PathRequest_To_v1alpha1_PathRequest is an autogenerated conversion function.
func Convert_meta_PathResponse_To_v1alpha1_PathResponse ¶
func Convert_meta_PathResponse_To_v1alpha1_PathResponse(in *meta.PathResponse, out *PathResponse, s conversion.Scope) error
Convert_meta_PathResponse_To_v1alpha1_PathResponse is an autogenerated conversion function.
func Convert_meta_Path_To_v1alpha1_Path ¶
Convert_meta_Path_To_v1alpha1_Path is an autogenerated conversion function.
func Convert_meta_ResourceColumnDefinition_To_v1alpha1_ResourceColumnDefinition ¶
func Convert_meta_ResourceColumnDefinition_To_v1alpha1_ResourceColumnDefinition(in *meta.ResourceColumnDefinition, out *ResourceColumnDefinition, s conversion.Scope) error
Convert_meta_ResourceColumnDefinition_To_v1alpha1_ResourceColumnDefinition is an autogenerated conversion function.
func Convert_meta_ResourceConnectionSpec_To_v1alpha1_ResourceConnectionSpec ¶
func Convert_meta_ResourceConnectionSpec_To_v1alpha1_ResourceConnectionSpec(in *meta.ResourceConnectionSpec, out *ResourceConnectionSpec, s conversion.Scope) error
Convert_meta_ResourceConnectionSpec_To_v1alpha1_ResourceConnectionSpec is an autogenerated conversion function.
func Convert_meta_ResourceConnection_To_v1alpha1_ResourceConnection ¶
func Convert_meta_ResourceConnection_To_v1alpha1_ResourceConnection(in *meta.ResourceConnection, out *ResourceConnection, s conversion.Scope) error
Convert_meta_ResourceConnection_To_v1alpha1_ResourceConnection is an autogenerated conversion function.
func Convert_meta_ResourceDescriptorList_To_v1alpha1_ResourceDescriptorList ¶
func Convert_meta_ResourceDescriptorList_To_v1alpha1_ResourceDescriptorList(in *meta.ResourceDescriptorList, out *ResourceDescriptorList, s conversion.Scope) error
Convert_meta_ResourceDescriptorList_To_v1alpha1_ResourceDescriptorList is an autogenerated conversion function.
func Convert_meta_ResourceDescriptorSpec_To_v1alpha1_ResourceDescriptorSpec ¶
func Convert_meta_ResourceDescriptorSpec_To_v1alpha1_ResourceDescriptorSpec(in *meta.ResourceDescriptorSpec, out *ResourceDescriptorSpec, s conversion.Scope) error
Convert_meta_ResourceDescriptorSpec_To_v1alpha1_ResourceDescriptorSpec is an autogenerated conversion function.
func Convert_meta_ResourceDescriptor_To_v1alpha1_ResourceDescriptor ¶
func Convert_meta_ResourceDescriptor_To_v1alpha1_ResourceDescriptor(in *meta.ResourceDescriptor, out *ResourceDescriptor, s conversion.Scope) error
Convert_meta_ResourceDescriptor_To_v1alpha1_ResourceDescriptor is an autogenerated conversion function.
func Convert_meta_ResourceID_To_v1alpha1_ResourceID ¶
func Convert_meta_ResourceID_To_v1alpha1_ResourceID(in *meta.ResourceID, out *ResourceID, s conversion.Scope) error
Convert_meta_ResourceID_To_v1alpha1_ResourceID is an autogenerated conversion function.
func Convert_v1alpha1_Edge_To_meta_Edge ¶
Convert_v1alpha1_Edge_To_meta_Edge is an autogenerated conversion function.
func Convert_v1alpha1_GraphFinder_To_meta_GraphFinder ¶ added in v0.2.0
func Convert_v1alpha1_GraphFinder_To_meta_GraphFinder(in *GraphFinder, out *meta.GraphFinder, s conversion.Scope) error
Convert_v1alpha1_GraphFinder_To_meta_GraphFinder is an autogenerated conversion function.
func Convert_v1alpha1_GraphRequest_To_meta_GraphRequest ¶ added in v0.2.0
func Convert_v1alpha1_GraphRequest_To_meta_GraphRequest(in *GraphRequest, out *meta.GraphRequest, s conversion.Scope) error
Convert_v1alpha1_GraphRequest_To_meta_GraphRequest is an autogenerated conversion function.
func Convert_v1alpha1_GraphResponse_To_meta_GraphResponse ¶ added in v0.2.0
func Convert_v1alpha1_GraphResponse_To_meta_GraphResponse(in *GraphResponse, out *meta.GraphResponse, s conversion.Scope) error
Convert_v1alpha1_GraphResponse_To_meta_GraphResponse is an autogenerated conversion function.
func Convert_v1alpha1_GroupVersionResource_To_meta_GroupVersionResource ¶
func Convert_v1alpha1_GroupVersionResource_To_meta_GroupVersionResource(in *GroupVersionResource, out *meta.GroupVersionResource, s conversion.Scope) error
Convert_v1alpha1_GroupVersionResource_To_meta_GroupVersionResource is an autogenerated conversion function.
func Convert_v1alpha1_PathFinder_To_meta_PathFinder ¶
func Convert_v1alpha1_PathFinder_To_meta_PathFinder(in *PathFinder, out *meta.PathFinder, s conversion.Scope) error
Convert_v1alpha1_PathFinder_To_meta_PathFinder is an autogenerated conversion function.
func Convert_v1alpha1_PathRequest_To_meta_PathRequest ¶
func Convert_v1alpha1_PathRequest_To_meta_PathRequest(in *PathRequest, out *meta.PathRequest, s conversion.Scope) error
Convert_v1alpha1_PathRequest_To_meta_PathRequest is an autogenerated conversion function.
func Convert_v1alpha1_PathResponse_To_meta_PathResponse ¶
func Convert_v1alpha1_PathResponse_To_meta_PathResponse(in *PathResponse, out *meta.PathResponse, s conversion.Scope) error
Convert_v1alpha1_PathResponse_To_meta_PathResponse is an autogenerated conversion function.
func Convert_v1alpha1_Path_To_meta_Path ¶
Convert_v1alpha1_Path_To_meta_Path is an autogenerated conversion function.
func Convert_v1alpha1_ResourceColumnDefinition_To_meta_ResourceColumnDefinition ¶
func Convert_v1alpha1_ResourceColumnDefinition_To_meta_ResourceColumnDefinition(in *ResourceColumnDefinition, out *meta.ResourceColumnDefinition, s conversion.Scope) error
Convert_v1alpha1_ResourceColumnDefinition_To_meta_ResourceColumnDefinition is an autogenerated conversion function.
func Convert_v1alpha1_ResourceConnectionSpec_To_meta_ResourceConnectionSpec ¶
func Convert_v1alpha1_ResourceConnectionSpec_To_meta_ResourceConnectionSpec(in *ResourceConnectionSpec, out *meta.ResourceConnectionSpec, s conversion.Scope) error
Convert_v1alpha1_ResourceConnectionSpec_To_meta_ResourceConnectionSpec is an autogenerated conversion function.
func Convert_v1alpha1_ResourceConnection_To_meta_ResourceConnection ¶
func Convert_v1alpha1_ResourceConnection_To_meta_ResourceConnection(in *ResourceConnection, out *meta.ResourceConnection, s conversion.Scope) error
Convert_v1alpha1_ResourceConnection_To_meta_ResourceConnection is an autogenerated conversion function.
func Convert_v1alpha1_ResourceDescriptorList_To_meta_ResourceDescriptorList ¶
func Convert_v1alpha1_ResourceDescriptorList_To_meta_ResourceDescriptorList(in *ResourceDescriptorList, out *meta.ResourceDescriptorList, s conversion.Scope) error
Convert_v1alpha1_ResourceDescriptorList_To_meta_ResourceDescriptorList is an autogenerated conversion function.
func Convert_v1alpha1_ResourceDescriptorSpec_To_meta_ResourceDescriptorSpec ¶
func Convert_v1alpha1_ResourceDescriptorSpec_To_meta_ResourceDescriptorSpec(in *ResourceDescriptorSpec, out *meta.ResourceDescriptorSpec, s conversion.Scope) error
Convert_v1alpha1_ResourceDescriptorSpec_To_meta_ResourceDescriptorSpec is an autogenerated conversion function.
func Convert_v1alpha1_ResourceDescriptor_To_meta_ResourceDescriptor ¶
func Convert_v1alpha1_ResourceDescriptor_To_meta_ResourceDescriptor(in *ResourceDescriptor, out *meta.ResourceDescriptor, s conversion.Scope) error
Convert_v1alpha1_ResourceDescriptor_To_meta_ResourceDescriptor is an autogenerated conversion function.
func Convert_v1alpha1_ResourceID_To_meta_ResourceID ¶
func Convert_v1alpha1_ResourceID_To_meta_ResourceID(in *ResourceID, out *meta.ResourceID, s conversion.Scope) error
Convert_v1alpha1_ResourceID_To_meta_ResourceID is an autogenerated conversion function.
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ConnectionType ¶
type ConnectionType string
const ( MatchSelector ConnectionType = "MatchSelector" MatchName ConnectionType = "MatchName" MatchRef ConnectionType = "MatchRef" OwnedBy ConnectionType = "OwnedBy" )
type Edge ¶
type Edge struct { Src GroupVersionResource `json:"source"` Dst GroupVersionResource `json:"target"` W uint64 `json:"distance"` Connection ResourceConnectionSpec `json:"connection"` Forward bool `json:"forward"` }
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 GraphFinder ¶ added in v0.2.0
type GraphFinder struct { metav1.TypeMeta `json:",inline"` // Request describes the attributes for the graph request. // +optional Request *GraphRequest `json:"request,omitempty"` // Response describes the attributes for the graph response. // +optional Response *GraphResponse `json:"response,omitempty"` }
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 `json:"source"`
}
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 `json:"source"` Connections []Edge `json:"connections,omitempty"` }
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 is the group this resource belongs in Group string `json:"group"` // Version is the version this resource belongs in // Should be always first item in Versions field if provided. // Optional, but at least one of Version or Versions must be set. // Deprecated: Please use `Versions`. // +optional Version string `json:"version,omitempty"` 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 OwnershipLevel ¶
type OwnershipLevel string
const ( Reference OwnershipLevel = "" Owner OwnershipLevel = "Owner" Controller OwnershipLevel = "Controller" )
type Path ¶
type Path struct { Source GroupVersionResource `json:"source"` Target GroupVersionResource `json:"target"` Distance uint64 `json:"distance"` Edges []Edge `json:"edges"` }
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 `json:",inline"` // Request describes the attributes for the path request. // +optional Request *PathRequest `json:"request,omitempty"` // Response describes the attributes for the path response. // +optional Response *PathResponse `json:"response,omitempty"` }
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 `json:"source"` Target *GroupVersionResource `json:"target,omitempty"` }
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 `json:"paths,omitempty"`
}
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 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. // +optional Priority int32 `json:"priority,omitempty"` // JSONPath is a simple JSON path, i.e. with array notation. JSONPath string `json:"JSONPath"` }
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 GroupVersionResource `json:"target"` 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,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceDescriptorSpec `json:"spec,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=resourcedescriptors,singular=resourcedescriptor,shortName=rd,categories={vault,policy,appscode,all} +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) GetKey ¶
func (v ResourceDescriptor) GetKey() string
func (ResourceDescriptor) IsValid ¶
func (v ResourceDescriptor) IsValid() error
func (ResourceDescriptor) OffshootLabels ¶
func (v ResourceDescriptor) OffshootLabels() map[string]string
func (ResourceDescriptor) OffshootSelectors ¶
func (v ResourceDescriptor) OffshootSelectors() map[string]string
func (ResourceDescriptor) PolicyName ¶
func (v ResourceDescriptor) PolicyName() string
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 ResourceID `json:"resource"` DisplayColumns []ResourceColumnDefinition `json:"displayColumns,omitempty"` Connections []ResourceConnection `json:"connections,omitempty"` KeyTargets []GroupVersionResource `json:"keyTargets,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 ResourceID ¶
type ResourceID struct { Group string `json:"group"` Version string `json:"version"` // Name is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration // too: plural.group and it must be all lowercase. Name string `json:"name"` // Kind is the serialized kind of the resource. It is normally CamelCase and singular. Kind string `json:"kind"` Scope ResourceScope `json:"scope"` }
ResourceID identifies a resource
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
ResourceScope is an enum defining the different scopes available to a custom resource
const ( ClusterScoped ResourceScope = "Cluster" NamespaceScoped ResourceScope = "Namespaced" )