Documentation ¶
Index ¶
- type RpaasManager
- func (m *RpaasManager) AddUpstream(ctx context.Context, instanceName string, upstream v1alpha1.AllowedUpstream) error
- func (m *RpaasManager) BindApp(ctx context.Context, instanceName string, args rpaas.BindAppArgs) error
- func (m *RpaasManager) CreateAutoscale(ctx context.Context, instanceName string, autoscale autogenerated.Autoscale) error
- func (m *RpaasManager) CreateExtraFiles(ctx context.Context, instanceName string, files ...rpaas.File) error
- func (m *RpaasManager) CreateInstance(ctx context.Context, args rpaas.CreateArgs) error
- func (m *RpaasManager) Debug(ctx context.Context, instanceName string, args rpaas.DebugArgs) error
- func (m *RpaasManager) DeleteAutoscale(ctx context.Context, instanceName string) error
- func (m *RpaasManager) DeleteBlock(ctx context.Context, instanceName, blockName string) error
- func (m *RpaasManager) DeleteCertManagerRequest(ctx context.Context, instance, issuer string) error
- func (m *RpaasManager) DeleteCertificate(ctx context.Context, instance, name string) error
- func (m *RpaasManager) DeleteExtraFiles(ctx context.Context, instanceName string, filenames ...string) error
- func (m *RpaasManager) DeleteInstance(ctx context.Context, name string) error
- func (m *RpaasManager) DeleteRoute(ctx context.Context, instanceName, path string) error
- func (m *RpaasManager) DeleteUpstream(ctx context.Context, instance string, upstream v1alpha1.AllowedUpstream) error
- func (m *RpaasManager) Exec(ctx context.Context, instanceName string, args rpaas.ExecArgs) error
- func (m *RpaasManager) GetAutoscale(ctx context.Context, instanceName string) (*autogenerated.Autoscale, error)
- func (m *RpaasManager) GetCertManagerRequests(ctx context.Context, instance string) ([]clientTypes.CertManager, error)
- func (m *RpaasManager) GetCertificates(ctx context.Context, instanceName string) ([]rpaas.CertificateData, error)
- func (m *RpaasManager) GetExtraFiles(ctx context.Context, instanceName string) ([]rpaas.File, error)
- func (m *RpaasManager) GetFlavors(ctx context.Context) ([]rpaas.Flavor, error)
- func (m *RpaasManager) GetInstance(ctx context.Context, name string) (*v1alpha1.RpaasInstance, error)
- func (m *RpaasManager) GetInstanceAddress(ctx context.Context, name string) (string, error)
- func (m *RpaasManager) GetInstanceInfo(ctx context.Context, instanceName string) (*clientTypes.InstanceInfo, error)
- func (m *RpaasManager) GetInstanceStatus(ctx context.Context, name string) (*nginxv1alpha1.Nginx, rpaas.PodStatusMap, error)
- func (m *RpaasManager) GetMetadata(ctx context.Context, instance string) (*clientTypes.Metadata, error)
- func (m *RpaasManager) GetPlans(ctx context.Context) ([]rpaas.Plan, error)
- func (m *RpaasManager) GetRoutes(ctx context.Context, instanceName string) ([]rpaas.Route, error)
- func (m *RpaasManager) GetUpstreams(ctx context.Context, instanceName string) ([]v1alpha1.AllowedUpstream, error)
- func (m *RpaasManager) ListBlocks(ctx context.Context, instanceName string) ([]rpaas.ConfigurationBlock, error)
- func (m *RpaasManager) Log(ctx context.Context, instanceName string, args rpaas.LogArgs) error
- func (m *RpaasManager) PurgeCache(ctx context.Context, instanceName string, args rpaas.PurgeCacheArgs) (int, error)
- func (m *RpaasManager) Scale(ctx context.Context, instanceName string, replicas int32) error
- func (m *RpaasManager) SetMetadata(ctx context.Context, instance string, metadata *clientTypes.Metadata) error
- func (m *RpaasManager) Start(ctx context.Context, instanceName string) error
- func (m *RpaasManager) Stop(ctx context.Context, instanceName string) error
- func (m *RpaasManager) UnbindApp(ctx context.Context, instanceName, appName string) error
- func (m *RpaasManager) UnsetMetadata(ctx context.Context, instance string, metadata *clientTypes.Metadata) error
- func (m *RpaasManager) UpdateAutoscale(ctx context.Context, instanceName string, autoscale autogenerated.Autoscale) error
- func (m *RpaasManager) UpdateBlock(ctx context.Context, instanceName string, block rpaas.ConfigurationBlock) error
- func (m *RpaasManager) UpdateCertManagerRequest(ctx context.Context, instance string, in clientTypes.CertManager) error
- func (m *RpaasManager) UpdateCertificate(ctx context.Context, instance, name string, c tls.Certificate) error
- func (m *RpaasManager) UpdateExtraFiles(ctx context.Context, instanceName string, files ...rpaas.File) error
- func (m *RpaasManager) UpdateInstance(ctx context.Context, name string, args rpaas.UpdateInstanceArgs) error
- func (m *RpaasManager) UpdateRoute(ctx context.Context, instanceName string, route rpaas.Route) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpaasManager ¶
type RpaasManager struct { FakeUpdateCertificate func(instance, name string, cert tls.Certificate) error FakeGetCertificates func(instanceName string) ([]rpaas.CertificateData, error) FakeDeleteCertificate func(instance, name string) error FakeCreateInstance func(args rpaas.CreateArgs) error FakeDeleteInstance func(instanceName string) error FakeUpdateInstance func(instanceName string, args rpaas.UpdateInstanceArgs) error FakeGetInstance func(instanceName string) (*v1alpha1.RpaasInstance, error) FakeDeleteBlock func(instanceName, blockName string) error FakeListBlocks func(instanceName string) ([]rpaas.ConfigurationBlock, error) FakeUpdateBlock func(instanceName string, block rpaas.ConfigurationBlock) error FakeInstanceAddress func(name string) (string, error) FakeInstanceStatus func(name string) (*nginxv1alpha1.Nginx, rpaas.PodStatusMap, error) FakeScale func(instanceName string, replicas int32) error FakeStart func(instanceName string) error FakeStop func(instanceName string) error FakeGetPlans func() ([]rpaas.Plan, error) FakeGetFlavors func() ([]rpaas.Flavor, error) FakeCreateExtraFiles func(instanceName string, files ...rpaas.File) error FakeDeleteExtraFiles func(instanceName string, filenames ...string) error FakeGetExtraFiles func(instanceName string) ([]rpaas.File, error) FakeUpdateExtraFiles func(instanceName string, files ...rpaas.File) error FakeBindApp func(instanceName string, args rpaas.BindAppArgs) error FakeUnbindApp func(instanceName, appName string) error FakePurgeCache func(instanceName string, args rpaas.PurgeCacheArgs) (int, error) FakeDeleteRoute func(instanceName, path string) error FakeGetRoutes func(instanceName string) ([]rpaas.Route, error) FakeUpdateRoute func(instanceName string, route rpaas.Route) error FakeGetAutoscale func(name string) (*autogenerated.Autoscale, error) FakeCreateAutoscale func(instanceName string, autoscale autogenerated.Autoscale) error FakeUpdateAutoscale func(instanceName string, autoscale autogenerated.Autoscale) error FakeDeleteAutoscale func(name string) error FakeGetInstanceInfo func(instanceName string) (*clientTypes.InstanceInfo, error) FakeExec func(instanceName string, args rpaas.ExecArgs) error FakeDebug func(instanceName string, args rpaas.DebugArgs) error FakeLog func(instanceName string, args rpaas.LogArgs) error FakeAddUpstream func(instanceName string, upstream v1alpha1.AllowedUpstream) error FakeGetUpstreams func(instanceName string) ([]v1alpha1.AllowedUpstream, error) FakeDeleteUpstream func(instanceName string, upstream v1alpha1.AllowedUpstream) error FakeGetCertManagerRequests func(instanceName string) ([]clientTypes.CertManager, error) FakeUpdateCertManagerRequest func(instanceName string, in clientTypes.CertManager) error FakeDeleteCertManagerRequest func(instanceName, issuer string) error FakeGetMetadata func(instanceName string) (*clientTypes.Metadata, error) FakeSetMetadata func(instanceName string, metadata *clientTypes.Metadata) error FakeUnsetMetadata func(instanceName string, metadata *clientTypes.Metadata) error }
func (*RpaasManager) AddUpstream ¶ added in v0.13.0
func (m *RpaasManager) AddUpstream(ctx context.Context, instanceName string, upstream v1alpha1.AllowedUpstream) error
func (*RpaasManager) BindApp ¶
func (m *RpaasManager) BindApp(ctx context.Context, instanceName string, args rpaas.BindAppArgs) error
func (*RpaasManager) CreateAutoscale ¶ added in v0.6.0
func (m *RpaasManager) CreateAutoscale(ctx context.Context, instanceName string, autoscale autogenerated.Autoscale) error
func (*RpaasManager) CreateExtraFiles ¶
func (*RpaasManager) CreateInstance ¶
func (m *RpaasManager) CreateInstance(ctx context.Context, args rpaas.CreateArgs) error
func (*RpaasManager) DeleteAutoscale ¶ added in v0.6.0
func (m *RpaasManager) DeleteAutoscale(ctx context.Context, instanceName string) error
func (*RpaasManager) DeleteBlock ¶
func (m *RpaasManager) DeleteBlock(ctx context.Context, instanceName, blockName string) error
func (*RpaasManager) DeleteCertManagerRequest ¶ added in v0.15.0
func (m *RpaasManager) DeleteCertManagerRequest(ctx context.Context, instance, issuer string) error
func (*RpaasManager) DeleteCertificate ¶ added in v0.6.3
func (m *RpaasManager) DeleteCertificate(ctx context.Context, instance, name string) error
func (*RpaasManager) DeleteExtraFiles ¶
func (*RpaasManager) DeleteInstance ¶
func (m *RpaasManager) DeleteInstance(ctx context.Context, name string) error
func (*RpaasManager) DeleteRoute ¶
func (m *RpaasManager) DeleteRoute(ctx context.Context, instanceName, path string) error
func (*RpaasManager) DeleteUpstream ¶ added in v0.13.0
func (m *RpaasManager) DeleteUpstream(ctx context.Context, instance string, upstream v1alpha1.AllowedUpstream) error
func (*RpaasManager) GetAutoscale ¶ added in v0.6.0
func (m *RpaasManager) GetAutoscale(ctx context.Context, instanceName string) (*autogenerated.Autoscale, error)
func (*RpaasManager) GetCertManagerRequests ¶ added in v0.23.0
func (m *RpaasManager) GetCertManagerRequests(ctx context.Context, instance string) ([]clientTypes.CertManager, error)
func (*RpaasManager) GetCertificates ¶ added in v0.6.3
func (m *RpaasManager) GetCertificates(ctx context.Context, instanceName string) ([]rpaas.CertificateData, error)
func (*RpaasManager) GetExtraFiles ¶
func (*RpaasManager) GetFlavors ¶ added in v0.5.0
func (*RpaasManager) GetInstance ¶
func (m *RpaasManager) GetInstance(ctx context.Context, name string) (*v1alpha1.RpaasInstance, error)
func (*RpaasManager) GetInstanceAddress ¶
func (*RpaasManager) GetInstanceInfo ¶ added in v0.7.4
func (m *RpaasManager) GetInstanceInfo(ctx context.Context, instanceName string) (*clientTypes.InstanceInfo, error)
func (*RpaasManager) GetInstanceStatus ¶
func (m *RpaasManager) GetInstanceStatus(ctx context.Context, name string) (*nginxv1alpha1.Nginx, rpaas.PodStatusMap, error)
func (*RpaasManager) GetMetadata ¶ added in v0.42.0
func (m *RpaasManager) GetMetadata(ctx context.Context, instance string) (*clientTypes.Metadata, error)
func (*RpaasManager) GetUpstreams ¶ added in v0.13.0
func (m *RpaasManager) GetUpstreams(ctx context.Context, instanceName string) ([]v1alpha1.AllowedUpstream, error)
func (*RpaasManager) ListBlocks ¶
func (m *RpaasManager) ListBlocks(ctx context.Context, instanceName string) ([]rpaas.ConfigurationBlock, error)
func (*RpaasManager) PurgeCache ¶
func (m *RpaasManager) PurgeCache(ctx context.Context, instanceName string, args rpaas.PurgeCacheArgs) (int, error)
func (*RpaasManager) SetMetadata ¶ added in v0.42.0
func (m *RpaasManager) SetMetadata(ctx context.Context, instance string, metadata *clientTypes.Metadata) error
func (*RpaasManager) Start ¶ added in v0.40.0
func (m *RpaasManager) Start(ctx context.Context, instanceName string) error
func (*RpaasManager) Stop ¶ added in v0.40.0
func (m *RpaasManager) Stop(ctx context.Context, instanceName string) error
func (*RpaasManager) UnbindApp ¶
func (m *RpaasManager) UnbindApp(ctx context.Context, instanceName, appName string) error
func (*RpaasManager) UnsetMetadata ¶ added in v0.42.0
func (m *RpaasManager) UnsetMetadata(ctx context.Context, instance string, metadata *clientTypes.Metadata) error
func (*RpaasManager) UpdateAutoscale ¶ added in v0.6.0
func (m *RpaasManager) UpdateAutoscale(ctx context.Context, instanceName string, autoscale autogenerated.Autoscale) error
func (*RpaasManager) UpdateBlock ¶
func (m *RpaasManager) UpdateBlock(ctx context.Context, instanceName string, block rpaas.ConfigurationBlock) error
func (*RpaasManager) UpdateCertManagerRequest ¶ added in v0.15.0
func (m *RpaasManager) UpdateCertManagerRequest(ctx context.Context, instance string, in clientTypes.CertManager) error
func (*RpaasManager) UpdateCertificate ¶
func (m *RpaasManager) UpdateCertificate(ctx context.Context, instance, name string, c tls.Certificate) error
func (*RpaasManager) UpdateExtraFiles ¶
func (*RpaasManager) UpdateInstance ¶ added in v0.3.0
func (m *RpaasManager) UpdateInstance(ctx context.Context, name string, args rpaas.UpdateInstanceArgs) error
func (*RpaasManager) UpdateRoute ¶
Click to show internal directories.
Click to hide internal directories.