 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRepoFromRequest ¶
func ClusterRepoFromRequest(request *admissionv1.AdmissionRequest) (*v1.ClusterRepo, error)
ClusterRepoFromRequest returns a ClusterRepo object from the webhook request. If the operation is a Delete operation, then the old object is returned. Otherwise, the new object is returned.
func ClusterRepoOldAndNewFromRequest ¶
func ClusterRepoOldAndNewFromRequest(request *admissionv1.AdmissionRequest) (*v1.ClusterRepo, *v1.ClusterRepo, error)
ClusterRepoOldAndNewFromRequest gets the old and new ClusterRepo objects, respectively, from the webhook request. If the request is a Delete operation, then the new object is the zero value for ClusterRepo. Similarly, if the request is a Create operation, then the old object is the zero value for ClusterRepo.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.