Documentation
¶
Index ¶
Constants ¶
View Source
const PermV2InstanceTopic = "import-instances"
Variables ¶
This section is empty.
Functions ¶
func SetDefaultPermissions ¶ added in v0.0.15
func SetDefaultPermissions(instance Instance, permissions permV2Client.ResourcePermissions)
Types ¶
type AuthAction ¶
type AuthAction string
const ( READ AuthAction = "r" WRITE AuthAction = "w" EXECUTE AuthAction = "x" ADMINISTRATE AuthAction = "a" )
func (AuthAction) String ¶
func (this AuthAction) String() string
type ImportType ¶
type ImportTypeConfig ¶
type Instance ¶
type Instance struct {
Id string `json:"id"`
Name string `json:"name"`
ImportTypeId string `json:"import_type_id"`
Image string `json:"image"`
KafkaTopic string `json:"kafka_topic"`
Configs []InstanceConfig `json:"configs"`
Restart *bool `json:"restart"`
ServiceId string `json:"-"`
Owner string `json:"-"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Generated bool `json:"generated"`
}
type InstanceConfig ¶
Click to show internal directories.
Click to hide internal directories.