github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/utils/cri/cri_client_setup_unsupported.go (about)

     1  // +build !linux,!windows
     2  
     3  package cri
     4  
     5  import (
     6  	"context"
     7  	"errors"
     8  )
     9  
    10  // NewCRIRuntimeServiceClient is not supported for non-linux
    11  func NewCRIRuntimeServiceClient(ctx context.Context, criRuntimeEndpoint string) (ExtendedRuntimeService, error) {
    12  	return nil, errors.New("unsupported platform")
    13  }
    14  
    15  // DetectCRIRuntimeEndpoint checks if the unix socket path are present for CRI
    16  func DetectCRIRuntimeEndpoint() (string, Type, error) {
    17  	return "", TypeNone, errors.New("unsupported platform")
    18  }