Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 255 for confirm (3.6 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/clusters/clusters.go

    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/clusters"
    	"istio.io/istio/istioctl/pkg/util/proto"
    )
    
    // EndpointFilter is used to pass filter information into route based config writer print functions
    type EndpointFilter struct {
    	Address string
    	Port    uint32
    	Cluster string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		}
    
    		// Config import/export bulk operations
    		if enableConfigOps {
    			// Get config
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.GetConfigHandler))
    			// Set config
    			adminRouter.Methods(http.MethodPut).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.SetConfigHandler))
    		}
    
    		// -- IAM APIs --
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. tests/distinct_test.go

    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestDistinct(t *testing.T) {
    	users := []User{
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. internal/config/constants.go

    	EnvRootUserFile     = "MINIO_ROOT_USER_FILE"
    	EnvRootPasswordFile = "MINIO_ROOT_PASSWORD_FILE"
    
    	// Set all config environment variables from 'config.env'
    	// if necessary. Overrides all previous settings and also
    	// overrides all environment values passed from
    	// 'podman run -e ENV=value'
    	EnvConfigEnvFile = "MINIO_CONFIG_ENV_FILE"
    
    	EnvBrowser    = "MINIO_BROWSER"
    	EnvDomain     = "MINIO_DOMAIN"
    	EnvPublicIPs  = "MINIO_PUBLIC_IPS"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  6. internal/config/drive/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package drive
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	// MaxTimeout is the max timeout for drive
    	MaxTimeout = "max_timeout"
    	// HelpDrive is help for drive
    	HelpDrive = config.HelpKVS{
    		config.HelpKV{
    			Key:         MaxTimeout,
    			Type:        "string",
    			Description: "set per call max_timeout for the drive, defaults to 2 minutes",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 27 17:15:06 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  7. internal/crypto/key.go

    		mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object'
    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    		unsealConfig = sio.Config{MinVersion: sio.Version10, Key: sha.Sum(nil), CipherSuites: fips.DARECiphers()}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    	}
    
    	client, err := kube.NewClient(kube.NewClientConfigForRestConfig(kubeRestConfig), "")
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	"text/tabwriter"
    	"time"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/log"
    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	out, err := json.MarshalIndent(secretDump, "", "    ")
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    		patterns, perr := ellipses.FindEllipsesPatterns(arg)
    		if perr != nil {
    			return endpointSet{}, config.ErrInvalidErasureEndpoints(nil).Msg(perr.Error())
    		}
    		argPatterns[i] = patterns
    	}
    
    	ep.setIndexes, err = getSetIndexes(args, getTotalSizes(argPatterns), setDriveCount, argPatterns)
    	if err != nil {
    		return endpointSet{}, config.ErrInvalidErasureEndpoints(nil).Msg(err.Error())
    	}
    
    	ep.argPatterns = argPatterns
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top