func New(c rest.Interface) *OcibuilderV1alpha1Client {
	return &OcibuilderV1alpha1Client{c}
}
New creates a new OcibuilderV1alpha1Client for the given RESTClient.
package v1alpha1
import (
	v1alpha1 "github.com/ocibuilder/ocibuilder/pkg/apis/ocibuilder/v1alpha1"
	"github.com/ocibuilder/ocibuilder/pkg/client/ocibuilder/clientset/versioned/scheme"
	rest "k8s.io/client-go/rest"
)
type OcibuilderV1alpha1Interface interface {
	RESTClient() rest.Interface
	OCIBuildersGetter
}
type OcibuilderV1alpha1Client struct {
	restClient rest.Interface
}
func (c *OcibuilderV1alpha1Client) OCIBuilders(namespace string) OCIBuilderInterface {
	return newOCIBuilders(c, namespace)
}
func NewForConfig(c *rest.Config) (*OcibuilderV1alpha1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &OcibuilderV1alpha1Client{client}, nil
}
func NewForConfigOrDie(c *rest.Config) *OcibuilderV1alpha1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}