v1alpha1

package
v0.0.0-...-e3522e2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=ros.alibabacloud.com

Index

Constants

View Source
const (
	Group     = "ros.alibabacloud.com"
	Version   = "v1alpha1"
	Separator = "/"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type RosStack

type RosStack struct {
	v1.TypeMeta   `json:",inline"`
	v1.ObjectMeta `json:"metadata,omitempty"`

	//in our case, we use the same spec with applicationConfiguration
	Spec   oam.ApplicationConfigurationSpec   `json:"spec,omitempty"`
	Status oam.ApplicationConfigurationStatus `json:"status,omitempty"`
}

+genclient +kubebuilder:object:root=true +kubebuilder:subresource:status RosStack is the Schema for the ROS API

func (*RosStack) DeepCopy

func (in *RosStack) DeepCopy() *RosStack

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

func (*RosStack) DeepCopyInto

func (in *RosStack) DeepCopyInto(out *RosStack)

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

func (*RosStack) DeepCopyObject

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

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

type RosStackList

type RosStackList struct {
	v1.TypeMeta `json:",inline"`
	v1.ListMeta `json:"metadata,omitempty"`
	Items       []RosStack `json:"items"`
}

+kubebuilder:object:root=true

func (*RosStackList) DeepCopy

func (in *RosStackList) DeepCopy() *RosStackList

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

func (*RosStackList) DeepCopyInto

func (in *RosStackList) DeepCopyInto(out *RosStackList)

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

func (*RosStackList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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