meta

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

View Source
const GroupName = "meta.appscode.com"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

type ContactData struct {
	Name  string
	URL   string
	Email string
}

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

func (in *Edge) DeepCopy() *Edge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Edge.

func (*Edge) DeepCopyInto

func (in *Edge) DeepCopyInto(out *Edge)

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
	Required bool
	Icons    []ImageSpec
}

func (*Entry) DeepCopy added in v0.3.0

func (in *Entry) DeepCopy() *Entry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entry.

func (*Entry) DeepCopyInto added in v0.3.0

func (in *Entry) DeepCopyInto(out *Entry)

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

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

type ImageSpec struct {
	Source string
	Size   string
	Type   string
}

func (*ImageSpec) DeepCopy added in v0.3.0

func (in *ImageSpec) DeepCopy() *ImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.

func (*ImageSpec) DeepCopyInto added in v0.3.0

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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 struct {
	Description string
	URL         string
}

func (*Link) DeepCopy added in v0.3.0

func (in *Link) DeepCopy() *Link

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.

func (*Link) DeepCopyInto added in v0.3.0

func (in *Link) DeepCopyInto(out *Link)

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

func (in *Path) DeepCopy() *Path

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Path.

func (*Path) DeepCopyInto

func (in *Path) DeepCopyInto(out *Path)

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
	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
	Weight  int
	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

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

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSubTableDefinition.

func (*ResourceSubTableDefinition) DeepCopyInto added in v0.2.2

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

func (in *SubTable) DeepCopy() *SubTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubTable.

func (*SubTable) DeepCopyInto added in v0.2.2

func (in *SubTable) DeepCopyInto(out *SubTable)

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

func (in *Table) DeepCopy() *Table

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.

func (*Table) DeepCopyInto added in v0.2.2

func (in *Table) DeepCopyInto(out *Table)

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) DeepCopy added in v0.2.2

func (in *TableRow) DeepCopy() *TableRow

func (*TableRow) DeepCopyInto added in v0.2.2

func (in *TableRow) DeepCopyInto(out *TableRow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
+groupName=meta.appscode.com Package v1 contains API types that are common to all versions.
+groupName=meta.appscode.com Package v1 contains API types that are common to all versions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL