accesscode

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessCodeClient

type AccessCodeClient struct {
	// contains filtered or unexported fields
}

func NewAccessCodeClient

func NewAccessCodeClient(hfClientset hfClientset.Interface, ctx context.Context) (*AccessCodeClient, error)

func (AccessCodeClient) GetAccessCode

func (acc AccessCodeClient) GetAccessCode(code string) (hfv1.AccessCode, error)

func (AccessCodeClient) GetAccessCodeWithOTACs

func (acc AccessCodeClient) GetAccessCodeWithOTACs(code string) (hfv1.AccessCode, error)

func (AccessCodeClient) GetAccessCodes

func (acc AccessCodeClient) GetAccessCodes(codes []string) ([]hfv1.AccessCode, error)

func (AccessCodeClient) GetAccessCodesWithOTACs

func (acc AccessCodeClient) GetAccessCodesWithOTACs(codes []string) ([]hfv1.AccessCode, error)

func (AccessCodeClient) GetClosestAccessCode

func (acc AccessCodeClient) GetClosestAccessCode(userID string, scenarioOrCourseId string) (string, error)

func (AccessCodeClient) GetCourseIds

func (acc AccessCodeClient) GetCourseIds(code string) ([]string, error)

func (AccessCodeClient) GetScenarioIds

func (acc AccessCodeClient) GetScenarioIds(code string) ([]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL