volcano.sh/volcano@v1.9.0/pkg/controllers/job/constant.go (about)

     1  /*
     2  Copyright 2020 The Volcano Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package job
    18  
    19  // Reasons for pod events.
    20  const (
    21  	// FailedCreatePodReason is added in an event and in a replica set condition
    22  	// when a pod for a replica set is failed to be created.
    23  	FailedCreatePodReason = "FailedCreate"
    24  	// SuccessfulCreatePodReason is added in an event when a pod for a replica set
    25  	// is successfully created.
    26  	SuccessfulCreatePodReason = "SuccessfulCreate"
    27  	// FailedDeletePodReason is added in an event and in a replica set condition
    28  	// when a pod for a replica set is failed to be deleted.
    29  	FailedDeletePodReason = "FailedDelete"
    30  	// SuccessfulDeletePodReason is added in an event when a pod for a replica set
    31  	// is successfully deleted.
    32  	SuccessfulDeletePodReason = "SuccessfulDelete"
    33  )