Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateMachine ¶
type StateMachine struct {
State SystemState
Log *zap.SugaredLogger
Client client.Client
FunctionConfig config.FunctionConfig
Scheme *apimachineryruntime.Scheme
GitChecker git.LastCommitChecker
EventRecorder record.EventRecorder
// contains filtered or unexported fields
}
type StateMachineReconciler ¶
func New ¶
func New(client client.Client, functionConfig config.FunctionConfig, instance *serverlessv1alpha2.Function, startState StateFn, recorder record.EventRecorder, scheme *apimachineryruntime.Scheme, cache cache.Cache, log *zap.SugaredLogger) StateMachineReconciler
type SystemState ¶
type SystemState struct {
Function serverlessv1alpha2.Function
BuiltDeployment *resources.Deployment
ClusterDeployment *appsv1.Deployment
Commit string
GitAuth *git.GitAuth
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.