Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for admin (0.12 sec)

  1. istioctl/pkg/admin/admin.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package admin
    
    import (
    	"fmt"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/clusters/clusters.go

    		}
    	}
    	return "unknown"
    }
    
    func retrieveEndpointPort(l *admin.HostStatus) uint32 {
    	addr := l.Address.GetSocketAddress()
    	if addr != nil {
    		return addr.GetPortValue()
    	}
    	return 0
    }
    
    func retrieveEndpointStatus(l *admin.HostStatus) core.HealthStatus {
    	return l.HealthStatus.GetEdsHealthStatus()
    }
    
    func retrieveFailedOutlierCheck(l *admin.HostStatus) bool {
    	return l.HealthStatus.GetFailedOutlierCheck()
    }
    
    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. istioctl/pkg/util/configdump/wrapper.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package compare
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  5. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    package configdump
    
    import (
    	"encoding/json"
    	"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
    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)
  6. istioctl/pkg/util/configdump/cluster.go

    package configdump
    
    import (
    	"sort"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it
    func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/route.go

    			drc[i].LastUpdated = nil
    		}
    	}
    	return &admin.RoutesConfigDump{DynamicRouteConfigs: drc}, nil
    }
    
    // GetRouteConfigDump retrieves the route config dump from the ConfigDump
    func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error) {
    	routeDumpAny, err := w.getSection(routes)
    	if err != nil {
    		return nil, err
    	}
    	routeDump := &admin.RoutesConfigDump{}
    	err = routeDumpAny.UnmarshalTo(routeDump)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig_test.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 admin
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_newScopeLevelPair(t *testing.T) {
    	validationPattern := `^\w+:(debug|error|warn|info|debug)`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard.go

    		CommandUsage: "proxy [<type>/]<name>[.<namespace>]",
    		CommandShort: "Open admin web UI for a proxy",
    		CommandLong:  `Open the admin dashboard for a proxy, like envoy and ztunnel pods`,
    		CommandExample: `  # Open envoy admin dashboard for the productpage-123-456.default pod
      istioctl dashboard proxy productpage-123-456.default
    
      # Open envoy admin dashboard for one pod under a deployment
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/analyzer_test.go

    	tests := []struct {
    		name  string
    		input *envoy_admin.ListenersConfigDump_DynamicListener
    	}{
    		{
    			name: "Test2",
    			input: &envoy_admin.ListenersConfigDump_DynamicListener{
    				Name: "First_Listener",
    				ActiveState: &envoy_admin.ListenersConfigDump_DynamicListenerState{
    					VersionInfo: "version1.5",
    					Listener: &anypb.Any{
    						TypeUrl: "type.googleapis.com/envoy.admin.v3.ListenersConfigDump",
    					},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top