// Code generated by sdkgen. DO NOT EDIT.

package containers

import (
	"context"

	"google.golang.org/grpc"
)

// Container provides access to "containers" component of Yandex.Cloud
type Container struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewContainer creates instance of Container
func NewContainer(g func(ctx context.Context) (*grpc.ClientConn, error)) *Container {
	return &Container{g}
}

// Container gets ContainerService client
func (c *Container) Container() *ContainerServiceClient {
	return &ContainerServiceClient{getConn: c.getConn}
}
