Documentation ¶
Index ¶
- Constants
- func NewConfirmUpgrade(c client.WithWatch) rest.Storage
- func NewPullAppImage(c client.WithWatch) rest.Storage
- func NewStorage(c kclient.WithWatch, clientFactory *client.Factory, recorder event.Recorder, ...) rest.Storage
- type AppSpecCreateEventDetails
- type AppSpecDeleteEventDetails
- type AppSpecUpdateEventDetails
- type ConfirmUpgradeStrategy
- type Logs
- type PullAppImageNameValidator
- type PullAppImageStrategy
- type Translator
- type Validator
Constants ¶
View Source
const ( AppCreateEventType = "AppCreate" AppDeleteEventType = "AppDelete" AppSpecUpdateEventType = "AppSpecUpdate" )
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
func NewStorage(c kclient.WithWatch, clientFactory *client.Factory, recorder event.Recorder, middlewares ...middleware.CompleteStrategy) rest.Storage
Types ¶
type AppSpecCreateEventDetails ¶ added in v0.7.0
type AppSpecCreateEventDetails struct { // ResourceVersion is the resourceVersion of the App created. ResourceVersion string `json:"resourceVersion"` }
AppSpecCreateEventDetails captures additional info about the creation of an App.
type AppSpecDeleteEventDetails ¶ added in v0.7.0
type AppSpecDeleteEventDetails struct { // ResourceVersion is the resourceVersion of the App deleted. ResourceVersion string `json:"resourceVersion"` }
AppSpecDeleteEventDetails captures additional info about the deletion of an App.
type AppSpecUpdateEventDetails ¶ added in v0.7.0
type AppSpecUpdateEventDetails struct { // ResourceVersion is the resourceVersion of the updated App. ResourceVersion string `json:"resourceVersion"` // OldSpec is the spec of the App before the update. OldSpec v1.AppInstanceSpec `json:"oldSpec"` // Patch is a JSON Patch that describes all changes made to OldSpec by the respective update. // See: https://datatracker.ietf.org/doc/html/rfc6902 Patch json.RawMessage `json:"patch"` }
AppSpecUpdateEventDetails captures additional info about an update to an App Spec.
type ConfirmUpgradeStrategy ¶
type ConfirmUpgradeStrategy struct {
// contains filtered or unexported fields
}
func (*ConfirmUpgradeStrategy) New ¶
func (s *ConfirmUpgradeStrategy) New() types.Object
type Logs ¶
type Logs struct { *strategy.DestroyAdapter // contains filtered or unexported fields }
func (*Logs) ConnectMethods ¶
func (*Logs) NamespaceScoped ¶
type PullAppImageNameValidator ¶ added in v0.7.0
type PullAppImageNameValidator struct{}
func (PullAppImageNameValidator) ValidateName ¶ added in v0.7.0
type PullAppImageStrategy ¶
type PullAppImageStrategy struct {
// contains filtered or unexported fields
}
func (*PullAppImageStrategy) New ¶
func (s *PullAppImageStrategy) New() types.Object
type Translator ¶
type Translator struct { }
func (*Translator) FromPublic ¶
func (s *Translator) FromPublic(obj mtypes.Object) mtypes.Object
Click to show internal directories.
Click to hide internal directories.