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 ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Catalog
- type CatalogCondition
- type CatalogConditionType
- type CatalogList
- type CatalogSpec
- type CatalogStatus
- type ChartMetadata
- type ChartVersion
- type ChartVersions
- type DeviceTemplate
- type DeviceTemplateList
- type DeviceTemplateRevision
- type DeviceTemplateRevisionList
- type DeviceTemplateRevisionSpec
- type DeviceTemplateRevisionStatus
- type DeviceTemplateSpec
- type DeviceTemplateStatus
- type IndexFile
- type Setting
- type SettingList
Constants ¶
This section is empty.
Variables ¶
var ( CatalogConditionCreated condition.Cond = "Created" CatalogConditionRefreshed condition.Cond = "Refreshed" CatalogConditionProcessed condition.Cond = "Processed" )
var ( CatalogResourceName = "catalogs" DeviceTemplateResourceName = "devicetemplates" DeviceTemplateRevisionResourceName = "devicetemplaterevisions" SettingResourceName = "settings" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: edgeapi.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 (*Catalog) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Catalog.
func (*Catalog) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Catalog) DeepCopyObject ¶
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 ¶
func (in *DeviceTemplateRevision) DeepCopy() *DeviceTemplateRevision
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 ¶
func (in *DeviceTemplateRevisionList) DeepCopy() *DeviceTemplateRevisionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTemplateRevisionList.
func (*DeviceTemplateRevisionList) DeepCopyInto ¶
func (in *DeviceTemplateRevisionList) DeepCopyInto(out *DeviceTemplateRevisionList)
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 ¶
func (in *DeviceTemplateRevisionSpec) DeepCopy() *DeviceTemplateRevisionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTemplateRevisionSpec.
func (*DeviceTemplateRevisionSpec) DeepCopyInto ¶
func (in *DeviceTemplateRevisionSpec) DeepCopyInto(out *DeviceTemplateRevisionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceTemplateRevisionStatus ¶
func (*DeviceTemplateRevisionStatus) DeepCopy ¶
func (in *DeviceTemplateRevisionStatus) DeepCopy() *DeviceTemplateRevisionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTemplateRevisionStatus.
func (*DeviceTemplateRevisionStatus) DeepCopyInto ¶
func (in *DeviceTemplateRevisionStatus) DeepCopyInto(out *DeviceTemplateRevisionStatus)
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 ¶
func (*DeviceTemplateStatus) DeepCopy ¶
func (in *DeviceTemplateStatus) DeepCopy() *DeviceTemplateStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexFile.
func (*IndexFile) DeepCopyInto ¶
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 (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Setting) DeepCopyObject ¶
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.