Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for plugin (0.16 sec)

  1. cni/pkg/plugin/plugin.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"runtime/debug"
    	"strconv"
    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_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 plugin
    
    import (
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"reflect"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_dryrun_test.go

    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_cni_conformance.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package plugin
    
    import (
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/types"
    )
    
    // Validate k8sArgs struct works for unmarshalling kubelet args
    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. docs/iam/access-manager-plugin.go

    Aditya Manthramurthy <******@****.***> 1707412520 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. docs/iam/identity-manager-plugin.go

    Aditya Manthramurthy <******@****.***> 1653613089 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  7. gorm.go

    		}
    	}
    	relation.JoinTable = joinSchema
    
    	return nil
    }
    
    // Use use plugin
    func (db *DB) Use(plugin Plugin) error {
    	name := plugin.Name()
    	if _, ok := db.Plugins[name]; ok {
    		return ErrRegistered
    	}
    	if err := plugin.Initialize(db); err != nil {
    		return err
    	}
    	db.Plugins[name] = plugin
    	return nil
    }
    
    // ToSQL for generate SQL string.
    //
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. internal/config/policy/plugin/help.go

    package plugin
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for Access Management Plugin policy feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         URL,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. internal/config/policy/plugin/config.go

    	EnableHTTP2 = "enable_http2"
    
    	EnvPolicyPluginURL         = "MINIO_POLICY_PLUGIN_URL"
    	EnvPolicyPluginAuthToken   = "MINIO_POLICY_PLUGIN_AUTH_TOKEN"
    	EnvPolicyPluginEnableHTTP2 = "MINIO_POLICY_PLUGIN_ENABLE_HTTP2"
    )
    
    // DefaultKVS - default config for Authz plugin config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. cni/cmd/istio-cni/main.go

    		_ = log.Sync()
    	}()
    
    	// TODO: implement plugin version
    	funcs := skel.CNIFuncs{
    		Add:   plugin.CmdAdd,
    		Del:   plugin.CmdDelete,
    		Check: plugin.CmdCheck,
    	}
    	err := skel.PluginMainFuncsWithError(funcs, version.All, fmt.Sprintf("CNI plugin istio-cni %v", istioversion.Info.Version))
    	if err != nil {
    		log.Errorf("istio-cni failed with: %v", err)
    		if err := err.Print(); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top