v1alpha1

package
v0.0.0-...-7d11484 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the profiles v1alpha1 API group +kubebuilder:object:generate=true +groupName=profiles.weave.works

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "profiles.weave.works", Version: "v1alpha1"}

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

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

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Name        string `json:"name"`
	URL         string `json:"url"`
	Version     string `json:"version"`
	Description string `json:"description,omitempty"`
	Maturity    string `json:"maturity,omitempty"` // This should be annotated to reflect correct values.
	Publisher   string `json:"publisher,omitempty"`
}

Profile might be able to be reused from the Profile specification.

func (*Profile) DeepCopy

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

type ProfileCatalogSource

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

	Spec   ProfileCatalogSourceSpec   `json:"spec,omitempty"`
	Status ProfileCatalogSourceStatus `json:"status,omitempty"`
}

ProfileCatalogSource is the Schema for the profilecatalogsources API.

func (*ProfileCatalogSource) DeepCopy

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

func (*ProfileCatalogSource) DeepCopyInto

func (in *ProfileCatalogSource) DeepCopyInto(out *ProfileCatalogSource)

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

func (*ProfileCatalogSource) DeepCopyObject

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

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

type ProfileCatalogSourceList

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

ProfileCatalogSourceList contains a list of ProfileCatalogSource

func (*ProfileCatalogSourceList) DeepCopy

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

func (*ProfileCatalogSourceList) DeepCopyInto

func (in *ProfileCatalogSourceList) DeepCopyInto(out *ProfileCatalogSourceList)

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

func (*ProfileCatalogSourceList) DeepCopyObject

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

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

type ProfileCatalogSourceSpec

type ProfileCatalogSourceSpec struct {
	// These are purely metadata fields.
	DisplayName string `json:"displayName,omitempty"`
	Description string `json:"description,omitempty"`
	Publisher   string `json:"publisher,omitempty"`

	EmbeddedProfiles []Profile `json:"profiles,omitempty"`
}

ProfileCatalogSourceSpec defines the desired state of ProfileCatalogSource.

func (*ProfileCatalogSourceSpec) DeepCopy

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

func (*ProfileCatalogSourceSpec) DeepCopyInto

func (in *ProfileCatalogSourceSpec) DeepCopyInto(out *ProfileCatalogSourceSpec)

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

type ProfileCatalogSourceStatus

type ProfileCatalogSourceStatus struct {
}

ProfileCatalogSourceStatus defines the observed state of ProfileCatalogSource.

func (*ProfileCatalogSourceStatus) DeepCopy

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

func (*ProfileCatalogSourceStatus) DeepCopyInto

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