v1alpha1

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cms v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kyma-project/kyma/components/cms-controller-manager/pkg/apis/cms +k8s:defaulter-gen=TypeMeta +groupName=cms.kyma-project.io

Package v1alpha1 contains API Schema definitions for the cms v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kyma-project/kyma/components/cms-controller-manager/pkg/apis/cms +k8s:defaulter-gen=TypeMeta +groupName=cms.kyma-project.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "cms.kyma-project.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type ClusterDocsTopic

type ClusterDocsTopic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterDocsTopicSpec   `json:"spec,omitempty"`
	Status ClusterDocsTopicStatus `json:"status,omitempty"`
}

ClusterDocsTopic is the Schema for the clusterdocstopic API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*ClusterDocsTopic) DeepCopy

func (in *ClusterDocsTopic) DeepCopy() *ClusterDocsTopic

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

func (*ClusterDocsTopic) DeepCopyInto

func (in *ClusterDocsTopic) DeepCopyInto(out *ClusterDocsTopic)

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

func (*ClusterDocsTopic) DeepCopyObject

func (in *ClusterDocsTopic) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterDocsTopicList

type ClusterDocsTopicList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterDocsTopic `json:"items"`
}

ClusterDocsTopicList contains a list of ClusterDocsTopic

func (*ClusterDocsTopicList) DeepCopy

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

func (*ClusterDocsTopicList) DeepCopyInto

func (in *ClusterDocsTopicList) DeepCopyInto(out *ClusterDocsTopicList)

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

func (*ClusterDocsTopicList) DeepCopyObject

func (in *ClusterDocsTopicList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterDocsTopicSpec

type ClusterDocsTopicSpec struct {
	CommonDocsTopicSpec `json:",inline"`
}

ClusterDocsTopicSpec defines the desired state of ClusterDocsTopic

func (*ClusterDocsTopicSpec) DeepCopy

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

func (*ClusterDocsTopicSpec) DeepCopyInto

func (in *ClusterDocsTopicSpec) DeepCopyInto(out *ClusterDocsTopicSpec)

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

type ClusterDocsTopicStatus

type ClusterDocsTopicStatus struct {
	CommonDocsTopicStatus `json:",inline"`
}

ClusterDocsTopicStatus defines the observed state of ClusterDocsTopic

func (*ClusterDocsTopicStatus) DeepCopy

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

func (*ClusterDocsTopicStatus) DeepCopyInto

func (in *ClusterDocsTopicStatus) DeepCopyInto(out *ClusterDocsTopicStatus)

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

type CommonDocsTopicSpec

type CommonDocsTopicSpec struct {
	DisplayName string `json:"displayName,omitempty"`
	Description string `json:"description,omitempty"`
	// +kubebuilder:validation:MinItems=1
	Sources []Source `json:"sources"`
}

func (*CommonDocsTopicSpec) DeepCopy

func (in *CommonDocsTopicSpec) DeepCopy() *CommonDocsTopicSpec

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

func (*CommonDocsTopicSpec) DeepCopyInto

func (in *CommonDocsTopicSpec) DeepCopyInto(out *CommonDocsTopicSpec)

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

type CommonDocsTopicStatus

type CommonDocsTopicStatus struct {
	// +kubebuilder:validation:Enum=Pending,Ready,Failed
	Phase             DocsTopicPhase `json:"phase"`
	Reason            string         `json:"reason,omitempty"`
	Message           string         `json:"message,omitempty"`
	LastHeartbeatTime metav1.Time    `json:"lastHeartbeatTime"`
}

func (*CommonDocsTopicStatus) DeepCopy

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

func (*CommonDocsTopicStatus) DeepCopyInto

func (in *CommonDocsTopicStatus) DeepCopyInto(out *CommonDocsTopicStatus)

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

type DocsTopic

type DocsTopic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DocsTopicSpec   `json:"spec,omitempty"`
	Status DocsTopicStatus `json:"status,omitempty"`
}

DocsTopic is the Schema for the docstopic API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*DocsTopic) DeepCopy

func (in *DocsTopic) DeepCopy() *DocsTopic

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

func (*DocsTopic) DeepCopyInto

func (in *DocsTopic) DeepCopyInto(out *DocsTopic)

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

func (*DocsTopic) DeepCopyObject

func (in *DocsTopic) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DocsTopicList

type DocsTopicList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DocsTopic `json:"items"`
}

DocsTopicList contains a list of DocsTopic

func (*DocsTopicList) DeepCopy

func (in *DocsTopicList) DeepCopy() *DocsTopicList

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

func (*DocsTopicList) DeepCopyInto

func (in *DocsTopicList) DeepCopyInto(out *DocsTopicList)

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

func (*DocsTopicList) DeepCopyObject

func (in *DocsTopicList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DocsTopicMode

type DocsTopicMode string
const (
	DocsTopicSingle  DocsTopicMode = "single"
	DocsTopicPackage DocsTopicMode = "package"
	DocsTopicIndex   DocsTopicMode = "index"
)

type DocsTopicPhase

type DocsTopicPhase string
const (
	DocsTopicPending DocsTopicPhase = "Pending"
	DocsTopicReady   DocsTopicPhase = "Ready"
	DocsTopicFailed  DocsTopicPhase = "Failed"
)

type DocsTopicSpec

type DocsTopicSpec struct {
	CommonDocsTopicSpec `json:",inline"`
}

DocsTopicSpec defines the desired state of DocsTopic

func (*DocsTopicSpec) DeepCopy

func (in *DocsTopicSpec) DeepCopy() *DocsTopicSpec

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

func (*DocsTopicSpec) DeepCopyInto

func (in *DocsTopicSpec) DeepCopyInto(out *DocsTopicSpec)

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

type DocsTopicStatus

type DocsTopicStatus struct {
	CommonDocsTopicStatus `json:",inline"`
}

DocsTopicStatus defines the observed state of DocsTopic

func (*DocsTopicStatus) DeepCopy

func (in *DocsTopicStatus) DeepCopy() *DocsTopicStatus

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

func (*DocsTopicStatus) DeepCopyInto

func (in *DocsTopicStatus) DeepCopyInto(out *DocsTopicStatus)

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

type Source

type Source struct {
	// +kubebuilder:validation:Pattern=^[a-z][a-zA-Z0-9-]*[a-zA-Z0-9]$
	Name string `json:"name"`
	// +kubebuilder:validation:Pattern=^[a-z][a-zA-Z0-9\._-]*[a-zA-Z0-9]$
	Type string `json:"type"`
	URL  string `json:"url"`
	// +kubebuilder:validation:Enum=single,package,index
	Mode   DocsTopicMode `json:"mode"`
	Filter string        `json:"filter,omitempty"`
	// +optional
	Metadata *runtime.RawExtension `json:"metadata,omitempty"`
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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

Jump to

Keyboard shortcuts

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