Documentation ¶
Index ¶
- func GetConfigMapDataFromConfigSpec(spec *shulkermciov1alpha1.MinecraftServerConfigurationSpec) (map[string]string, error)
- type MinecraftServerResourceBuilder
- func (b *MinecraftServerResourceBuilder) GetConfigMapName() string
- func (b *MinecraftServerResourceBuilder) GetGameServerName() string
- func (b *MinecraftServerResourceBuilder) MinecraftServerConfigMap() *MinecraftServerResourceConfigMapBuilder
- func (b *MinecraftServerResourceBuilder) MinecraftServerGameServer() *MinecraftServerResourceGameServerBuilder
- func (b *MinecraftServerResourceBuilder) ResourceBuilders() ([]common.ResourceBuilder, []common.ResourceBuilder)
- type MinecraftServerResourceConfigMapBuilder
- type MinecraftServerResourceGameServerBuilder
- func (b *MinecraftServerResourceGameServerBuilder) Build() (client.Object, error)
- func (b *MinecraftServerResourceGameServerBuilder) CanBeUpdated() bool
- func (b *MinecraftServerResourceGameServerBuilder) GetGameServerSpec() (*agonesv1.GameServerSpec, error)
- func (b *MinecraftServerResourceGameServerBuilder) Update(object client.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigMapDataFromConfigSpec ¶
func GetConfigMapDataFromConfigSpec(spec *shulkermciov1alpha1.MinecraftServerConfigurationSpec) (map[string]string, error)
Types ¶
type MinecraftServerResourceBuilder ¶
type MinecraftServerResourceBuilder struct { Instance *shulkermciov1alpha1.MinecraftServer Scheme *runtime.Scheme Client client.Client Ctx context.Context }
func (*MinecraftServerResourceBuilder) GetConfigMapName ¶
func (b *MinecraftServerResourceBuilder) GetConfigMapName() string
func (*MinecraftServerResourceBuilder) GetGameServerName ¶ added in v0.1.0
func (b *MinecraftServerResourceBuilder) GetGameServerName() string
func (*MinecraftServerResourceBuilder) MinecraftServerConfigMap ¶
func (b *MinecraftServerResourceBuilder) MinecraftServerConfigMap() *MinecraftServerResourceConfigMapBuilder
func (*MinecraftServerResourceBuilder) MinecraftServerGameServer ¶ added in v0.1.0
func (b *MinecraftServerResourceBuilder) MinecraftServerGameServer() *MinecraftServerResourceGameServerBuilder
func (*MinecraftServerResourceBuilder) ResourceBuilders ¶
func (b *MinecraftServerResourceBuilder) ResourceBuilders() ([]common.ResourceBuilder, []common.ResourceBuilder)
type MinecraftServerResourceConfigMapBuilder ¶
type MinecraftServerResourceConfigMapBuilder struct {
*MinecraftServerResourceBuilder
}
func (*MinecraftServerResourceConfigMapBuilder) Build ¶
func (b *MinecraftServerResourceConfigMapBuilder) Build() (client.Object, error)
func (*MinecraftServerResourceConfigMapBuilder) CanBeUpdated ¶
func (b *MinecraftServerResourceConfigMapBuilder) CanBeUpdated() bool
type MinecraftServerResourceGameServerBuilder ¶ added in v0.1.0
type MinecraftServerResourceGameServerBuilder struct {
*MinecraftServerResourceBuilder
}
func (*MinecraftServerResourceGameServerBuilder) Build ¶ added in v0.1.0
func (b *MinecraftServerResourceGameServerBuilder) Build() (client.Object, error)
func (*MinecraftServerResourceGameServerBuilder) CanBeUpdated ¶ added in v0.1.0
func (b *MinecraftServerResourceGameServerBuilder) CanBeUpdated() bool
func (*MinecraftServerResourceGameServerBuilder) GetGameServerSpec ¶ added in v0.1.0
func (b *MinecraftServerResourceGameServerBuilder) GetGameServerSpec() (*agonesv1.GameServerSpec, error)
Click to show internal directories.
Click to hide internal directories.