v1alpha1

package
v0.0.0-...-87e400f Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=edgeapi.cattle.io

+k8s:deepcopy-gen=package +groupName=edgeapi.cattle.io

+k8s:deepcopy-gen=package +groupName=edgeapi.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	CatalogConditionCreated   condition.Cond = "Created"
	CatalogConditionRefreshed condition.Cond = "Refreshed"
	CatalogConditionProcessed condition.Cond = "Processed"
)
View Source
var (
	CatalogResourceName                = "catalogs"
	DeviceTemplateResourceName         = "devicetemplates"
	DeviceTemplateRevisionResourceName = "devicetemplaterevisions"
	SettingResourceName                = "settings"
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: edgeapi.GroupName, Version: "v1alpha1"}

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 a Group qualified GroupResource

Types

type Catalog

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

	Spec   CatalogSpec   `json:"spec,omitempty"`
	Status CatalogStatus `json:"status,omitempty"`
}

func NewCatalog

func NewCatalog(namespace, name string, obj Catalog) *Catalog

func (*Catalog) DeepCopy

func (in *Catalog) DeepCopy() *Catalog

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

func (*Catalog) DeepCopyInto

func (in *Catalog) DeepCopyInto(out *Catalog)

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

func (*Catalog) DeepCopyObject

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

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

type CatalogCondition

type CatalogCondition struct {
	Type CatalogConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status"`
	// The last time this condition was updated.
	LastUpdateTime string `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`
}

func (*CatalogCondition) DeepCopy

func (in *CatalogCondition) DeepCopy() *CatalogCondition

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

func (*CatalogCondition) DeepCopyInto

func (in *CatalogCondition) DeepCopyInto(out *CatalogCondition)

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

type CatalogConditionType

type CatalogConditionType string

type CatalogList

type CatalogList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Catalog `json:"items"`
}

CatalogList is a list of Catalog resources

func (*CatalogList) DeepCopy

func (in *CatalogList) DeepCopy() *CatalogList

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

func (*CatalogList) DeepCopyInto

func (in *CatalogList) DeepCopyInto(out *CatalogList)

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

func (*CatalogList) DeepCopyObject

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

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

type CatalogSpec

type CatalogSpec struct {
	URL       string     `json:"url"`
	Username  string     `json:"username,omitempty"`
	Password  string     `json:"password,omitempty"`
	IndexFile *IndexFile `json:"indexFile" yaml:"indexFile"`
}

func (*CatalogSpec) DeepCopy

func (in *CatalogSpec) DeepCopy() *CatalogSpec

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

func (*CatalogSpec) DeepCopyInto

func (in *CatalogSpec) DeepCopyInto(out *CatalogSpec)

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

type CatalogStatus

type CatalogStatus struct {
	LastRefreshTimestamp string             `json:"lastRefreshTimestamp,omitempty"`
	Conditions           []CatalogCondition `json:"conditions,omitempty"`
}

func (*CatalogStatus) DeepCopy

func (in *CatalogStatus) DeepCopy() *CatalogStatus

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

func (*CatalogStatus) DeepCopyInto

func (in *CatalogStatus) DeepCopyInto(out *CatalogStatus)

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

type ChartMetadata

type ChartMetadata struct {
	Version     string `json:"version,omitempty" yaml:"version,omitempty"`
	KubeVersion string `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"`
	Description string `json:"description,omitempty" yaml:"description,omitempty"`
	Icon        string `json:"icon,omitempty" yaml:"icon,omitempty"`
}

func (*ChartMetadata) DeepCopy

func (in *ChartMetadata) DeepCopy() *ChartMetadata

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

func (*ChartMetadata) DeepCopyInto

func (in *ChartMetadata) DeepCopyInto(out *ChartMetadata)

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

type ChartVersion

type ChartVersion struct {
	ChartMetadata `yaml:",inline"`
	URLs          []string `json:"urls" yaml:"urls"`
	Digest        string   `json:"digest,omitempty" yaml:"digest,omitempty"`
}

func (*ChartVersion) DeepCopy

func (in *ChartVersion) DeepCopy() *ChartVersion

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

func (*ChartVersion) DeepCopyInto

func (in *ChartVersion) DeepCopyInto(out *ChartVersion)

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

type ChartVersions

type ChartVersions []*ChartVersion

func (ChartVersions) DeepCopy

func (in ChartVersions) DeepCopy() ChartVersions

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

func (ChartVersions) DeepCopyInto

func (in ChartVersions) DeepCopyInto(out *ChartVersions)

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

type DeviceTemplate

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

	Spec   DeviceTemplateSpec   `json:"spec,omitempty"`
	Status DeviceTemplateStatus `json:"status,omitempty"`
}

func NewDeviceTemplate

func NewDeviceTemplate(namespace, name string, obj DeviceTemplate) *DeviceTemplate

func (*DeviceTemplate) DeepCopy

func (in *DeviceTemplate) DeepCopy() *DeviceTemplate

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

func (*DeviceTemplate) DeepCopyInto

func (in *DeviceTemplate) DeepCopyInto(out *DeviceTemplate)

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

func (*DeviceTemplate) DeepCopyObject

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

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

type DeviceTemplateList

type DeviceTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []DeviceTemplate `json:"items"`
}

DeviceTemplateList is a list of DeviceTemplate resources

func (*DeviceTemplateList) DeepCopy

func (in *DeviceTemplateList) DeepCopy() *DeviceTemplateList

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

func (*DeviceTemplateList) DeepCopyInto

func (in *DeviceTemplateList) DeepCopyInto(out *DeviceTemplateList)

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

func (*DeviceTemplateList) DeepCopyObject

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

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

type DeviceTemplateRevision

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

	Spec   DeviceTemplateRevisionSpec   `json:"spec,omitempty"`
	Status DeviceTemplateRevisionStatus `json:"status,omitempty"`
}

func NewDeviceTemplateRevision

func NewDeviceTemplateRevision(namespace, name string, obj DeviceTemplateRevision) *DeviceTemplateRevision

func (*DeviceTemplateRevision) DeepCopy

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

func (*DeviceTemplateRevision) DeepCopyInto

func (in *DeviceTemplateRevision) DeepCopyInto(out *DeviceTemplateRevision)

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

func (*DeviceTemplateRevision) DeepCopyObject

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

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

type DeviceTemplateRevisionList

type DeviceTemplateRevisionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []DeviceTemplateRevision `json:"items"`
}

DeviceTemplateRevisionList is a list of DeviceTemplateRevision resources

func (*DeviceTemplateRevisionList) DeepCopy

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

func (*DeviceTemplateRevisionList) DeepCopyInto

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

func (*DeviceTemplateRevisionList) DeepCopyObject

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

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

type DeviceTemplateRevisionSpec

type DeviceTemplateRevisionSpec struct {
	DisplayName              string            `json:"displayName"`
	Enabled                  *bool             `json:"enabled,omitempty"`
	DeviceTemplateName       string            `json:"deviceTemplateName"`
	DeviceTemplateAPIVersion string            `json:"deviceTemplateAPIVersion"`
	Labels                   map[string]string `json:"labels,omitempty"`

	TemplateSpec *runtime.RawExtension `json:"templateSpec,omitempty"`
}

func (*DeviceTemplateRevisionSpec) DeepCopy

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

func (*DeviceTemplateRevisionSpec) DeepCopyInto

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

type DeviceTemplateRevisionStatus

type DeviceTemplateRevisionStatus struct {
	UpdatedAt metav1.Time `json:"updatedAt,omitempty"`
}

func (*DeviceTemplateRevisionStatus) DeepCopy

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

func (*DeviceTemplateRevisionStatus) DeepCopyInto

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

type DeviceTemplateSpec

type DeviceTemplateSpec struct {
	DeviceKind          string `json:"deviceKind,omitempty"`
	DeviceVersion       string `json:"deviceVersion,omitempty"`
	DeviceGroup         string `json:"deviceGroup,omitempty"`
	DeviceResource      string `json:"deviceResource,omitempty"`
	Description         string `json:"description"`
	DefaultRevisionName string `json:"defaultRevisionName"`
}

func (*DeviceTemplateSpec) DeepCopy

func (in *DeviceTemplateSpec) DeepCopy() *DeviceTemplateSpec

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

func (*DeviceTemplateSpec) DeepCopyInto

func (in *DeviceTemplateSpec) DeepCopyInto(out *DeviceTemplateSpec)

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

type DeviceTemplateStatus

type DeviceTemplateStatus struct {
	UpdatedAt metav1.Time `json:"updatedAt,omitempty"`
}

func (*DeviceTemplateStatus) DeepCopy

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

func (*DeviceTemplateStatus) DeepCopyInto

func (in *DeviceTemplateStatus) DeepCopyInto(out *DeviceTemplateStatus)

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

type IndexFile

type IndexFile struct {
	Entries map[string]ChartVersions `json:"entries" yaml:"entries"`
}

func (*IndexFile) DeepCopy

func (in *IndexFile) DeepCopy() *IndexFile

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

func (*IndexFile) DeepCopyInto

func (in *IndexFile) DeepCopyInto(out *IndexFile)

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

type Setting

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

	Value      string `json:"value,omitempty"`
	Default    string `json:"default,omitempty"`
	Customized bool   `json:"customized,omitempty"`
	Source     string `json:"source,omitempty"`
}

func NewSetting

func NewSetting(namespace, name string, obj Setting) *Setting

func (*Setting) DeepCopy

func (in *Setting) DeepCopy() *Setting

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

func (*Setting) DeepCopyInto

func (in *Setting) DeepCopyInto(out *Setting)

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

func (*Setting) DeepCopyObject

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

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

type SettingList

type SettingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Setting `json:"items"`
}

SettingList is a list of Setting resources

func (*SettingList) DeepCopy

func (in *SettingList) DeepCopy() *SettingList

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

func (*SettingList) DeepCopyInto

func (in *SettingList) DeepCopyInto(out *SettingList)

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

func (*SettingList) DeepCopyObject

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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