Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 385 for rebate (0.25 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    		Type:             SecretTypeRemote,
    	}
    	c := &cobra.Command{
    		Use:   "create-remote-secret",
    		Short: "Create a secret with credentials to allow Istio to access remote Kubernetes apiservers",
    		Example: `  # Create a secret to access cluster c0's apiserver and install it in cluster c1.
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml apply -f -
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  2. callbacks/create.go

    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret_test.go

    		// inject errors
    		badStartingConfig bool
    		outputWriterError error
    
    		want            string
    		wantErrStr      string
    		k8sMinorVersion string
    	}{
    		{
    			testName:   "fail to create remote secret token",
    			objs:       []runtime.Object{kubeSystemNamespace, sa, saSecretMissingToken},
    			wantErrStr: `no "token" data found`,
    		},
    		{
    			testName:          "fail to encode secret",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  4. cmd/os-rename_nolinux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    // RenameSys is low level call in case of non-Linux this just uses os.Rename()
    func RenameSys(src, dst string) (err error) {
    	return os.Rename(src, dst)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
  5. cmd/storage-errors.go

    // errDriveIsRoot - cannot use the disk since its a root disk.
    var errDriveIsRoot = StorageErr("drive is part of root drive, will not be used")
    
    // errFaultyRemoteDisk - remote disk is faulty.
    var errFaultyRemoteDisk = StorageErr("remote drive is faulty")
    
    // errFaultyDisk - disk is faulty.
    var errFaultyDisk = StorageErr("drive is faulty")
    
    // errDiskAccessDenied - we don't have write permissions on disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/batch-rotate_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1693333643 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  7. cmd/os-instrumented.go

    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    func Fdatasync(f *os.File) (err error) {
    	fn := ""
    	if f != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    	if e.Bucket != "" {
    		return fmt.Sprintf("Remote service endpoint offline, target bucket: %s or remote service credentials: %s invalid \n\t%s", e.Bucket, e.AccessKey, e.Err.Error())
    	}
    	return fmt.Sprintf("Remote service endpoint %s not available\n\t%s", e.Endpoint, e.Err.Error())
    }
    
    // BucketRemoteIdenticalToSource remote already exists for this target type.
    type BucketRemoteIdenticalToSource struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	ErrInvalidTagDirective
    	ErrPolicyAlreadyAttached
    	ErrPolicyNotAttached
    	ErrExcessData
    	// Add new error codes here.
    
    	// SSE-S3/SSE-KMS related API errors
    	ErrInvalidEncryptionMethod
    	ErrInvalidEncryptionKeyID
    
    	// Server-Side-Encryption (with Customer provided key) related API errors.
    	ErrInsecureSSECustomerRequest
    	ErrSSEMultipartEncrypted
    	ErrSSEEncryptedObject
    	ErrInvalidEncryptionParameters
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. cmd/bucket-targets.go

    	return &t, nil
    }
    
    // TargetClient is the struct for remote target client.
    type TargetClient struct {
    	*minio.Client
    	healthCheckDuration time.Duration
    	Bucket              string // remote bucket target
    	replicateSync       bool
    	StorageClass        string // storage class on remote
    	disableProxy        bool
    	ARN                 string // ARN to uniquely identify remote target
    	ResetID             string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top