forked from jeremylvln/Shulker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for world and plugins
- Loading branch information
1 parent
a428571
commit e50b0b2
Showing
19 changed files
with
465 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package v1alpha1 | ||
|
||
type ResourceRef struct { | ||
// Direct URL of the resource to download. | ||
// +optional | ||
Url string `json:"url,omitempty"` | ||
|
||
// Source of the resource URL. Cannot be used if value is not | ||
// empty. | ||
// +optional | ||
UrlFrom *ResourceRefSource `json:"urlFrom,omitempty"` | ||
} | ||
|
||
type ResourceRefSource struct { | ||
// Reference to a Maven artiact to use as source. | ||
// +optional | ||
MavenRef *ResourceRefMavenSelector `json:"mavenRef,omitempty"` | ||
} | ||
|
||
type ResourceRefMavenSelector struct { | ||
// URL to the Maven repository to download the artifact from. | ||
//+kubebuilder:validation:Required | ||
Repository string `json:"repository,omitempty"` | ||
|
||
// Group ID of the Maven artifact to download. | ||
//+kubebuilder:validation:Required | ||
GroupId string `json:"groupId,omitempty"` | ||
|
||
// Artifact ID of the Maven artifact to download. | ||
//+kubebuilder:validation:Required | ||
ArtifactId string `json:"artifactId,omitempty"` | ||
|
||
// Version of the Maven artifact to download. | ||
//+kubebuilder:validation:Required | ||
Version string `json:"version,omitempty"` | ||
|
||
// Name of the Kubernetes Secret containing the repository | ||
// credentials. The secret must contains a username | ||
// and password keys. | ||
//+optional | ||
CredentialsSecretName string `json:"credentialsSecretName,omitempty"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.