Documentation ¶
Index ¶
- func CreateSite(ctx context.Context, addr, token string, in *sitesv1.CreateSiteRequest) (o *sitesv1.CreateSiteResponse, err error)
- func DeleteSite(ctx context.Context, addr, token string, in *sitesv1.DeleteSiteRequest) (o *sitesv1.DeleteSiteResponse, err error)
- func Do(ctx context.Context, addr string, token credentials.PerRPCCredentials, ...) error
- func DoSite(ctx context.Context, addr string, token credentials.PerRPCCredentials, ...) error
- func GetSite(ctx context.Context, addr, token string, in *sitesv1.GetSiteRequest) (o *sitesv1.GetSiteResponse, err error)
- func ListSites(ctx context.Context, addr, token string, in *sitesv1.ListSitesRequest) (o *sitesv1.ListSitesResponse, err error)
- func Login(ctx context.Context, addr, username, password string, in *v1.LoginRequest) (o *v1.LoginResponse, err error)
- func Query(ctx context.Context, addr, token string, in *v1.QueryRequest) (o *v1.QueryResponse, err error)
- type Sites
- type Vince
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSite ¶ added in v0.0.32
func CreateSite(ctx context.Context, addr, token string, in *sitesv1.CreateSiteRequest, ) (o *sitesv1.CreateSiteResponse, err error)
func DeleteSite ¶ added in v0.0.32
func DeleteSite(ctx context.Context, addr, token string, in *sitesv1.DeleteSiteRequest, ) (o *sitesv1.DeleteSiteResponse, err error)
func Do ¶
func Do(ctx context.Context, addr string, token credentials.PerRPCCredentials, f func(context.Context, v1.VinceClient) error) error
func DoSite ¶ added in v0.0.34
func DoSite(ctx context.Context, addr string, token credentials.PerRPCCredentials, f func(context.Context, sitesv1.SitesClient) error) error
func GetSite ¶ added in v0.0.32
func GetSite(ctx context.Context, addr, token string, in *sitesv1.GetSiteRequest, ) (o *sitesv1.GetSiteResponse, err error)
func ListSites ¶ added in v0.0.32
func ListSites(ctx context.Context, addr, token string, in *sitesv1.ListSitesRequest, ) (o *sitesv1.ListSitesResponse, err error)
func Login ¶ added in v0.0.32
func Login(ctx context.Context, addr, username, password string, in *v1.LoginRequest, ) (o *v1.LoginResponse, err error)
func Query ¶ added in v0.0.32
func Query(ctx context.Context, addr, token string, in *v1.QueryRequest, ) (o *v1.QueryResponse, err error)
Types ¶
type Sites ¶ added in v0.0.34
type Sites struct { sitesv1.SitesClient *grpc.ClientConn }
func DialSites ¶ added in v0.0.34
func DialSites(addr string, token credentials.PerRPCCredentials) (*Sites, error)
type Vince ¶ added in v0.0.34
type Vince struct { v1.VinceClient *grpc.ClientConn }
func Dial ¶ added in v0.0.32
func Dial(addr string, token credentials.PerRPCCredentials) (*Vince, error)
Click to show internal directories.
Click to hide internal directories.