Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILicense ¶
type ILicense interface {
GetLicenseDetails(ctx context.Context) (*LicenseDetails, error)
}
func NewLicenseClient ¶
func NewLicenseClient(licenseClient license_control.LicenseControlServiceClient) ILicense
type License ¶
type License struct {
// contains filtered or unexported fields
}
func (*License) GetLicenseDetails ¶
func (l *License) GetLicenseDetails(ctx context.Context) (*LicenseDetails, error)
GetLicenseDetails implements ILicense.
type LicenseDetails ¶
type MockLicense ¶
type MockLicense struct {
WantError bool
}
func (*MockLicense) GetLicenseDetails ¶
func (l *MockLicense) GetLicenseDetails(ctx context.Context) (*LicenseDetails, error)
Click to show internal directories.
Click to hide internal directories.