Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for embed (0.17 sec)

  1. manifests/manifest.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package manifests
    
    import (
    	"embed"
    	"io/fs"
    	"os"
    )
    
    // FS embeds the manifests
    //
    //go:embed all:charts/* profiles/*
    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
  2. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // +protobuf=true
    // +protobuf.embed=string
    // +protobuf.options.marshal=false
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    // +k8s:deepcopy-gen=true
    // +k8s:openapi-gen=true
    message Quantity {
      optional string string = 1;
    }
    
    // QuantityValue makes it possible to use a Quantity as value for a command
    // line parameter.
    //
    // +protobuf=true
    // +protobuf.embed=string
    // +protobuf.options.marshal=false
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/fakes_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"embed"
    	"io/fs"
    	"sync/atomic"
    	"syscall"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/cni/pkg/iptables"
    )
    
    //go:embed testdata/cgroupns
    var fakeProc embed.FS
    
    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    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 manifests import ( "embed" "io/fs" "os" ) // FS embeds the manifests // //go:embed all:charts/* profiles/* var FS embed.FS // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in // FS will be used func BuiltinOrDir(dir string) fs.FS { if dir == "" { return FS } return os.DirFS(dir)...
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/core/v1/generated.proto

    //     and the version of the actual struct is irrelevant.
    //  5. We cannot easily change it.  Because this type is embedded in many locations, updates to this type
    //     will affect numerous schemas.  Don't make new APIs embed an underspecified API type they do not control.
    //
    // Instead of using this type, create a locally provided and used type that is well-focused on your reference.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
Back to top