id stringlengths 2 7 | text stringlengths 17 51.2k | title stringclasses 1 value |
|---|---|---|
c100 | s.Assigning = &v
return s
} | |
c101 | int64) *InstancesCount {
s.Booting = &v
return s
} | |
c102 | s.ConnectionLost = &v
return s
} | |
c103 | s.Deregistering = &v
return s
} | |
c104 | int64) *InstancesCount {
s.Online = &v
return s
} | |
c105 | s.Rebooting = &v
return s
} | |
c106 | s.Registered = &v
return s
} | |
c107 | s.Registering = &v
return s
} | |
c108 | s.Requested = &v
return s
} | |
c109 | s.RunningSetup = &v
return s
} | |
c110 | s.SetupFailed = &v
return s
} | |
c111 | s.ShuttingDown = &v
return s
} | |
c112 | s.StartFailed = &v
return s
} | |
c113 | s.StopFailed = &v
return s
} | |
c114 | s.Stopping = &v
return s
} | |
c115 | s.Terminated = &v
return s
} | |
c116 | s.Terminating = &v
return s
} | |
c117 | s.Unassigning = &v
return s
} | |
c118 | s.DefaultRecipes = v
return s
} | |
c119 | s.DefaultSecurityGroupNames = v
return s
} | |
c120 | *OperatingSystem {
s.ConfigurationManagers = v
return s
} | |
c121 | s.ReportedName = &v
return s
} | |
c122 | s.ReportedVersion = &v
return s
} | |
c123 | s.Supported = &v
return s
} | |
c124 | s.DbInstanceIdentifier = &v
return s
} | |
c125 | s.MissingOnRds = &v
return s
} | |
c126 | *Recipes {
s.Configure = v
return s
} | |
c127 | *Recipes {
s.Deploy = v
return s
} | |
c128 | *Recipes {
s.Setup = v
return s
} | |
c129 | *Recipes {
s.Undeploy = v
return s
} | |
c130 | {
s.RsaPublicKey = &v
return s
} | |
c131 | s.RsaPublicKeyFingerprint = &v
return s
} | |
c132 | s.ServiceErrorId = &v
return s
} | |
c133 | s.DelayUntilElbConnectionsDrained = &v
return s
} | |
c134 | int64) *ShutdownEventConfiguration {
s.ExecutionTimeout = &v
return s
} | |
c135 | {
s.Chain = &v
return s
} | |
c136 | s.AppsCount = &v
return s
} | |
c137 | *StackSummary {
s.InstancesCount = v
return s
} | |
c138 | s.LayersCount = &v
return s
} | |
c139 | *WeeklyAutoScalingSchedule {
s.Friday = v
return s
} | |
c140 | *WeeklyAutoScalingSchedule {
s.Monday = v
return s
} | |
c141 | *WeeklyAutoScalingSchedule {
s.Saturday = v
return s
} | |
c142 | *WeeklyAutoScalingSchedule {
s.Sunday = v
return s
} | |
c143 | *WeeklyAutoScalingSchedule {
s.Thursday = v
return s
} | |
c144 | *WeeklyAutoScalingSchedule {
s.Tuesday = v
return s
} | |
c145 | *WeeklyAutoScalingSchedule {
s.Wednesday = v
return s
} | |
c146 | Duration: DefaultDuration,
Timeout: DefaultTimeout,
MaxBufSize: DefaultBufSize,
}
for _, option := range options {
option(p)
}
return credentials.NewCredentials(p)
} | |
c147 | NewCredentials(command, func(opt *ProcessProvider) {
opt.Timeout = timeout
})
return p
} | |
c148 | errMsgProcessProviderMissKey,
nil)
}
if len(resp.SecretAccessKey) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderRequired,
errMsgProcessProviderMissSecret,
nil)
}
// Handle expiration
p.staticCreds = resp.Expiration == nil
if resp.Expiration != nil {
p.SetExpiration(*resp.Expiration, p.ExpiryWindow)
}
return credentials.Value{
ProviderName: ProviderName,
AccessKeyID: resp.AccessKeyID,
SecretAccessKey: resp.SecretAccessKey,
SessionToken: resp.SessionToken,
}, nil
} | |
c149 | "%s: %s",
errMsgProcessProviderPrepareCmd,
errMsgProcessProviderEmptyCmd),
nil)
}
}
cmdArgs = append(cmdArgs, p.originalCommand...)
p.command = exec.Command(cmdArgs[0], cmdArgs[1:]...)
p.command.Env = os.Environ()
return nil
} | |
c150 |
errors = appendError(errors, execError)
if errors != nil {
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderProcess,
errors)
}
case <-time.After(p.Timeout):
finished = true
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderTimeout,
errors) // errors can be nil
}
}
out := output.Bytes()
if runtime.GOOS == "windows" {
// windows adds slashes to quotes
out = []byte(strings.Replace(string(out), `\"`, `"`, -1))
}
return out, nil
} | |
c151 | return append(errors, err)
}
return errors
} | |
c152 | Value{ProviderName: p.ProviderName}, p.Err
} | |
c153 | 0 {
e.expiration = e.expiration.Add(-window)
}
} | |
c154 | c.forceRefresh {
// set expiration time to the distant past
return time.Time{}, nil
}
return expirer.ExpiresAt(), nil
} | |
c155 | int64) *PublishInput {
s.Qos = &v
return s
} | |
c156 | s.AccessLoggingEnabled = &v
return s
} | |
c157 | []*string) *BatchGetRepositoriesOutput {
s.RepositoriesNotFound = v
return s
} | |
c158 | s.AdditionalData = &v
return s
} | |
c159 | *Commit {
s.Committer = v
return s
} | |
c160 | string) *CreateCommitInput {
s.AuthorName = &v
return s
} | |
c161 | *CreateCommitInput {
s.DeleteFiles = v
return s
} | |
c162 | *CreateCommitInput {
s.PutFiles = v
return s
} | |
c163 | *CreateCommitInput {
s.SetFileModes = v
return s
} | |
c164 | *CreateCommitOutput {
s.FilesAdded = v
return s
} | |
c165 | []*FileMetadata) *CreateCommitOutput {
s.FilesDeleted = v
return s
} | |
c166 | []*FileMetadata) *CreateCommitOutput {
s.FilesUpdated = v
return s
} | |
c167 | {
s.DeletedBranch = v
return s
} | |
c168 | []*PullRequestEvent) *DescribePullRequestEventsOutput {
s.PullRequestEvents = v
return s
} | |
c169 | *Difference {
s.AfterBlob = v
return s
} | |
c170 | *Difference {
s.BeforeBlob = v
return s
} | |
c171 | []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput {
s.CommentsForComparedCommitData = v
return s
} | |
c172 | []*CommentsForPullRequest) *GetCommentsForPullRequestOutput {
s.CommentsForPullRequestData = v
return s
} | |
c173 | {
s.Commit = v
return s
} | |
c174 | s.AfterCommitSpecifier = &v
return s
} | |
c175 | {
s.AfterPath = &v
return s
} | |
c176 | s.BeforeCommitSpecifier = &v
return s
} | |
c177 | {
s.BeforePath = &v
return s
} | |
c178 | []*Difference) *GetDifferencesOutput {
s.Differences = v
return s
} | |
c179 | {
s.SubFolders = v
return s
} | |
c180 | {
s.SubModules = v
return s
} | |
c181 | *GetFolderOutput {
s.SymbolicLinks = v
return s
} | |
c182 | s.DestinationCommitSpecifier = &v
return s
} | |
c183 | string) *GetMergeConflictsInput {
s.MergeOption = &v
return s
} | |
c184 | s.SourceCommitSpecifier = &v
return s
} | |
c185 | bool) *GetMergeConflictsOutput {
s.Mergeable = &v
return s
} | |
c186 | []*string) *ListPullRequestsOutput {
s.PullRequestIds = v
return s
} | |
c187 | s.FilePosition = &v
return s
} | |
c188 | s.RelativeFileVersion = &v
return s
} | |
c189 | s.IsMerged = &v
return s
} | |
c190 | s.MergedBy = &v
return s
} | |
c191 | s.LastActivityDate = &v
return s
} | |
c192 | *PullRequest {
s.PullRequestTargets = v
return s
} | |
c193 |
s.PullRequestCreatedEventMetadata = v
return s
} | |
c194 | *PullRequestEvent {
s.PullRequestMergedStateChangedEventMetadata = v
return s
} | |
c195 | *PullRequestEvent {
s.PullRequestSourceReferenceUpdatedEventMetadata = v
return s
} | |
c196 | *PullRequestEvent {
s.PullRequestStatusChangedEventMetadata = v
return s
} | |
c197 | s.DestinationCommit = &v
return s
} | |
c198 | string) *PullRequestTarget {
s.SourceCommit = &v
return s
} | |
c199 | string) *RepositoryMetadata {
s.CloneUrlHttp = &v
return s
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.