Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for around (0.24 sec)

  1. istioctl/pkg/util/clusters/wrapper.go

    // limitations under the License.
    
    package clusters
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // Wrapper is a wrapper around the Envoy Clusters
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.Clusters
    }
    
    // MarshalJSON is a custom marshaller to handle protobuf pain
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/msg_threshold.go

    // limitations under the License.
    
    package formatting
    
    import (
    	"errors"
    	"strings"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    // MessageThreshold is a wrapper around Level to be used as a cobra command line argument.
    // It should satisfy the pflag.Value interface.
    type MessageThreshold struct {
    	diag.Level
    }
    
    // String is a function declared in the pflag.Value interface
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 17 12:28:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  3. internal/disk/directio_unsupported.go

    // For more information on why typical DirectIO semantics do not apply to ZFS
    // see this ZFS-on-Linux commit message:
    // https://github.com/openzfs/zfs/commit/a584ef26053065f486d46a7335bea222cb03eeea
    
    // OpenFileDirectIO wrapper around os.OpenFile nothing special
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO is a no-op
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/kubectl_factory.go

    }
    
    var _ util.Factory = Factory{}
    
    // MakeKubeFactory turns a partial kubetl factory from CLIClient into a full util.Factory
    // This is done under istioctl/ to avoid excessive binary bloat in other packages; this pulls in around 10mb of
    // dependencies.
    var MakeKubeFactory = func(k kube.CLIClient) util.Factory {
    	kf := k.UtilFactory()
    	return Factory{
    		PartialFactory: kf,
    		full:           util.NewFactory(kf),
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    	}
    
    	cred.scope.region = credElements[1]
    	// Verify if region is valid.
    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    	// Should validate region, only if region is set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    	// the fake client will sometimes drop pod events leading to test flakes.
    	//
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/util.go

    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  8. internal/lock/lock.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package lock - implements filesystem locking wrappers around an
    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  9. cmd/peer-s3-client.go

    				_, ok := resultMap[bi.Name]
    				if ok {
    					// Skip it, this bucket is found in another pool
    					continue
    				}
    				bucketsMap[bi.Name]++
    				if bucketsMap[bi.Name] >= quorum {
    					resultMap[bi.Name] = bi
    				}
    			}
    		}
    		// loop through buckets and see if some with lost quorum
    		// these could be stale buckets lying around, queue a heal
    		// of such a bucket. This is needed here as we identify such
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	LatestModTime time.Time `msg:"lm"`
    
    	Versions     []FileInfo `msg:"vs"`
    	FreeVersions []FileInfo `msg:"fvs"`
    }
    
    // findVersionIndex will return the version index where the version
    // was found. Returns -1 if not found.
    func (f *FileInfoVersions) findVersionIndex(v string) int {
    	if f == nil || v == "" {
    		return -1
    	}
    	if v == nullVersionID {
    		for i, ver := range f.Versions {
    			if ver.VersionID == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top