Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.tilt.dev
Index ¶
- Constants
- Variables
- func AllResourceLists() []runtime.Object
- func AllResourceObjects() []resource.Object
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type FileWatch
- func (in *FileWatch) DeepCopy() *FileWatch
- func (in *FileWatch) DeepCopyInto(out *FileWatch)
- func (in *FileWatch) DeepCopyObject() runtime.Object
- func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource
- func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta
- func (in *FileWatch) GetStatus() resource.StatusSubResource
- func (in *FileWatch) IsStorageVersion() bool
- func (in *FileWatch) NamespaceScoped() bool
- func (in *FileWatch) New() runtime.Object
- func (in *FileWatch) NewList() runtime.Object
- func (in *FileWatch) Validate(ctx context.Context) field.ErrorList
- type FileWatchList
- type FileWatchSpec
- type FileWatchStatus
- type Manifest
- func (in *Manifest) DeepCopy() *Manifest
- func (in *Manifest) DeepCopyInto(out *Manifest)
- func (in *Manifest) DeepCopyObject() runtime.Object
- func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta
- func (in *Manifest) GetStatus() resource.StatusSubResource
- func (in *Manifest) IsStorageVersion() bool
- func (in *Manifest) NamespaceScoped() bool
- func (in *Manifest) New() runtime.Object
- func (in *Manifest) NewList() runtime.Object
- func (in *Manifest) Validate(ctx context.Context) field.ErrorList
- type ManifestList
- type ManifestSpec
- type ManifestStatus
Constants ¶
const GroupName = "core.tilt.dev"
GroupName is the group name used in this package
const Version = "v1alpha1"
Variables ¶
var AddToScheme = func(scheme *runtime.Scheme) error { metav1.AddToGroupVersion(scheme, schema.GroupVersion{ Group: GroupName, Version: Version, }) objs := []runtime.Object{} for _, obj := range AllResourceObjects() { objs = append(objs, obj) } objs = append(objs, AllResourceLists()...) scheme.AddKnownTypes(schema.GroupVersion{ Group: GroupName, Version: Version, }, objs...) return nil }
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AllResourceLists ¶
func AllResourceObjects ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type FileWatch ¶
type FileWatch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FileWatchSpec `json:"spec,omitempty"` Status FileWatchStatus `json:"status,omitempty"` }
FileWatch +k8s:openapi-gen=true
func (*FileWatch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatch.
func (*FileWatch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileWatch) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FileWatch) GetGroupVersionResource ¶
func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource
func (*FileWatch) GetObjectMeta ¶
func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta
func (*FileWatch) GetStatus ¶
func (in *FileWatch) GetStatus() resource.StatusSubResource
func (*FileWatch) IsStorageVersion ¶
func (*FileWatch) NamespaceScoped ¶
type FileWatchList ¶
type FileWatchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FileWatch `json:"items"` }
FileWatchList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*FileWatchList) DeepCopy ¶
func (in *FileWatchList) DeepCopy() *FileWatchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchList.
func (*FileWatchList) DeepCopyInto ¶
func (in *FileWatchList) DeepCopyInto(out *FileWatchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileWatchList) DeepCopyObject ¶
func (in *FileWatchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FileWatchList) GetListMeta ¶
func (in *FileWatchList) GetListMeta() *metav1.ListMeta
type FileWatchSpec ¶
type FileWatchSpec struct { }
FileWatchSpec defines the desired state of FileWatch
func (*FileWatchSpec) DeepCopy ¶
func (in *FileWatchSpec) DeepCopy() *FileWatchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchSpec.
func (*FileWatchSpec) DeepCopyInto ¶
func (in *FileWatchSpec) DeepCopyInto(out *FileWatchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileWatchStatus ¶
type FileWatchStatus struct { }
FileWatchStatus defines the observed state of FileWatch
func (FileWatchStatus) CopyTo ¶
func (in FileWatchStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*FileWatchStatus) DeepCopy ¶
func (in *FileWatchStatus) DeepCopy() *FileWatchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchStatus.
func (*FileWatchStatus) DeepCopyInto ¶
func (in *FileWatchStatus) DeepCopyInto(out *FileWatchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Manifest ¶
type Manifest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManifestSpec `json:"spec,omitempty"` Status ManifestStatus `json:"status,omitempty"` }
Manifest +k8s:openapi-gen=true
func (*Manifest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manifest.
func (*Manifest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Manifest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Manifest) GetGroupVersionResource ¶
func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource
func (*Manifest) GetObjectMeta ¶
func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta
func (*Manifest) GetStatus ¶
func (in *Manifest) GetStatus() resource.StatusSubResource
func (*Manifest) IsStorageVersion ¶
func (*Manifest) NamespaceScoped ¶
type ManifestList ¶
type ManifestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Manifest `json:"items"` }
ManifestList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ManifestList) DeepCopy ¶
func (in *ManifestList) DeepCopy() *ManifestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestList.
func (*ManifestList) DeepCopyInto ¶
func (in *ManifestList) DeepCopyInto(out *ManifestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestList) DeepCopyObject ¶
func (in *ManifestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManifestList) GetListMeta ¶
func (in *ManifestList) GetListMeta() *metav1.ListMeta
type ManifestSpec ¶
type ManifestSpec struct { }
ManifestSpec defines the desired state of Manifest
func (*ManifestSpec) DeepCopy ¶
func (in *ManifestSpec) DeepCopy() *ManifestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestSpec.
func (*ManifestSpec) DeepCopyInto ¶
func (in *ManifestSpec) DeepCopyInto(out *ManifestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestStatus ¶
type ManifestStatus struct { }
ManifestStatus defines the observed state of Manifest
func (ManifestStatus) CopyTo ¶
func (in ManifestStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*ManifestStatus) DeepCopy ¶
func (in *ManifestStatus) DeepCopy() *ManifestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestStatus.
func (*ManifestStatus) DeepCopyInto ¶
func (in *ManifestStatus) DeepCopyInto(out *ManifestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.