Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for cmoptions (0.11 sec)

  1. 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)
  2. cluster/images/etcd/migrate/options.go

    Humble Chirammal <******@****.***> 1717149052 +0530
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 09:59:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/bootstrap/options.go

    	Revision           string
    	MeshConfigFile     string
    	NetworksConfigFile string
    	RegistryOptions    RegistryOptions
    	CtrlZOptions       *ctrlz.Options
    	KeepaliveOptions   *keepalive.Options
    	ShutdownDuration   time.Duration
    	JwtRule            string
    }
    
    // DiscoveryServerOptions contains options for create a new discovery server instance.
    type DiscoveryServerOptions struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/keepalive/options.go

    )
    
    // Options defines the set of options used for grpc keepalive.
    // The Time and Timeout options are used for both client and server connections,
    // whereas MaxServerConnectionAge* options are applicable on the server side only
    // (as implied by the options' name...)
    type Options struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/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 contains flags and options for initializing an apiserver
    package options
    
    import (
    	"net"
    	"strings"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	cliflag "k8s.io/component-base/cli/flag"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. 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)
Back to top