package internalversion
import "github.com/docker/compose-on-kubernetes/internal/internalversion"
Index ¶
- Variables
- func AddInternalToScheme(scheme *runtime.Scheme) error
- func AddStorageToScheme(scheme *runtime.Scheme) error
- type Owner
- type Stack
- type StackList
- type StackPhase
- type StackSpec
- type StackStatus
Variables ¶
var ( // StorageSchemeGroupVersion is the group version for storage StorageSchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: "storage"} // InternalSchemeGroupVersion is group version used to register these objects InternalSchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: runtime.APIVersionInternal} )
Functions ¶
func AddInternalToScheme ¶
AddInternalToScheme adds the list of known types to api.Scheme.
func AddStorageToScheme ¶
AddStorageToScheme adds the list of known types to api.Scheme.
Types ¶
type Owner ¶
type Owner struct { metav1.TypeMeta metav1.ObjectMeta Owner impersonation.Config }
Owner is the user who created the stack
type Stack ¶
type Stack struct { metav1.TypeMeta metav1.ObjectMeta Spec StackSpec `json:"spec,omitempty"` Status *StackStatus `json:"status,omitempty"` }
Stack is the internal representation of a compose stack
func (*Stack) DeepCopyObject ¶
DeepCopyObject clones the stack
type StackList ¶
StackList is a list of stacks
func (*StackList) DeepCopyObject ¶
DeepCopyObject clones the stack list
type StackPhase ¶
type StackPhase string
StackPhase is the current status phase.
const ( // StackAvailable means the stack is available. StackAvailable StackPhase = "Available" // StackProgressing means the deployment is progressing. StackProgressing StackPhase = "Progressing" // StackFailure is added in a stack when one of its members fails to be created // or deleted. StackFailure StackPhase = "Failure" // StackReconciliationPending means the stack has not yet been reconciled StackReconciliationPending StackPhase = "ReconciliationPending" )
These are valid conditions of a stack.
type StackSpec ¶
type StackSpec struct { ComposeFile string `json:"composeFile,omitempty"` Stack *latest.StackSpec `json:"stack,omitempty"` Owner impersonation.Config `json:"owner,omitempty"` }
StackSpec is the Spec field of a Stack
type StackStatus ¶
type StackStatus struct { Phase StackPhase Message string }
StackStatus is the current status of a stack
Source Files ¶
- Version
- v0.5.0 (latest)
- Published
- Jan 28, 2022
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 5 hours ago –
Tools for package owners.