Documentation ¶
Overview ¶
+groupName=kubepack.com
Index ¶
- Constants
- Variables
- func ConvertContactData(in []ContactData) []v1beta1.ContactData
- func ConvertImageSpec(in []ImageSpec) []v1beta1.ImageSpec
- func ConvertLink(in []Link) []v1beta1.Link
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type ApplicationPackage
- type Badge
- type Bundle
- type BundleList
- type BundleOption
- type BundleOptionView
- type BundleRef
- type BundleSpec
- type BundleStatus
- type BundleView
- type ChannelType
- type ChartCard
- type ChartOption
- type ChartRef
- type ChartRepoRef
- type ChartSelection
- type ContactData
- type Expression
- type Feature
- type FeatureTable
- type Hub
- type ImageSpec
- type InstallOptions
- type Link
- type LinkType
- type MediaSpec
- type MediaType
- type OneOfBundleOption
- type OneOfBundleOptionView
- type Order
- type OrderList
- type OrderSpec
- type OrderStatus
- type PackageCard
- type PackageDescriptor
- type PackageMeta
- type PackageRef
- type PackageSelection
- type PackageView
- type Phase
- type Plan
- func (p Plan) BundledPlans() []string
- func (_ Plan) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *Plan) DeepCopy() *Plan
- func (in *Plan) DeepCopyInto(out *Plan)
- func (in *Plan) DeepCopyObject() runtime.Object
- func (_ Plan) FormatLabels(planName, planID, prodID, phase string) string
- func (plan *Plan) SetLabels(planName, planID, prodID, phase string)
- type PlanList
- type PlanSpec
- type PlanStatus
- type PlanTier
- type PlanTransformUsage
- type PricingPattern
- type Product
- func (_ Product) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *Product) DeepCopy() *Product
- func (in *Product) DeepCopyInto(out *Product)
- func (in *Product) DeepCopyObject() runtime.Object
- func (_ Product) FormatLabels(prodID, prodKey, phase string, ownerID int64) string
- func (prod *Product) SetLabels(prodID, prodKey, phase string, ownerID int64)
- type ProductList
- type ProductSpec
- type ProductStatus
- type ProductVersion
- type Repository
- type ResourceDefinitions
- type ResourceGroup
- type Row
- type SelectionMode
- type SizedPrice
- type ValuesFile
- type VersionDetail
- type VersionOption
- type WaitFlags
Constants ¶
const ( ResourceKindBundle = "Bundle" ResourceBundle = "bundle" ResourceBundles = "bundles" )
const ( ResourceKindOrder = "Order" ResourceOrder = "order" ResourceOrders = "orders" )
const ( ResourceKindPlan = "Plan" ResourcePlan = "plan" ResourcePlans = "plans" )
const ( ResourceKindProduct = "Product" ResourceProduct = "product" ResourceProducts = "products" )
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: kubepack.GroupName, Version: "v1alpha1"}
Functions ¶
func ConvertContactData ¶
func ConvertContactData(in []ContactData) []v1beta1.ContactData
func ConvertImageSpec ¶
func ConvertLink ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ApplicationPackage ¶
type ApplicationPackage struct { metav1.TypeMeta `json:",inline"` Bundle *ChartRepoRef `json:"bundle,omitempty"` Chart ChartRepoRef `json:"chart"` Channel ChannelType `json:"channel"` }
func (*ApplicationPackage) DeepCopy ¶
func (in *ApplicationPackage) DeepCopy() *ApplicationPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackage.
func (*ApplicationPackage) DeepCopyInto ¶
func (in *ApplicationPackage) DeepCopyInto(out *ApplicationPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationPackage) DeepCopyObject ¶
func (in *ApplicationPackage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Badge ¶
func (*Badge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Badge.
func (*Badge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bundle ¶
type Bundle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BundleSpec `json:"spec,omitempty"` Status BundleStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=bundles,singular=bundle,scope=Cluster,categories={kubepack,appscode} +kubebuilder:subresource:status
func (Bundle) CustomResourceDefinition ¶
func (_ Bundle) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Bundle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bundle.
func (*Bundle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bundle) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BundleList ¶
type BundleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Bundle `json:"items,omitempty"` }
func (*BundleList) DeepCopy ¶
func (in *BundleList) DeepCopy() *BundleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleList.
func (*BundleList) DeepCopyInto ¶
func (in *BundleList) DeepCopyInto(out *BundleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BundleList) DeepCopyObject ¶
func (in *BundleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BundleOption ¶
func (*BundleOption) DeepCopy ¶
func (in *BundleOption) DeepCopy() *BundleOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleOption.
func (*BundleOption) DeepCopyInto ¶
func (in *BundleOption) DeepCopyInto(out *BundleOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleOptionView ¶
type BundleOptionView struct { PackageMeta `json:",inline"` DisplayName string `json:"displayName"` Features []Feature `json:"features,omitempty"` Packages []PackageCard `json:"packages"` }
func (*BundleOptionView) DeepCopy ¶
func (in *BundleOptionView) DeepCopy() *BundleOptionView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleOptionView.
func (*BundleOptionView) DeepCopyInto ¶
func (in *BundleOptionView) DeepCopyInto(out *BundleOptionView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleRef ¶
func (*BundleRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleRef.
func (*BundleRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleSpec ¶
type BundleSpec struct { PackageDescriptor `json:",inline"` DisplayName string `json:"displayName,omitempty"` Features []Feature `json:"features,omitempty"` Namespace string `json:"namespace"` Packages []PackageRef `json:"packages"` }
func (*BundleSpec) DeepCopy ¶
func (in *BundleSpec) DeepCopy() *BundleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleSpec.
func (*BundleSpec) DeepCopyInto ¶
func (in *BundleSpec) DeepCopyInto(out *BundleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleStatus ¶
type BundleStatus struct { // ObservedGeneration is the most recent generation observed for this resource. It corresponds to the // resource's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
func (*BundleStatus) DeepCopy ¶
func (in *BundleStatus) DeepCopy() *BundleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleStatus.
func (*BundleStatus) DeepCopyInto ¶
func (in *BundleStatus) DeepCopyInto(out *BundleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleView ¶
type BundleView struct { metav1.TypeMeta `json:",inline"` BundleOptionView `json:",inline"` LicenseKey string `json:"licenseKey,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*BundleView) DeepCopy ¶
func (in *BundleView) DeepCopy() *BundleView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleView.
func (*BundleView) DeepCopyInto ¶
func (in *BundleView) DeepCopyInto(out *BundleView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BundleView) DeepCopyObject ¶
func (in *BundleView) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChannelType ¶
type ChannelType string
const ( RapidChannel ChannelType = "Rapid" RegularChannel ChannelType = "Regular" StableChannel ChannelType = "Stable" )
type ChartCard ¶
type ChartCard struct { ChartRef `json:",inline"` PackageDescriptor `json:",inline"` Features []string `json:"features,omitempty"` Namespace string `json:"namespace,omitempty"` Versions []VersionOption `json:"versions"` MultiSelect bool `json:"multiSelect,omitempty"` Required bool `json:"required,omitempty"` Selected bool `json:"selected,omitempty"` }
func (*ChartCard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartCard.
func (*ChartCard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartOption ¶
type ChartOption struct { ChartRef `json:",inline"` Features []string `json:"features,omitempty"` Namespace string `json:"namespace,omitempty"` Versions []VersionDetail `json:"versions"` MultiSelect bool `json:"multiSelect,omitempty"` Required bool `json:"required,omitempty"` }
func (*ChartOption) DeepCopy ¶
func (in *ChartOption) DeepCopy() *ChartOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartOption.
func (*ChartOption) DeepCopyInto ¶
func (in *ChartOption) DeepCopyInto(out *ChartOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartRef ¶
func (*ChartRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartRef.
func (*ChartRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartRepoRef ¶
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 ¶
func (in *ChartRepoRef) DeepCopy() *ChartRepoRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartRepoRef.
func (*ChartRepoRef) DeepCopyInto ¶
func (in *ChartRepoRef) DeepCopyInto(out *ChartRepoRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSelection ¶
type ChartSelection struct { ChartRef `json:",inline"` Version string `json:"version"` ReleaseName string `json:"releaseName"` Namespace string `json:"namespace"` // Bundle points to the parent bundle which was used to install this, if any. // If the chart was installed directly it will be unset. Bundle *ChartRepoRef `json:"bundle,omitempty"` ValuesFile string `json:"valuesFile,omitempty"` // RFC 6902 compatible json patch. ref: http://jsonpatch.com // +optional // +kubebuilder:pruning:PreserveUnknownFields ValuesPatch *runtime.RawExtension `json:"valuesPatch,omitempty"` Resources *ResourceDefinitions `json:"resources,omitempty"` WaitFors []WaitFlags `json:"waitFors,omitempty"` }
func (*ChartSelection) DeepCopy ¶
func (in *ChartSelection) DeepCopy() *ChartSelection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSelection.
func (*ChartSelection) DeepCopyInto ¶
func (in *ChartSelection) DeepCopyInto(out *ChartSelection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactData ¶
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 ¶
func (in *ContactData) DeepCopy() *ContactData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactData.
func (*ContactData) DeepCopyInto ¶
func (in *ContactData) DeepCopyInto(out *ContactData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Expression ¶ added in v0.3.4
type Expression string
type Feature ¶
func (*Feature) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureTable ¶
func (*FeatureTable) DeepCopy ¶
func (in *FeatureTable) DeepCopy() *FeatureTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureTable.
func (*FeatureTable) DeepCopyInto ¶
func (in *FeatureTable) DeepCopyInto(out *FeatureTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hub ¶
type Hub struct {
Repositories []Repository `json:"repositories"`
}
func (*Hub) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hub.
func (*Hub) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
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). TotalSize 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallOptions ¶ added in v0.4.1
type InstallOptions struct { ChartRef `json:",inline"` Version string `json:"version"` ReleaseName string `json:"releaseName"` Namespace string `json:"namespace"` }
func (*InstallOptions) DeepCopy ¶ added in v0.4.1
func (in *InstallOptions) DeepCopy() *InstallOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallOptions.
func (*InstallOptions) DeepCopyInto ¶ added in v0.4.1
func (in *InstallOptions) DeepCopyInto(out *InstallOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Link ¶
type Link struct { // Description is human readable content explaining the purpose of the link. Description LinkType `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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinkType ¶
type LinkType string
const ( LinkWebsite LinkType = "website" LinkSupportDesk LinkType = "support_desk" LinkFacebook LinkType = "facebook" LinkLinkedIn LinkType = "linkedin" LinkTwitter LinkType = "twitter" LinkTwitterID LinkType = "twitter_id" LinkYouTube LinkType = "youtube" LinkSourceRepo LinkType = "src_repo" LinkStarRepo LinkType = "star_repo" LinkDocsRepo LinkType = "docs_repo" LinkDatasheetFormID LinkType = "datasheet_form_id" )
type MediaSpec ¶
type MediaSpec struct { // Description is human readable content explaining the purpose of the link. Description MediaType `json:"description,omitempty"` ImageSpec `json:",inline"` }
MediaSpec contains information about an image/video.
func (*MediaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MediaSpec.
func (*MediaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OneOfBundleOption ¶
type OneOfBundleOption struct { Description string `json:"description"` Bundles []*BundleOption `json:"bundles,omitempty"` }
func (*OneOfBundleOption) DeepCopy ¶
func (in *OneOfBundleOption) DeepCopy() *OneOfBundleOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneOfBundleOption.
func (*OneOfBundleOption) DeepCopyInto ¶
func (in *OneOfBundleOption) DeepCopyInto(out *OneOfBundleOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OneOfBundleOptionView ¶
type OneOfBundleOptionView struct { Description string `json:"description"` Bundles []*BundleOptionView `json:"bundles,omitempty"` }
func (*OneOfBundleOptionView) DeepCopy ¶
func (in *OneOfBundleOptionView) DeepCopy() *OneOfBundleOptionView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneOfBundleOptionView.
func (*OneOfBundleOptionView) DeepCopyInto ¶
func (in *OneOfBundleOptionView) DeepCopyInto(out *OneOfBundleOptionView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Order ¶
type Order struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OrderSpec `json:"spec,omitempty"` Status OrderStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=orders,singular=order,scope=Cluster,categories={kubepack,appscode} +kubebuilder:subresource:status
func (Order) CustomResourceDefinition ¶
func (_ Order) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Order) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Order.
func (*Order) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Order) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrderList ¶
type OrderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Order `json:"items,omitempty"` }
func (*OrderList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderList.
func (*OrderList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrderList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OrderSpec ¶
type OrderSpec struct { Packages []PackageSelection `json:"items"` // KubeVersion is a SemVer constraint specifying the version of Kubernetes required. KubeVersion string `json:"kubeVersion,omitempty"` }
func (*OrderSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderSpec.
func (*OrderSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrderStatus ¶
type OrderStatus struct { // ObservedGeneration is the most recent generation observed for this resource. It corresponds to the // resource's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
func (*OrderStatus) DeepCopy ¶
func (in *OrderStatus) DeepCopy() *OrderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrderStatus.
func (*OrderStatus) DeepCopyInto ¶
func (in *OrderStatus) DeepCopyInto(out *OrderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageCard ¶
type PackageCard struct { Chart *ChartCard `json:"chart,omitempty"` Bundle *BundleOptionView `json:"bundle,omitempty"` OneOf *OneOfBundleOptionView `json:"oneOf,omitempty"` }
func (*PackageCard) DeepCopy ¶
func (in *PackageCard) DeepCopy() *PackageCard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageCard.
func (*PackageCard) DeepCopyInto ¶
func (in *PackageCard) DeepCopyInto(out *PackageCard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageDescriptor ¶
type PackageDescriptor struct { // Type is the type of the application (e.g. WordPress, MySQL, Cassandra). Type string `json:"type,omitempty"` // Description is a brief string description of the Application. Description string `json:"description,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"` // Keywords is an optional list of key words associated with the application (e.g. MySQL, RDBMS, database). Keywords []string `json:"keywords,omitempty"` // Links are a list of descriptive URLs intended to be used to surface additional documentation, dashboards, etc. Links []Link `json:"links,omitempty"` // Notes contain a human readable snippets intended as a quick start for the users of the Application. // CommonMark markdown syntax may be used for rich text representation. Notes string `json:"notes,omitempty"` }
func (*PackageDescriptor) DeepCopy ¶
func (in *PackageDescriptor) DeepCopy() *PackageDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDescriptor.
func (*PackageDescriptor) DeepCopyInto ¶
func (in *PackageDescriptor) DeepCopyInto(out *PackageDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageMeta ¶
type PackageMeta struct { PackageDescriptor `json:",inline"` Name string `json:"name"` URL string `json:"url"` // Version is an optional version indicator for the Application. Version string `json:"version,omitempty"` }
func (*PackageMeta) DeepCopy ¶
func (in *PackageMeta) DeepCopy() *PackageMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageMeta.
func (*PackageMeta) DeepCopyInto ¶
func (in *PackageMeta) DeepCopyInto(out *PackageMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRef ¶
type PackageRef struct { Chart *ChartOption `json:"chart,omitempty"` Bundle *BundleOption `json:"bundle,omitempty"` OneOf *OneOfBundleOption `json:"oneOf,omitempty"` }
func (*PackageRef) DeepCopy ¶
func (in *PackageRef) DeepCopy() *PackageRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRef.
func (*PackageRef) DeepCopyInto ¶
func (in *PackageRef) DeepCopyInto(out *PackageRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageSelection ¶
type PackageSelection struct {
Chart *ChartSelection `json:"chart,omitempty"`
}
func (*PackageSelection) DeepCopy ¶
func (in *PackageSelection) DeepCopy() *PackageSelection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSelection.
func (*PackageSelection) DeepCopyInto ¶
func (in *PackageSelection) DeepCopyInto(out *PackageSelection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageView ¶
type PackageView struct { metav1.TypeMeta `json:",inline"` PackageMeta `json:",inline"` // Chart value files ValuesFiles []ValuesFile `json:"valuesFiles,omitempty"` // openAPIV3Schema describes the schema used for validation and pruning of the Values file. // +optional OpenAPIV3Schema *crdv1beta1.JSONSchemaProps `json:"openAPIV3Schema,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PackageView) DeepCopy ¶
func (in *PackageView) DeepCopy() *PackageView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageView.
func (*PackageView) DeepCopyInto ¶
func (in *PackageView) DeepCopyInto(out *PackageView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageView) DeepCopyObject ¶
func (in *PackageView) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Plan ¶
type Plan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlanSpec `json:"spec,omitempty"` Status PlanStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=plans,singular=plan,scope=Cluster,categories={kubepack,appscode} +kubebuilder:subresource:status
func (Plan) BundledPlans ¶
func (Plan) CustomResourceDefinition ¶
func (_ Plan) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Plan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plan.
func (*Plan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Plan) FormatLabels ¶
type PlanList ¶
type PlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Plan `json:"items,omitempty"` }
func (*PlanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanList.
func (*PlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlanSpec ¶
type PlanSpec struct { StripeID string `json:"id"` NickName string `json:"name"` DisplayName string `json:"displayName"` Description string `json:"description"` ProductID string `json:"productID"` Phase Phase `json:"phase"` // Plans for sorted by weight before displaying to users Weight int32 `json:"weight"` Bundle *ChartRef `json:"bundle,omitempty"` //+optional IncludedPlans []string `json:"includedPlans,omitempty"` //+optional PricingPattern map[ResourceGroup]PricingPattern `json:"pricingPattern,omitempty"` AggregateUsage *string `json:"aggregateUsage,omitempty"` Amount *int64 `json:"amount,omitempty"` AmountDecimal *float64 `json:"amountDecimal,string,omitempty"` BillingScheme *string `json:"billingScheme,omitempty"` Currency *string `json:"currency,omitempty"` Interval *string `json:"interval,omitempty"` IntervalCount *int64 `json:"intervalCount,omitempty"` Tiers []*PlanTier `json:"tiers,omitempty"` TiersMode *string `json:"tiersMode,omitempty"` TransformUsage *PlanTransformUsage `json:"transformUsage,omitempty"` TrialPeriodDays *int64 `json:"trialPeriodDays,omitempty"` UsageType *string `json:"usageType,omitempty"` }
func (*PlanSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanSpec.
func (*PlanSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanStatus ¶
type PlanStatus struct { // ObservedGeneration is the most recent generation observed for this resource. It corresponds to the // resource's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
func (*PlanStatus) DeepCopy ¶
func (in *PlanStatus) DeepCopy() *PlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanStatus.
func (*PlanStatus) DeepCopyInto ¶
func (in *PlanStatus) DeepCopyInto(out *PlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanTier ¶
type PlanTier struct { FlatAmount *int64 `json:"flatAmount,omitempty"` FlatAmountDecimal *float64 `json:"flatAmountDecimal,string,omitempty"` UnitAmount *int64 `json:"unitAmount,omitempty"` UnitAmountDecimal *float64 `json:"unitAmountDecimal,string,omitempty"` UpTo *int64 `json:"upTo,omitempty"` }
PlanTier configures tiered pricing
func (*PlanTier) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanTier.
func (*PlanTier) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanTransformUsage ¶
type PlanTransformUsage struct { DivideBy *int64 `json:"divideBy,omitempty"` Round *string `json:"round,omitempty"` }
PlanTransformUsage represents the bucket billing configuration.
func (*PlanTransformUsage) DeepCopy ¶
func (in *PlanTransformUsage) DeepCopy() *PlanTransformUsage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanTransformUsage.
func (*PlanTransformUsage) DeepCopyInto ¶
func (in *PlanTransformUsage) DeepCopyInto(out *PlanTransformUsage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PricingPattern ¶ added in v0.3.4
type PricingPattern struct { //+optional Expression Expression `json:"expression,omitempty"` //+optional SizedPrices []SizedPrice `json:"sizedPrices,omitempty"` }
func (*PricingPattern) DeepCopy ¶ added in v0.3.4
func (in *PricingPattern) DeepCopy() *PricingPattern
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPattern.
func (*PricingPattern) DeepCopyInto ¶ added in v0.3.4
func (in *PricingPattern) DeepCopyInto(out *PricingPattern)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Product ¶
type Product struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProductSpec `json:"spec,omitempty"` Status ProductStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=products,singular=product,scope=Cluster,categories={kubepack,appscode} +kubebuilder:subresource:status
func (Product) CustomResourceDefinition ¶
func (_ Product) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Product) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Product.
func (*Product) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Product) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Product) FormatLabels ¶
type ProductList ¶
type ProductList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Product `json:"items,omitempty"` }
func (*ProductList) DeepCopy ¶
func (in *ProductList) DeepCopy() *ProductList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductList.
func (*ProductList) DeepCopyInto ¶
func (in *ProductList) DeepCopyInto(out *ProductList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProductList) DeepCopyObject ¶
func (in *ProductList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProductSpec ¶
type ProductSpec struct { StripeID string `json:"id"` Key string `json:"key"` Name string `json:"name"` ShortName string `json:"shortName"` Tagline string `json:"tagline"` //+optional Summary string `json:"summary,omitempty"` Owner int64 `json:"owner"` //+optional OwnerName string `json:"ownerName,omitempty"` //+optional Description string `json:"description,omitempty"` //+optional UnitLabel string `json:"unitLabel,omitempty"` Phase Phase `json:"phase"` //+optional Media []MediaSpec `json:"icons,omitempty"` //+optional Maintainers []ContactData `json:"maintainers,omitempty"` //+optional Keywords []string `json:"keywords,omitempty"` //+optional Links []Link `json:"links,omitempty"` //+optional Badges []Badge `json:"badges,omitempty"` //+optional Versions []ProductVersion `json:"versions,omitempty"` //+optional LatestVersion string `json:"latestVersion,omitempty"` }
func (*ProductSpec) DeepCopy ¶
func (in *ProductSpec) DeepCopy() *ProductSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductSpec.
func (*ProductSpec) DeepCopyInto ¶
func (in *ProductSpec) DeepCopyInto(out *ProductSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductStatus ¶
type ProductStatus struct { // ObservedGeneration is the most recent generation observed for this resource. It corresponds to the // resource's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
func (*ProductStatus) DeepCopy ¶
func (in *ProductStatus) DeepCopy() *ProductStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductStatus.
func (*ProductStatus) DeepCopyInto ¶
func (in *ProductStatus) DeepCopyInto(out *ProductStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductVersion ¶
type ProductVersion struct { Version string `json:"version"` // +optional ReleaseDate *metav1.Time `json:"releaseDate,omitempty"` }
func (*ProductVersion) DeepCopy ¶
func (in *ProductVersion) DeepCopy() *ProductVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductVersion.
func (*ProductVersion) DeepCopyInto ¶
func (in *ProductVersion) DeepCopyInto(out *ProductVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct { Name string `json:"name"` URL string `json:"url"` Maintainers []ContactData `json:"maintainers,omitempty"` }
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceDefinitions ¶
type ResourceDefinitions struct { Owned []metav1.GroupVersionResource `json:"owned"` Required []metav1.GroupVersionResource `json:"required"` }
func (*ResourceDefinitions) DeepCopy ¶
func (in *ResourceDefinitions) DeepCopy() *ResourceDefinitions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDefinitions.
func (*ResourceDefinitions) DeepCopyInto ¶
func (in *ResourceDefinitions) DeepCopyInto(out *ResourceDefinitions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroup ¶ added in v0.3.4
type ResourceGroup string
type Row ¶
func (*Row) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Row.
func (*Row) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectionMode ¶
type SelectionMode string
type SizedPrice ¶ added in v0.3.4
type SizedPrice struct { CPU string `json:"cpu"` Memory string `json:"memory"` Price float64 `json:"price"` }
func (*SizedPrice) DeepCopy ¶ added in v0.3.4
func (in *SizedPrice) DeepCopy() *SizedPrice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SizedPrice.
func (*SizedPrice) DeepCopyInto ¶ added in v0.3.4
func (in *SizedPrice) DeepCopyInto(out *SizedPrice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValuesFile ¶
type ValuesFile struct { Filename string `json:"filename"` Values *runtime.RawExtension `json:"values,omitempty"` }
func (*ValuesFile) DeepCopy ¶
func (in *ValuesFile) DeepCopy() *ValuesFile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValuesFile.
func (*ValuesFile) DeepCopyInto ¶
func (in *ValuesFile) DeepCopyInto(out *ValuesFile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionDetail ¶
type VersionDetail struct { VersionOption `json:",inline"` Resources *ResourceDefinitions `json:"resources,omitempty"` WaitFors []WaitFlags `json:"waitFors,omitempty"` // jsonpatch path in Values where the license key will be set using replace operation, if defined. // See: http://jsonpatch.com LicenseKeyPath string `json:"licenseKeyPath,omitempty"` }
func (*VersionDetail) DeepCopy ¶
func (in *VersionDetail) DeepCopy() *VersionDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionDetail.
func (*VersionDetail) DeepCopyInto ¶
func (in *VersionDetail) DeepCopyInto(out *VersionDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionOption ¶
type VersionOption struct { Version string `json:"version"` Selected bool `json:"selected,omitempty"` ValuesFile string `json:"valuesFile,omitempty"` // RFC 6902 compatible json patch. ref: http://jsonpatch.com // +optional // +kubebuilder:pruning:PreserveUnknownFields ValuesPatch *runtime.RawExtension `json:"valuesPatch,omitempty"` }
func (*VersionOption) DeepCopy ¶
func (in *VersionOption) DeepCopy() *VersionOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionOption.
func (*VersionOption) DeepCopyInto ¶
func (in *VersionOption) DeepCopyInto(out *VersionOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WaitFlags ¶
type WaitFlags struct { Resource metav1.GroupResource `json:"resource"` Labels *metav1.LabelSelector `json:"labels"` All bool `json:"all"` Timeout metav1.Duration `json:"timeout"` ForCondition string `json:"for"` }
func (*WaitFlags) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WaitFlags.
func (*WaitFlags) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.