Documentation
¶
Overview ¶
+groupName=app.bytetrade.io
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.bytetrade.io
Index ¶
- Variables
- func AppResourceName(name, namespace string) string
- func Resource(resource string) schema.GroupResource
- type ACL
- type AppImage
- type AppImageList
- type Application
- type ApplicationList
- type ApplicationManager
- type ApplicationManagerList
- type ApplicationManagerSpec
- type ApplicationManagerState
- type ApplicationManagerStatus
- type ApplicationSpec
- type ApplicationState
- type ApplicationStatus
- type Condition
- type DefaultThirdLevelDomainConfig
- type Entrance
- type EntranceState
- type EntranceStatus
- type ImageInfo
- type ImageLayer
- type ImageManager
- type ImageManagerList
- type ImageManagerSpec
- type ImageManagerStatus
- type ImageProgress
- type ImageSpec
- type ImageStatus
- type OpRecord
- type OpType
- type Ref
- type ServicePort
- type TailScale
- type Type
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.bytetrade.io", 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 )
var SchemeGroupVersion = GroupVersion
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func AppResourceName ¶
AppResourceName return application name
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type ACL ¶
type ACL struct {
Action string `json:"action,omitempty"`
Src []string `json:"src,omitempty"`
Proto string `json:"proto"`
Dst []string `json:"dst"`
}
func (*ACL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACL.
func (*ACL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppImage ¶
type AppImage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ImageSpec `json:"spec,omitempty"`
Status ImageStatus `json:"status,omitempty"`
}
AppImage is the Schema for the image managers API
func (*AppImage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppImage.
func (*AppImage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppImage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppImageList ¶
type AppImageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AppImage `json:"items"`
}
AppImageList contains a list of AppImage
func (*AppImageList) DeepCopy ¶
func (in *AppImageList) DeepCopy() *AppImageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppImageList.
func (*AppImageList) DeepCopyInto ¶
func (in *AppImageList) DeepCopyInto(out *AppImageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppImageList) DeepCopyObject ¶
func (in *AppImageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Application ¶
type Application struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ApplicationSpec `json:"spec,omitempty"`
Status ApplicationStatus `json:"status,omitempty"`
}
Application is the Schema for the applications API
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationList ¶
type ApplicationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Application `json:"items"`
}
ApplicationList contains a list of Application
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationManager ¶
type ApplicationManager struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ApplicationManagerSpec `json:"spec,omitempty"`
Status ApplicationManagerStatus `json:"status,omitempty"`
}
ApplicationManager is the Schema for the application managers API
func (*ApplicationManager) DeepCopy ¶
func (in *ApplicationManager) DeepCopy() *ApplicationManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationManager.
func (*ApplicationManager) DeepCopyInto ¶
func (in *ApplicationManager) DeepCopyInto(out *ApplicationManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationManager) DeepCopyObject ¶
func (in *ApplicationManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationManagerList ¶
type ApplicationManagerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ApplicationManager `json:"items"`
}
ApplicationManagerList contains a list of ApplicationManager
func (*ApplicationManagerList) DeepCopy ¶
func (in *ApplicationManagerList) DeepCopy() *ApplicationManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationManagerList.
func (*ApplicationManagerList) DeepCopyInto ¶
func (in *ApplicationManagerList) DeepCopyInto(out *ApplicationManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationManagerList) DeepCopyObject ¶
func (in *ApplicationManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationManagerSpec ¶
type ApplicationManagerSpec struct {
AppName string `json:"appName"`
RawAppName string `json:"rawAppName,omitempty"`
AppNamespace string `json:"appNamespace,omitempty"`
AppOwner string `json:"appOwner,omitempty"`
Config string `json:"config,omitempty"`
Source string `json:"source"`
Type Type `json:"type"`
OpType OpType `json:"opType"`
}
ApplicationManagerSpec defines the desired state of ApplicationManager
func (*ApplicationManagerSpec) DeepCopy ¶
func (in *ApplicationManagerSpec) DeepCopy() *ApplicationManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationManagerSpec.
func (*ApplicationManagerSpec) DeepCopyInto ¶
func (in *ApplicationManagerSpec) DeepCopyInto(out *ApplicationManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationManagerState ¶
type ApplicationManagerState string
ApplicationManagerState is the state of an applicationmanager at current time
const ( // Pending means that the operation is waiting to be processed. Pending ApplicationManagerState = "pending" Downloading ApplicationManagerState = "downloading" // Installing means that the installation operation is underway. Installing ApplicationManagerState = "installing" Initializing ApplicationManagerState = "initializing" Running ApplicationManagerState = "running" // Upgrading means that the upgrade operation is underway. Upgrading ApplicationManagerState = "upgrading" ApplyingEnv ApplicationManagerState = "applyingEnv" Stopping ApplicationManagerState = "stopping" Stopped ApplicationManagerState = "stopped" // Resuming means that the resume operation is underway. Resuming ApplicationManagerState = "resuming" // Uninstalling means that the uninstallation operation is underway. Uninstalling ApplicationManagerState = "uninstalling" UninstallFailed ApplicationManagerState = "uninstallFailed" ResumeFailed ApplicationManagerState = "resumeFailed" UpgradeFailed ApplicationManagerState = "upgradeFailed" ApplyEnvFailed ApplicationManagerState = "applyEnvFailed" StopFailed ApplicationManagerState = "stopFailed" DownloadFailed ApplicationManagerState = "downloadFailed" InstallFailed ApplicationManagerState = "installFailed" Uninstalled ApplicationManagerState = "uninstalled" // PendingCanceled means that the installation operation has been canceled. PendingCanceled ApplicationManagerState = "pendingCanceled" DownloadingCanceled ApplicationManagerState = "downloadingCanceled" InstallingCanceled ApplicationManagerState = "installingCanceled" InitializingCanceled ApplicationManagerState = "initializingCanceled" UpgradingCanceled ApplicationManagerState = "upgradingCanceled" ApplyingEnvCanceled ApplicationManagerState = "applyingEnvCanceled" ResumingCanceled ApplicationManagerState = "resumingCanceled" // PendingCanceling means that the installation operation is under canceling operation. PendingCanceling ApplicationManagerState = "pendingCanceling" DownloadingCanceling ApplicationManagerState = "downloadingCanceling" InstallingCanceling ApplicationManagerState = "installingCanceling" InitializingCanceling ApplicationManagerState = "initializingCanceling" UpgradingCanceling ApplicationManagerState = "upgradingCanceling" ApplyingEnvCanceling ApplicationManagerState = "applyingEnvCanceling" ResumingCanceling ApplicationManagerState = "resumingCanceling" PendingCancelFailed ApplicationManagerState = "pendingCancelFailed" DownloadingCancelFailed ApplicationManagerState = "downloadingCancelFailed" InstallingCancelFailed ApplicationManagerState = "installingCancelFailed" //InitializingCancelFailed ApplicationManagerState = "initializingCancelFailed" UpgradingCancelFailed ApplicationManagerState = "upgradingCancelFailed" ApplyingEnvCancelFailed ApplicationManagerState = "applyingEnvCancelFailed" ResumingCancelFailed ApplicationManagerState = "resumingCancelFailed" Failed ApplicationManagerState = "failed" )
Describe the states of an applicationmanager
func (ApplicationManagerState) String ¶
func (a ApplicationManagerState) String() string
type ApplicationManagerStatus ¶
type ApplicationManagerStatus struct {
OpType OpType `json:"opType,omitempty"`
OpGeneration int64 `json:"opGeneration,omitempty"`
OpID string `json:"opId,omitempty"`
State ApplicationManagerState `json:"state,omitempty"`
OpRecords []OpRecord `json:"opRecords,omitempty"`
Reason string `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
Payload map[string]string `json:"payload,omitempty"`
Progress string `json:"progress,omitempty"`
UpdateTime *metav1.Time `json:"updateTime,omitempty"`
StatusTime *metav1.Time `json:"statusTime,omitempty"`
Completed bool `json:"completed,omitempty"`
OpTime *metav1.Time `json:"opTime,omitempty"`
LastState ApplicationManagerState `json:"lastState,omitempty"`
}
ApplicationManagerStatus defines the observed state of ApplicationManager
func (*ApplicationManagerStatus) DeepCopy ¶
func (in *ApplicationManagerStatus) DeepCopy() *ApplicationManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationManagerStatus.
func (*ApplicationManagerStatus) DeepCopyInto ¶
func (in *ApplicationManagerStatus) DeepCopyInto(out *ApplicationManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶
type ApplicationSpec struct {
// the entrance of the application
Index string `json:"index,omitempty"`
// description from app's description or frontend
Description string `json:"description,omitempty"`
// The url of the icon
Icon string `json:"icon,omitempty"`
// the name of the application
Name string `json:"name"`
// RawAppName the name of application for cloned app, if RawAppName is not empty means this app is cloned
RawAppName string `json:"rawAppName,omitempty"`
// the unique id of the application
// for sys application appid equal name otherwise appid equal md5(name)[:8]
Appid string `json:"appid"`
IsSysApp bool `json:"isSysApp"`
// the namespace of the application
Namespace string `json:"namespace,omitempty"`
// the deployment of the application
DeploymentName string `json:"deployment,omitempty"`
// the owner of the application
Owner string `json:"owner,omitempty"`
// Entrances []Entrance `json:"entrances,omitempty"`
Entrances []Entrance `json:"entrances,omitempty"`
SharedEntrances []Entrance `json:"sharedEntrances,omitempty"`
Ports []ServicePort `json:"ports,omitempty"`
TailScale TailScale `json:"tailscale,omitempty"`
TailScaleACLs []ACL `json:"tailscaleAcls,omitempty"`
// the extend settings of the application
Settings map[string]string `json:"settings,omitempty"`
}
ApplicationSpec defines the desired state of Application
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationState ¶
type ApplicationState string
ApplicationState is the state of an application at current time
const ( // AppRunning means that the application is installed success and ready for serve. AppRunning ApplicationState = "running" // AppStopped means that the application's deployment/statefulset replicas has been set to zero. AppStopped ApplicationState = "stopped" // AppNotReady means that the application's not ready to serve AppNotReady ApplicationState = "notReady" )
These ar the valid states of applications
func (ApplicationState) String ¶
func (a ApplicationState) String() string
type ApplicationStatus ¶
type ApplicationStatus struct {
// the state of the application: draft, submitted, passed, rejected, suspended, active
State string `json:"state,omitempty"`
// for downloading phase
Progress string `json:"progress,omitempty"`
UpdateTime *metav1.Time `json:"updateTime"`
StatusTime *metav1.Time `json:"statusTime"`
// StartedTime is the time that app first to running state
StartedTime *metav1.Time `json:"startedTime,omitempty"`
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
EntranceStatuses []EntranceStatus `json:"entranceStatuses,omitempty"`
}
ApplicationStatus defines the observed state of Application
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultThirdLevelDomainConfig ¶
type DefaultThirdLevelDomainConfig struct {
AppName string `json:"appName"`
EntranceName string `json:"entranceName"`
ThirdLevelDomain string `json:"thirdLevelDomain"`
}
func (*DefaultThirdLevelDomainConfig) DeepCopy ¶
func (in *DefaultThirdLevelDomainConfig) DeepCopy() *DefaultThirdLevelDomainConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultThirdLevelDomainConfig.
func (*DefaultThirdLevelDomainConfig) DeepCopyInto ¶
func (in *DefaultThirdLevelDomainConfig) DeepCopyInto(out *DefaultThirdLevelDomainConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Entrance ¶
type Entrance struct {
Name string `yaml:"name" json:"name"`
Host string `yaml:"host" json:"host"`
Port int32 `yaml:"port" json:"port"`
// Optional. if invisible=true.
Icon string `yaml:"icon,omitempty" json:"icon,omitempty"`
// Optional. if invisible=true.
Title string `yaml:"title" json:"title,omitempty"`
AuthLevel string `yaml:"authLevel,omitempty" json:"authLevel,omitempty"`
Invisible bool `yaml:"invisible,omitempty" json:"invisible,omitempty"`
URL string `yaml:"url,omitempty" json:"url,omitempty"`
// openMethod has three choices default, iframe, window
// Optional. if invisible=true.
OpenMethod string `yaml:"openMethod,omitempty" json:"openMethod,omitempty"`
WindowPushState bool `yaml:"windowPushState,omitempty" json:"windowPushState,omitempty"`
Skip bool `yaml:"skip,omitempty" json:"skip,omitempty"`
}
Entrance contains details for application entrance
func (*Entrance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entrance.
func (*Entrance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EntranceState ¶
type EntranceState string
const ( EntranceRunning EntranceState = "running" EntranceNotReady EntranceState = "notReady" EntranceStopped EntranceState = "stopped" )
func (EntranceState) String ¶
func (e EntranceState) String() string
type EntranceStatus ¶
type EntranceStatus struct {
Name string `json:"name"`
State EntranceState `json:"state"`
StatusTime *metav1.Time `json:"statusTime"`
Reason string `json:"reason"`
Message string `json:"message,omitempty"`
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
}
func (*EntranceStatus) DeepCopy ¶
func (in *EntranceStatus) DeepCopy() *EntranceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntranceStatus.
func (*EntranceStatus) DeepCopyInto ¶
func (in *EntranceStatus) DeepCopyInto(out *EntranceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageInfo ¶
type ImageInfo struct {
Node string `json:"node"`
Name string `json:"name"`
Architecture string `json:"architecture,omitempty"`
Variant string `json:"variant,omitempty"`
Os string `json:"os,omitempty"`
LayersData []ImageLayer `json:"layersData"`
}
func (*ImageInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInfo.
func (*ImageInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageLayer ¶
type ImageLayer struct {
MediaType string `json:"mediaType"`
Digest string `json:"digest"`
Offset int64 `json:"offset"`
Size int64 `json:"size"`
Annotations map[string]string `json:"annotations,omitempty"`
}
func (*ImageLayer) DeepCopy ¶
func (in *ImageLayer) DeepCopy() *ImageLayer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageLayer.
func (*ImageLayer) DeepCopyInto ¶
func (in *ImageLayer) DeepCopyInto(out *ImageLayer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageManager ¶
type ImageManager struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ImageManagerSpec `json:"spec,omitempty"`
Status ImageManagerStatus `json:"status,omitempty"`
}
ImageManager is the Schema for the image managers API
func (*ImageManager) DeepCopy ¶
func (in *ImageManager) DeepCopy() *ImageManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManager.
func (*ImageManager) DeepCopyInto ¶
func (in *ImageManager) DeepCopyInto(out *ImageManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageManager) DeepCopyObject ¶
func (in *ImageManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageManagerList ¶
type ImageManagerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ImageManager `json:"items"`
}
ImageManagerList contains a list of ApplicationManager
func (*ImageManagerList) DeepCopy ¶
func (in *ImageManagerList) DeepCopy() *ImageManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManagerList.
func (*ImageManagerList) DeepCopyInto ¶
func (in *ImageManagerList) DeepCopyInto(out *ImageManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageManagerList) DeepCopyObject ¶
func (in *ImageManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageManagerSpec ¶
type ImageManagerSpec struct {
AppName string `json:"appName"`
AppNamespace string `json:"appNamespace,omitempty"`
AppOwner string `json:"appOwner,omitempty"`
Refs []Ref `json:"refs"`
Nodes []string `json:"nodes"`
}
ImageManagerSpec defines the desired state of ImageManager
func (*ImageManagerSpec) DeepCopy ¶
func (in *ImageManagerSpec) DeepCopy() *ImageManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManagerSpec.
func (*ImageManagerSpec) DeepCopyInto ¶
func (in *ImageManagerSpec) DeepCopyInto(out *ImageManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageManagerStatus ¶
type ImageManagerStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Conditions map[string]map[string]map[string]string `json:"conditions,omitempty"`
Message string `json:"message,omitempty"`
State string `json:"state"`
UpdateTime *metav1.Time `json:"updateTime"`
StatusTime *metav1.Time `json:"statusTime"`
}
ImageManagerStatus defines the observed state of ApplicationManager
func (*ImageManagerStatus) DeepCopy ¶
func (in *ImageManagerStatus) DeepCopy() *ImageManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageManagerStatus.
func (*ImageManagerStatus) DeepCopyInto ¶
func (in *ImageManagerStatus) DeepCopyInto(out *ImageManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageProgress ¶
type ImageProgress struct {
NodeName string `json:"nodeName"`
ImageRef string `json:"imageRef"`
Progress string `json:"progress"`
}
func (*ImageProgress) DeepCopy ¶
func (in *ImageProgress) DeepCopy() *ImageProgress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageProgress.
func (*ImageProgress) DeepCopyInto ¶
func (in *ImageProgress) DeepCopyInto(out *ImageProgress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct {
AppName string `json:"appName"`
Nodes []string `json:"nodes"`
Refs []string `json:"refs"`
}
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 ImageStatus ¶
type ImageStatus struct {
State string `json:"state"`
Images []ImageInfo `json:"images,omitempty"`
StatueTime *metav1.Time `json:"statueTime"`
Message string `json:"message,omitempty"`
Conditions []Condition `json:"conditions,omitempty"`
}
func (*ImageStatus) DeepCopy ¶
func (in *ImageStatus) DeepCopy() *ImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
func (*ImageStatus) DeepCopyInto ¶
func (in *ImageStatus) DeepCopyInto(out *ImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpRecord ¶
type OpRecord struct {
OpType OpType `json:"opType"`
OpID string `json:"opId,omitempty"`
Message string `json:"message"`
Version string `json:"version"`
Source string `json:"source"`
Status ApplicationManagerState `json:"status"`
StateTime *metav1.Time `json:"statusTime"`
}
OpRecord contains details of an operation.
func (*OpRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpRecord.
func (*OpRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpType ¶
type OpType string
OpType represents the type of operation being performed.
const ( // InstallOp means an installation operation. InstallOp OpType = "install" // UninstallOp means an uninstallation operation. UninstallOp OpType = "uninstall" // UpgradeOp means an upgrade operation. UpgradeOp OpType = "upgrade" // StopOp means a suspend operation. StopOp OpType = "stop" // ResumeOp means a resume operation. ResumeOp OpType = "resume" // CancelOp means a cancel operation that operation can cancel an operation at pending or installing. CancelOp OpType = "cancel" // ApplyEnvOp means applying environment variables ApplyEnvOp OpType = "applyEnv" )
Describe the supported operation types.
type Ref ¶
type Ref struct {
Name string `json:"name"`
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`
}
func (*Ref) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ref.
func (*Ref) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePort ¶
type ServicePort struct {
Name string `json:"name" yaml:"name"`
Host string `yaml:"host" json:"host"`
Port int32 `yaml:"port" json:"port"`
ExposePort int32 `yaml:"exposePort" json:"exposePort,omitempty"`
// The protocol for this entrance. Supports "tcp" and "udp","".
// Default is tcp/udp, "" mean tcp and udp.
// +default="tcp/udp"
// +optional
Protocol string `yaml:"protocol" json:"protocol,omitempty"`
AddToTailscaleAcl bool `yaml:"addToTailscaleAcl" json:"addToTailscaleAcl,omitempty"`
}
func (*ServicePort) DeepCopy ¶
func (in *ServicePort) DeepCopy() *ServicePort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort.
func (*ServicePort) DeepCopyInto ¶
func (in *ServicePort) DeepCopyInto(out *ServicePort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TailScale ¶
type TailScale struct {
ACLs []ACL `json:"acls,omitempty"`
SubRoutes []string `json:"subRoutes,omitempty"`
}
func (*TailScale) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TailScale.
func (*TailScale) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.