Documentation
¶
Index ¶
- Constants
- Variables
- func CreateFileFromStdin() (*os.File, error)
- func GetAllowedArtifactStateEnumValuesAsString() string
- func GetAllowedArtifactTypeEnumValuesAsString() string
- func GetAllowedRoleTypeEnumValuesAsString() string
- func GetArtifactURL(registry *registrymgmtclient.Registry, ...) (artifactURL string, ok bool)
- func GetContentFromFileURL(ctx context.Context, url string) (*os.File, error)
- func IsURL(s string) bool
Constants ¶
View Source
const DefaultArtifactGroup = "default"
Variables ¶
View Source
var AllowedArtifactStateEnumValues = []string{
"ENABLED",
"DISABLED",
"DEPRECATED",
}
View Source
var AllowedArtifactTypeEnumValues = []string{
"AVRO",
"PROTOBUF",
"JSON",
"OPENAPI",
"ASYNCAPI",
"GRAPHQL",
"KCONNECT",
"WSDL",
"XSD",
"XML",
}
View Source
var AllowedRoleTypeEnumValues = []string{
"READ_ONLY",
"DEVELOPER",
"ADMIN",
}
Functions ¶
func CreateFileFromStdin ¶
func GetAllowedArtifactStateEnumValuesAsString ¶ added in v0.29.1
func GetAllowedArtifactStateEnumValuesAsString() string
GetAllowedArtifactTypeEnumValuesAsString gets artifact types as string.
func GetAllowedArtifactTypeEnumValuesAsString ¶
func GetAllowedArtifactTypeEnumValuesAsString() string
GetAllowedArtifactTypeEnumValuesAsString gets artifact types as string.
func GetAllowedRoleTypeEnumValuesAsString ¶ added in v0.31.0
func GetAllowedRoleTypeEnumValuesAsString() string
GetAllowedRoleTypeEnumValuesAsString gets types of roles as string.
func GetArtifactURL ¶ added in v0.36.4
func GetArtifactURL(registry *registrymgmtclient.Registry, metadata *registryinstanceclient.ArtifactMetaData) (artifactURL string, ok bool)
GetArtifactURL takes registry and artifact metadata to build URL to artifact in console
func GetContentFromFileURL ¶ added in v0.38.0
GetContentFromFileURL loads file content from the provided URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.