add service mesh metrics remove unused circle yaml fix travis misconfiguration fix travis misconfiguration fix travis misconfiguration
23 lines
455 B
Go
23 lines
455 B
Go
package options
|
|
|
|
import (
|
|
"github.com/spf13/pflag"
|
|
genericoptions "kubesphere.io/kubesphere/pkg/options"
|
|
)
|
|
|
|
type ServerRunOptions struct {
|
|
GenericServerRunOptions *genericoptions.ServerRunOptions
|
|
}
|
|
|
|
func NewServerRunOptions() *ServerRunOptions {
|
|
s := &ServerRunOptions{
|
|
GenericServerRunOptions: genericoptions.NewServerRunOptions(),
|
|
}
|
|
|
|
return s
|
|
}
|
|
|
|
func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet) {
|
|
s.GenericServerRunOptions.AddFlags(fs)
|
|
}
|