Documentation ¶
Overview ¶
Package model provides model definition for association
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceAssociation ¶
type InstanceAssociation struct { DocumentID string CreateDate time.Time NextScheduledDate *time.Time Association *ssm.InstanceAssociationSummary Expression string ExpressionType string Document *string Errors []error }
InstanceAssociation represents detail information of an association
func (*InstanceAssociation) IsRunOnceAssociation ¶
func (assoc *InstanceAssociation) IsRunOnceAssociation() bool
IsRunOnceAssociation return true for the association that doesn't have schedule expression and will run only once
func (*InstanceAssociation) ParseExpression ¶
func (newAssoc *InstanceAssociation) ParseExpression(log log.T) error
ParseExpression parses the expression with the given association
func (*InstanceAssociation) RunNow ¶
func (newAssoc *InstanceAssociation) RunNow()
RunNow sets the NextScheduledDate to current time
func (*InstanceAssociation) SetNextScheduledDate ¶
func (newAssoc *InstanceAssociation) SetNextScheduledDate(log log.T)
SetNextScheduledDate initializes default values for the given new association
Click to show internal directories.
Click to hide internal directories.