Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for collateral (0.23 sec)

  1. pkg/collateral/predicate.go

    // limitations under the License.
    
    package collateral
    
    import (
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/monitoring"
    )
    
    // Predicates are a set of predicates to apply when generating collaterals.
    type Predicates struct {
    	SelectEnv    SelectEnvFn
    	SelectMetric SelectMetricFn
    }
    
    // SelectEnvFn is a predicate function for selecting environment variables when generating collateral documents.
    type SelectEnvFn func(env.Var) bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. pkg/collateral/cobra_agent.go

    func CobraCommand(root *cobra.Command, meta Metadata) *cobra.Command {
    	return &cobra.Command{
    		Use:    "collateral",
    		Short:  "Generate collateral support files for this program",
    		Hidden: true,
    
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return fmt.Errorf("this build is not compiled with collateral support")
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pkg/collateral/cobra_noagent.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package collateral
    
    import (
    	"github.com/spf13/cobra"
    	"github.com/spf13/cobra/doc"
    )
    
    // CobraCommand returns a Cobra command used to output a tool's collateral files (markdown docs, bash completion & man pages)
    // The root argument must be the root command for the tool.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. operator/cmd/operator/root.go

    		},
    	}
    	rootCmd.SetArgs(args)
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    
    	rootCmd.AddCommand(serverCmd())
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Operator",
    		Section: "operator CLI",
    		Manual:  "Istio Operator",
    	}))
    
    	return rootCmd
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. pkg/monitoring/doc.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package monitoring provides a common instrumentation library for Istio components.
    // Use of this library enables collateral generation for collected metrics, as well as
    // a consistent developer experience across Istio codebases.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 844 bytes
    - Viewed (0)
  6. pkg/collateral/cobra.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 collateral
    
    type Metadata struct {
    	Title   string
    	Section string
    	Manual  string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 679 bytes
    - Viewed (0)
  7. pilot/cmd/pilot-discovery/app/cmd.go

    			return nil
    		},
    	}
    
    	discoveryCmd := newDiscoveryCommand()
    	addFlags(discoveryCmd)
    	rootCmd.AddCommand(discoveryCmd)
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Pilot Discovery",
    		Section: "pilot-discovery CLI",
    		Manual:  "Istio Pilot Discovery",
    	}))
    	rootCmd.AddCommand(requestCmd)
    
    	return rootCmd
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    	// leave the multicluster commands in x for backwards compat
    	rootCmd.AddCommand(multicluster.NewCreateRemoteSecretCommand(ctx))
    	rootCmd.AddCommand(proxyconfig.ClustersCommand(ctx))
    
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Control",
    		Section: "istioctl CLI",
    		Manual:  "Istio Control",
    	}))
    
    	validateCmd := validate.NewValidateCommand(ctx)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    	logOptions.AttachCobraFlags(rootCmd)
    	ctrlzOptions.AttachCobraFlags(rootCmd)
    
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. pkg/collateral/control_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 collateral
    
    import (
    	"reflect"
    	"testing"
    )
    
    func Test_dereferenceMap(t *testing.T) {
    	type args struct {
    		m map[string]string
    	}
    	tests := []struct {
    		name       string
    		args       args
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top