Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,926 for optionC (0.17 sec)

  1. pkg/monitoring/options.go

    	return func(opts *options) {
    		opts.unit = unit
    	}
    }
    
    // WithEnabled allows a metric to be condition enabled if the provided function returns true.
    // If disabled, metric operations will do nothing.
    func WithEnabled(enabled func() bool) Options {
    	return func(o *options) {
    		o.enabledCondition = enabled
    	}
    }
    
    func createOptions(name, description string, opts ...Options) (options, Metric) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. pkg/ctrlz/options.go

    import (
    	"github.com/spf13/cobra"
    )
    
    // Options defines the set of options supported by Istio's ControlZ component introspection package.
    type Options struct {
    	// The IP port to use for ctrlz.
    	Port uint16
    
    	// The IP address to listen on for ctrlz.
    	Address string
    
    	// If true, pprof will be enabled
    	EnablePprof bool
    }
    
    // DefaultOptions returns a new set of options, initialized to the defaults
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. pkg/test/framework/resource/config/apply/options.go

    // limitations under the License.
    
    package apply
    
    import "istio.io/istio/pkg/test/framework/resource/config/cleanup"
    
    // Options provide options for applying configuration
    type Options struct {
    	// Cleanup strategy
    	Cleanup cleanup.Strategy
    
    	// Wait for configuration to be propagated.
    	Wait bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 27 17:09:00 UTC 2022
    - 851 bytes
    - Viewed (0)
  4. pkg/wasm/options.go

    	DefaultHTTPRequestMaxRetries = 5
    )
    
    // Options contains configurations to create a Cache instance.
    type Options struct {
    	PurgeInterval         time.Duration
    	ModuleExpiry          time.Duration
    	InsecureRegistries    sets.String
    	HTTPRequestTimeout    time.Duration
    	HTTPRequestMaxRetries int
    }
    
    func defaultOptions() Options {
    	return Options{
    		PurgeInterval:         DefaultPurgeInterval,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    
    	"github.com/spf13/pflag"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/options.go

    	"github.com/google/pprof/internal/symbolizer"
    	"github.com/google/pprof/internal/transport"
    )
    
    // setDefaults returns a new plugin.Options with zero fields sets to
    // sensible defaults.
    func setDefaults(o *plugin.Options) *plugin.Options {
    	d := &plugin.Options{}
    	if o != nil {
    		*d = *o
    	}
    	if d.Writer == nil {
    		d.Writer = oswriter{}
    	}
    	if d.Flagset == nil {
    		d.Flagset = &GoFlags{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 07 12:27:21 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/options.go

    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	flowcontrolrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    	"k8s.io/client-go/tools/cache"
    )
    
    // RESTOptions is set of resource-specific configuration options to generic registries.
    type RESTOptions struct {
    	StorageConfig *storagebackend.ConfigForResource
    	Decorator     StorageDecorator
    
    	EnableGarbageCollection   bool
    	DeleteCollectionWorkers   int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  8. pkg/kubeapiserver/options/options.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"net"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	netutils "k8s.io/utils/net"
    )
    
    // DefaultServiceNodePortRange is the default port range for NodePort services.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/options.go

    import (
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    const (
    	clusterNameAnnotationKey = "networking.istio.io/cluster"
    )
    
    // KubeOptions contains kubernetes options common to all commands.
    type KubeOptions struct {
    	Kubeconfig string
    	Context    string
    	Namespace  string
    }
    
    // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 23:59:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/options/options.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"time"
    
    	"github.com/spf13/pflag"
    )
    
    // VolumeConfigFlags is used to bind CLI flags to variables.  This top-level struct contains *all* enumerated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 04 20:45:21 UTC 2019
    - 5.6K bytes
    - Viewed (0)
Back to top