Documentation ¶
Overview ¶
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ApplyDashboard(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMetricDescriptor(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMetricsScope(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyMonitoredProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyNotificationChannel(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyService(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyServiceLevelObjective(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyUptimeCheckConfig(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DashboardHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func DashboardID(u *unstructured.Resource) (string, error)
- func DashboardToUnstructured(r *dclService.Dashboard) *unstructured.Resource
- func DeleteDashboard(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMetricDescriptor(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMetricsScope(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteMonitoredProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteNotificationChannel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteServiceLevelObjective(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteUptimeCheckConfig(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetDashboard(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMetricDescriptor(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMetricsScope(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetMonitoredProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetNotificationChannel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetServiceLevelObjective(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetUptimeCheckConfig(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GroupHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func GroupID(u *unstructured.Resource) (string, error)
- func GroupToUnstructured(r *dclService.Group) *unstructured.Resource
- func ListDashboard(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListGroup(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListMetricDescriptor(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListMonitoredProject(ctx context.Context, config *dcl.Config, metricsScope string) ([]*unstructured.Resource, error)
- func ListNotificationChannel(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListService(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListServiceLevelObjective(ctx context.Context, config *dcl.Config, project string, service string) ([]*unstructured.Resource, error)
- func ListUptimeCheckConfig(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func MetricDescriptorHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MetricDescriptorID(u *unstructured.Resource) (string, error)
- func MetricDescriptorToUnstructured(r *dclService.MetricDescriptor) *unstructured.Resource
- func MetricsScopeHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MetricsScopeID(u *unstructured.Resource) (string, error)
- func MetricsScopeToUnstructured(r *dclService.MetricsScope) *unstructured.Resource
- func MonitoredProjectHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func MonitoredProjectID(u *unstructured.Resource) (string, error)
- func MonitoredProjectToUnstructured(r *dclService.MonitoredProject) *unstructured.Resource
- func NotificationChannelHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func NotificationChannelID(u *unstructured.Resource) (string, error)
- func NotificationChannelToUnstructured(r *dclService.NotificationChannel) *unstructured.Resource
- func ServiceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ServiceID(u *unstructured.Resource) (string, error)
- func ServiceLevelObjectiveHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ServiceLevelObjectiveID(u *unstructured.Resource) (string, error)
- func ServiceLevelObjectiveToUnstructured(r *dclService.ServiceLevelObjective) *unstructured.Resource
- func ServiceToUnstructured(r *dclService.Service) *unstructured.Resource
- func UnstructuredToDashboard(u *unstructured.Resource) (*dclService.Dashboard, error)
- func UnstructuredToGroup(u *unstructured.Resource) (*dclService.Group, error)
- func UnstructuredToMetricDescriptor(u *unstructured.Resource) (*dclService.MetricDescriptor, error)
- func UnstructuredToMetricsScope(u *unstructured.Resource) (*dclService.MetricsScope, error)
- func UnstructuredToMonitoredProject(u *unstructured.Resource) (*dclService.MonitoredProject, error)
- func UnstructuredToNotificationChannel(u *unstructured.Resource) (*dclService.NotificationChannel, error)
- func UnstructuredToService(u *unstructured.Resource) (*dclService.Service, error)
- func UnstructuredToServiceLevelObjective(u *unstructured.Resource) (*dclService.ServiceLevelObjective, error)
- func UnstructuredToUptimeCheckConfig(u *unstructured.Resource) (*dclService.UptimeCheckConfig, error)
- func UptimeCheckConfigHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func UptimeCheckConfigID(u *unstructured.Resource) (string, error)
- func UptimeCheckConfigToUnstructured(r *dclService.UptimeCheckConfig) *unstructured.Resource
- type Dashboard
- func (r *Dashboard) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dashboard) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Dashboard) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Dashboard) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Dashboard) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Dashboard) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dashboard) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Dashboard) ID(resource *unstructured.Resource) (string, error)
- func (r *Dashboard) STV() unstructured.ServiceTypeVersion
- func (r *Dashboard) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dashboard) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dashboard) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Group
- func (r *Group) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Group) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Group) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Group) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Group) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Group) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Group) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Group) ID(resource *unstructured.Resource) (string, error)
- func (r *Group) STV() unstructured.ServiceTypeVersion
- func (r *Group) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Group) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Group) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type MetricDescriptor
- func (r *MetricDescriptor) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricDescriptor) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *MetricDescriptor) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *MetricDescriptor) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetricDescriptor) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetricDescriptor) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricDescriptor) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *MetricDescriptor) ID(resource *unstructured.Resource) (string, error)
- func (r *MetricDescriptor) STV() unstructured.ServiceTypeVersion
- func (r *MetricDescriptor) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricDescriptor) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricDescriptor) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type MetricsScope
- func (r *MetricsScope) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricsScope) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *MetricsScope) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *MetricsScope) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetricsScope) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MetricsScope) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricsScope) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *MetricsScope) ID(resource *unstructured.Resource) (string, error)
- func (r *MetricsScope) STV() unstructured.ServiceTypeVersion
- func (r *MetricsScope) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricsScope) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MetricsScope) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type MonitoredProject
- func (r *MonitoredProject) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MonitoredProject) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *MonitoredProject) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *MonitoredProject) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MonitoredProject) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *MonitoredProject) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MonitoredProject) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *MonitoredProject) ID(resource *unstructured.Resource) (string, error)
- func (r *MonitoredProject) STV() unstructured.ServiceTypeVersion
- func (r *MonitoredProject) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MonitoredProject) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *MonitoredProject) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type NotificationChannel
- func (r *NotificationChannel) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *NotificationChannel) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *NotificationChannel) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *NotificationChannel) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *NotificationChannel) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *NotificationChannel) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *NotificationChannel) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *NotificationChannel) ID(resource *unstructured.Resource) (string, error)
- func (r *NotificationChannel) STV() unstructured.ServiceTypeVersion
- func (r *NotificationChannel) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *NotificationChannel) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *NotificationChannel) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Service
- func (r *Service) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Service) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Service) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Service) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Service) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Service) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Service) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Service) ID(resource *unstructured.Resource) (string, error)
- func (r *Service) STV() unstructured.ServiceTypeVersion
- func (r *Service) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Service) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Service) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type ServiceLevelObjective
- func (r *ServiceLevelObjective) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ServiceLevelObjective) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ServiceLevelObjective) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ServiceLevelObjective) ID(resource *unstructured.Resource) (string, error)
- func (r *ServiceLevelObjective) STV() unstructured.ServiceTypeVersion
- func (r *ServiceLevelObjective) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ServiceLevelObjective) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type UptimeCheckConfig
- func (r *UptimeCheckConfig) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *UptimeCheckConfig) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *UptimeCheckConfig) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *UptimeCheckConfig) ID(resource *unstructured.Resource) (string, error)
- func (r *UptimeCheckConfig) STV() unstructured.ServiceTypeVersion
- func (r *UptimeCheckConfig) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *UptimeCheckConfig) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDashboard ¶
func ApplyDashboard(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyGroup ¶
func ApplyGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyMetricDescriptor ¶
func ApplyMetricDescriptor(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyMetricsScope ¶
func ApplyMetricsScope(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyMonitoredProject ¶
func ApplyMonitoredProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyNotificationChannel ¶
func ApplyNotificationChannel(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyService ¶
func ApplyService(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyServiceLevelObjective ¶
func ApplyServiceLevelObjective(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyUptimeCheckConfig ¶
func ApplyUptimeCheckConfig(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DashboardHasDiff ¶
func DashboardHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func DashboardID ¶
func DashboardID(u *unstructured.Resource) (string, error)
func DashboardToUnstructured ¶
func DashboardToUnstructured(r *dclService.Dashboard) *unstructured.Resource
func DeleteDashboard ¶
func DeleteGroup ¶
func DeleteMetricDescriptor ¶
func DeleteMetricsScope ¶
func DeleteMonitoredProject ¶
func DeleteService ¶
func DeleteUptimeCheckConfig ¶
func GetDashboard ¶
func GetDashboard(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetGroup ¶
func GetGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetMetricDescriptor ¶
func GetMetricDescriptor(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetMetricsScope ¶
func GetMetricsScope(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetMonitoredProject ¶
func GetMonitoredProject(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetNotificationChannel ¶
func GetNotificationChannel(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetService ¶
func GetService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetServiceLevelObjective ¶
func GetServiceLevelObjective(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetUptimeCheckConfig ¶
func GetUptimeCheckConfig(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GroupHasDiff ¶
func GroupHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func GroupToUnstructured ¶
func GroupToUnstructured(r *dclService.Group) *unstructured.Resource
func ListDashboard ¶
func ListMetricDescriptor ¶
func ListMonitoredProject ¶
func ListNotificationChannel ¶
func ListService ¶
func ListUptimeCheckConfig ¶
func MetricDescriptorHasDiff ¶
func MetricDescriptorHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MetricDescriptorID ¶
func MetricDescriptorID(u *unstructured.Resource) (string, error)
func MetricDescriptorToUnstructured ¶
func MetricDescriptorToUnstructured(r *dclService.MetricDescriptor) *unstructured.Resource
func MetricsScopeHasDiff ¶
func MetricsScopeHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MetricsScopeID ¶
func MetricsScopeID(u *unstructured.Resource) (string, error)
func MetricsScopeToUnstructured ¶
func MetricsScopeToUnstructured(r *dclService.MetricsScope) *unstructured.Resource
func MonitoredProjectHasDiff ¶
func MonitoredProjectHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func MonitoredProjectID ¶
func MonitoredProjectID(u *unstructured.Resource) (string, error)
func MonitoredProjectToUnstructured ¶
func MonitoredProjectToUnstructured(r *dclService.MonitoredProject) *unstructured.Resource
func NotificationChannelHasDiff ¶
func NotificationChannelHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func NotificationChannelID ¶
func NotificationChannelID(u *unstructured.Resource) (string, error)
func NotificationChannelToUnstructured ¶
func NotificationChannelToUnstructured(r *dclService.NotificationChannel) *unstructured.Resource
func ServiceHasDiff ¶
func ServiceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ServiceLevelObjectiveHasDiff ¶
func ServiceLevelObjectiveHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ServiceLevelObjectiveID ¶
func ServiceLevelObjectiveID(u *unstructured.Resource) (string, error)
func ServiceLevelObjectiveToUnstructured ¶
func ServiceLevelObjectiveToUnstructured(r *dclService.ServiceLevelObjective) *unstructured.Resource
func ServiceToUnstructured ¶
func ServiceToUnstructured(r *dclService.Service) *unstructured.Resource
func UnstructuredToDashboard ¶
func UnstructuredToDashboard(u *unstructured.Resource) (*dclService.Dashboard, error)
func UnstructuredToGroup ¶
func UnstructuredToGroup(u *unstructured.Resource) (*dclService.Group, error)
func UnstructuredToMetricDescriptor ¶
func UnstructuredToMetricDescriptor(u *unstructured.Resource) (*dclService.MetricDescriptor, error)
func UnstructuredToMetricsScope ¶
func UnstructuredToMetricsScope(u *unstructured.Resource) (*dclService.MetricsScope, error)
func UnstructuredToMonitoredProject ¶
func UnstructuredToMonitoredProject(u *unstructured.Resource) (*dclService.MonitoredProject, error)
func UnstructuredToNotificationChannel ¶
func UnstructuredToNotificationChannel(u *unstructured.Resource) (*dclService.NotificationChannel, error)
func UnstructuredToService ¶
func UnstructuredToService(u *unstructured.Resource) (*dclService.Service, error)
func UnstructuredToServiceLevelObjective ¶
func UnstructuredToServiceLevelObjective(u *unstructured.Resource) (*dclService.ServiceLevelObjective, error)
func UnstructuredToUptimeCheckConfig ¶
func UnstructuredToUptimeCheckConfig(u *unstructured.Resource) (*dclService.UptimeCheckConfig, error)
func UptimeCheckConfigHasDiff ¶
func UptimeCheckConfigHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func UptimeCheckConfigID ¶
func UptimeCheckConfigID(u *unstructured.Resource) (string, error)
func UptimeCheckConfigToUnstructured ¶
func UptimeCheckConfigToUnstructured(r *dclService.UptimeCheckConfig) *unstructured.Resource
Types ¶
type Dashboard ¶
type Dashboard struct{}
func (*Dashboard) Apply ¶
func (r *Dashboard) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Dashboard) DeletePolicyMember ¶ added in v1.1.0
func (r *Dashboard) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Dashboard) Get ¶
func (r *Dashboard) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Dashboard) GetPolicy ¶
func (r *Dashboard) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Dashboard) GetPolicyMember ¶
func (*Dashboard) STV ¶
func (r *Dashboard) STV() unstructured.ServiceTypeVersion
func (*Dashboard) SetPolicy ¶
func (r *Dashboard) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Dashboard) SetPolicyMember ¶
func (r *Dashboard) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Dashboard) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Dashboard) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Group ¶
type Group struct{}
func (*Group) Apply ¶
func (r *Group) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Group) DeletePolicyMember ¶ added in v1.1.0
func (r *Group) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Group) Get ¶
func (r *Group) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Group) GetPolicy ¶
func (r *Group) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Group) GetPolicyMember ¶
func (*Group) STV ¶
func (r *Group) STV() unstructured.ServiceTypeVersion
func (*Group) SetPolicy ¶
func (r *Group) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Group) SetPolicyMember ¶
func (r *Group) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Group) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Group) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type MetricDescriptor ¶
type MetricDescriptor struct{}
func (*MetricDescriptor) Apply ¶
func (r *MetricDescriptor) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*MetricDescriptor) Delete ¶
func (r *MetricDescriptor) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*MetricDescriptor) DeletePolicyMember ¶ added in v1.1.0
func (r *MetricDescriptor) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*MetricDescriptor) Get ¶
func (r *MetricDescriptor) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricDescriptor) GetPolicy ¶
func (r *MetricDescriptor) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricDescriptor) GetPolicyMember ¶
func (r *MetricDescriptor) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*MetricDescriptor) HasDiff ¶
func (r *MetricDescriptor) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*MetricDescriptor) ID ¶
func (r *MetricDescriptor) ID(resource *unstructured.Resource) (string, error)
func (*MetricDescriptor) STV ¶
func (r *MetricDescriptor) STV() unstructured.ServiceTypeVersion
func (*MetricDescriptor) SetPolicy ¶
func (r *MetricDescriptor) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricDescriptor) SetPolicyMember ¶
func (r *MetricDescriptor) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricDescriptor) SetPolicyWithEtag ¶ added in v1.1.0
func (r *MetricDescriptor) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type MetricsScope ¶
type MetricsScope struct{}
func (*MetricsScope) Apply ¶
func (r *MetricsScope) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*MetricsScope) Delete ¶
func (r *MetricsScope) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*MetricsScope) DeletePolicyMember ¶ added in v1.1.0
func (r *MetricsScope) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*MetricsScope) Get ¶
func (r *MetricsScope) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricsScope) GetPolicy ¶
func (r *MetricsScope) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricsScope) GetPolicyMember ¶
func (r *MetricsScope) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*MetricsScope) HasDiff ¶
func (r *MetricsScope) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*MetricsScope) ID ¶
func (r *MetricsScope) ID(resource *unstructured.Resource) (string, error)
func (*MetricsScope) STV ¶
func (r *MetricsScope) STV() unstructured.ServiceTypeVersion
func (*MetricsScope) SetPolicy ¶
func (r *MetricsScope) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricsScope) SetPolicyMember ¶
func (r *MetricsScope) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*MetricsScope) SetPolicyWithEtag ¶ added in v1.1.0
func (r *MetricsScope) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type MonitoredProject ¶
type MonitoredProject struct{}
func (*MonitoredProject) Apply ¶
func (r *MonitoredProject) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*MonitoredProject) Delete ¶
func (r *MonitoredProject) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*MonitoredProject) DeletePolicyMember ¶ added in v1.1.0
func (r *MonitoredProject) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*MonitoredProject) Get ¶
func (r *MonitoredProject) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MonitoredProject) GetPolicy ¶
func (r *MonitoredProject) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*MonitoredProject) GetPolicyMember ¶
func (r *MonitoredProject) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*MonitoredProject) HasDiff ¶
func (r *MonitoredProject) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*MonitoredProject) ID ¶
func (r *MonitoredProject) ID(resource *unstructured.Resource) (string, error)
func (*MonitoredProject) STV ¶
func (r *MonitoredProject) STV() unstructured.ServiceTypeVersion
func (*MonitoredProject) SetPolicy ¶
func (r *MonitoredProject) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*MonitoredProject) SetPolicyMember ¶
func (r *MonitoredProject) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*MonitoredProject) SetPolicyWithEtag ¶ added in v1.1.0
func (r *MonitoredProject) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type NotificationChannel ¶
type NotificationChannel struct{}
func (*NotificationChannel) Apply ¶
func (r *NotificationChannel) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*NotificationChannel) Delete ¶
func (r *NotificationChannel) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*NotificationChannel) DeletePolicyMember ¶ added in v1.1.0
func (r *NotificationChannel) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*NotificationChannel) Get ¶
func (r *NotificationChannel) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*NotificationChannel) GetPolicy ¶
func (r *NotificationChannel) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*NotificationChannel) GetPolicyMember ¶
func (r *NotificationChannel) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*NotificationChannel) HasDiff ¶
func (r *NotificationChannel) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*NotificationChannel) ID ¶
func (r *NotificationChannel) ID(resource *unstructured.Resource) (string, error)
func (*NotificationChannel) STV ¶
func (r *NotificationChannel) STV() unstructured.ServiceTypeVersion
func (*NotificationChannel) SetPolicy ¶
func (r *NotificationChannel) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*NotificationChannel) SetPolicyMember ¶
func (r *NotificationChannel) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*NotificationChannel) SetPolicyWithEtag ¶ added in v1.1.0
func (r *NotificationChannel) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Service ¶
type Service struct{}
func (*Service) Apply ¶
func (r *Service) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Service) DeletePolicyMember ¶ added in v1.1.0
func (r *Service) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Service) Get ¶
func (r *Service) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Service) GetPolicy ¶
func (r *Service) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Service) GetPolicyMember ¶
func (*Service) STV ¶
func (r *Service) STV() unstructured.ServiceTypeVersion
func (*Service) SetPolicy ¶
func (r *Service) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Service) SetPolicyMember ¶
func (r *Service) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Service) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Service) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type ServiceLevelObjective ¶
type ServiceLevelObjective struct{}
func (*ServiceLevelObjective) Apply ¶
func (r *ServiceLevelObjective) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ServiceLevelObjective) Delete ¶
func (r *ServiceLevelObjective) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ServiceLevelObjective) DeletePolicyMember ¶ added in v1.1.0
func (r *ServiceLevelObjective) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ServiceLevelObjective) Get ¶
func (r *ServiceLevelObjective) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceLevelObjective) GetPolicy ¶
func (r *ServiceLevelObjective) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceLevelObjective) GetPolicyMember ¶
func (r *ServiceLevelObjective) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ServiceLevelObjective) HasDiff ¶
func (r *ServiceLevelObjective) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ServiceLevelObjective) ID ¶
func (r *ServiceLevelObjective) ID(resource *unstructured.Resource) (string, error)
func (*ServiceLevelObjective) STV ¶
func (r *ServiceLevelObjective) STV() unstructured.ServiceTypeVersion
func (*ServiceLevelObjective) SetPolicy ¶
func (r *ServiceLevelObjective) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceLevelObjective) SetPolicyMember ¶
func (r *ServiceLevelObjective) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ServiceLevelObjective) SetPolicyWithEtag ¶ added in v1.1.0
func (r *ServiceLevelObjective) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type UptimeCheckConfig ¶
type UptimeCheckConfig struct{}
func (*UptimeCheckConfig) Apply ¶
func (r *UptimeCheckConfig) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*UptimeCheckConfig) Delete ¶
func (r *UptimeCheckConfig) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*UptimeCheckConfig) DeletePolicyMember ¶ added in v1.1.0
func (r *UptimeCheckConfig) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*UptimeCheckConfig) Get ¶
func (r *UptimeCheckConfig) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*UptimeCheckConfig) GetPolicy ¶
func (r *UptimeCheckConfig) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*UptimeCheckConfig) GetPolicyMember ¶
func (r *UptimeCheckConfig) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*UptimeCheckConfig) HasDiff ¶
func (r *UptimeCheckConfig) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*UptimeCheckConfig) ID ¶
func (r *UptimeCheckConfig) ID(resource *unstructured.Resource) (string, error)
func (*UptimeCheckConfig) STV ¶
func (r *UptimeCheckConfig) STV() unstructured.ServiceTypeVersion
func (*UptimeCheckConfig) SetPolicy ¶
func (r *UptimeCheckConfig) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*UptimeCheckConfig) SetPolicyMember ¶
func (r *UptimeCheckConfig) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*UptimeCheckConfig) SetPolicyWithEtag ¶ added in v1.1.0
func (r *UptimeCheckConfig) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)