Documentation ¶
Index ¶
- Constants
- func Cmd() *cobra.Command
- func InitialData(ctx context.Context, in *proto.InitialDataRequest, superadminSecretFile string, ...) (*proto.InitialDataResponse, error)
- func Run(ctx context.Context, gc gRPCClient, data []byte) error
- func SetSuperadminPassword(ctx context.Context, superadminSecretFile string, ba backendAction) error
Constants ¶
View Source
const ( // InitialDataHelp contains the short help text for the command. InitialDataHelp = "Creates initial data if there is an empty datastore" // InitialDataHelpExtra contains the long help text for the command without // the headline. InitialDataHelpExtra = `` /* 173-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func InitialData ¶
func InitialData(ctx context.Context, in *proto.InitialDataRequest, superadminSecretFile string, ba backendAction) (*proto.InitialDataResponse, error)
InitialData sets initial data in the datastore.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.