Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for func (0.02 sec)

  1. security/pkg/k8s/chiron/utils.go

    // GenKeyCertK8sCA : Generates a key pair and gets public certificate signed by K8s_CA
    // Options are meant to sign DNS certs
    // 1. Generate a CSR
    // 2. Call SignCSRK8s to finish rest of the flow
    func GenKeyCertK8sCA(client clientset.Interface, dnsName,
    	caFilePath string, signerName string, approveCsr bool, requestedLifetime time.Duration,
    ) ([]byte, []byte, []byte, error) {
    	// 1. Generate a CSR
    	options := util.CertOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/utils.go

    	schema "k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // ForKind returns an apply configuration type for the given GroupVersionKind, or nil if no
    // apply configuration type exists for the given GroupVersionKind.
    func ForKind(kind schema.GroupVersionKind) interface{} {
    	switch kind {
    	// Group=cr.example.apiextensions.k8s.io, Version=v1
    	case v1.SchemeGroupVersion.WithKind("Example"):
    		return &crv1.ExampleApplyConfiguration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/utils.go

    	schema "k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // ForKind returns an apply configuration type for the given GroupVersionKind, or nil if no
    // apply configuration type exists for the given GroupVersionKind.
    func ForKind(kind schema.GroupVersionKind) interface{} {
    	switch kind {
    	// Group=apiextensions.k8s.io, Version=v1
    	case v1.SchemeGroupVersion.WithKind("CustomResourceColumnDefinition"):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top