- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Plugin (0.16 sec)
-
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 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 1.4K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
Aditya Manthramurthy <******@****.***> 1707412520 -0800
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Viewed (0) -
docs/iam/identity-manager-plugin.go
Aditya Manthramurthy <******@****.***> 1714599073 -0700
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 2.1K bytes - Viewed (0) -
tests/callbacks_test.go
createCallback := db.Callback().Create() createCallback.Before("*").Register("plugin_1_fn1", c1) createCallback.After("*").Register("plugin_1_fn2", c2) if ok, msg := assertCallbacks(createCallback, []string{"c1", "c2"}); !ok { t.Errorf("callbacks tests failed, got %v", msg) } // plugin 2 createCallback.Before("*").Register("plugin_2_fn1", c3)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
} // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{} func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) { plugins, ok := cniConfigMap["plugins"].([]any) if !ok { err = fmt.Errorf("error reading plugin list from CNI config") return } return } // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.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 ( "fmt" "github.com/containernetworking/plugins/pkg/ns" "istio.io/istio/pkg/log" "istio.io/istio/tools/istio-iptables/pkg/cmd" "istio.io/istio/tools/istio-iptables/pkg/config"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/log/uds.go
return l } // StartUDSLogServer starts up a UDS server which receives log reported from CNI network plugin. func (l *UDSLogger) StartUDSLogServer(sockAddress string, stop <-chan struct{}) error { if sockAddress == "" { return nil } log.Info("Start a UDS server for CNI plugin logs") unixListener, err := uds.NewListener(sockAddress) if err != nil { return fmt.Errorf("failed to create UDS listener: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 01:05:12 GMT 2023 - 3.3K bytes - Viewed (0)