Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Operator (0.42 sec)

  1. operator/cmd/mesh/operator.go

    )
    
    // OperatorCmd is a group of commands related to installation and management of the operator controller.
    func OperatorCmd(ctx cli.Context) *cobra.Command {
    	oc := &cobra.Command{
    		Use:   "operator",
    		Short: "Commands related to Istio operator controller.",
    		Long:  "The operator command installs, dumps, removes and shows the status of the operator controller.",
    	}
    
    	odArgs := &operatorDumpArgs{}
    	oiArgs := &operatorInitArgs{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-dump.go

    package mesh
    
    import (
    	"fmt"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	buildversion "istio.io/istio/pkg/version"
    )
    
    type operatorDumpArgs struct {
    	// common is shared operator args
    	common operatorCommonArgs
    }
    
    func addOperatorDumpFlags(cmd *cobra.Command, args *operatorDumpArgs) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    	"strings"
    
    	"github.com/fatih/color"
    	"github.com/spf13/cobra"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	operatorutil "istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator_test.go

    func TestOperatorDump(t *testing.T) {
    	goldenFilepath := filepath.Join(env.IstioSrc, "operator/cmd/mesh/testdata/operator/output/operator-dump.yaml")
    
    	odArgs := &operatorDumpArgs{
    		common: operatorCommonArgs{
    			hub:               "foo.io/istio",
    			tag:               "1.2.3",
    			imagePullSecrets:  []string{"imagePullSecret1,imagePullSecret2"},
    			operatorNamespace: "operator-test-namespace",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-remove.go

    	"os"
    
    	"github.com/fatih/color"
    	"github.com/spf13/cobra"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/helmreconciler"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    )
    
    type operatorRemoveArgs struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    package mesh
    
    import (
    	"encoding/json"
    	"fmt"
    	"sort"
    	"strings"
    
    	"github.com/spf13/cobra"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/manifest"
    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDumpArgs struct {
    	// inFilenames is an array of paths to the input IstioOperator CR files.
    	inFilenames []string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate.go

    	"path/filepath"
    	"strings"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/operator/pkg/helmreconciler"
    	"istio.io/istio/operator/pkg/manifest"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    )
    
    type ManifestGenerateArgs struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/root.go

    	MaxConcurrentReconcilesFlagHelpStr = `Defines the concurrency limit for operator to reconcile IstioOperatorSpec in parallel. Default value is 1.`
    	HubFlagHelpStr                     = `The hub for the operator controller image.`
    	TagFlagHelpStr                     = `The tag for the operator controller image.`
    	ImagePullSecretsHelpStr            = `The imagePullSecrets are used to pull the operator image from the private registry,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    			} else if podLabel != "" {
    				return fmt.Sprintf("Pod label %s matches", podLabel), true
    			}
    		} else if nsMatched {
    			for _, me := range wh.ObjectSelector.MatchExpressions {
    				switch me.Operator {
    				case metav1.LabelSelectorOpDoesNotExist:
    					v, ok := podLabels[me.Key]
    					if ok {
    						return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    					}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-diff.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/operator/pkg/compare"
    	"istio.io/istio/operator/pkg/util"
    )
    
    // YAMLSuffix is the suffix of a YAML file.
    const YAMLSuffix = ".yaml"
    
    type manifestDiffArgs struct {
    	// compareDir indicates comparison between directory.
    	compareDir bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top